@fluid-topics/ft-search-results 1.4.3 → 1.4.5
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,23 +1,23 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?L.substr(1,L.length):L}).forEach(function(L){var D=L.split(":"),T=D.shift().trim();if(T){var
|
|
1
|
+
"use strict";(()=>{var ls=Object.create;var Ho=Object.defineProperty;var ds=Object.getOwnPropertyDescriptor;var us=Object.getOwnPropertyNames;var ps=Object.getPrototypeOf,fs=Object.prototype.hasOwnProperty;var He=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports);var hs=(r,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of us(t))!fs.call(r,i)&&i!==o&&Ho(r,i,{get:()=>t[i],enumerable:!(n=ds(t,i))||n.enumerable});return r};var S=(r,t,o)=>(o=r!=null?ls(ps(r)):{},hs(t||!r||!r.__esModule?Ho(o,"default",{value:r,enumerable:!0}):o,r));var _=He((wc,zo)=>{zo.exports=ftGlobals.wcUtils});var G=He((Rc,Go)=>{Go.exports=ftGlobals.lit});var jo=He((Ic,Wo)=>{Wo.exports=ftGlobals.litRepeat});var $=He((Tc,$o)=>{$o.exports=ftGlobals.litDecorators});var Yo=He((fe,Zo)=>{var Ft=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Dt=function(){function r(){this.fetch=!1,this.DOMException=Ft.DOMException}return r.prototype=Ft,new r}();(function(r){var t=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function s(f){return f&&DataView.prototype.isPrototypeOf(f)}if(i.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(f){return f&&c.indexOf(Object.prototype.toString.call(f))>-1};function u(f){if(typeof f!="string"&&(f=String(f)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function p(f){return typeof f!="string"&&(f=String(f)),f}function h(f){var m={next:function(){var A=f.shift();return{done:A===void 0,value:A}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function y(f){this.map={},f instanceof y?f.forEach(function(m,A){this.append(A,m)},this):Array.isArray(f)?f.forEach(function(m){if(m.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+m.length);this.append(m[0],m[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(m){this.append(m,f[m])},this)}y.prototype.append=function(f,m){f=u(f),m=p(m);var A=this.map[f];this.map[f]=A?A+", "+m:m},y.prototype.delete=function(f){delete this.map[u(f)]},y.prototype.get=function(f){return f=u(f),this.has(f)?this.map[f]:null},y.prototype.has=function(f){return this.map.hasOwnProperty(u(f))},y.prototype.set=function(f,m){this.map[u(f)]=p(m)},y.prototype.forEach=function(f,m){for(var A in this.map)this.map.hasOwnProperty(A)&&f.call(m,this.map[A],A,this)},y.prototype.keys=function(){var f=[];return this.forEach(function(m,A){f.push(A)}),h(f)},y.prototype.values=function(){var f=[];return this.forEach(function(m){f.push(m)}),h(f)},y.prototype.entries=function(){var f=[];return this.forEach(function(m,A){f.push([A,m])}),h(f)},i.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(f){if(!f._noBody){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}}function v(f){return new Promise(function(m,A){f.onload=function(){m(f.result)},f.onerror=function(){A(f.error)}})}function b(f){var m=new FileReader,A=v(m);return m.readAsArrayBuffer(f),A}function C(f){var m=new FileReader,A=v(m),L=/charset=([A-Za-z0-9_-]+)/.exec(f.type),D=L?L[1]:"utf-8";return m.readAsText(f,D),A}function w(f){for(var m=new Uint8Array(f),A=new Array(m.length),L=0;L<m.length;L++)A[L]=String.fromCharCode(m[L]);return A.join("")}function R(f){if(f.slice)return f.slice(0);var m=new Uint8Array(f.byteLength);return m.set(new Uint8Array(f)),m.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:i.blob&&Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:i.formData&&FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():i.arrayBuffer&&i.blob&&s(f)?(this._bodyArrayBuffer=R(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(f)||d(f))?this._bodyArrayBuffer=R(f):this._bodyText=f=Object.prototype.toString.call(f):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof f=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var f=g(this);if(f)return f;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(){if(this._bodyArrayBuffer){var f=g(this);return f||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var f=g(this);if(f)return f;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(te)}),this.json=function(){return this.text().then(JSON.parse)},this}var N=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function k(f){var m=f.toUpperCase();return N.indexOf(m)>-1?m:f}function H(f,m){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');m=m||{};var A=m.body;if(f instanceof H){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,m.headers||(this.headers=new y(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!A&&f._bodyInit!=null&&(A=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new y(m.headers)),this.method=k(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(A),(this.method==="GET"||this.method==="HEAD")&&(m.cache==="no-store"||m.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var D=/\?/;this.url+=(D.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function te(f){var m=new FormData;return f.trim().split("&").forEach(function(A){if(A){var L=A.split("="),D=L.shift().replace(/\+/g," "),T=L.join("=").replace(/\+/g," ");m.append(decodeURIComponent(D),decodeURIComponent(T))}}),m}function Oe(f){var m=new y,A=f.replace(/\r?\n[\t ]+/g," ");return A.split("\r").map(function(L){return L.indexOf(`
|
|
2
|
+
`)===0?L.substr(1,L.length):L}).forEach(function(L){var D=L.split(":"),T=D.shift().trim();if(T){var Pt=D.join(":").trim();try{m.append(T,Pt)}catch(_r){console.warn("Response "+_r.message)}}}),m}I.call(H.prototype);function V(f,m){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=m.statusText===void 0?"":""+m.statusText,this.headers=new y(m.headers),this.url=m.url||"",this._initBody(f)}I.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},V.error=function(){var f=new V(null,{status:200,statusText:""});return f.ok=!1,f.status=0,f.type="error",f};var Ee=[301,302,303,307,308];V.redirect=function(f,m){if(Ee.indexOf(m)===-1)throw new RangeError("Invalid status code");return new V(null,{status:m,headers:{location:f}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(m,A){this.message=m,this.name=A;var L=Error(m);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Ue(f,m){return new Promise(function(A,L){var D=new H(f,m);if(D.signal&&D.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function Pt(){T.abort()}T.onload=function(){var z={statusText:T.statusText,headers:Oe(T.getAllResponseHeaders()||"")};D.url.indexOf("file://")===0&&(T.status<200||T.status>599)?z.status=200:z.status=T.status,z.url="responseURL"in T?T.responseURL:z.headers.get("X-Request-URL");var Ae="response"in T?T.response:T.responseText;setTimeout(function(){A(new V(Ae,z))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function _r(z){try{return z===""&&n.location.href?n.location.href:z}catch{return z}}if(T.open(D.method,_r(D.url),!0),D.credentials==="include"?T.withCredentials=!0:D.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(i.blob?T.responseType="blob":i.arrayBuffer&&(T.responseType="arraybuffer")),m&&typeof m.headers=="object"&&!(m.headers instanceof y||n.Headers&&m.headers instanceof n.Headers)){var Uo=[];Object.getOwnPropertyNames(m.headers).forEach(function(z){Uo.push(u(z)),T.setRequestHeader(z,p(m.headers[z]))}),D.headers.forEach(function(z,Ae){Uo.indexOf(Ae)===-1&&T.setRequestHeader(Ae,z)})}else D.headers.forEach(function(z,Ae){T.setRequestHeader(Ae,z)});D.signal&&(D.signal.addEventListener("abort",Pt),T.onreadystatechange=function(){T.readyState===4&&D.signal.removeEventListener("abort",Pt)}),T.send(typeof D._bodyInit>"u"?null:D._bodyInit)})}return Ue.polyfill=!0,n.fetch||(n.fetch=Ue,n.Headers=y,n.Request=H,n.Response=V),o.Headers=y,o.Request=H,o.Response=V,o.fetch=Ue,o}({})})(Dt);Dt.fetch.ponyfill=!0;delete Dt.fetch.polyfill;var ze=Ft.fetch?Ft:Dt;fe=ze.fetch;fe.default=ze.fetch;fe.fetch=ze.fetch;fe.Headers=ze.Headers;fe.Request=ze.Request;fe.Response=ze.Response;Zo.exports=fe});var Fo=He((mm,Ui)=>{Ui.exports=ftGlobals.litUnsafeHTML});var cs=S(_());var Ir=S(G()),ss=S(jo()),Tr=S($()),ie=S(_());var Vo=S(G()),_c={},Ko=Vo.css`
|
|
3
3
|
[part="no-results-message"] {
|
|
4
4
|
text-align: center;
|
|
5
5
|
padding: 12px;
|
|
6
6
|
}
|
|
7
|
-
`;var Xe=S(_()),go=S($());var bt;(function(r){r.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(bt||(bt={}));var At=S(_());var qo=S(_());var
|
|
8
|
-
`;var Bt=S(_()),gs="ft-app-info",we=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};we.eventName="authentication-change";var ms={session:(r,t)=>{(0,Bt.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>O.dispatchEvent(new we(t.payload)),0))}},O=Bt.FtReduxStore.get({name:gs,reducers:ms,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Nr=S(_());var Re=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=O.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=O.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var Ut=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Re.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Re.await()}};var K=class extends Ut{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Nr.CacheRegistry,this.cache=t?i.commonCache:new Nr.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Ht=class extends K{async listMyBookmarks(){let t=O.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Fr=class{addCommand(t,o=!1){O.commands.add(t,o)}consumeCommand(t){return O.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Fr;var Q=S(_());var Tn,Ge=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},bs=Symbol("clearAfterUnitTest"),zt=class extends(0,Q.withEventBus)(K){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Tn]=()=>{this.defaultMessages={},this.cache=new Q.CacheRegistry,this.listeners={}},this.currentUiLocale=O.getState().uiLocale,O.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=O.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Q.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let s=t.toLowerCase(),c=this.resolveContext(s);return new Q.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof Q.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ge({loadedContexts:t})),this.dispatchEvent(new Ge({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ge({loadedContexts:[t]})),this.dispatchEvent(new Ge({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Q.delay)(0).then(()=>n()).catch(()=>null)))}};Tn=bs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zt{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zt{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var We=window.FluidTopicsI18nService,Gt=window.FluidTopicsCustomI18nService;var _n=S(_()),Dr=class{highlightHtml(t,o,n){(0,_n.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Dr;var Wt=class extends K{async listMySearches(){let{session:t}=O.getState();return wn(t,B.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var kn=S(_());var Mr=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=O.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s;return kn.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:O.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new Mr;var Ln=S(_());var xt=class{static get(t,o){var n,i;let s=O.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Ln.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var Br=class{urlToSearchRequest(t){return xt.get().parse(t)}searchRequestToUrl(t){return xt.get().serialize(t)}};window.FluidTopicsUrlService=new Br;var he=S(_());var Ie=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};Ie.eventName="change";var Ur=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Pn=new Ur;var jt=class r extends he.WithEventBus{static build(){return new r(window.history,Pn,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,he.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ie(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Ie.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Ie.eventName,t)}currentItem(){return(0,he.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,he.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,he.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jt.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)});function Nn(r,t){let{authenticationRequired:o,session:n}=O.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):r()}var U=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},N=class extends re.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Re.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new re.CacheRegistry,this.cleanSessionDebouncer=new re.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Fn.html`
|
|
7
|
+
`;var Xe=S(_()),go=S($());var bt;(function(r){r.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(bt||(bt={}));var At=S(_());var qo=S(_());var gs=S(Yo(),1);var Qo;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Qo||(Qo={}));var Xo;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Xo||(Xo={}));var Jo;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(Jo||(Jo={}));var en;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(en||(en={}));var tn;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(tn||(tn={}));var rn;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(rn||(rn={}));var on;(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.CHATBOT__RATE="CHATBOT__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",r.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",r.TOPIC__DISPLAY="TOPIC__DISPLAY",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(on||(on={}));var nn;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(nn||(nn={}));var an;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",r.LINK_PREVIEW="LINK_PREVIEW"})(an||(an={}));var sn;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(sn||(sn={}));var cn;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(cn||(cn={}));var ln;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(ln||(ln={}));var dn;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(dn||(dn={}));var un;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(un||(un={}));var kr;(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(kr||(kr={}));var pn;(function(r){r.ASC="ASC",r.DESC="DESC"})(pn||(pn={}));var fn;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(fn||(fn={}));var Lr;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Lr||(Lr={}));var hn;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(hn||(hn={}));var Mt;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Mt||(Mt={}));var yn;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(yn||(yn={}));var gn;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(gn||(gn={}));var mn;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(mn||(mn={}));var Nr;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Nr||(Nr={}));var bn;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(bn||(bn={}));var B;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(B||(B={}));var Y;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Y||(Y={}));var xn;(function(r){r.UNAUTHENTICATED="UNAUTHENTICATED",r.USER_INCOMPLETE="USER_INCOMPLETE",r.MFA_REQUIRED="MFA_REQUIRED",r.AUTHENTICATED="AUTHENTICATED"})(xn||(xn={}));var vn;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(vn||(vn={}));var Sn;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(Sn||(Sn={}));var Cn;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(Cn||(Cn={}));var On;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(On||(On={}));var En;(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(En||(En={}));var ys={[B.PERSONAL_BOOK_SHARE_USER]:[B.PERSONAL_BOOK_USER],[B.HTML_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.PDF_EXPORT_USER]:[B.PERSONAL_BOOK_USER],[B.KHUB_ADMIN]:[B.CONTENT_PUBLISHER],[B.ADMIN]:[B.KHUB_ADMIN,B.USERS_ADMIN,B.PORTAL_ADMIN],[B.GENERATIVE_AI_EXPORT_USER]:[B.GENERATIVE_AI_USER]};function An(r,t){return r===t||(ys[r]??[]).some(o=>An(o,t))}function wn(r,t){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(n=>An(n,t))}var La=S(_());var Fn=S(G()),W=S($()),re=S(_());var Rn=S(G());var In=Rn.css`
|
|
8
|
+
`;var Bt=S(_()),ms="ft-app-info",we=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};we.eventName="authentication-change";var bs={session:(r,t)=>{(0,Bt.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>O.dispatchEvent(new we(t.payload)),0))}},O=Bt.FtReduxStore.get({name:ms,reducers:bs,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var Pr=S(_());var Re=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=O.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=O.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var Ut=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Re.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Re.await()}};var K=class extends Ut{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Pr.CacheRegistry,this.cache=t?i.commonCache:new Pr.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Ht=class extends K{async listMyBookmarks(){let t=O.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Fr=class{addCommand(t,o=!1){O.commands.add(t,o)}consumeCommand(t){return O.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Fr;var Q=S(_());var Tn,Ge=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},xs=Symbol("clearAfterUnitTest"),zt=class extends(0,Q.withEventBus)(K){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Tn]=()=>{this.defaultMessages={},this.cache=new Q.CacheRegistry,this.listeners={}},this.currentUiLocale=O.getState().uiLocale,O.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=O.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Q.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let s=t.toLowerCase(),c=this.resolveContext(s);return new Q.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof Q.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Ge({loadedContexts:t})),this.dispatchEvent(new Ge({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ge({loadedContexts:[t]})),this.dispatchEvent(new Ge({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Q.delay)(0).then(()=>n()).catch(()=>null)))}};Tn=xs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zt{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zt{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var We=window.FluidTopicsI18nService,Gt=window.FluidTopicsCustomI18nService;var _n=S(_()),Dr=class{highlightHtml(t,o,n){(0,_n.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Dr;var Wt=class extends K{async listMySearches(){let{session:t}=O.getState();return wn(t,B.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var kn=S(_());var Mr=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=O.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s;if(t==null)return"";try{return kn.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:O.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}catch(c){throw console.error(`Date ${JSON.stringify(t)} is not valid`,c),c}}};window.FluidTopicsDateService=new Mr;var Ln=S(_());var xt=class{static get(t,o){var n,i;let s=O.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Ln.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var Br=class{urlToSearchRequest(t){return xt.get().parse(t)}searchRequestToUrl(t){return xt.get().serialize(t)}};window.FluidTopicsUrlService=new Br;var he=S(_());var Ie=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};Ie.eventName="change";var Ur=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Nn=new Ur;var jt=class r extends he.WithEventBus{static build(){return new r(window.history,Nn,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,he.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ie(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Ie.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Ie.eventName,t)}currentItem(){return(0,he.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,he.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,he.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=jt.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)});function Pn(r,t){let{authenticationRequired:o,session:n}=O.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):r()}var U=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},P=class extends re.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Re.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new re.CacheRegistry,this.cleanSessionDebouncer=new re.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Fn.html`
|
|
9
9
|
<slot></slot>
|
|
10
|
-
`}connectedCallback(){super.connectedCallback(),O.addEventListener(we.eventName,this.reloadConfiguration)}disconnectedCallback(){O.addEventListener(we.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,i,s,c,d,u;super.update(t),t.has("baseUrl")&&(O.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&O.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&O.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&O.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&O.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&O.actions.noCustom(this.noCustom),t.has("editorMode")&&O.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&O.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&O.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>We.addContext(p)),t.has("openExternalDocumentInNewTab")&&O.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&O.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&O.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(O.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),O.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),O.actions.searchInAllLanguagesAllowed((c=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&O.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&O.actions.availableContentLocales((u=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Nn(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};N.elementDefinitions={};N.styles=In;U([(0,W.property)()],N.prototype,"baseUrl",void 0);U([(0,W.property)()],N.prototype,"apiIntegrationIdentifier",void 0);U([(0,W.property)()],N.prototype,"apiIntegrationAppVersion",void 0);U([(0,W.property)()],N.prototype,"uiLocale",void 0);U([(0,re.jsonProperty)(null)],N.prototype,"availableUiLocales",void 0);U([(0,re.jsonProperty)(null)],N.prototype,"metadataConfiguration",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"editorMode",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"noCustom",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"openExternalDocumentInNewTab",void 0);U([(0,W.property)({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],N.prototype,"noCustomComponent",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"withManualResources",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"navigatorOnline",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"forcedOffline",void 0);U([(0,W.property)({type:Object})],N.prototype,"apiProvider",void 0);U([(0,W.property)({type:Boolean})],N.prototype,"authenticationRequired",void 0);U([(0,re.jsonProperty)([])],N.prototype,"messageContexts",void 0);U([(0,re.jsonProperty)(void 0)],N.prototype,"session",void 0);U([(0,W.state)()],N.prototype,"localesConfiguration",void 0);U([(0,W.state)()],N.prototype,"availableContentLocales",void 0);var uo=S($());function xs(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;let o,n,i;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!$t(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!$t(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();let s=c=>Object.keys(c).filter(d=>c[d]!=null);if(i=s(r),o=i.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let c=i[n];if(!$t(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function $t(r,t){try{return xs(r,t)}catch{return!1}}function vt(r,t){return!$t(r,t)}function Vt(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var Dn=S($(),1);var Hr=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:vt,attribute:!1,...t};(0,Dn.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:d=>d[n],store:t.store})}};var Kt=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Te=S($(),1);var Mn=S($(),1);function Bn(r,t){let o=()=>JSON.parse(JSON.stringify(r));return(0,Mn.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:vt,...t??{}})}var qt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Hn=S(G(),1);var Zt=globalThis,vs=Zt.ShadowRoot&&(Zt.ShadyCSS===void 0||Zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,id=Symbol();var Un=(r,t)=>{if(vs)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Zt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var Yt=class extends Hn.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,s])=>t.registry.define(i,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Un(n,t.elementStyles),n}};function zn(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var $e=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},$n,Gn=Symbol("constructorPrototype"),Wn=Symbol("constructorName"),Vn=Symbol("exportpartsDebouncer"),jn=Symbol("dynamicDependenciesLoaded"),je=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};je.eventName="exportparts-updated";var se=class extends Yt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$n]=new qt(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Vn].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Wn]=this.constructor.name,this[Gn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wn]&&Object.setPrototypeOf(this,this[Gn])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[jn]||(o[jn]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(je.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(je.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new je)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=zn(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=g=>g!=null&&g.trim().length>0,p=t.filter(u).map(g=>g.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(w=>w.split(":")[1]))!==null&&d!==void 0?d:[],C=[...v,...b].filter(u).map(w=>w.trim());for(let w of C)h.add(w)}if(h.size===0){this.exportparts=void 0;return}let y=[...h.values()].flatMap(g=>p.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...y].join(", ")}};$n=Vn;$e([(0,Te.property)()],se.prototype,"exportpartsPrefix",void 0);$e([Bn([])],se.prototype,"exportpartsPrefixes",void 0);$e([(0,Te.property)({reflect:!0})],se.prototype,"exportparts",void 0);$e([(0,Te.property)()],se.prototype,"customStylesheet",void 0);$e([(0,Te.property)()],se.prototype,"elementToFocus",void 0);$e([(0,Te.state)()],se.prototype,"useAdoptedStyleSheets",void 0);function Qt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var St=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),_e=Symbol("internalStores"),Ss=Vt(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[_e].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_e].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[_e].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[_e].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[_e].delete(d)}setupStores(){this.unsubscribeFromStores(),this[_e].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[ye].has(c.store):this[ye].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[ye].set(c,d.subscribe(()=>this.updateFromStores())),this[St].set(c,[]),Qt(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||d.name===p.store)){let y=g=>this[h](g);d.addEventListener(p.eventName,y),this[St].get(c).push(()=>d.removeEventListener(p.eventName,y))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[ye].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[ye].has(c)&&this[ye].get(c)(),this[ye].delete(c),(d=this[St].get(c))===null||d===void 0||d.forEach(u=>u()),this[St].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ye,o=_e,n=St,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Kn=class extends Ss(se){};function X(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(r){return!!r&&!!r[F]}function oe(r){var t;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ts}(r)||Array.isArray(r)||!!r[ea]||!!(!((t=r.constructor)===null||t===void 0)&&t[ea])||Zr(r)||Yr(r))}function ke(r,t,o){o===void 0&&(o=!1),qe(r)===0?(o?Object.keys:Ke)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,i){return t(i,n,r)})}function qe(r){var t=r[F];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Zr(r)?2:Yr(r)?3:0}function Ve(r,t){return qe(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Cs(r,t){return qe(r)===2?r.get(t):r[t]}function ta(r,t,o){var n=qe(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function ra(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Zr(r){return Rs&&r instanceof Map}function Yr(r){return Is&&r instanceof Set}function ge(r){return r.o||r.t}function Qr(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=aa(r);delete t[F];for(var o=Ke(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function Xr(r,t){return t===void 0&&(t=!1),Jr(r)||de(r)||!oe(r)||(qe(r)>1&&(r.set=r.add=r.clear=r.delete=Os),Object.freeze(r),t&&ke(r,function(o,n){return Xr(n,!0)},!0)),r}function Os(){X(2)}function Jr(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ce(r){var t=qr[r];return t||X(18,r),t}function Es(r,t){qr[r]||(qr[r]=t)}function $r(){return Ot}function zr(r,t){t&&(ce("Patches"),r.u=[],r.s=[],r.v=t)}function Xt(r){Vr(r),r.p.forEach(As),r.p=null}function Vr(r){r===Ot&&(Ot=r.l)}function qn(r){return Ot={p:[],l:Ot,h:r,m:!0,_:0}}function As(r){var t=r[F];t.i===0||t.i===1?t.j():t.g=!0}function Gr(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||ce("ES5").S(t,r,n),n?(o[F].P&&(Xt(t),X(4)),oe(r)&&(r=Jt(t,r),t.l||er(t,r)),t.u&&ce("Patches").M(o[F].t,r,t.u,t.s)):r=Jt(t,o,[]),Xt(t),t.u&&t.v(t.u,t.s),r!==na?r:void 0}function Jt(r,t,o){if(Jr(t))return t;var n=t[F];if(!n)return ke(t,function(d,u){return Zn(r,n,t,d,u,o)},!0),t;if(n.A!==r)return t;if(!n.P)return er(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Qr(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),ke(s,function(d,u){return Zn(r,n,i,d,u,o,c)}),er(r,i,!1),o&&r.u&&ce("Patches").N(n,o,r.u,r.s)}return n.o}function Zn(r,t,o,n,i,s,c){if(de(i)){var d=Jt(r,i,s&&t&&t.i!==3&&!Ve(t.R,n)?s.concat(n):void 0);if(ta(o,n,d),!de(d))return;r.m=!1}else c&&o.add(i);if(oe(i)&&!Jr(i)){if(!r.h.D&&r._<1)return;Jt(r,i),t&&t.A.l||er(r,i)}}function er(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Xr(t,o)}function Wr(r,t){var o=r[F];return(o?ge(o):r)[t]}function Yn(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function me(r){r.P||(r.P=!0,r.l&&me(r.l))}function jr(r){r.o||(r.o=Qr(r.t))}function Kr(r,t,o){var n=Zr(t)?ce("MapSet").F(t,o):Yr(t)?ce("MapSet").T(t,o):r.O?function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:$r(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,p=Et;c&&(u=[d],p=Ct);var h=Proxy.revocable(u,p),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(t,o):ce("ES5").J(t,o);return(o?o.A:$r()).p.push(n),n}function ws(r){return de(r)||X(22,r),function t(o){if(!oe(o))return o;var n,i=o[F],s=qe(o);if(i){if(!i.P&&(i.i<4||!ce("ES5").K(i)))return i.t;i.I=!0,n=Qn(o,s),i.I=!1}else n=Qn(o,s);return ke(n,function(c,d){i&&Cs(i.t,c)===d||ta(n,c,t(d))}),s===3?new Set(n):n}(r)}function Qn(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Qr(r)}function oa(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[F];return Et.get(p,c)},set:function(p){var h=this[F];Et.set(h,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][F];if(!u.P)switch(u.i){case 5:n(u)&&me(u);break;case 4:o(u)&&me(u)}}}function o(c){for(var d=c.t,u=c.k,p=Ke(u),h=p.length-1;h>=0;h--){var y=p[h];if(y!==F){var g=d[y];if(g===void 0&&!Ve(d,y))return!0;var v=u[y],b=v&&v[F];if(b?b.t!==g:!ra(v,g))return!0}}var C=!!d[F];return p.length!==Ke(d).length+(C?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function i(c){c.g&&X(3,JSON.stringify(ge(c)))}var s={};Es("ES5",{J:function(c,d){var u=Array.isArray(c),p=function(y,g){if(y){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,r(b,!0));return v}var C=aa(g);delete C[F];for(var w=Ke(C),R=0;R<w.length;R++){var I=w[R];C[I]=r(I,y||!!C[I].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(u,c),h={i:u?5:4,A:d?d.A:$r(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,F,{value:h,writable:!0}),p},S:function(c,d,u){u?de(d)&&d[F].A===c&&t(c.p):(c.u&&function p(h){if(h&&typeof h=="object"){var y=h[F];if(y){var g=y.t,v=y.k,b=y.R,C=y.i;if(C===4)ke(v,function(k){k!==F&&(g[k]!==void 0||Ve(g,k)?b[k]||p(v[k]):(b[k]=!0,me(y)))}),ke(g,function(k){v[k]!==void 0||Ve(v,k)||(b[k]=!1,me(y))});else if(C===5){if(n(y)&&(me(y),b.length=!0),v.length<g.length)for(var w=v.length;w<g.length;w++)b[w]=!1;else for(var R=g.length;R<v.length;R++)b[R]=!0;for(var I=Math.min(v.length,g.length),P=0;P<I;P++)v.hasOwnProperty(P)||(b[P]=!0),b[P]===void 0&&p(v[P])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Xn,Ot,eo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Rs=typeof Map<"u",Is=typeof Set<"u",Jn=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",na=eo?Symbol.for("immer-nothing"):((Xn={})["immer-nothing"]=!0,Xn),ea=eo?Symbol.for("immer-draftable"):"__$immer_draftable",F=eo?Symbol.for("immer-state"):"__$immer_state";var Ts=""+Object.prototype.constructor,Ke=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,aa=Object.getOwnPropertyDescriptors||function(r){var t={};return Ke(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},qr={},Et={get:function(r,t){if(t===F)return r;var o=ge(r);if(!Ve(o,t))return function(i,s,c){var d,u=Yn(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0}(r,o,t);var n=o[t];return r.I||!oe(n)?n:n===Wr(r.t,t)?(jr(r),r.o[t]=Kr(r.A.h,n,r)):n},has:function(r,t){return t in ge(r)},ownKeys:function(r){return Reflect.ownKeys(ge(r))},set:function(r,t,o){var n=Yn(ge(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Wr(ge(r),t),s=i?.[F];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(ra(o,i)&&(o!==void 0||Ve(r.t,t)))return!0;jr(r),me(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return Wr(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,jr(r),me(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=ge(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){X(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){X(12)}},Ct={};ke(Et,function(r,t){Ct[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ct.deleteProperty=function(r,t){return Ct.set.call(this,r,t,void 0)},Ct.set=function(r,t,o){return Et.set.call(this,r[0],t,o,r[0])};var _s=function(){function r(o){var n=this;this.O=Jn,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(C){var w=this;C===void 0&&(C=d);for(var R=arguments.length,I=Array(R>1?R-1:0),P=1;P<R;P++)I[P-1]=arguments[P];return u.produce(C,function(k){var H;return(H=s).call.apply(H,[w,k].concat(I))})}}var p;if(typeof s!="function"&&X(6),c!==void 0&&typeof c!="function"&&X(7),oe(i)){var h=qn(n),y=Kr(n,i,void 0),g=!0;try{p=s(y),g=!1}finally{g?Xt(h):Vr(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return zr(h,c),Gr(C,h)},function(C){throw Xt(h),C}):(zr(h,c),Gr(p,h))}if(!i||typeof i!="object"){if((p=s(i))===void 0&&(p=i),p===na&&(p=void 0),n.D&&Xr(p,!0),c){var v=[],b=[];ce("Patches").M(i,p,v,b),c(v,b)}return p}X(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(v){return i.apply(void 0,[v].concat(y))})};var c,d,u=n.produce(i,s,function(p,h){c=p,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,d]}):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){oe(o)||X(8),de(o)&&(o=ws(o));var n=qn(this),i=Kr(this,o,void 0);return i[F].C=!0,Vr(n),i},t.finishDraft=function(o,n){var i=o&&o[F],s=i.A;return zr(s,n),Gr(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Jn&&X(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=ce("Patches").$;return de(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},r}(),q=new _s,ks=q.produce,Sd=q.produceWithPatches.bind(q),Cd=q.setAutoFreeze.bind(q),Od=q.setUseProxies.bind(q),Ed=q.applyPatches.bind(q),Ad=q.createDraft.bind(q),wd=q.finishDraft.bind(q),tr=ks;function Le(r){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(r)}function ia(r,t){if(Le(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(Le(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function sa(r){var t=ia(r,"string");return Le(t)=="symbol"?t:t+""}function ca(r,t,o){return(t=sa(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function la(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function to(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?la(Object(o),!0).forEach(function(n){ca(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):la(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function j(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var da=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ro=function(){return Math.random().toString(36).substring(7).split("").join(".")},rr={INIT:"@@redux/INIT"+ro(),REPLACE:"@@redux/REPLACE"+ro(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ro()}};function Ls(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function oo(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(oo)(r,t)}if(typeof r!="function")throw new Error(j(2));var i=r,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function h(){if(u)throw new Error(j(3));return s}function y(C){if(typeof C!="function")throw new Error(j(4));if(u)throw new Error(j(5));var w=!0;return p(),d.push(C),function(){if(w){if(u)throw new Error(j(6));w=!1,p();var I=d.indexOf(C);d.splice(I,1),c=null}}}function g(C){if(!Ls(C))throw new Error(j(7));if(typeof C.type>"u")throw new Error(j(8));if(u)throw new Error(j(9));try{u=!0,s=i(s,C)}finally{u=!1}for(var w=c=d,R=0;R<w.length;R++){var I=w[R];I()}return C}function v(C){if(typeof C!="function")throw new Error(j(10));i=C,g({type:rr.REPLACE})}function b(){var C,w=y;return C={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(j(11));function P(){I.next&&I.next(h())}P();var k=w(P);return{unsubscribe:k}}},C[da]=function(){return this},C}return g({type:rr.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:v},n[da]=b,n}function Ps(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:rr.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof o(void 0,{type:rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function ua(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{Ps(o)}catch(u){d=u}return function(p,h){if(p===void 0&&(p={}),d)throw d;if(0)var y;for(var g=!1,v={},b=0;b<s.length;b++){var C=s[b],w=o[C],R=p[C],I=w(R,h);if(typeof I>"u"){var P=h&&h.type;throw new Error(j(14))}v[C]=I,g=g||I!==R}return g=g||s.length!==Object.keys(p).length,g?v:p}}function Ze(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function pa(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(j(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=Ze.apply(void 0,d)(i.dispatch),to(to({},i),{},{dispatch:s})}}}function fa(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var ha=fa();ha.withExtraArgument=fa;var no=ha;var xa=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Ns=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(h){return u([p,h])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=p[0]&2?i.return:p[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,p[1])).done)return s;switch(i=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(r,o)}catch(h){p=[6,h],i=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ye=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Fs=Object.defineProperty,Ds=Object.defineProperties,Ms=Object.getOwnPropertyDescriptors,ya=Object.getOwnPropertySymbols,Bs=Object.prototype.hasOwnProperty,Us=Object.prototype.propertyIsEnumerable,ga=function(r,t,o){return t in r?Fs(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},be=function(r,t){for(var o in t||(t={}))Bs.call(t,o)&&ga(r,o,t[o]);if(ya)for(var n=0,i=ya(t);n<i.length;n++){var o=i[n];Us.call(t,o)&&ga(r,o,t[o])}return r},ao=function(r,t){return Ds(r,Ms(t))},Hs=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(p){i(p)}},c=function(u){try{d(o.throw(u))}catch(p){i(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var zs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ze:Ze.apply(null,arguments)},jd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Gs(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Ws=function(r){xa(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ye([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ye([void 0],o.concat(this))))},t}(Array),js=function(r){xa(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ye([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ye([void 0],o.concat(this))))},t}(Array);function co(r){return oe(r)?tr(r,function(){}):r}function $s(r){return typeof r=="boolean"}function Vs(){return function(t){return Ks(t)}}function Ks(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=new Ws;if(o&&($s(o)?d.push(no):d.push(no.withExtraArgument(o.extraArgument))),0){if(i)var u;if(c)var p}return d}var io=!0;function va(r){var t=Vs(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,h=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(Gs(i))v=ua(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!io&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!io&&b.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=pa.apply(void 0,b),w=Ze;u&&(w=zs(be({trace:!io},typeof u=="object"&&u)));var R=new js(C),I=R;Array.isArray(g)?I=Ye([C],g):typeof g=="function"&&(I=g(R));var P=w.apply(void 0,I);return oo(v,h,P)}function xe(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return be(be({type:r,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function Sa(r){var t={},o=[],n,i={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function qs(r){return typeof r=="function"}function Zs(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Sa(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(qs(r))u=function(){return co(r())};else{var p=co(r);u=function(){return p}}function h(y,g){y===void 0&&(y=u());var v=Ye([s[g.type]],c.filter(function(b){var C=b.matcher;return C(g)}).map(function(b){var C=b.reducer;return C}));return v.filter(function(b){return!!b}).length===0&&(v=[d]),v.reduce(function(b,C){if(C)if(de(b)){var w=b,R=C(w,g);return R===void 0?b:R}else{if(oe(b))return tr(b,function(I){return C(I,g)});var R=C(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},y)}return h.getInitialState=u,h}function Ys(r,t){return r+"/"+t}function Ca(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:co(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(h){var y=n[h],g=Ys(t,h),v,b;"reducer"in y?(v=y.reducer,b=y.prepare):v=y,s[h]=v,c[g]=v,d[h]=b?xe(g,b):xe(g)});function u(){var h=typeof r.extraReducers=="function"?Sa(r.extraReducers):[r.extraReducers],y=h[0],g=y===void 0?{}:y,v=h[1],b=v===void 0?[]:v,C=h[2],w=C===void 0?void 0:C,R=be(be({},g),c);return Zs(o,function(I){for(var P in R)I.addCase(P,R[P]);for(var k=0,H=b;k<H.length;k++){var te=H[k];I.addMatcher(te.matcher,te.reducer)}w&&I.addDefaultCase(w)})}var p;return{name:t,reducer:function(h,y){return p||(p=u()),p(h,y)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Qs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xs=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=Qs[Math.random()*64|0];return t},Js=["name","message","stack","code"],so=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ma=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ec=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=Js;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},qd=function(){function r(t,o,n){var i=xe(t+"/fulfilled",function(h,y,g,v){return{payload:h,meta:ao(be({},v||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=xe(t+"/pending",function(h,y,g){return{payload:void 0,meta:ao(be({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),c=xe(t+"/rejected",function(h,y,g,v,b){return{payload:v,error:(n&&n.serializeError||ec)(h||"Rejected"),meta:ao(be({},b||{}),{arg:g,requestId:y,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,g,v){var b=n?.idGenerator?n.idGenerator(h):Xs(),C=new u,w,R=!1;function I(k){w=k,C.abort()}var P=function(){return Hs(this,null,function(){var k,H,te,Oe,V,Ee,Ue;return Ns(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),Oe=(k=n?.condition)==null?void 0:k.call(n,h,{getState:g,extra:v}),rc(Oe)?[4,Oe]:[3,2];case 1:Oe=f.sent(),f.label=2;case 2:if(Oe===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,V=new Promise(function(m,A){return C.signal.addEventListener("abort",function(){return A({name:"AbortError",message:w||"Aborted"})})}),y(s(b,h,(H=n?.getPendingMeta)==null?void 0:H.call(n,{requestId:b,arg:h},{getState:g,extra:v}))),[4,Promise.race([V,Promise.resolve(o(h,{dispatch:y,getState:g,extra:v,requestId:b,signal:C.signal,abort:I,rejectWithValue:function(m,A){return new so(m,A)},fulfillWithValue:function(m,A){return new ma(m,A)}})).then(function(m){if(m instanceof so)throw m;return m instanceof ma?i(m.payload,b,h,m.meta):i(m,b,h)})])];case 3:return te=f.sent(),[3,5];case 4:return Ee=f.sent(),te=Ee instanceof so?c(null,b,h,Ee.payload,Ee.meta):c(Ee,b,h),[3,5];case 5:return Ue=n&&!n.dispatchConditionRejection&&c.match(te)&&te.meta.condition,Ue||y(te),[2,te]}})})}();return Object.assign(P,{abort:I,requestId:b,arg:h,unwrap:function(){return P.then(tc)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r}();function tc(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function rc(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Oa="listener",Ea="completed",Aa="cancelled",Zd="task-"+Aa,Yd="task-"+Ea,Qd=Oa+"-"+Aa,Xd=Oa+"-"+Ea;var lo="listenerMiddleware";var Jd=xe(lo+"/add"),eu=xe(lo+"/removeAll"),tu=xe(lo+"/remove");var ba,ru=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(ba||(ba=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},oc=function(r){return function(t){setTimeout(t,r)}},ou=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:oc(10);oa();var nc=Vt(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),or=class extends nc(Object){};window.ftReduxStores||(window.ftReduxStores={});var wa=class r extends or{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Qt(s))return s;if(i==null)return;let c=Ca({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=va({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:c.reducer(u,p)});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Kt;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...h)=>{let y=p(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),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()}};var nr=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(t,o,n,i)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!i)return c;let d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${d}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var Ra=S(_()),ar=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Tu=(0,Ra.applyMixinOnce)(Symbol("withDateFormat"),function(r){class t extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(O)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>nr.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return ar([(0,uo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),ar([(0,uo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),ar([Hr({store:O.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),ar([Hr({store:O.name})],t.prototype,"uiLocale",void 0),t});var cr=S(_());var ir=class extends K{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=O.getState().session;return!!t?.sessionAuthenticated}};var sr=class extends K{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=O.getState().session;return!!t?.sessionAuthenticated}};var ac="ft-user-assets",ic={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(Y).forEach(t=>{r.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(r,t)=>{let o=t.payload.mapId;r.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,t)=>{let{assetType:o,mapId:n,asset:i}=t.payload;fo(r,o,[...po(r,o),i]),Ia(r,o,1,n),Ta(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;fo(r,o,po(r,o).map(i=>i.id===n.id?n:i)),Ta(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;fo(r,o,po(r,o).filter(s=>s.id!==i)),Ia(r,o,-1,n)}},_a={[Y.SEARCHES]:"savedSearches",[Y.BOOKMARKS]:"bookmarks",[Y.BOOKS]:void 0,[Y.COLLECTIONS]:void 0},po=(r,t)=>{var o;let n=_a[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},fo=(r,t,o)=>{let n=_a[t];n&&(r[n]=o)},Ia=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===Y.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},Ta=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},Z=cr.FtReduxStore.get({name:ac,reducers:ic,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Y).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ho=class{constructor(t=new ir,o=new sr){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=O.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ht,this.savedSearchesService=new Wt,O.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=O.getState();(0,cr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Z.actions.clearAssetCount(),Z.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Z.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Z.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Z.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Z.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Z.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Z.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Z.getState().assetCounts.bookmarkByMap).length!==0;t===Y.BOOKMARKS&&o&&Z.actions.clearBookmarkCountByMap(),Z.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Z.actions.bookmarks(o)}}},sc=new ho;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=sc);(0,ka.customElement)("ft-app-context")(N);var lr=class extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}},dr=class extends CustomEvent{constructor(t,o){super("ft-search-result-open-context-menu",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}};var ur=class r extends Event{constructor(){super(r.eventName)}};ur.eventName="search-context-clear-all-filters";var La=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},mo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Pa=Symbol("registerInterval"),yo=Symbol("registerAttempts"),cc=40,lc=(0,Xe.applyMixinOnce)(Symbol("toFtSearchComponent"),function(r){class t extends r{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,c;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(s=n.get("neededSearchRequests"))!==null&&s!==void 0?s:[]),(c=this.stateManager)===null||c===void 0||c.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[yo]=0,this.tryToRegisterToContext(),this[Pa]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[yo]>cc?window.clearInterval(this[Pa]):(this[yo]++,this.dispatchEvent(new mo))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return La([(0,go.state)()],t.prototype,"stateManager",void 0),La([(0,go.state)({hasChanged:Xe.hasChanged})],t.prototype,"neededSearchRequests",void 0),t}),Qe=class extends lc(Xe.FtLitElementRedux){};var Ba=S(_());var Da=S(G()),Je=S($()),Ma=S(_());var Na=S(G());var Fa=Na.css`
|
|
10
|
+
`}connectedCallback(){super.connectedCallback(),O.addEventListener(we.eventName,this.reloadConfiguration)}disconnectedCallback(){O.addEventListener(we.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,i,s,c,d,u;super.update(t),t.has("baseUrl")&&(O.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&O.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&O.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&O.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&O.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&O.actions.noCustom(this.noCustom),t.has("editorMode")&&O.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&O.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&O.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>We.addContext(p)),t.has("openExternalDocumentInNewTab")&&O.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&O.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&O.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(O.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),O.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),O.actions.searchInAllLanguagesAllowed((c=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&O.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&O.actions.availableContentLocales((u=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Pn(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};P.elementDefinitions={};P.styles=In;U([(0,W.property)()],P.prototype,"baseUrl",void 0);U([(0,W.property)()],P.prototype,"apiIntegrationIdentifier",void 0);U([(0,W.property)()],P.prototype,"apiIntegrationAppVersion",void 0);U([(0,W.property)()],P.prototype,"uiLocale",void 0);U([(0,re.jsonProperty)(null)],P.prototype,"availableUiLocales",void 0);U([(0,re.jsonProperty)(null)],P.prototype,"metadataConfiguration",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"editorMode",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"noCustom",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"openExternalDocumentInNewTab",void 0);U([(0,W.property)({converter:{fromAttribute(r){return r==="false"?!1:r==="true"||(r??!1)}}})],P.prototype,"noCustomComponent",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"withManualResources",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"navigatorOnline",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"forcedOffline",void 0);U([(0,W.property)({type:Object})],P.prototype,"apiProvider",void 0);U([(0,W.property)({type:Boolean})],P.prototype,"authenticationRequired",void 0);U([(0,re.jsonProperty)([])],P.prototype,"messageContexts",void 0);U([(0,re.jsonProperty)(void 0)],P.prototype,"session",void 0);U([(0,W.state)()],P.prototype,"localesConfiguration",void 0);U([(0,W.state)()],P.prototype,"availableContentLocales",void 0);var uo=S($());function vs(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;let o,n,i;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!$t(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!$t(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();let s=c=>Object.keys(c).filter(d=>c[d]!=null);if(i=s(r),o=i.length,o!==s(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){let c=i[n];if(!$t(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function $t(r,t){try{return vs(r,t)}catch{return!1}}function vt(r,t){return!$t(r,t)}function Dn(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function Vt(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var Mn=S($(),1);var Hr=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:vt,attribute:!1,...t};(0,Mn.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:d=>d[n],store:t.store})}};var Kt=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Te=S($(),1);var Bn=S($(),1);function Un(r,t){let o=()=>JSON.parse(JSON.stringify(r));return(0,Bn.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:vt,...t??{}})}var qt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var zn=S(G(),1);var Zt=globalThis,Ss=Zt.ShadowRoot&&(Zt.ShadyCSS===void 0||Zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,cd=Symbol();var Hn=(r,t)=>{if(Ss)r.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Zt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var Yt=class extends zn.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,s])=>t.registry.define(i,s)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Hn(n,t.elementStyles),n}};function Gn(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var $e=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Vn,Wn=Symbol("constructorPrototype"),jn=Symbol("constructorName"),Kn=Symbol("exportpartsDebouncer"),$n=Symbol("dynamicDependenciesLoaded"),je=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};je.eventName="exportparts-updated";var se=class extends Yt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vn]=new qt(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Kn].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[jn]=this.constructor.name,this[Wn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jn]&&Object.setPrototypeOf(this,this[Wn])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[$n]||(o[$n]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(je.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(je.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new je)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Gn(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=g=>g!=null&&g.trim().length>0,p=t.filter(u).map(g=>g.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],b=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(w=>w.split(":")[1]))!==null&&d!==void 0?d:[],C=[...v,...b].filter(u).map(w=>w.trim());for(let w of C)h.add(w)}if(h.size===0){this.exportparts=void 0;return}let y=[...h.values()].flatMap(g=>p.map(v=>`${g}:${v}--${g}`));this.exportparts=[...this.part,...y].join(", ")}};Vn=Kn;$e([(0,Te.property)()],se.prototype,"exportpartsPrefix",void 0);$e([Un([])],se.prototype,"exportpartsPrefixes",void 0);$e([(0,Te.property)({reflect:!0})],se.prototype,"exportparts",void 0);$e([(0,Te.property)()],se.prototype,"customStylesheet",void 0);$e([(0,Te.property)()],se.prototype,"elementToFocus",void 0);$e([(0,Te.state)()],se.prototype,"useAdoptedStyleSheets",void 0);function Qt(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var St=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),_e=Symbol("internalStores"),Cs=Vt(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[_e].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_e].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[_e].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[_e].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[_e].delete(d)}setupStores(){this.unsubscribeFromStores(),this[_e].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[ye].has(c.store):this[ye].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[ye].set(c,d.subscribe(()=>this.updateFromStores())),this[St].set(c,[]),Qt(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||d.name===p.store)){let y=g=>this[h](g);d.addEventListener(p.eventName,y),this[St].get(c).push(()=>d.removeEventListener(p.eventName,y))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[ye].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[ye].has(c)&&this[ye].get(c)(),this[ye].delete(c),(d=this[St].get(c))===null||d===void 0||d.forEach(u=>u()),this[St].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ye,o=_e,n=St,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),qn=class extends Cs(se){};function X(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(r){return!!r&&!!r[F]}function oe(r){var t;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===_s}(r)||Array.isArray(r)||!!r[ta]||!!(!((t=r.constructor)===null||t===void 0)&&t[ta])||Zr(r)||Yr(r))}function ke(r,t,o){o===void 0&&(o=!1),qe(r)===0?(o?Object.keys:Ke)(r).forEach(function(n){o&&typeof n=="symbol"||t(n,r[n],r)}):r.forEach(function(n,i){return t(i,n,r)})}function qe(r){var t=r[F];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:Zr(r)?2:Yr(r)?3:0}function Ve(r,t){return qe(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function Os(r,t){return qe(r)===2?r.get(t):r[t]}function ra(r,t,o){var n=qe(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function oa(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function Zr(r){return Is&&r instanceof Map}function Yr(r){return Ts&&r instanceof Set}function ge(r){return r.o||r.t}function Qr(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=ia(r);delete t[F];for(var o=Ke(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function Xr(r,t){return t===void 0&&(t=!1),Jr(r)||de(r)||!oe(r)||(qe(r)>1&&(r.set=r.add=r.clear=r.delete=Es),Object.freeze(r),t&&ke(r,function(o,n){return Xr(n,!0)},!0)),r}function Es(){X(2)}function Jr(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ce(r){var t=qr[r];return t||X(18,r),t}function As(r,t){qr[r]||(qr[r]=t)}function $r(){return Ot}function zr(r,t){t&&(ce("Patches"),r.u=[],r.s=[],r.v=t)}function Xt(r){Vr(r),r.p.forEach(ws),r.p=null}function Vr(r){r===Ot&&(Ot=r.l)}function Zn(r){return Ot={p:[],l:Ot,h:r,m:!0,_:0}}function ws(r){var t=r[F];t.i===0||t.i===1?t.j():t.g=!0}function Gr(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||ce("ES5").S(t,r,n),n?(o[F].P&&(Xt(t),X(4)),oe(r)&&(r=Jt(t,r),t.l||er(t,r)),t.u&&ce("Patches").M(o[F].t,r,t.u,t.s)):r=Jt(t,o,[]),Xt(t),t.u&&t.v(t.u,t.s),r!==aa?r:void 0}function Jt(r,t,o){if(Jr(t))return t;var n=t[F];if(!n)return ke(t,function(d,u){return Yn(r,n,t,d,u,o)},!0),t;if(n.A!==r)return t;if(!n.P)return er(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Qr(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),ke(s,function(d,u){return Yn(r,n,i,d,u,o,c)}),er(r,i,!1),o&&r.u&&ce("Patches").N(n,o,r.u,r.s)}return n.o}function Yn(r,t,o,n,i,s,c){if(de(i)){var d=Jt(r,i,s&&t&&t.i!==3&&!Ve(t.R,n)?s.concat(n):void 0);if(ra(o,n,d),!de(d))return;r.m=!1}else c&&o.add(i);if(oe(i)&&!Jr(i)){if(!r.h.D&&r._<1)return;Jt(r,i),t&&t.A.l||er(r,i)}}function er(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Xr(t,o)}function Wr(r,t){var o=r[F];return(o?ge(o):r)[t]}function Qn(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function me(r){r.P||(r.P=!0,r.l&&me(r.l))}function jr(r){r.o||(r.o=Qr(r.t))}function Kr(r,t,o){var n=Zr(t)?ce("MapSet").F(t,o):Yr(t)?ce("MapSet").T(t,o):r.O?function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:$r(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,p=Et;c&&(u=[d],p=Ct);var h=Proxy.revocable(u,p),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(t,o):ce("ES5").J(t,o);return(o?o.A:$r()).p.push(n),n}function Rs(r){return de(r)||X(22,r),function t(o){if(!oe(o))return o;var n,i=o[F],s=qe(o);if(i){if(!i.P&&(i.i<4||!ce("ES5").K(i)))return i.t;i.I=!0,n=Xn(o,s),i.I=!1}else n=Xn(o,s);return ke(n,function(c,d){i&&Os(i.t,c)===d||ra(n,c,t(d))}),s===3?new Set(n):n}(r)}function Xn(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return Qr(r)}function na(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[F];return Et.get(p,c)},set:function(p){var h=this[F];Et.set(h,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][F];if(!u.P)switch(u.i){case 5:n(u)&&me(u);break;case 4:o(u)&&me(u)}}}function o(c){for(var d=c.t,u=c.k,p=Ke(u),h=p.length-1;h>=0;h--){var y=p[h];if(y!==F){var g=d[y];if(g===void 0&&!Ve(d,y))return!0;var v=u[y],b=v&&v[F];if(b?b.t!==g:!oa(v,g))return!0}}var C=!!d[F];return p.length!==Ke(d).length+(C?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function i(c){c.g&&X(3,JSON.stringify(ge(c)))}var s={};As("ES5",{J:function(c,d){var u=Array.isArray(c),p=function(y,g){if(y){for(var v=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(v,""+b,r(b,!0));return v}var C=ia(g);delete C[F];for(var w=Ke(C),R=0;R<w.length;R++){var I=w[R];C[I]=r(I,y||!!C[I].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(u,c),h={i:u?5:4,A:d?d.A:$r(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,F,{value:h,writable:!0}),p},S:function(c,d,u){u?de(d)&&d[F].A===c&&t(c.p):(c.u&&function p(h){if(h&&typeof h=="object"){var y=h[F];if(y){var g=y.t,v=y.k,b=y.R,C=y.i;if(C===4)ke(v,function(k){k!==F&&(g[k]!==void 0||Ve(g,k)?b[k]||p(v[k]):(b[k]=!0,me(y)))}),ke(g,function(k){v[k]!==void 0||Ve(v,k)||(b[k]=!1,me(y))});else if(C===5){if(n(y)&&(me(y),b.length=!0),v.length<g.length)for(var w=v.length;w<g.length;w++)b[w]=!1;else for(var R=g.length;R<v.length;R++)b[R]=!0;for(var I=Math.min(v.length,g.length),N=0;N<I;N++)v.hasOwnProperty(N)||(b[N]=!0),b[N]===void 0&&p(v[N])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Jn,Ot,eo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Is=typeof Map<"u",Ts=typeof Set<"u",ea=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",aa=eo?Symbol.for("immer-nothing"):((Jn={})["immer-nothing"]=!0,Jn),ta=eo?Symbol.for("immer-draftable"):"__$immer_draftable",F=eo?Symbol.for("immer-state"):"__$immer_state";var _s=""+Object.prototype.constructor,Ke=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,ia=Object.getOwnPropertyDescriptors||function(r){var t={};return Ke(r).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)}),t},qr={},Et={get:function(r,t){if(t===F)return r;var o=ge(r);if(!Ve(o,t))return function(i,s,c){var d,u=Qn(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0}(r,o,t);var n=o[t];return r.I||!oe(n)?n:n===Wr(r.t,t)?(jr(r),r.o[t]=Kr(r.A.h,n,r)):n},has:function(r,t){return t in ge(r)},ownKeys:function(r){return Reflect.ownKeys(ge(r))},set:function(r,t,o){var n=Qn(ge(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Wr(ge(r),t),s=i?.[F];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(oa(o,i)&&(o!==void 0||Ve(r.t,t)))return!0;jr(r),me(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return Wr(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,jr(r),me(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=ge(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){X(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){X(12)}},Ct={};ke(Et,function(r,t){Ct[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ct.deleteProperty=function(r,t){return Ct.set.call(this,r,t,void 0)},Ct.set=function(r,t,o){return Et.set.call(this,r[0],t,o,r[0])};var ks=function(){function r(o){var n=this;this.O=ea,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(C){var w=this;C===void 0&&(C=d);for(var R=arguments.length,I=Array(R>1?R-1:0),N=1;N<R;N++)I[N-1]=arguments[N];return u.produce(C,function(k){var H;return(H=s).call.apply(H,[w,k].concat(I))})}}var p;if(typeof s!="function"&&X(6),c!==void 0&&typeof c!="function"&&X(7),oe(i)){var h=Zn(n),y=Kr(n,i,void 0),g=!0;try{p=s(y),g=!1}finally{g?Xt(h):Vr(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return zr(h,c),Gr(C,h)},function(C){throw Xt(h),C}):(zr(h,c),Gr(p,h))}if(!i||typeof i!="object"){if((p=s(i))===void 0&&(p=i),p===aa&&(p=void 0),n.D&&Xr(p,!0),c){var v=[],b=[];ce("Patches").M(i,p,v,b),c(v,b)}return p}X(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(v){return i.apply(void 0,[v].concat(y))})};var c,d,u=n.produce(i,s,function(p,h){c=p,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,d]}):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){oe(o)||X(8),de(o)&&(o=Rs(o));var n=Zn(this),i=Kr(this,o,void 0);return i[F].C=!0,Vr(n),i},t.finishDraft=function(o,n){var i=o&&o[F],s=i.A;return zr(s,n),Gr(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ea&&X(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=ce("Patches").$;return de(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},r}(),q=new ks,Ls=q.produce,Od=q.produceWithPatches.bind(q),Ed=q.setAutoFreeze.bind(q),Ad=q.setUseProxies.bind(q),wd=q.applyPatches.bind(q),Rd=q.createDraft.bind(q),Id=q.finishDraft.bind(q),tr=Ls;function Le(r){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(r)}function sa(r,t){if(Le(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(Le(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function ca(r){var t=sa(r,"string");return Le(t)=="symbol"?t:t+""}function la(r,t,o){return(t=ca(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function da(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function to(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?da(Object(o),!0).forEach(function(n){la(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):da(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function j(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ua=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ro=function(){return Math.random().toString(36).substring(7).split("").join(".")},rr={INIT:"@@redux/INIT"+ro(),REPLACE:"@@redux/REPLACE"+ro(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ro()}};function Ns(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function oo(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(oo)(r,t)}if(typeof r!="function")throw new Error(j(2));var i=r,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function h(){if(u)throw new Error(j(3));return s}function y(C){if(typeof C!="function")throw new Error(j(4));if(u)throw new Error(j(5));var w=!0;return p(),d.push(C),function(){if(w){if(u)throw new Error(j(6));w=!1,p();var I=d.indexOf(C);d.splice(I,1),c=null}}}function g(C){if(!Ns(C))throw new Error(j(7));if(typeof C.type>"u")throw new Error(j(8));if(u)throw new Error(j(9));try{u=!0,s=i(s,C)}finally{u=!1}for(var w=c=d,R=0;R<w.length;R++){var I=w[R];I()}return C}function v(C){if(typeof C!="function")throw new Error(j(10));i=C,g({type:rr.REPLACE})}function b(){var C,w=y;return C={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(j(11));function N(){I.next&&I.next(h())}N();var k=w(N);return{unsubscribe:k}}},C[ua]=function(){return this},C}return g({type:rr.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:v},n[ua]=b,n}function Ps(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:rr.INIT});if(typeof n>"u")throw new Error(j(12));if(typeof o(void 0,{type:rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function pa(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{Ps(o)}catch(u){d=u}return function(p,h){if(p===void 0&&(p={}),d)throw d;if(0)var y;for(var g=!1,v={},b=0;b<s.length;b++){var C=s[b],w=o[C],R=p[C],I=w(R,h);if(typeof I>"u"){var N=h&&h.type;throw new Error(j(14))}v[C]=I,g=g||I!==R}return g=g||s.length!==Object.keys(p).length,g?v:p}}function Ze(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function fa(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(j(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=Ze.apply(void 0,d)(i.dispatch),to(to({},i),{},{dispatch:s})}}}function ha(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var ya=ha();ya.withExtraArgument=ha;var no=ya;var va=function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Fs=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(h){return u([p,h])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=p[0]&2?i.return:p[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,p[1])).done)return s;switch(i=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(r,o)}catch(h){p=[6,h],i=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ye=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Ds=Object.defineProperty,Ms=Object.defineProperties,Bs=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,Us=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,ma=function(r,t,o){return t in r?Ds(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},be=function(r,t){for(var o in t||(t={}))Us.call(t,o)&&ma(r,o,t[o]);if(ga)for(var n=0,i=ga(t);n<i.length;n++){var o=i[n];Hs.call(t,o)&&ma(r,o,t[o])}return r},ao=function(r,t){return Ms(r,Bs(t))},zs=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(p){i(p)}},c=function(u){try{d(o.throw(u))}catch(p){i(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var Gs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ze:Ze.apply(null,arguments)},Vd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Ws(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var js=function(r){va(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ye([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ye([void 0],o.concat(this))))},t}(Array),$s=function(r){va(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Ye([void 0],o[0].concat(this)))):new(t.bind.apply(t,Ye([void 0],o.concat(this))))},t}(Array);function co(r){return oe(r)?tr(r,function(){}):r}function Vs(r){return typeof r=="boolean"}function Ks(){return function(t){return qs(t)}}function qs(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=new js;if(o&&(Vs(o)?d.push(no):d.push(no.withExtraArgument(o.extraArgument))),0){if(i)var u;if(c)var p}return d}var io=!0;function Sa(r){var t=Ks(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,h=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(Ws(i))v=pa(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=c;if(typeof b=="function"&&(b=b(t),!io&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!io&&b.some(function(k){return typeof k!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=fa.apply(void 0,b),w=Ze;u&&(w=Gs(be({trace:!io},typeof u=="object"&&u)));var R=new $s(C),I=R;Array.isArray(g)?I=Ye([C],g):typeof g=="function"&&(I=g(R));var N=w.apply(void 0,I);return oo(v,h,N)}function xe(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return be(be({type:r,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function Ca(r){var t={},o=[],n,i={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function Zs(r){return typeof r=="function"}function Ys(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Ca(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(Zs(r))u=function(){return co(r())};else{var p=co(r);u=function(){return p}}function h(y,g){y===void 0&&(y=u());var v=Ye([s[g.type]],c.filter(function(b){var C=b.matcher;return C(g)}).map(function(b){var C=b.reducer;return C}));return v.filter(function(b){return!!b}).length===0&&(v=[d]),v.reduce(function(b,C){if(C)if(de(b)){var w=b,R=C(w,g);return R===void 0?b:R}else{if(oe(b))return tr(b,function(I){return C(I,g)});var R=C(b,g);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},y)}return h.getInitialState=u,h}function Qs(r,t){return r+"/"+t}function Oa(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:co(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(h){var y=n[h],g=Qs(t,h),v,b;"reducer"in y?(v=y.reducer,b=y.prepare):v=y,s[h]=v,c[g]=v,d[h]=b?xe(g,b):xe(g)});function u(){var h=typeof r.extraReducers=="function"?Ca(r.extraReducers):[r.extraReducers],y=h[0],g=y===void 0?{}:y,v=h[1],b=v===void 0?[]:v,C=h[2],w=C===void 0?void 0:C,R=be(be({},g),c);return Ys(o,function(I){for(var N in R)I.addCase(N,R[N]);for(var k=0,H=b;k<H.length;k++){var te=H[k];I.addMatcher(te.matcher,te.reducer)}w&&I.addDefaultCase(w)})}var p;return{name:t,reducer:function(h,y){return p||(p=u()),p(h,y)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Xs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Js=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=Xs[Math.random()*64|0];return t},ec=["name","message","stack","code"],so=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),ba=function(){function r(t,o){this.payload=t,this.meta=o}return r}(),tc=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=ec;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},Yd=function(){function r(t,o,n){var i=xe(t+"/fulfilled",function(h,y,g,v){return{payload:h,meta:ao(be({},v||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=xe(t+"/pending",function(h,y,g){return{payload:void 0,meta:ao(be({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),c=xe(t+"/rejected",function(h,y,g,v,b){return{payload:v,error:(n&&n.serializeError||tc)(h||"Rejected"),meta:ao(be({},b||{}),{arg:g,requestId:y,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,g,v){var b=n?.idGenerator?n.idGenerator(h):Js(),C=new u,w,R=!1;function I(k){w=k,C.abort()}var N=function(){return zs(this,null,function(){var k,H,te,Oe,V,Ee,Ue;return Fs(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),Oe=(k=n?.condition)==null?void 0:k.call(n,h,{getState:g,extra:v}),oc(Oe)?[4,Oe]:[3,2];case 1:Oe=f.sent(),f.label=2;case 2:if(Oe===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,V=new Promise(function(m,A){return C.signal.addEventListener("abort",function(){return A({name:"AbortError",message:w||"Aborted"})})}),y(s(b,h,(H=n?.getPendingMeta)==null?void 0:H.call(n,{requestId:b,arg:h},{getState:g,extra:v}))),[4,Promise.race([V,Promise.resolve(o(h,{dispatch:y,getState:g,extra:v,requestId:b,signal:C.signal,abort:I,rejectWithValue:function(m,A){return new so(m,A)},fulfillWithValue:function(m,A){return new ba(m,A)}})).then(function(m){if(m instanceof so)throw m;return m instanceof ba?i(m.payload,b,h,m.meta):i(m,b,h)})])];case 3:return te=f.sent(),[3,5];case 4:return Ee=f.sent(),te=Ee instanceof so?c(null,b,h,Ee.payload,Ee.meta):c(Ee,b,h),[3,5];case 5:return Ue=n&&!n.dispatchConditionRejection&&c.match(te)&&te.meta.condition,Ue||y(te),[2,te]}})})}();return Object.assign(N,{abort:I,requestId:b,arg:h,unwrap:function(){return N.then(rc)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r}();function rc(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function oc(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ea="listener",Aa="completed",wa="cancelled",Qd="task-"+wa,Xd="task-"+Aa,Jd=Ea+"-"+wa,eu=Ea+"-"+Aa;var lo="listenerMiddleware";var tu=xe(lo+"/add"),ru=xe(lo+"/removeAll"),ou=xe(lo+"/remove");var xa,nu=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(xa||(xa=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},nc=function(r){return function(t){setTimeout(t,r)}},au=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:nc(10);na();var ac=Vt(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),or=class extends ac(Object){};window.ftReduxStores||(window.ftReduxStores={});var Ra=class r extends or{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Qt(s))return s;if(i==null)return;let c=Oa({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=Sa({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Dn(c.getInitialState());for(let y of p.keeping)h[y]=(u??h)[y];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return c.reducer(u,p)}});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Kt;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...h)=>{let y=p(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),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()}};var nr=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(t,o,n,i)}static getMomentDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i){let s=typeof t=="string"?new Date(t):t,c=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s);if(!i)return c;let d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return`${c} ${d}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var Ia=S(_()),ar=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Lu=(0,Ia.applyMixinOnce)(Symbol("withDateFormat"),function(r){class t extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(O)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>nr.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return ar([(0,uo.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),ar([(0,uo.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),ar([Hr({store:O.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),ar([Hr({store:O.name})],t.prototype,"uiLocale",void 0),t});var cr=S(_());var ir=class extends K{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=O.getState().session;return!!t?.sessionAuthenticated}};var sr=class extends K{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=O.getState().session;return!!t?.sessionAuthenticated}};var ic="ft-user-assets",sc={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(Y).forEach(t=>{r.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(r,t)=>{let o=t.payload.mapId;r.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,t)=>{let{assetType:o,mapId:n,asset:i}=t.payload;fo(r,o,[...po(r,o),i]),Ta(r,o,1,n),_a(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;fo(r,o,po(r,o).map(i=>i.id===n.id?n:i)),_a(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;fo(r,o,po(r,o).filter(s=>s.id!==i)),Ta(r,o,-1,n)}},ka={[Y.SEARCHES]:"savedSearches",[Y.BOOKMARKS]:"bookmarks",[Y.BOOKS]:void 0,[Y.COLLECTIONS]:void 0},po=(r,t)=>{var o;let n=ka[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},fo=(r,t,o)=>{let n=ka[t];n&&(r[n]=o)},Ta=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===Y.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},_a=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},Z=cr.FtReduxStore.get({name:ic,reducers:sc,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Y).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ho=class{constructor(t=new ir,o=new sr){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=O.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ht,this.savedSearchesService=new Wt,O.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=O.getState();(0,cr.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Z.actions.clearAssetCount(),Z.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Z.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Z.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Z.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Z.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Z.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Z.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Z.getState().assetCounts.bookmarkByMap).length!==0;t===Y.BOOKMARKS&&o&&Z.actions.clearBookmarkCountByMap(),Z.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Z.actions.bookmarks(o)}}},cc=new ho;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=cc);(0,La.customElement)("ft-app-context")(P);var lr=class extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}},dr=class extends CustomEvent{constructor(t,o){super("ft-search-result-open-context-menu",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}};var ur=class r extends Event{constructor(){super(r.eventName)}};ur.eventName="search-context-clear-all-filters";var Na=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},mo=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Pa=Symbol("registerInterval"),yo=Symbol("registerAttempts"),lc=40,dc=(0,Xe.applyMixinOnce)(Symbol("toFtSearchComponent"),function(r){class t extends r{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,c;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(s=n.get("neededSearchRequests"))!==null&&s!==void 0?s:[]),(c=this.stateManager)===null||c===void 0||c.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[yo]=0,this.tryToRegisterToContext(),this[Pa]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[yo]>lc?window.clearInterval(this[Pa]):(this[yo]++,this.dispatchEvent(new mo))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Na([(0,go.state)()],t.prototype,"stateManager",void 0),Na([(0,go.state)({hasChanged:Xe.hasChanged})],t.prototype,"neededSearchRequests",void 0),t}),Qe=class extends dc(Xe.FtLitElementRedux){};var Ua=S(_());var Ma=S(G()),Je=S($()),Ba=S(_());var Fa=S(G());var Da=Fa.css`
|
|
11
11
|
a {
|
|
12
12
|
color: inherit;
|
|
13
13
|
text-decoration: inherit;
|
|
14
14
|
}
|
|
15
|
-
`;var pr=class{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(t){this.openResultInNewTab=t}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank,t.openResultInNewTab=this.openResultInNewTab}};var fr=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},bo=class extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}},le=class extends
|
|
15
|
+
`;var pr=class{constructor(t){this.onResultSelected=t,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(t){this.openResultInNewTab=t}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank,t.openResultInNewTab=this.openResultInNewTab}};var fr=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},bo=class extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}},le=class extends Ba.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new pr(t=>this.onResultSelected(t))}render(){return Ma.html`
|
|
16
16
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
17
|
-
`}onResultSelected(t){this.result=t,this.dispatchEvent(new bo(this.result))}registerComponent(t){t.stopPropagation();let o=t.composedPath()[0];this.register(o)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),t.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};le.elementDefinitions={};le.styles=
|
|
17
|
+
`}onResultSelected(t){this.result=t,this.dispatchEvent(new bo(this.result))}registerComponent(t){t.stopPropagation();let o=t.composedPath()[0];this.register(o)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),t.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};le.elementDefinitions={};le.styles=Da;fr([(0,Je.property)({attribute:!1})],le.prototype,"cluster",void 0);fr([(0,Je.property)({attribute:!1,type:Boolean})],le.prototype,"openResultInNewTab",void 0);fr([(0,Je.state)()],le.prototype,"result",void 0);fr([(0,Je.property)()],le.prototype,"index",void 0);(0,Ua.customElement)("ft-search-result-context")(le);var Ki=S(_());var kt=S(G()),ji=S($()),$i=S(_());var gr=S(_());var yr=S($()),hr=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},vo=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},xo=Symbol("registerInterval"),uc=(0,gr.applyMixinOnce)(Symbol("toFtSearchResultComponent"),function(r){var t;class o extends r{constructor(){super(...arguments),this[t]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[xo]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[xo]):this.dispatchEvent(new vo)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return t=xo,hr([(0,yr.property)({attribute:!1})],o.prototype,"cluster",void 0),hr([(0,yr.property)({attribute:!1})],o.prototype,"result",void 0),hr([(0,gr.numberProperty)()],o.prototype,"rank",void 0),hr([(0,yr.property)({attribute:!1,type:Boolean})],o.prototype,"openResultInNewTab",void 0),o}),et=class extends uc(Qe){};var Ha=S(G()),za=S(_()),pc={highlightBackgroundColor:za.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ga=Ha.css`
|
|
18
18
|
.kwicmatch {
|
|
19
19
|
font-weight: 700;
|
|
20
|
-
background-color: ${
|
|
20
|
+
background-color: ${pc.highlightBackgroundColor};
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
a {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
a:focus {
|
|
29
29
|
outline: revert;
|
|
30
30
|
}
|
|
31
|
-
`;var
|
|
32
|
-
\f\r]`,wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
33
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$a=/'/g,Va=/"/g,Ya=/^(?:script|style|textarea|title)$/i,To=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),Qa=To(1),Xa=To(2),Ja=To(3),It=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Ka=new WeakMap,Ne=Fe.createTreeWalker(Fe,129);function ei(r,t){if(!Io(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ga!==void 0?Ga.createHTML(t):t}var hc=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=wt;for(let d=0;d<o;d++){let u=r[d],p,h,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,h=c.exec(u),h!==null);)g=c.lastIndex,c===wt?h[1]==="!--"?c=Wa:h[1]!==void 0?c=ja:h[2]!==void 0?(Ya.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Pe):h[3]!==void 0&&(c=Pe):c===Pe?h[0]===">"?(c=i??wt,y=-1):h[1]===void 0?y=-2:(y=c.lastIndex-h[2].length,p=h[1],c=h[3]===void 0?Pe:h[3]==='"'?Va:$a):c===Va||c===$a?c=Pe:c===Wa||c===ja?c=wt:(c=Pe,i=void 0);let v=c===Pe&&r[d+1].startsWith("/>")?" ":"";s+=c===wt?u+pc:y>=0?(n.push(p),u.slice(0,y)+qa+u.slice(y)+ve+v):u+ve+(y===-2?d:v)}return[ei(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Tt=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,h]=hc(t,o);if(this.el=r.createElement(p,n),Ne.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Ne.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(qa)){let g=h[c++],v=i.getAttribute(y).split(ve),b=/([.?@])?(.*)/.exec(g);u.push({type:1,index:s,name:b[2],strings:v,ctor:b[1]==="."?Oo:b[1]==="?"?Eo:b[1]==="@"?Ao:rt}),i.removeAttribute(y)}else y.startsWith(ve)&&(u.push({type:6,index:s}),i.removeAttribute(y));if(Ya.test(i.tagName)){let y=i.textContent.split(ve),g=y.length-1;if(g>0){i.textContent=mr?mr.emptyScript:"";for(let v=0;v<g;v++)i.append(y[v],br()),Ne.nextNode(),u.push({type:2,index:++s});i.append(y[g],br())}}}else if(i.nodeType===8)if(i.data===Za)u.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(ve,y+1))!==-1;)u.push({type:7,index:s}),y+=ve.length-1}s++}}static createElement(t,o){let n=Fe.createElement("template");return n.innerHTML=t,n}};function tt(r,t,o=r,n){if(t===It)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Rt(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=tt(r,i._$AS(r,t.values),i,n)),t}var Co=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){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Fe).importNode(o,!0);Ne.currentNode=i;let s=Ne.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new xr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new wo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=Ne.nextNode(),c++)}return Ne.currentNode=Fe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},xr=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=tt(this,t,o),Rt(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==It&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):fc(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Rt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Fe.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Tt.createElement(ei(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Co(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=Ka.get(t.strings);return o===void 0&&Ka.set(t.strings,o=new Tt(t)),o}k(t){Io(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(br()),this.O(br()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=tt(this,t,o,0),c=!Rt(t)||t!==this._$AH&&t!==It,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=tt(this,d[n+u],o,u),p===It&&(p=this._$AH[u]),c||=!Rt(p)||p!==this._$AH[u],p===M?t=M:t!==M&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!i&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Oo=class extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},Eo=class extends rt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},Ao=class extends rt{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=tt(this,t,o,0)??M)===It)return;let n=this._$AH,i=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},wo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}};var yc=Ro.litHtmlPolyfillSupport;yc?.(Tt,xr),(Ro.litHtmlVersions??=[]).push("3.3.0");var ri=Symbol.for(""),gc=r=>{if(r?.r===ri)return r?._$litStatic$},ot=r=>({_$litStatic$:r,r:ri});var ti=new Map,_o=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(i=gc(s))!==void 0);)u+=i+t[++p],h=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),h){let y=c.join("$$lit$$");(t=ti.get(y))===void 0&&(c.raw=c,ti.set(y,t=c)),o=d}return r(t,...o)},nt=_o(Qa),Pp=_o(Xa),Np=_o(Ja);var ko=S($()),gi=S(_());var Se;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Se||(Se={}));var J=S(G()),x=S(_()),oi=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.titleFont),ue=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.contentFont),E={fontFamily:ue,fontSize:x.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:x.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:x.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:x.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:x.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},at={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-font-family","",oi),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},it={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",oi),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},st={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},ct={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},lt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},dt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},ut={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},pt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},ft={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},ht={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},ni=J.css`
|
|
31
|
+
`;var Po=S(_());var Ro=globalThis,mr=Ro.trustedTypes,Wa=mr?mr.createPolicy("lit-html",{createHTML:r=>r}):void 0,Za="$lit$",ve=`lit$${Math.random().toFixed(9).slice(2)}$`,Ya="?"+ve,fc=`<${Ya}>`,Fe=document,br=()=>Fe.createComment(""),Rt=r=>r===null||typeof r!="object"&&typeof r!="function",Io=Array.isArray,hc=r=>Io(r)||typeof r?.[Symbol.iterator]=="function",So=`[
|
|
32
|
+
\f\r]`,wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ja=/-->/g,$a=/>/g,Ne=RegExp(`>|${So}(?:([^\\s"'>=/]+)(${So}*=${So}*(?:[^
|
|
33
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Va=/'/g,Ka=/"/g,Qa=/^(?:script|style|textarea|title)$/i,To=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),Xa=To(1),Ja=To(2),ei=To(3),It=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),qa=new WeakMap,Pe=Fe.createTreeWalker(Fe,129);function ti(r,t){if(!Io(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wa!==void 0?Wa.createHTML(t):t}var yc=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=wt;for(let d=0;d<o;d++){let u=r[d],p,h,y=-1,g=0;for(;g<u.length&&(c.lastIndex=g,h=c.exec(u),h!==null);)g=c.lastIndex,c===wt?h[1]==="!--"?c=ja:h[1]!==void 0?c=$a:h[2]!==void 0?(Qa.test(h[2])&&(i=RegExp("</"+h[2],"g")),c=Ne):h[3]!==void 0&&(c=Ne):c===Ne?h[0]===">"?(c=i??wt,y=-1):h[1]===void 0?y=-2:(y=c.lastIndex-h[2].length,p=h[1],c=h[3]===void 0?Ne:h[3]==='"'?Ka:Va):c===Ka||c===Va?c=Ne:c===ja||c===$a?c=wt:(c=Ne,i=void 0);let v=c===Ne&&r[d+1].startsWith("/>")?" ":"";s+=c===wt?u+fc:y>=0?(n.push(p),u.slice(0,y)+Za+u.slice(y)+ve+v):u+ve+(y===-2?d:v)}return[ti(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Tt=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,h]=yc(t,o);if(this.el=r.createElement(p,n),Pe.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Pe.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Za)){let g=h[c++],v=i.getAttribute(y).split(ve),b=/([.?@])?(.*)/.exec(g);u.push({type:1,index:s,name:b[2],strings:v,ctor:b[1]==="."?Oo:b[1]==="?"?Eo:b[1]==="@"?Ao:rt}),i.removeAttribute(y)}else y.startsWith(ve)&&(u.push({type:6,index:s}),i.removeAttribute(y));if(Qa.test(i.tagName)){let y=i.textContent.split(ve),g=y.length-1;if(g>0){i.textContent=mr?mr.emptyScript:"";for(let v=0;v<g;v++)i.append(y[v],br()),Pe.nextNode(),u.push({type:2,index:++s});i.append(y[g],br())}}}else if(i.nodeType===8)if(i.data===Ya)u.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(ve,y+1))!==-1;)u.push({type:7,index:s}),y+=ve.length-1}s++}}static createElement(t,o){let n=Fe.createElement("template");return n.innerHTML=t,n}};function tt(r,t,o=r,n){if(t===It)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Rt(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=tt(r,i._$AS(r,t.values),i,n)),t}var Co=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){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Fe).importNode(o,!0);Pe.currentNode=i;let s=Pe.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new xr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new wo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=Pe.nextNode(),c++)}return Pe.currentNode=Fe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},xr=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=tt(this,t,o),Rt(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==It&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):hc(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Rt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Fe.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Tt.createElement(ti(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Co(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=qa.get(t.strings);return o===void 0&&qa.set(t.strings,o=new Tt(t)),o}k(t){Io(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(br()),this.O(br()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=tt(this,t,o,0),c=!Rt(t)||t!==this._$AH&&t!==It,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=tt(this,d[n+u],o,u),p===It&&(p=this._$AH[u]),c||=!Rt(p)||p!==this._$AH[u],p===M?t=M:t!==M&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!i&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Oo=class extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},Eo=class extends rt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},Ao=class extends rt{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=tt(this,t,o,0)??M)===It)return;let n=this._$AH,i=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},wo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){tt(this,t)}};var gc=Ro.litHtmlPolyfillSupport;gc?.(Tt,xr),(Ro.litHtmlVersions??=[]).push("3.3.0");var oi=Symbol.for(""),mc=r=>{if(r?.r===oi)return r?._$litStatic$},ot=r=>({_$litStatic$:r,r:oi});var ri=new Map,_o=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(i=mc(s))!==void 0);)u+=i+t[++p],h=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),h){let y=c.join("$$lit$$");(t=ri.get(y))===void 0&&(c.raw=c,ri.set(y,t=c)),o=d}return r(t,...o)},nt=_o(Xa),Dp=_o(Ja),Mp=_o(ei);var ko=S($()),mi=S(_());var Se;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Se||(Se={}));var J=S(G()),x=S(_()),ni=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.titleFont),ue=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.contentFont),E={fontFamily:ue,fontSize:x.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:x.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:x.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:x.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:x.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},at={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ni),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},it={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ni),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},st={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},ct={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},lt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},dt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},ut={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},pt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},ft={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},ht={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ue),fontSize:x.FtCssVariableFactory.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},ai=J.css`
|
|
34
34
|
.ft-typography--title {
|
|
35
35
|
font-family: ${at.fontFamily};
|
|
36
36
|
font-size: ${at.fontSize};
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
line-height: ${at.lineHeight};
|
|
40
40
|
text-transform: ${at.textTransform};
|
|
41
41
|
}
|
|
42
|
-
`,
|
|
42
|
+
`,ii=J.css`
|
|
43
43
|
.ft-typography--title-dense {
|
|
44
44
|
font-family: ${it.fontFamily};
|
|
45
45
|
font-size: ${it.fontSize};
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
line-height: ${it.lineHeight};
|
|
49
49
|
text-transform: ${it.textTransform};
|
|
50
50
|
}
|
|
51
|
-
`,
|
|
51
|
+
`,si=J.css`
|
|
52
52
|
.ft-typography--subtitle1 {
|
|
53
53
|
font-family: ${st.fontFamily};
|
|
54
54
|
font-size: ${st.fontSize};
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
line-height: ${st.lineHeight};
|
|
58
58
|
text-transform: ${st.textTransform};
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,ci=J.css`
|
|
61
61
|
.ft-typography--subtitle2 {
|
|
62
62
|
font-family: ${ct.fontFamily};
|
|
63
63
|
font-size: ${ct.fontSize};
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
text-transform: ${ct.textTransform};
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
`,
|
|
70
|
+
`,li=J.css`
|
|
71
71
|
.ft-typography--body1 {
|
|
72
72
|
font-family: ${lt.fontFamily};
|
|
73
73
|
font-size: ${lt.fontSize};
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
line-height: ${lt.lineHeight};
|
|
77
77
|
text-transform: ${lt.textTransform};
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,di=J.css`
|
|
80
80
|
.ft-typography--body2 {
|
|
81
81
|
font-family: ${dt.fontFamily};
|
|
82
82
|
font-size: ${dt.fontSize};
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
line-height: ${dt.lineHeight};
|
|
86
86
|
text-transform: ${dt.textTransform};
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`,ui=J.css`
|
|
89
89
|
.ft-typography--caption {
|
|
90
90
|
font-family: ${ut.fontFamily};
|
|
91
91
|
font-size: ${ut.fontSize};
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
line-height: ${ut.lineHeight};
|
|
95
95
|
text-transform: ${ut.textTransform};
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,pi=J.css`
|
|
98
98
|
.ft-typography--breadcrumb {
|
|
99
99
|
font-family: ${pt.fontFamily};
|
|
100
100
|
font-size: ${pt.fontSize};
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
line-height: ${pt.lineHeight};
|
|
104
104
|
text-transform: ${pt.textTransform};
|
|
105
105
|
}
|
|
106
|
-
`,
|
|
106
|
+
`,fi=J.css`
|
|
107
107
|
.ft-typography--overline {
|
|
108
108
|
font-family: ${ft.fontFamily};
|
|
109
109
|
font-size: ${ft.fontSize};
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
line-height: ${ft.lineHeight};
|
|
113
113
|
text-transform: ${ft.textTransform};
|
|
114
114
|
}
|
|
115
|
-
`,
|
|
115
|
+
`,hi=J.css`
|
|
116
116
|
.ft-typography--button {
|
|
117
117
|
font-family: ${ht.fontFamily};
|
|
118
118
|
font-size: ${ht.fontSize};
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
line-height: ${ht.lineHeight};
|
|
122
122
|
text-transform: ${ht.textTransform};
|
|
123
123
|
}
|
|
124
|
-
`,
|
|
124
|
+
`,yi=J.css`
|
|
125
125
|
.ft-typography {
|
|
126
126
|
vertical-align: inherit;
|
|
127
127
|
}
|
|
128
|
-
`;var
|
|
128
|
+
`;var gi=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ne=class extends mi.FtLitElement{constructor(){super(...arguments),this.variant=Se.body1}render(){return this.element?nt`
|
|
129
129
|
<${ot(this.element)}
|
|
130
130
|
part="text"
|
|
131
131
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -133,8 +133,8 @@
|
|
|
133
133
|
</${ot(this.element)}>
|
|
134
134
|
`:nt`
|
|
135
135
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
136
|
-
`}};ne.styles=[ni,ai,ii,si,ci,li,di,ui,pi,fi,hi];yi([(0,ko.property)()],ne.prototype,"element",void 0);yi([(0,ko.property)()],ne.prototype,"variant",void 0);var Po=S($()),Mi=S(_());var vr;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(vr||(vr={}));var pe=S(G(),1),Ce=r=>typeof r=="string"?(0,pe.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>Ce(d??i),c=pe.css`var(${Ce(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>mi(c,d??s(i)),c.get=d=>pe.css`var(${Ce(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=pe.css`var(${Ce(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>mi(c,d??s(i)),c.get=d=>pe.css`var(${Ce(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=pe.css`var(${Ce(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>pe.css`var(${Ce(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function mi(r,t){return Ce(`${r.name}: ${t}`)}var a={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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)")},bi={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},xi={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},vi={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Si={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ci={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Oi={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ei={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Ai={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},wi={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},mc={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ri={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ii={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ti={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},_i={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ki={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Li={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Lo={display:bi,"title-1":xi,"title-2":vi,"title-3":Si,"body-1-regular":Ci,"body-1-medium":Oi,"body-1-semibold":Ei,"body-2-regular":Ai,"body-2-medium":wi,"body-2-medium-underline":mc,"body-2-semibold":Ri,"caption-1-medium":Ii,"caption-1-semibold":Ti,"caption-2-medium":_i,"caption-2-semibold":ki,"caption-2-bold":Li};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
137
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var ef={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",a.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var af={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var uf={iconSize:e.extend("--ftds-checkbox-icon-size","",a.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var gf={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var Sf={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var wf={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",a.iconSize2)};var kf={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var Df={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var zf={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Vf={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Qf={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var rh={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var sh={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var uh={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var gh={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var Sh={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",a.colorGray700)};var wh={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var kh={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Dh={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var zh={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02)};var Vh={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-combobox-single-select-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",a.opacity40)};var Qh={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-multi-select-disabled-component-opacity","",a.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",a.borderRadiusS)};var ry={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6)};var sy={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var py={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var gy={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var vy={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Ay={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var _y={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var Fy={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var Hy={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var $y={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Zy={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var Pi;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pi||(Pi={}));var Ni;(function(r){r.large="large",r.medium="medium",r.small="small"})(Ni||(Ni={}));var yt=S(G());function bc(r,t){let o=Lo[r];return yt.css`
|
|
136
|
+
`}};ne.styles=[ai,ii,si,ci,li,di,ui,pi,fi,hi,yi];gi([(0,ko.property)()],ne.prototype,"element",void 0);gi([(0,ko.property)()],ne.prototype,"variant",void 0);var No=S($()),Bi=S(_());var vr;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(vr||(vr={}));var pe=S(G(),1),Ce=r=>typeof r=="string"?(0,pe.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>Ce(d??i),c=pe.css`var(${Ce(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>bi(c,d??s(i)),c.get=d=>pe.css`var(${Ce(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=pe.css`var(${Ce(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>bi(c,d??s(i)),c.get=d=>pe.css`var(${Ce(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=pe.css`var(${Ce(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>pe.css`var(${Ce(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function bi(r,t){return Ce(`${r.name}: ${t}`)}var a={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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:e.create("--ftds-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)")},xi={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},vi={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Si={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ci={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Oi={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ei={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ai={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},wi={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ri={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},bc={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ii={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ti={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},_i={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ki={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Li={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ni={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Lo={display:xi,"title-1":vi,"title-2":Si,"title-3":Ci,"body-1-regular":Oi,"body-1-medium":Ei,"body-1-semibold":Ai,"body-2-regular":wi,"body-2-medium":Ri,"body-2-medium-underline":bc,"body-2-semibold":Ii,"caption-1-medium":Ti,"caption-1-semibold":_i,"caption-2-medium":ki,"caption-2-semibold":Li,"caption-2-bold":Ni};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
137
|
+
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var of={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",a.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var lf={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var hf={iconSize:e.extend("--ftds-checkbox-icon-size","",a.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var xf={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var Ef={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var Tf={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",a.iconSize2)};var Pf={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var Uf={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var jf={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Zf={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var eh={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var ah={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var dh={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var hh={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var xh={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var Eh={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",a.colorGray700)};var Th={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var Ph={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Uh={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var jh={height:e.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02)};var Zh={largeFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-combobox-single-select-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ftds-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ftds-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:e.extend("--ftds-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:e.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:e.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-single-select-disabled-component-opacity","",a.opacity40)};var ey={backgroundColor:e.extend("--ftds-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ftds-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:e.extend("--ftds-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ftds-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:e.extend("--ftds-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:e.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ftds-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-combobox-multi-select-disabled-component-opacity","",a.opacity40),helperHorizontalPadding:e.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ftds-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ftds-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ftds-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ftds-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ftds-combobox-multi-select-border-radius","",a.borderRadiusS)};var ay={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ftds-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6)};var dy={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var yy={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var xy={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Oy={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Iy={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var Ny={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var By={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var Wy={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var qy={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Xy={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var Pi;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Pi||(Pi={}));var Fi;(function(r){r.large="large",r.medium="medium",r.small="small"})(Fi||(Fi={}));var yt=S(G());function xc(r,t){let o=Lo[r];return yt.css`
|
|
138
138
|
${t?(0,yt.unsafeCSS)(t):yt.css`.ftds-typography--${(0,yt.unsafeCSS)(r)}`} {
|
|
139
139
|
font-family: ${o.fontFamily};
|
|
140
140
|
font-size: ${o.fontSize};
|
|
@@ -144,7 +144,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
144
144
|
text-decoration: ${o.textDecoration};
|
|
145
145
|
text-transform: ${o.textCase};
|
|
146
146
|
}
|
|
147
|
-
`}var
|
|
147
|
+
`}var Di=[Object.keys(Lo).map(r=>xc(r))];var Mi=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},De=class extends Bi.FtLitElement{constructor(){super(...arguments),this.variant=vr.body2medium}render(){return this.element?nt`
|
|
148
148
|
<${ot(this.element)}
|
|
149
149
|
part="text"
|
|
150
150
|
class="ftds-typography ftds-typography--${this.variant}">
|
|
@@ -152,46 +152,46 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
152
152
|
</${ot(this.element)}>
|
|
153
153
|
`:nt`
|
|
154
154
|
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
155
|
-
`}};De.styles=[...
|
|
156
|
-
<a href="${
|
|
155
|
+
`}};De.styles=[...Di];Mi([(0,No.property)()],De.prototype,"element",void 0);Mi([(0,No.property)()],De.prototype,"variant",void 0);(0,Po.customElement)("ft-typography")(ne);(0,Po.customElement)("ftds-typography")(De);var Vi=S(Fo());var Hi=r=>r??M;var _t=S(_());function zi(r){var t;return((t=(0,_t.accessResult)(r))===null||t===void 0?void 0:t.openMode)===Mt.EXTERNAL}function Gi(r){return zi(r)?(0,_t.accessResult)(r).originUrl:(0,_t.accessResultUrl)(r)}function Wi(r,t){return Hi(t&&zi(r)?"_blank":void 0)}var vc=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Me=class extends et{constructor(){super(...arguments),this.withoutLink=!1}render(){var t;return this.result?this.withoutLink?this.renderTitle():kt.html`
|
|
156
|
+
<a href="${Gi(this.result)}"
|
|
157
157
|
@click=${this.onResultClick}
|
|
158
158
|
@auxclick=${o=>this.onAuxClick(o)}
|
|
159
159
|
@contextmenu=${this.onContextMenu}
|
|
160
|
-
target="${
|
|
160
|
+
target="${Wi(this.result,(t=this.stateManager)===null||t===void 0?void 0:t.openExternalDocumentInNewTab)}"
|
|
161
161
|
part="link">
|
|
162
162
|
${this.renderTitle()}
|
|
163
163
|
</a>
|
|
164
164
|
`:kt.nothing}onAuxClick(t){t.button==1&&this.onResultClick()}renderTitle(){var t;return kt.html`
|
|
165
|
-
<ft-typography variant="${Se.title}" part="text">${(0
|
|
166
|
-
`}onResultClick(){this.dispatchEvent(new lr(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new dr(this.result,this.rank))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(n=>n.setAttribute("part","kwicmatch")),!this.withoutLink&&t.has("rank")&&this.rank!=null&&(!((o=this.stateManager)===null||o===void 0)&&o.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Me.elementDefinitions={"ft-typography":ne};Me.styles=
|
|
165
|
+
<ft-typography variant="${Se.title}" part="text">${(0,Vi.unsafeHTML)((t=(0,$i.accessResult)(this.result))===null||t===void 0?void 0:t.htmlTitle)}</ft-typography>
|
|
166
|
+
`}onResultClick(){this.dispatchEvent(new lr(this.result,this.rank))}onContextMenu(){this.result.type!="HTML_PACKAGE"&&this.result.type!="HTML_PACKAGE_PAGE"&&this.dispatchEvent(new dr(this.result,this.rank))}contentAvailableCallback(t){var o;super.contentAvailableCallback(t),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(n=>n.setAttribute("part","kwicmatch")),!this.withoutLink&&t.has("rank")&&this.rank!=null&&(!((o=this.stateManager)===null||o===void 0)&&o.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Me.elementDefinitions={"ft-typography":ne};Me.styles=Ga;vc([(0,ji.property)({type:Boolean})],Me.prototype,"withoutLink",void 0);(0,Ki.customElement)("ft-search-result-title")(Me);var Ji=S(_());var Do=S(G()),Qi=S(_());var qi=S(G()),Zi=S(_()),Sc={highlightBackgroundColor:Zi.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Yi=qi.css`
|
|
167
167
|
.kwicmatch {
|
|
168
168
|
font-weight: 700;
|
|
169
|
-
background-color: ${
|
|
169
|
+
background-color: ${Sc.highlightBackgroundColor};
|
|
170
170
|
}
|
|
171
|
-
`;var
|
|
172
|
-
<ft-typography variant="${Se.body1}" part="text">${(0,
|
|
171
|
+
`;var Xi=S(Fo());var gt=class extends et{render(){var t;let o=(t=(0,Qi.accessResult)(this.result))===null||t===void 0?void 0:t.htmlExcerpt;return o?Do.html`
|
|
172
|
+
<ft-typography variant="${Se.body1}" part="text">${(0,Xi.unsafeHTML)(o)}</ft-typography>
|
|
173
173
|
`:Do.html`
|
|
174
174
|
<style>
|
|
175
175
|
:host {
|
|
176
176
|
display: none !important;
|
|
177
177
|
}
|
|
178
178
|
</style>
|
|
179
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};gt.elementDefinitions={"ft-typography":ne};gt.styles=
|
|
180
|
-
`;var mt=S(_());var
|
|
179
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};gt.elementDefinitions={"ft-typography":ne};gt.styles=Yi;(0,Ji.customElement)("ft-search-result-abstract")(gt);var is=S(_());var Er=S(G()),Ar=S($()),wr=S(_());var es=S(G());var ts=es.css`
|
|
180
|
+
`;var mt=S(_());var ns=S($());var Mo=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},rs=new Mo;var Cc=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Oc=Symbol("i18nAttributes"),Ec=Symbol("i18nListAttributes"),as=Symbol("i18nProperties"),Sr=Symbol("i18nContexts"),Lt=Symbol("i18nUnsubs"),Or=(0,mt.applyMixinOnce)(Symbol("withI18n"),function(r){var t,o;class n extends r{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Gt:We}i18n(s){let{context:c,key:d,message:u}=s,{custom:p,args:h,argsProvider:y}=s;if(c&&d){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let g=h??(y?y(this):[]);return this.getI18nService(p).resolveMessage(c,d,...g)}return u}async awaitI18n(s){let{context:c,custom:d}=s;return c&&await this.getI18nService(d).prepareContext(c),this.i18n(s)}customI18n(s,c){if(rs.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((c,d,u)=>s.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,d;let u=this,p=(h,y,g)=>g?.context&&g.key&&s(h,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(c=this[Oc])===null||c===void 0||c.forEach((h,y)=>u[y]=p(h,y,u[y])),(d=this[Ec])===null||d===void 0||d.forEach((h,y)=>{var g;return u[y]=(g=u[y])===null||g===void 0?void 0:g.map(v=>p(h,y,v))})}updateI18nProperties(s){var c;(c=this[as])===null||c===void 0||c.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,d)}addI18nContext(s,c,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Sr].set(u,{isCustomContext:d}),this[Lt].has(u)||this[Lt].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(s){return this[Sr].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Sr].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lt].forEach(s=>s()),this[Lt].clear()}}return t=Sr,o=Lt,Cc([(0,ns.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),os=class extends Or(mt.FtLitElement){},Cr=class extends Or(mt.FtLitElementRedux){};var Nt=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ae=class extends Cr{constructor(){super(),this.editorMode=!1,this.addStore(O)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Er.nothing:Er.html`
|
|
181
181
|
<span class="ft-i18n">
|
|
182
182
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
183
183
|
</span>
|
|
184
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ae.elementDefinitions={};ae.styles=
|
|
184
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ae.elementDefinitions={};ae.styles=ts;Nt([(0,wr.redux)()],ae.prototype,"editorMode",void 0);Nt([(0,Ar.property)()],ae.prototype,"context",void 0);Nt([(0,Ar.property)()],ae.prototype,"key",void 0);Nt([(0,wr.jsonProperty)([])],ae.prototype,"args",void 0);Nt([(0,Ar.property)()],ae.prototype,"defaultMessage",void 0);var Rr=class r{static build(t){return new r(t)}static buildCustom(t){return new r(t,!0)}static fromGwt(t){return new r(t)}get service(){return this.custom?Gt:We}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};(0,is.customElement)("ft-i18n")(ae);var Bo=Rr.build("searchResultsNumber");var Be=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},ee=class extends Or(Qe){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>Ir.html`
|
|
185
185
|
<ft-search-result-title></ft-search-result-title>
|
|
186
186
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
187
187
|
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.neededSearchRequests=[bt.CLUSTERED_SEARCH],this.addI18nContext(Bo)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return Ir.html`
|
|
188
188
|
<ft-typography part="no-results-message" variant="body1">${Bo.messages.results(0)}</ft-typography>
|
|
189
|
-
`;let t=this.buildClusters();return(0,
|
|
189
|
+
`;let t=this.buildClusters();return(0,ss.repeat)(t,o=>o.id,(o,n)=>{var i;return Ir.html`
|
|
190
190
|
<ft-search-result-context .cluster=${o} index="${n}"
|
|
191
191
|
@ft-search-result-cluster-change=${s=>this.onClusterChange(o.id,s.detail)}>
|
|
192
192
|
${this.renderResult((i=this.selectedResultByCluster[o.id])!==null&&i!==void 0?i:o.entries[0],n)}
|
|
193
193
|
</ft-search-result-context>
|
|
194
|
-
`})}update(t){var o;super.update(t),(t.has("clusterSortCriterion")||t.has("stateManager"))&&this.clusterSortCriterion&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(t){var o;if(super.contentAvailableCallback(t),t.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&ie.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var t,o;return(o=(t=this.results)===null||t===void 0?void 0:t.map(n=>({id:(0,ie.accessResultId)(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var t,o,n;let i=(o=(t=this.results)===null||t===void 0?void 0:t.flatMap(s=>s.entries.map(c=>({id:(0,ie.accessResultId)(c),entries:[c]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?i.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):i}};ee.styles=Ko;Be([(0,Tr.property)({type:String,attribute:"cluster-policy"})],ee.prototype,"clusterPolicy",void 0);Be([(0,Tr.property)({type:Boolean})],ee.prototype,"displayNoResultsMessage",void 0);Be([(0,Tr.property)({attribute:!1})],ee.prototype,"renderResult",void 0);Be([(0,ie.jsonProperty)([])],ee.prototype,"clusterSortCriterion",void 0);Be([(0,ie.redux)({selector:r=>({...r.request,paging:void 0})})],ee.prototype,"requestWithoutPaging",void 0);Be([(0,ie.redux)({selector:r=>r.request.paging})],ee.prototype,"paging",void 0);Be([(0,ie.redux)()],ee.prototype,"results",void 0);(0,
|
|
194
|
+
`})}update(t){var o;super.update(t),(t.has("clusterSortCriterion")||t.has("stateManager"))&&this.clusterSortCriterion&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(t){var o;if(super.contentAvailableCallback(t),t.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&ie.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var t,o;return(o=(t=this.results)===null||t===void 0?void 0:t.map(n=>({id:(0,ie.accessResultId)(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var t,o,n;let i=(o=(t=this.results)===null||t===void 0?void 0:t.flatMap(s=>s.entries.map(c=>({id:(0,ie.accessResultId)(c),entries:[c]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?i.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):i}};ee.styles=Ko;Be([(0,Tr.property)({type:String,attribute:"cluster-policy"})],ee.prototype,"clusterPolicy",void 0);Be([(0,Tr.property)({type:Boolean})],ee.prototype,"displayNoResultsMessage",void 0);Be([(0,Tr.property)({attribute:!1})],ee.prototype,"renderResult",void 0);Be([(0,ie.jsonProperty)([])],ee.prototype,"clusterSortCriterion",void 0);Be([(0,ie.redux)({selector:r=>({...r.request,paging:void 0})})],ee.prototype,"requestWithoutPaging",void 0);Be([(0,ie.redux)({selector:r=>r.request.paging})],ee.prototype,"paging",void 0);Be([(0,ie.redux)()],ee.prototype,"results",void 0);(0,cs.customElement)("ft-search-results")(ee);})();
|
|
195
195
|
/*! Bundled license information:
|
|
196
196
|
|
|
197
197
|
@lit/reactive-element/css-tag.js:
|