@fluid-topics/ft-page-layout 1.2.25 → 1.2.26
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.
|
@@ -1709,7 +1709,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1709
1709
|
`;var wr=g(L());var bl=g(L());var Ac=g(_()),gt=g(Y()),Dt=g(L());var Oc=g(_());var wc=Oc.css`
|
|
1710
1710
|
`;var er=g(L()),rs="ft-app-info",an=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ns={session:(o,e)=>{(0,er.deepEqual)(o.session,e.payload)||(o.session=e.payload,setTimeout(()=>P.dispatchEvent(new an(e.payload)),0))}},P=er.FtReduxStore.get({name:rs,reducers:ns,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var ue=g(L());var cn=g(L());var $e=class o{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=o.get(e);if(n)r(n);else{let i=P.subscribe(()=>{n=o.get(e),n&&(i(),r(n))})}})}};var fe=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new cn.CacheRegistry,this.cache=e?i.commonCache:new cn.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:$e.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):$e.await()}clearCache(){this.cache.clearAll()}};var Ec,as=Symbol("clearAfterUnitTest"),or=class extends fe{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ec]=()=>{this.defaultMessages={},this.cache=new ue.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=P.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};(0,ue.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),l=this.resolveContext(a);return new ue.ParametrizedLabelResolver((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>(0,ue.delay)(0).then(()=>r()).catch(()=>null)))}};Ec=as;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends or{constructor(){super(async(o,e)=>(await this.awaitApi).getFluidTopicsMessageContext(o,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends or{constructor(){super(async(o,e)=>(await this.awaitApi).getCustomMessageContext(o,e))}});var ke=window.FluidTopicsI18nService,Nc=window.FluidTopicsCustomI18nService;var ct=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},V=class extends Dt.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>$e.get(),this.messageContexts=[],this.cache=new Dt.CacheRegistry,this.cleanSessionDebouncer=new Dt.Debouncer}render(){return Ac.html`
|
|
1711
1711
|
<slot></slot>
|
|
1712
|
-
`}update(e){var r,n,i,a,l;super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>ke.addContext(s)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),P.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=wc;ct([(0,gt.property)()],V.prototype,"baseUrl",void 0);ct([(0,gt.property)()],V.prototype,"apiIntegrationIdentifier",void 0);ct([(0,gt.property)()],V.prototype,"uiLocale",void 0);ct([(0,Dt.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);ct([(0,Dt.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"editorMode",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"noCustom",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);ct([(0,gt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"withManualResources",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);ct([(0,gt.property)({type:Object})],V.prototype,"apiProvider",void 0);ct([(0,Dt.jsonProperty)([])],V.prototype,"messageContexts",void 0);ct([(0,Dt.jsonProperty)(void 0)],V.prototype,"session",void 0);ct([(0,gt.state)()],V.prototype,"localesConfiguration",void 0);var Vs=g(Y());function is(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!rr(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!rr(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!rr(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function rr(o,e){try{return is(o,e)}catch{return!1}}function nr(o,e){return!rr(o,e)}var cs=g(Y(),1);var ar=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var No=g(Y(),1);var Rc=g(Y(),1);function Lc(o,e){let r=()=>JSON.parse(JSON.stringify(o));return(0,Rc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:nr,...e??{}})}var ir=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ic=g(_(),1);var cr=window,ls=cr.ShadowRoot&&(cr.ShadyCSS===void 0||cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zg=Symbol();var Pc=(o,e)=>{ls?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var lr=class extends Ic.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Pc(n,e.elementStyles),n}};var sr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Tc,$c=Symbol("constructorPrototype"),kc=Symbol("constructorName"),_c=Symbol("exportpartsDebouncer"),Bc=Symbol("dynamicDependenciesLoaded"),he=class extends lr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Tc]=new ir(5),this[kc]=this.constructor.name,this[$c]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kc]&&Object.setPrototypeOf(this,this[$c])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Bc]||(e[Bc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[_c].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,l,s;let f=m=>m!=null&&m.trim().length>0,p=e.filter(f).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...b).filter(f).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Tc=_c;sr([(0,No.property)()],he.prototype,"exportpartsPrefix",void 0);sr([Lc([])],he.prototype,"exportpartsPrefixes",void 0);sr([(0,No.property)()],he.prototype,"customStylesheet",void 0);sr([(0,No.state)()],he.prototype,"useAdoptedStyleSheets",void 0);function Ao(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Wc,Dc,zc,Ro=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),Be=Symbol("internalStores"),Lo=class extends he{constructor(){super(...arguments),this[Wc]=new Map,this[Dc]=new Map,this[zc]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Be].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Be].get(e)}addStore(e,r){var n;r=(n=r??(Ao(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[Be].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Be].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Be].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[ye].has(e.store):this[ye].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[ye].set(e,r.subscribe(()=>this.updateFromStores())),this[Ro].set(e,[]),Ao(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let l=s=>this[a](s);r.addEventListener(i.eventName,l),this[Ro].get(e).push(()=>r.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ye].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[ye].has(e)&&this[ye].get(e)(),this[ye].delete(e),(r=this[Ro].get(e))===null||r===void 0||r.forEach(n=>n()),this[Ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wc=ye,Dc=Be,zc=Ro;Lo.reduxProperties=new Map;Lo.reduxReactiveProperties=new Set;Lo.reduxEventListeners=new Map;function kt(o){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function te(o){return!!o&&!!o[U]}function zt(o){var e;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ms}(o)||Array.isArray(o)||!!o[Vc]||!!(!((e=o.constructor)===null||e===void 0)&&e[Vc])||mn(o)||gn(o))}function Te(o,e,r){r===void 0&&(r=!1),no(o)===0?(r?Object.keys:ro)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function no(o){var e=o[U];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:mn(o)?2:gn(o)?3:0}function oo(o,e){return no(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function ss(o,e){return no(o)===2?o.get(e):o[e]}function Kc(o,e,r){var n=no(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function Zc(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function mn(o){return hs&&o instanceof Map}function gn(o){return ys&&o instanceof Set}function me(o){return o.o||o.t}function bn(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Xc(o);delete e[U];for(var r=ro(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function xn(o,e){return e===void 0&&(e=!1),vn(o)||te(o)||!zt(o)||(no(o)>1&&(o.set=o.add=o.clear=o.delete=ds),Object.freeze(o),e&&Te(o,function(r,n){return xn(n,!0)},!0)),o}function ds(){kt(2)}function vn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Gt(o){var e=yn[o];return e||kt(18,o),e}function ps(o,e){yn[o]||(yn[o]=e)}function fn(){return Io}function ln(o,e){e&&(Gt("Patches"),o.u=[],o.s=[],o.v=e)}function dr(o){un(o),o.p.forEach(fs),o.p=null}function un(o){o===Io&&(Io=o.l)}function Mc(o){return Io={p:[],l:Io,h:o,m:!0,_:0}}function fs(o){var e=o[U];e.i===0||e.i===1?e.j():e.g=!0}function sn(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||Gt("ES5").S(e,o,n),n?(r[U].P&&(dr(e),kt(4)),zt(o)&&(o=pr(e,o),e.l||fr(e,o)),e.u&&Gt("Patches").M(r[U].t,o,e.u,e.s)):o=pr(e,r,[]),dr(e),e.u&&e.v(e.u,e.s),o!==Yc?o:void 0}function pr(o,e,r){if(vn(e))return e;var n=e[U];if(!n)return Te(e,function(s,f){return Hc(o,n,e,s,f,r)},!0),e;if(n.A!==o)return e;if(!n.P)return fr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=bn(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),Te(a,function(s,f){return Hc(o,n,i,s,f,r,l)}),fr(o,i,!1),r&&o.u&&Gt("Patches").N(n,r,o.u,o.s)}return n.o}function Hc(o,e,r,n,i,a,l){if(te(i)){var s=pr(o,i,a&&e&&e.i!==3&&!oo(e.R,n)?a.concat(n):void 0);if(Kc(r,n,s),!te(s))return;o.m=!1}else l&&r.add(i);if(zt(i)&&!vn(i)){if(!o.h.D&&o._<1)return;pr(o,i),e&&e.A.l||fr(o,i)}}function fr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&xn(e,r)}function dn(o,e){var r=o[U];return(r?me(r):o)[e]}function Uc(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ge(o){o.P||(o.P=!0,o.l&&ge(o.l))}function pn(o){o.o||(o.o=bn(o.t))}function hn(o,e,r){var n=mn(e)?Gt("MapSet").F(e,r):gn(e)?Gt("MapSet").T(e,r):o.O?function(i,a){var l=Array.isArray(i),s={i:l?1:0,A:a?a.A:fn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},f=s,p=$o;l&&(f=[s],p=Po);var h=Proxy.revocable(f,p),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(e,r):Gt("ES5").J(e,r);return(r?r.A:fn()).p.push(n),n}function us(o){return te(o)||kt(22,o),function e(r){if(!zt(r))return r;var n,i=r[U],a=no(r);if(i){if(!i.P&&(i.i<4||!Gt("ES5").K(i)))return i.t;i.I=!0,n=Fc(r,a),i.I=!1}else n=Fc(r,a);return Te(n,function(l,s){i&&ss(i.t,l)===s||Kc(n,l,e(s))}),a===3?new Set(n):n}(o)}function Fc(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return bn(o)}function qc(){function o(l,s){var f=a[l];return f?f.enumerable=s:a[l]=f={configurable:!0,enumerable:s,get:function(){var p=this[U];return $o.get(p,l)},set:function(p){var h=this[U];$o.set(h,l,p)}},f}function e(l){for(var s=l.length-1;s>=0;s--){var f=l[s][U];if(!f.P)switch(f.i){case 5:n(f)&&ge(f);break;case 4:r(f)&&ge(f)}}}function r(l){for(var s=l.t,f=l.k,p=ro(f),h=p.length-1;h>=0;h--){var y=p[h];if(y!==U){var m=s[y];if(m===void 0&&!oo(s,y))return!0;var x=f[y],b=x&&x[U];if(b?b.t!==m:!Zc(x,m))return!0}}var S=!!s[U];return p.length!==ro(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var f=Object.getOwnPropertyDescriptor(s,s.length-1);if(f&&!f.get)return!0;for(var p=0;p<s.length;p++)if(!s.hasOwnProperty(p))return!0;return!1}function i(l){l.g&&kt(3,JSON.stringify(me(l)))}var a={};ps("ES5",{J:function(l,s){var f=Array.isArray(l),p=function(y,m){if(y){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,o(b,!0));return x}var S=Xc(m);delete S[U];for(var R=ro(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(f,l),h={i:f?5:4,A:s?s.A:fn(),P:!1,I:!1,R:{},l:s,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,U,{value:h,writable:!0}),p},S:function(l,s,f){f?te(s)&&s[U].A===l&&e(l.p):(l.u&&function p(h){if(h&&typeof h=="object"){var y=h[U];if(y){var m=y.t,x=y.k,b=y.R,S=y.i;if(S===4)Te(x,function(T){T!==U&&(m[T]!==void 0||oo(m,T)?b[T]||p(x[T]):(b[T]=!0,ge(y)))}),Te(m,function(T){x[T]!==void 0||oo(x,T)||(b[T]=!1,ge(y))});else if(S===5){if(n(y)&&(ge(y),b.length=!0),x.length<m.length)for(var R=x.length;R<m.length;R++)b[R]=!1;else for(var E=m.length;E<x.length;E++)b[E]=!0;for(var N=Math.min(x.length,m.length),I=0;I<N;I++)x.hasOwnProperty(I)||(b[I]=!0),b[I]===void 0&&p(x[I])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Gc,Io,Sn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hs=typeof Map<"u",ys=typeof Set<"u",jc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yc=Sn?Symbol.for("immer-nothing"):((Gc={})["immer-nothing"]=!0,Gc),Vc=Sn?Symbol.for("immer-draftable"):"__$immer_draftable",U=Sn?Symbol.for("immer-state"):"__$immer_state";var ms=""+Object.prototype.constructor,ro=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Xc=Object.getOwnPropertyDescriptors||function(o){var e={};return ro(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},yn={},$o={get:function(o,e){if(e===U)return o;var r=me(o);if(!oo(r,e))return function(i,a,l){var s,f=Uc(a,l);return f?"value"in f?f.value:(s=f.get)===null||s===void 0?void 0:s.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!zt(n)?n:n===dn(o.t,e)?(pn(o),o.o[e]=hn(o.A.h,n,o)):n},has:function(o,e){return e in me(o)},ownKeys:function(o){return Reflect.ownKeys(me(o))},set:function(o,e,r){var n=Uc(me(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=dn(me(o),e),a=i?.[U];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(Zc(r,i)&&(r!==void 0||oo(o.t,e)))return!0;pn(o),ge(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return dn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,pn(o),ge(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=me(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){kt(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){kt(12)}},Po={};Te($o,function(o,e){Po[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Po.deleteProperty=function(o,e){return Po.set.call(this,o,e,void 0)},Po.set=function(o,e,r){return $o.set.call(this,o[0],e,r,o[0])};var gs=function(){function o(r){var n=this;this.O=jc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var f=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),I=1;I<E;I++)N[I-1]=arguments[I];return f.produce(S,function(T){var W;return(W=a).call.apply(W,[R,T].concat(N))})}}var p;if(typeof a!="function"&&kt(6),l!==void 0&&typeof l!="function"&&kt(7),zt(i)){var h=Mc(n),y=hn(n,i,void 0),m=!0;try{p=a(y),m=!1}finally{m?dr(h):un(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(S){return ln(h,l),sn(S,h)},function(S){throw dr(h),S}):(ln(h,l),sn(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Yc&&(p=void 0),n.D&&xn(p,!0),l){var x=[],b=[];Gt("Patches").M(i,p,x,b),l(x,b)}return p}kt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(p,function(x){return i.apply(void 0,[x].concat(y))})};var l,s,f=n.produce(i,a,function(p,h){l=p,s=h});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,l,s]}):[f,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){zt(r)||kt(8),te(r)&&(r=us(r));var n=Mc(this),i=hn(this,r,void 0);return i[U].C=!0,un(n),i},e.finishDraft=function(r,n){var i=r&&r[U],a=i.A;return ln(a,n),sn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!jc&&kt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var l=Gt("Patches").$;return te(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),Rt=new gs,bs=Rt.produce,Xg=Rt.produceWithPatches.bind(Rt),Jg=Rt.setAutoFreeze.bind(Rt),Qg=Rt.setUseProxies.bind(Rt),tb=Rt.applyPatches.bind(Rt),eb=Rt.createDraft.bind(Rt),ob=Rt.finishDraft.bind(Rt),ur=bs;function be(o){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},be(o)}function Cn(o,e){if(be(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(be(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function On(o){var e=Cn(o,"string");return be(e)==="symbol"?e:String(e)}function wn(o,e,r){return e=On(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function Jc(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),r.push.apply(r,n)}return r}function hr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jc(Object(r),!0).forEach(function(n){wn(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Jc(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function lt(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Qc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),En=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+En(),REPLACE:"@@redux/REPLACE"+En(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+En()}};function xs(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Nn(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(lt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(lt(1));return r(Nn)(o,e)}if(typeof o!="function")throw new Error(lt(2));var i=o,a=e,l=[],s=l,f=!1;function p(){s===l&&(s=l.slice())}function h(){if(f)throw new Error(lt(3));return a}function y(S){if(typeof S!="function")throw new Error(lt(4));if(f)throw new Error(lt(5));var R=!0;return p(),s.push(S),function(){if(R){if(f)throw new Error(lt(6));R=!1,p();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!xs(S))throw new Error(lt(7));if(typeof S.type>"u")throw new Error(lt(8));if(f)throw new Error(lt(9));try{f=!0,a=i(a,S)}finally{f=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function x(S){if(typeof S!="function")throw new Error(lt(10));i=S,m({type:yr.REPLACE})}function b(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(lt(11));function I(){N.next&&N.next(h())}I();var T=R(I);return{unsubscribe:T}}},S[Qc]=function(){return this},S}return m({type:yr.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:x},n[Qc]=b,n}function vs(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(lt(12));if(typeof r(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(lt(13))})}function tl(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),l,s;try{vs(r)}catch(f){s=f}return function(p,h){if(p===void 0&&(p={}),s)throw s;if(0)var y;for(var m=!1,x={},b=0;b<a.length;b++){var S=a[b],R=r[S],E=p[S],N=R(E,h);if(typeof N>"u"){var I=h&&h.type;throw new Error(lt(14))}x[S]=N,m=m||N!==E}return m=m||a.length!==Object.keys(p).length,m?x:p}}function ao(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function el(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(lt(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(f){return f(l)});return a=ao.apply(void 0,s)(i.dispatch),hr(hr({},i),{},{dispatch:a})}}}function ol(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(s){return typeof s=="function"?s(i,a,o):l(s)}}};return e}var rl=ol();rl.withExtraArgument=ol;var An=rl;var ll=function(){var o=function(e,r){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ss=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(p){return function(h){return f([p,h])}}function f(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(o,r)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},io=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Cs=Object.defineProperty,Os=Object.defineProperties,ws=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable,al=function(o,e,r){return e in o?Cs(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},xe=function(o,e){for(var r in e||(e={}))Es.call(e,r)&&al(o,r,e[r]);if(nl)for(var n=0,i=nl(e);n<i.length;n++){var r=i[n];Ns.call(e,r)&&al(o,r,e[r])}return o},Rn=function(o,e){return Os(o,ws(e))},As=function(o,e,r){return new Promise(function(n,i){var a=function(f){try{s(r.next(f))}catch(p){i(p)}},l=function(f){try{s(r.throw(f))}catch(p){i(p)}},s=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(a,l)};s((r=r.apply(o,e)).next())})};var Rs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ao:ao.apply(null,arguments)},vb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ls(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Ps=function(o){ll(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,io([void 0],r[0].concat(this)))):new(e.bind.apply(e,io([void 0],r.concat(this))))},e}(Array),Is=function(o){ll(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,io([void 0],r[0].concat(this)))):new(e.bind.apply(e,io([void 0],r.concat(this))))},e}(Array);function In(o){return zt(o)?ur(o,function(){}):o}function $s(o){return typeof o=="boolean"}function ks(){return function(e){return Bs(e)}}function Bs(o){o===void 0&&(o={});var e=o.thunk,r=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,l=a===void 0?!0:a,s=new Ps;if(r&&($s(r)?s.push(An):s.push(An.withExtraArgument(r.extraArgument))),0){if(i)var f;if(l)var p}return s}var Ln=!0;function sl(o){var e=ks(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,l=a===void 0?e():a,s=r.devTools,f=s===void 0?!0:s,p=r.preloadedState,h=p===void 0?void 0:p,y=r.enhancers,m=y===void 0?void 0:y,x;if(typeof i=="function")x=i;else if(Ls(i))x=tl(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=l;if(typeof b=="function"&&(b=b(e),!Ln&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ln&&b.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=el.apply(void 0,b),R=ao;f&&(R=Rs(xe({trace:!Ln},typeof f=="object"&&f)));var E=new Is(S),N=E;Array.isArray(m)?N=io([S],m):typeof m=="function"&&(N=m(E));var I=R.apply(void 0,N);return Nn(x,h,I)}function ve(o,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return xe(xe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function dl(o){var e={},r=[],n,i={addCase:function(a,l){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,i},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function Ts(o){return typeof o=="function"}function _s(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?dl(e):[e,r,n],a=i[0],l=i[1],s=i[2],f;if(Ts(o))f=function(){return In(o())};else{var p=In(o);f=function(){return p}}function h(y,m){y===void 0&&(y=f());var x=io([a[m.type]],l.filter(function(b){var S=b.matcher;return S(m)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[s]),x.reduce(function(b,S){if(S)if(te(b)){var R=b,E=S(R,m);return E===void 0?b:E}else{if(zt(b))return ur(b,function(N){return S(N,m)});var E=S(b,m);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},y)}return h.getInitialState=f,h}function Ws(o,e){return o+"/"+e}function pl(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:In(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},l={},s={};i.forEach(function(h){var y=n[h],m=Ws(e,h),x,b;"reducer"in y?(x=y.reducer,b=y.prepare):x=y,a[h]=x,l[m]=x,s[h]=b?ve(m,b):ve(m)});function f(){var h=typeof o.extraReducers=="function"?dl(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,x=h[1],b=x===void 0?[]:x,S=h[2],R=S===void 0?void 0:S,E=xe(xe({},m),l);return _s(r,function(N){for(var I in E)N.addCase(I,E[I]);for(var T=0,W=b;T<W.length;T++){var Lt=W[T];N.addMatcher(Lt.matcher,Lt.reducer)}R&&N.addDefaultCase(R)})}var p;return{name:e,reducer:function(h,y){return p||(p=f()),p(h,y)},actions:s,caseReducers:a,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var Ds="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zs=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=Ds[Math.random()*64|0];return e},Ms=["name","message","stack","code"],Pn=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),il=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Hs=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=Ms;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},wb=function(){function o(e,r,n){var i=ve(e+"/fulfilled",function(h,y,m,x){return{payload:h,meta:Rn(xe({},x||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),a=ve(e+"/pending",function(h,y,m){return{payload:void 0,meta:Rn(xe({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=ve(e+"/rejected",function(h,y,m,x,b){return{payload:x,error:(n&&n.serializeError||Hs)(h||"Rejected"),meta:Rn(xe({},b||{}),{arg:m,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,f=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,m,x){var b=n?.idGenerator?n.idGenerator(h):zs(),S=new f,R,E=!1;function N(T){R=T,S.abort()}var I=function(){return As(this,null,function(){var T,W,Lt,oe,Pr,re,bt;return Ss(this,function(Pt){switch(Pt.label){case 0:return Pt.trys.push([0,4,,5]),oe=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:x}),Fs(oe)?[4,oe]:[3,2];case 1:oe=Pt.sent(),Pt.label=2;case 2:if(oe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Pr=new Promise(function(xt,Se){return S.signal.addEventListener("abort",function(){return Se({name:"AbortError",message:R||"Aborted"})})}),y(a(b,h,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:b,arg:h},{getState:m,extra:x}))),[4,Promise.race([Pr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:x,requestId:b,signal:S.signal,abort:N,rejectWithValue:function(xt,Se){return new Pn(xt,Se)},fulfillWithValue:function(xt,Se){return new il(xt,Se)}})).then(function(xt){if(xt instanceof Pn)throw xt;return xt instanceof il?i(xt.payload,b,h,xt.meta):i(xt,b,h)})])];case 3:return Lt=Pt.sent(),[3,5];case 4:return re=Pt.sent(),Lt=re instanceof Pn?l(null,b,h,re.payload,re.meta):l(re,b,h),[3,5];case 5:return bt=n&&!n.dispatchConditionRejection&&l.match(Lt)&&Lt.meta.condition,bt||y(Lt),[2,Lt]}})})}();return Object.assign(I,{abort:N,requestId:b,arg:h,unwrap:function(){return I.then(Us)}})}}return Object.assign(p,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function Us(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Fs(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var fl="listener",ul="completed",hl="cancelled",Eb="task-"+hl,Nb="task-"+ul,Ab=fl+"-"+hl,Rb=fl+"-"+ul;var $n="listenerMiddleware";var Lb=ve($n+"/add"),Pb=ve($n+"/removeAll"),Ib=ve($n+"/remove");var cl,$b=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(cl||(cl=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},Gs=function(o){return function(e){setTimeout(e,o)}},kb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Gs(10);qc();function js(o,e){return class extends o{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var mr=class extends js(Object){};window.ftReduxStores||(window.ftReduxStores={});var yl=class o extends mr{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ao(a))return a;if(i==null)return;let l=pl({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=sl({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:l.reducer(f,p)});return window.ftReduxStores[i.name]=new o(l,s)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ar;let n=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,l)=>{let s=a,f=i[s];return f?(...p)=>{let h=f(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[s]:n(p)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var vr=g(L());var gr=class extends fe{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var br=class extends fe{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ks="ft-user-assets",xr=vr.FtReduxStore.get({name:Ks,initialState:{savedSearches:void 0,bookmarks:void 0}}),kn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new br,this.savedSearchesService=new gr,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();(0,vr.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();xr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;xr.actions.bookmarks(r)}}},hx=new kn;var Bn=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Bn;var ml=g(L()),Tn=class{highlightHtml(e,r,n){(0,ml.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Tn;var gl=g(L());var _n=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return gl.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new _n;var Zs=g(L());(0,bl.customElement)("ft-app-context")(V);var xl=g(Y()),qs=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Wn=Symbol("i18nAttributes"),Dn=Symbol("i18nListAttributes"),Sr=Symbol("i18nProperties"),zn=Symbol("i18nManualContexts"),ko=Symbol("i18nUnsubs");function vl(o){var e,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?Nc:ke}i18n(a,l,...s){var f;if(typeof a=="string")return this.i18nService.resolveMessage(a,l,...s);let p=(f=a.args)!==null&&f!==void 0?f:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var l,s,f;(l=this[Wn])===null||l===void 0||l.forEach((p,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,p,a))}),(s=this[Dn])===null||s===void 0||s.forEach((p,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,p,a))}),(f=this[Sr])===null||f===void 0||f.forEach((p,h)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,l){return{...a,message:this.i18n({context:a.context,key:a.key,...l})}}getI18nAttributeMessage(a,l,s){var f;let p=!s||((f=a.context)===null||f===void 0?void 0:f.toLowerCase())===s.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,l):a}update(a){var l,s,f;super.update(a),(l=this[Wn])===null||l===void 0||l.forEach((p,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(a.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,a,h),this[h]=this.getI18nAttributeMessage(y,p))}),(s=this[Dn])===null||s===void 0||s.forEach((p,h)=>{let y=this.getI18nListAttributeValues(h);(a.has(h)||p.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,a,h),this.getI18nAttributeMessage(m,p))))}),(f=this[Sr])===null||f===void 0||f.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,l,s){a.context&&a.key&&l.has(s)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,l){a=a.toLowerCase(),this[ko].has(a)||this[ko].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,l??{}),this.onI18nUpdate(a)}connectedCallback(){var a,l,s,f,p,h;super.connectedCallback(),new Set([...(l=(a=this[Sr])===null||a===void 0?void 0:a.values())!==null&&l!==void 0?l:[],...[...(f=(s=this[Wn])===null||s===void 0?void 0:s.keys())!==null&&f!==void 0?f:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(p=this[Dn])===null||p===void 0?void 0:p.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[zn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(a,l){this[zn].set(a,l??{}),this.addI18nMessagesAndSubscribe(a,l)}addI18nContext(a,l){this.addI18nMessages(typeof a=="string"?a:a.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[ko].forEach(a=>a()),this[ko].clear()}}return e=zn,r=ko,qs([(0,xl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Cr=class extends vl(wr.FtLitElement){},Or=class extends vl(wr.FtLitElementRedux){};var Bo=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Mt=class extends Or{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Er.nothing:Er.html`
|
|
1712
|
+
`}update(e){var r,n,i,a,l;super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>ke.addContext(s)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),P.actions.searchInAllLanguagesAllowed((l=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=wc;ct([(0,gt.property)()],V.prototype,"baseUrl",void 0);ct([(0,gt.property)()],V.prototype,"apiIntegrationIdentifier",void 0);ct([(0,gt.property)()],V.prototype,"uiLocale",void 0);ct([(0,Dt.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);ct([(0,Dt.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"editorMode",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"noCustom",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);ct([(0,gt.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"withManualResources",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);ct([(0,gt.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);ct([(0,gt.property)({type:Object})],V.prototype,"apiProvider",void 0);ct([(0,Dt.jsonProperty)([])],V.prototype,"messageContexts",void 0);ct([(0,Dt.jsonProperty)(void 0)],V.prototype,"session",void 0);ct([(0,gt.state)()],V.prototype,"localesConfiguration",void 0);var Vs=g(Y());function is(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!rr(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!rr(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();let a=l=>Object.keys(l).filter(s=>l[s]!=null);if(i=a(o),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let l=i[n];if(!rr(o[l],e[l]))return!1}return!0}return o!==o&&e!==e||o==null&&e==null}function rr(o,e){try{return is(o,e)}catch{return!1}}function nr(o,e){return!rr(o,e)}var cs=g(Y(),1);var ar=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var No=g(Y(),1);var Rc=g(Y(),1);function Lc(o,e){let r=()=>JSON.parse(JSON.stringify(o));return(0,Rc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:nr,...e??{}})}var ir=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ic=g(_(),1);var cr=window,ls=cr.ShadowRoot&&(cr.ShadyCSS===void 0||cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zg=Symbol();var Pc=(o,e)=>{ls?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var lr=class extends Ic.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Pc(n,e.elementStyles),n}};var sr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Tc,$c=Symbol("constructorPrototype"),kc=Symbol("constructorName"),_c=Symbol("exportpartsDebouncer"),Bc=Symbol("dynamicDependenciesLoaded"),he=class extends lr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Tc]=new ir(5),this[kc]=this.constructor.name,this[$c]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kc]&&Object.setPrototypeOf(this,this[$c])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Bc]||(e[Bc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[_c].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,l,s;let f=m=>m!=null&&m.trim().length>0,p=e.filter(f).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...b).filter(f).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Tc=_c;sr([(0,No.property)()],he.prototype,"exportpartsPrefix",void 0);sr([Lc([])],he.prototype,"exportpartsPrefixes",void 0);sr([(0,No.property)()],he.prototype,"customStylesheet",void 0);sr([(0,No.state)()],he.prototype,"useAdoptedStyleSheets",void 0);function Ao(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Wc,Dc,zc,Ro=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),Be=Symbol("internalStores"),Lo=class extends he{constructor(){super(...arguments),this[Wc]=new Map,this[Dc]=new Map,this[zc]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Be].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Be].get(e)}addStore(e,r){var n;r=(n=r??(Ao(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[Be].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Be].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Be].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[ye].has(e.store):this[ye].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[ye].set(e,r.subscribe(()=>this.updateFromStores())),this[Ro].set(e,[]),Ao(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let l=s=>this[a](s);r.addEventListener(i.eventName,l),this[Ro].get(e).push(()=>r.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ye].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[ye].has(e)&&this[ye].get(e)(),this[ye].delete(e),(r=this[Ro].get(e))===null||r===void 0||r.forEach(n=>n()),this[Ro].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Wc=ye,Dc=Be,zc=Ro;Lo.reduxProperties=new Map;Lo.reduxReactiveProperties=new Set;Lo.reduxEventListeners=new Map;function kt(o){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function te(o){return!!o&&!!o[U]}function zt(o){var e;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===ms}(o)||Array.isArray(o)||!!o[Vc]||!!(!((e=o.constructor)===null||e===void 0)&&e[Vc])||mn(o)||gn(o))}function Te(o,e,r){r===void 0&&(r=!1),no(o)===0?(r?Object.keys:ro)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function no(o){var e=o[U];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:mn(o)?2:gn(o)?3:0}function oo(o,e){return no(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function ss(o,e){return no(o)===2?o.get(e):o[e]}function Kc(o,e,r){var n=no(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function Zc(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function mn(o){return hs&&o instanceof Map}function gn(o){return ys&&o instanceof Set}function me(o){return o.o||o.t}function bn(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Xc(o);delete e[U];for(var r=ro(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function xn(o,e){return e===void 0&&(e=!1),vn(o)||te(o)||!zt(o)||(no(o)>1&&(o.set=o.add=o.clear=o.delete=ds),Object.freeze(o),e&&Te(o,function(r,n){return xn(n,!0)},!0)),o}function ds(){kt(2)}function vn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Gt(o){var e=yn[o];return e||kt(18,o),e}function ps(o,e){yn[o]||(yn[o]=e)}function fn(){return Io}function ln(o,e){e&&(Gt("Patches"),o.u=[],o.s=[],o.v=e)}function dr(o){un(o),o.p.forEach(fs),o.p=null}function un(o){o===Io&&(Io=o.l)}function Mc(o){return Io={p:[],l:Io,h:o,m:!0,_:0}}function fs(o){var e=o[U];e.i===0||e.i===1?e.j():e.g=!0}function sn(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||Gt("ES5").S(e,o,n),n?(r[U].P&&(dr(e),kt(4)),zt(o)&&(o=pr(e,o),e.l||fr(e,o)),e.u&&Gt("Patches").M(r[U].t,o,e.u,e.s)):o=pr(e,r,[]),dr(e),e.u&&e.v(e.u,e.s),o!==Yc?o:void 0}function pr(o,e,r){if(vn(e))return e;var n=e[U];if(!n)return Te(e,function(s,f){return Hc(o,n,e,s,f,r)},!0),e;if(n.A!==o)return e;if(!n.P)return fr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=bn(n.k):n.o,a=i,l=!1;n.i===3&&(a=new Set(i),i.clear(),l=!0),Te(a,function(s,f){return Hc(o,n,i,s,f,r,l)}),fr(o,i,!1),r&&o.u&&Gt("Patches").N(n,r,o.u,o.s)}return n.o}function Hc(o,e,r,n,i,a,l){if(te(i)){var s=pr(o,i,a&&e&&e.i!==3&&!oo(e.R,n)?a.concat(n):void 0);if(Kc(r,n,s),!te(s))return;o.m=!1}else l&&r.add(i);if(zt(i)&&!vn(i)){if(!o.h.D&&o._<1)return;pr(o,i),e&&e.A.l||fr(o,i)}}function fr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&xn(e,r)}function dn(o,e){var r=o[U];return(r?me(r):o)[e]}function Uc(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function ge(o){o.P||(o.P=!0,o.l&&ge(o.l))}function pn(o){o.o||(o.o=bn(o.t))}function hn(o,e,r){var n=mn(e)?Gt("MapSet").F(e,r):gn(e)?Gt("MapSet").T(e,r):o.O?function(i,a){var l=Array.isArray(i),s={i:l?1:0,A:a?a.A:fn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},f=s,p=$o;l&&(f=[s],p=Po);var h=Proxy.revocable(f,p),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(e,r):Gt("ES5").J(e,r);return(r?r.A:fn()).p.push(n),n}function us(o){return te(o)||kt(22,o),function e(r){if(!zt(r))return r;var n,i=r[U],a=no(r);if(i){if(!i.P&&(i.i<4||!Gt("ES5").K(i)))return i.t;i.I=!0,n=Fc(r,a),i.I=!1}else n=Fc(r,a);return Te(n,function(l,s){i&&ss(i.t,l)===s||Kc(n,l,e(s))}),a===3?new Set(n):n}(o)}function Fc(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return bn(o)}function qc(){function o(l,s){var f=a[l];return f?f.enumerable=s:a[l]=f={configurable:!0,enumerable:s,get:function(){var p=this[U];return $o.get(p,l)},set:function(p){var h=this[U];$o.set(h,l,p)}},f}function e(l){for(var s=l.length-1;s>=0;s--){var f=l[s][U];if(!f.P)switch(f.i){case 5:n(f)&&ge(f);break;case 4:r(f)&&ge(f)}}}function r(l){for(var s=l.t,f=l.k,p=ro(f),h=p.length-1;h>=0;h--){var y=p[h];if(y!==U){var m=s[y];if(m===void 0&&!oo(s,y))return!0;var x=f[y],b=x&&x[U];if(b?b.t!==m:!Zc(x,m))return!0}}var S=!!s[U];return p.length!==ro(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var f=Object.getOwnPropertyDescriptor(s,s.length-1);if(f&&!f.get)return!0;for(var p=0;p<s.length;p++)if(!s.hasOwnProperty(p))return!0;return!1}function i(l){l.g&&kt(3,JSON.stringify(me(l)))}var a={};ps("ES5",{J:function(l,s){var f=Array.isArray(l),p=function(y,m){if(y){for(var x=Array(m.length),b=0;b<m.length;b++)Object.defineProperty(x,""+b,o(b,!0));return x}var S=Xc(m);delete S[U];for(var R=ro(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(f,l),h={i:f?5:4,A:s?s.A:fn(),P:!1,I:!1,R:{},l:s,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,U,{value:h,writable:!0}),p},S:function(l,s,f){f?te(s)&&s[U].A===l&&e(l.p):(l.u&&function p(h){if(h&&typeof h=="object"){var y=h[U];if(y){var m=y.t,x=y.k,b=y.R,S=y.i;if(S===4)Te(x,function(T){T!==U&&(m[T]!==void 0||oo(m,T)?b[T]||p(x[T]):(b[T]=!0,ge(y)))}),Te(m,function(T){x[T]!==void 0||oo(x,T)||(b[T]=!1,ge(y))});else if(S===5){if(n(y)&&(ge(y),b.length=!0),x.length<m.length)for(var R=x.length;R<m.length;R++)b[R]=!1;else for(var E=m.length;E<x.length;E++)b[E]=!0;for(var N=Math.min(x.length,m.length),I=0;I<N;I++)x.hasOwnProperty(I)||(b[I]=!0),b[I]===void 0&&p(x[I])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Gc,Io,Sn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hs=typeof Map<"u",ys=typeof Set<"u",jc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Yc=Sn?Symbol.for("immer-nothing"):((Gc={})["immer-nothing"]=!0,Gc),Vc=Sn?Symbol.for("immer-draftable"):"__$immer_draftable",U=Sn?Symbol.for("immer-state"):"__$immer_state";var ms=""+Object.prototype.constructor,ro=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Xc=Object.getOwnPropertyDescriptors||function(o){var e={};return ro(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},yn={},$o={get:function(o,e){if(e===U)return o;var r=me(o);if(!oo(r,e))return function(i,a,l){var s,f=Uc(a,l);return f?"value"in f?f.value:(s=f.get)===null||s===void 0?void 0:s.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!zt(n)?n:n===dn(o.t,e)?(pn(o),o.o[e]=hn(o.A.h,n,o)):n},has:function(o,e){return e in me(o)},ownKeys:function(o){return Reflect.ownKeys(me(o))},set:function(o,e,r){var n=Uc(me(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=dn(me(o),e),a=i?.[U];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(Zc(r,i)&&(r!==void 0||oo(o.t,e)))return!0;pn(o),ge(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return dn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,pn(o),ge(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=me(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){kt(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){kt(12)}},Po={};Te($o,function(o,e){Po[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Po.deleteProperty=function(o,e){return Po.set.call(this,o,e,void 0)},Po.set=function(o,e,r){return $o.set.call(this,o[0],e,r,o[0])};var gs=function(){function o(r){var n=this;this.O=jc,this.D=!0,this.produce=function(i,a,l){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var f=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),I=1;I<E;I++)N[I-1]=arguments[I];return f.produce(S,function(T){var W;return(W=a).call.apply(W,[R,T].concat(N))})}}var p;if(typeof a!="function"&&kt(6),l!==void 0&&typeof l!="function"&&kt(7),zt(i)){var h=Mc(n),y=hn(n,i,void 0),m=!0;try{p=a(y),m=!1}finally{m?dr(h):un(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(S){return ln(h,l),sn(S,h)},function(S){throw dr(h),S}):(ln(h,l),sn(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Yc&&(p=void 0),n.D&&xn(p,!0),l){var x=[],b=[];Gt("Patches").M(i,p,x,b),l(x,b)}return p}kt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(p,function(x){return i.apply(void 0,[x].concat(y))})};var l,s,f=n.produce(i,a,function(p,h){l=p,s=h});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,l,s]}):[f,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){zt(r)||kt(8),te(r)&&(r=us(r));var n=Mc(this),i=hn(this,r,void 0);return i[U].C=!0,un(n),i},e.finishDraft=function(r,n){var i=r&&r[U],a=i.A;return ln(a,n),sn(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!jc&&kt(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var l=Gt("Patches").$;return te(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),Rt=new gs,bs=Rt.produce,Xg=Rt.produceWithPatches.bind(Rt),Jg=Rt.setAutoFreeze.bind(Rt),Qg=Rt.setUseProxies.bind(Rt),tb=Rt.applyPatches.bind(Rt),eb=Rt.createDraft.bind(Rt),ob=Rt.finishDraft.bind(Rt),ur=bs;function be(o){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},be(o)}function Cn(o,e){if(be(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(be(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function On(o){var e=Cn(o,"string");return be(e)==="symbol"?e:String(e)}function wn(o,e,r){return e=On(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function Jc(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),r.push.apply(r,n)}return r}function hr(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jc(Object(r),!0).forEach(function(n){wn(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Jc(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function lt(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Qc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),En=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+En(),REPLACE:"@@redux/REPLACE"+En(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+En()}};function xs(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Nn(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(lt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(lt(1));return r(Nn)(o,e)}if(typeof o!="function")throw new Error(lt(2));var i=o,a=e,l=[],s=l,f=!1;function p(){s===l&&(s=l.slice())}function h(){if(f)throw new Error(lt(3));return a}function y(S){if(typeof S!="function")throw new Error(lt(4));if(f)throw new Error(lt(5));var R=!0;return p(),s.push(S),function(){if(R){if(f)throw new Error(lt(6));R=!1,p();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!xs(S))throw new Error(lt(7));if(typeof S.type>"u")throw new Error(lt(8));if(f)throw new Error(lt(9));try{f=!0,a=i(a,S)}finally{f=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function x(S){if(typeof S!="function")throw new Error(lt(10));i=S,m({type:yr.REPLACE})}function b(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(lt(11));function I(){N.next&&N.next(h())}I();var T=R(I);return{unsubscribe:T}}},S[Qc]=function(){return this},S}return m({type:yr.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:x},n[Qc]=b,n}function vs(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(lt(12));if(typeof r(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(lt(13))})}function tl(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),l,s;try{vs(r)}catch(f){s=f}return function(p,h){if(p===void 0&&(p={}),s)throw s;if(0)var y;for(var m=!1,x={},b=0;b<a.length;b++){var S=a[b],R=r[S],E=p[S],N=R(E,h);if(typeof N>"u"){var I=h&&h.type;throw new Error(lt(14))}x[S]=N,m=m||N!==E}return m=m||a.length!==Object.keys(p).length,m?x:p}}function ao(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function el(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(lt(15))},l={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(f){return f(l)});return a=ao.apply(void 0,s)(i.dispatch),hr(hr({},i),{},{dispatch:a})}}}function ol(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(l){return function(s){return typeof s=="function"?s(i,a,o):l(s)}}};return e}var rl=ol();rl.withExtraArgument=ol;var An=rl;var ll=function(){var o=function(e,r){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ss=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(p){return function(h){return f([p,h])}}function f(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(o,r)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},io=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Cs=Object.defineProperty,Os=Object.defineProperties,ws=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertySymbols,Es=Object.prototype.hasOwnProperty,Ns=Object.prototype.propertyIsEnumerable,al=function(o,e,r){return e in o?Cs(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},xe=function(o,e){for(var r in e||(e={}))Es.call(e,r)&&al(o,r,e[r]);if(nl)for(var n=0,i=nl(e);n<i.length;n++){var r=i[n];Ns.call(e,r)&&al(o,r,e[r])}return o},Rn=function(o,e){return Os(o,ws(e))},As=function(o,e,r){return new Promise(function(n,i){var a=function(f){try{s(r.next(f))}catch(p){i(p)}},l=function(f){try{s(r.throw(f))}catch(p){i(p)}},s=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(a,l)};s((r=r.apply(o,e)).next())})};var Rs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ao:ao.apply(null,arguments)},vb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ls(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Ps=function(o){ll(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,io([void 0],r[0].concat(this)))):new(e.bind.apply(e,io([void 0],r.concat(this))))},e}(Array),Is=function(o){ll(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,io([void 0],r[0].concat(this)))):new(e.bind.apply(e,io([void 0],r.concat(this))))},e}(Array);function In(o){return zt(o)?ur(o,function(){}):o}function $s(o){return typeof o=="boolean"}function ks(){return function(e){return Bs(e)}}function Bs(o){o===void 0&&(o={});var e=o.thunk,r=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,l=a===void 0?!0:a,s=new Ps;if(r&&($s(r)?s.push(An):s.push(An.withExtraArgument(r.extraArgument))),0){if(i)var f;if(l)var p}return s}var Ln=!0;function sl(o){var e=ks(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,l=a===void 0?e():a,s=r.devTools,f=s===void 0?!0:s,p=r.preloadedState,h=p===void 0?void 0:p,y=r.enhancers,m=y===void 0?void 0:y,x;if(typeof i=="function")x=i;else if(Ls(i))x=tl(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=l;if(typeof b=="function"&&(b=b(e),!Ln&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ln&&b.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=el.apply(void 0,b),R=ao;f&&(R=Rs(xe({trace:!Ln},typeof f=="object"&&f)));var E=new Is(S),N=E;Array.isArray(m)?N=io([S],m):typeof m=="function"&&(N=m(E));var I=R.apply(void 0,N);return Nn(x,h,I)}function ve(o,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return xe(xe({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function dl(o){var e={},r=[],n,i={addCase:function(a,l){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,i},addMatcher:function(a,l){return r.push({matcher:a,reducer:l}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function Ts(o){return typeof o=="function"}function _s(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?dl(e):[e,r,n],a=i[0],l=i[1],s=i[2],f;if(Ts(o))f=function(){return In(o())};else{var p=In(o);f=function(){return p}}function h(y,m){y===void 0&&(y=f());var x=io([a[m.type]],l.filter(function(b){var S=b.matcher;return S(m)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[s]),x.reduce(function(b,S){if(S)if(te(b)){var R=b,E=S(R,m);return E===void 0?b:E}else{if(zt(b))return ur(b,function(N){return S(N,m)});var E=S(b,m);if(E===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return b},y)}return h.getInitialState=f,h}function Ws(o,e){return o+"/"+e}function pl(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:In(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},l={},s={};i.forEach(function(h){var y=n[h],m=Ws(e,h),x,b;"reducer"in y?(x=y.reducer,b=y.prepare):x=y,a[h]=x,l[m]=x,s[h]=b?ve(m,b):ve(m)});function f(){var h=typeof o.extraReducers=="function"?dl(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,x=h[1],b=x===void 0?[]:x,S=h[2],R=S===void 0?void 0:S,E=xe(xe({},m),l);return _s(r,function(N){for(var I in E)N.addCase(I,E[I]);for(var T=0,W=b;T<W.length;T++){var Lt=W[T];N.addMatcher(Lt.matcher,Lt.reducer)}R&&N.addDefaultCase(R)})}var p;return{name:e,reducer:function(h,y){return p||(p=f()),p(h,y)},actions:s,caseReducers:a,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var Ds="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",zs=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=Ds[Math.random()*64|0];return e},Ms=["name","message","stack","code"],Pn=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),il=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),Hs=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=Ms;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},wb=function(){function o(e,r,n){var i=ve(e+"/fulfilled",function(h,y,m,x){return{payload:h,meta:Rn(xe({},x||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),a=ve(e+"/pending",function(h,y,m){return{payload:void 0,meta:Rn(xe({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=ve(e+"/rejected",function(h,y,m,x,b){return{payload:x,error:(n&&n.serializeError||Hs)(h||"Rejected"),meta:Rn(xe({},b||{}),{arg:m,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,f=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,m,x){var b=n?.idGenerator?n.idGenerator(h):zs(),S=new f,R,E=!1;function N(T){R=T,S.abort()}var I=function(){return As(this,null,function(){var T,W,Lt,oe,Pr,re,bt;return Ss(this,function(Pt){switch(Pt.label){case 0:return Pt.trys.push([0,4,,5]),oe=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:x}),Fs(oe)?[4,oe]:[3,2];case 1:oe=Pt.sent(),Pt.label=2;case 2:if(oe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,Pr=new Promise(function(xt,Se){return S.signal.addEventListener("abort",function(){return Se({name:"AbortError",message:R||"Aborted"})})}),y(a(b,h,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:b,arg:h},{getState:m,extra:x}))),[4,Promise.race([Pr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:x,requestId:b,signal:S.signal,abort:N,rejectWithValue:function(xt,Se){return new Pn(xt,Se)},fulfillWithValue:function(xt,Se){return new il(xt,Se)}})).then(function(xt){if(xt instanceof Pn)throw xt;return xt instanceof il?i(xt.payload,b,h,xt.meta):i(xt,b,h)})])];case 3:return Lt=Pt.sent(),[3,5];case 4:return re=Pt.sent(),Lt=re instanceof Pn?l(null,b,h,re.payload,re.meta):l(re,b,h),[3,5];case 5:return bt=n&&!n.dispatchConditionRejection&&l.match(Lt)&&Lt.meta.condition,bt||y(Lt),[2,Lt]}})})}();return Object.assign(I,{abort:N,requestId:b,arg:h,unwrap:function(){return I.then(Us)}})}}return Object.assign(p,{pending:a,rejected:l,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function Us(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Fs(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var fl="listener",ul="completed",hl="cancelled",Eb="task-"+hl,Nb="task-"+ul,Ab=fl+"-"+hl,Rb=fl+"-"+ul;var $n="listenerMiddleware";var Lb=ve($n+"/add"),Pb=ve($n+"/removeAll"),Ib=ve($n+"/remove");var cl,$b=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(cl||(cl=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},Gs=function(o){return function(e){setTimeout(e,o)}},kb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Gs(10);qc();function js(o,e){return class extends o{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}var mr=class extends js(Object){};window.ftReduxStores||(window.ftReduxStores={});var yl=class o extends mr{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ao(a))return a;if(i==null)return;let l=pl({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=sl({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:l.reducer(f,p)});return window.ftReduxStores[i.name]=new o(l,s)}constructor(e,r){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ar;let n=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,a,l)=>{let s=a,f=i[s];return f?(...p)=>{let h=f(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[s]:n(p)})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var vr=g(L());var gr=class extends fe{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var br=class extends fe{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ks="ft-user-assets",xr=vr.FtReduxStore.get({name:Ks,initialState:{savedSearches:void 0,bookmarks:void 0}}),kn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new br,this.savedSearchesService=new gr,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();(0,vr.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();xr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;xr.actions.bookmarks(r)}}},hx=new kn;var Bn=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Bn;var ml=g(L()),Tn=class{highlightHtml(e,r,n){(0,ml.highlightHtml)(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Tn;var gl=g(L());var _n=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return gl.DateFormatter.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new _n;var Zs=g(L());(0,bl.customElement)("ft-app-context")(V);var xl=g(Y()),qs=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Wn=Symbol("i18nAttributes"),Dn=Symbol("i18nListAttributes"),Sr=Symbol("i18nProperties"),zn=Symbol("i18nManualContexts"),ko=Symbol("i18nUnsubs");function vl(o){var e,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?Nc:ke}i18n(a,l,...s){var f;if(typeof a=="string")return this.i18nService.resolveMessage(a,l,...s);let p=(f=a.args)!==null&&f!==void 0?f:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var l,s,f;(l=this[Wn])===null||l===void 0||l.forEach((p,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,p,a))}),(s=this[Dn])===null||s===void 0||s.forEach((p,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,p,a))}),(f=this[Sr])===null||f===void 0||f.forEach((p,h)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,l){return{...a,message:this.i18n({context:a.context,key:a.key,...l})}}getI18nAttributeMessage(a,l,s){var f;let p=!s||((f=a.context)===null||f===void 0?void 0:f.toLowerCase())===s.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,l):a}update(a){var l,s,f;super.update(a),(l=this[Wn])===null||l===void 0||l.forEach((p,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(a.has(h)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,a,h),this[h]=this.getI18nAttributeMessage(y,p))}),(s=this[Dn])===null||s===void 0||s.forEach((p,h)=>{let y=this.getI18nListAttributeValues(h);(a.has(h)||p.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,a,h),this.getI18nAttributeMessage(m,p))))}),(f=this[Sr])===null||f===void 0||f.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,l,s){a.context&&a.key&&l.has(s)&&this.addI18nContext(a.context)}addI18nMessagesAndSubscribe(a,l){a=a.toLowerCase(),this[ko].has(a)||this[ko].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,l??{}),this.onI18nUpdate(a)}connectedCallback(){var a,l,s,f,p,h;super.connectedCallback(),new Set([...(l=(a=this[Sr])===null||a===void 0?void 0:a.values())!==null&&l!==void 0?l:[],...[...(f=(s=this[Wn])===null||s===void 0?void 0:s.keys())!==null&&f!==void 0?f:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(p=this[Dn])===null||p===void 0?void 0:p.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[zn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(a,l){this[zn].set(a,l??{}),this.addI18nMessagesAndSubscribe(a,l)}addI18nContext(a,l){this.addI18nMessages(typeof a=="string"?a:a.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[ko].forEach(a=>a()),this[ko].clear()}}return e=zn,r=ko,qs([(0,xl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Cr=class extends vl(wr.FtLitElement){},Or=class extends vl(wr.FtLitElementRedux){};var Bo=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(a=(i<3?l(a):i>3?l(e,r,a):l(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Mt=class extends Or{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Er.nothing:Er.html`
|
|
1713
1713
|
<span class="ft-i18n">
|
|
1714
1714
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1715
1715
|
</span>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
\f\r]`,Ur=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ds=/-->/g,ps=/>/g,Be=RegExp(`>|${Ln}(?:([^\\s"'>=/]+)(${Ln}*=${Ln}*(?:[^
|
|
4
4
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),fs=/'/g,us=/"/g,gs=/^(?:script|style|textarea|title)$/i,bs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),xs=bs(1),vs=bs(2),Lt=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),hs=new WeakMap,De=Me.createTreeWalker(Me,129);function Ss(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return cs!==void 0?cs.createHTML(t):t}var Cs=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ur;for(let c=0;c<o;c++){let d=e[c],p,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ur?h[1]==="!--"?s=ds:h[1]!==void 0?s=ps:h[2]!==void 0?(gs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Be):h[3]!==void 0&&(s=Be):s===Be?h[0]===">"?(s=i??Ur,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Be:h[3]==='"'?us:fs):s===us||s===fs?s=Be:s===ds||s===ps?s=Ur:(s=Be,i=void 0);let b=s===Be&&e[c+1].startsWith("/>")?" ":"";a+=s===Ur?d+Ud:u>=0?(n.push(p),d.slice(0,u)+Tn+d.slice(u)+ie+b):d+ie+(u===-2?c:b)}return[Ss(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Wr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,d=this.parts,[p,h]=Cs(t,o);if(this.el=e.createElement(p,n),De.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=De.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Tn)){let m=h[s++],b=i.getAttribute(u).split(ie),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Po:x[1]==="?"?To:x[1]==="@"?$o:Fe}),i.removeAttribute(u)}else u.startsWith(ie)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(gs.test(i.tagName)){let u=i.textContent.split(ie),m=u.length-1;if(m>0){i.textContent=No?No.emptyScript:"";for(let b=0;b<m;b++)i.append(u[b],_o()),De.nextNode(),d.push({type:2,index:++a});i.append(u[m],_o())}}}else if(i.nodeType===8)if(i.data===$n)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ie,u+1))!==-1;)d.push({type:7,index:a}),u+=ie.length-1}a++}}static createElement(t,o){let n=Me.createElement("template");return n.innerHTML=t,n}};function Ue(e,t,o=e,n){if(t===Lt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Fr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ue(e,i._$AS(e,t.values),i,n)),t}var Lo=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??Me).importNode(o,!0);De.currentNode=i;let a=De.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Hr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Io(a,this,t)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=De.nextNode(),s++)}return De.currentNode=Me,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++}},Hr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=it,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=Ue(this,t,o),Fr(t)?t===it||t==null||t===""?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==Lt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ms(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==it&&Fr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Me.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Wr.createElement(Ss(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=hs.get(t.strings);return o===void 0&&hs.set(t.strings,o=new Wr(t)),o}T(t){ys(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(_o()),this.k(_o()),this,this.options)):n=o[i],n._$AI(a),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))}},Fe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=it}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Ue(this,t,o,0),s=!Fr(t)||t!==this._$AH&&t!==Lt,s&&(this._$AH=t);else{let c=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Ue(this,c[n+d],o,d),p===Lt&&(p=this._$AH[d]),s||=!Fr(p)||p!==this._$AH[d],p===it?t=it:t!==it&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Po=class extends Fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},To=class extends Fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},$o=class extends Fe{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Ue(this,t,o,0)??it)===Lt)return;let n=this._$AH,i=t===it&&n!==it||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==it&&(n===it||i);i&&this.element.removeEventListener(this.name,this,n),a&&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)}},Io=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){Ue(this,t)}},Os={j:Tn,P:ie,A:$n,C:1,M:Cs,L:Lo,R:ms,V:Ue,D:Hr,I:Fe,H:To,N:$o,U:Po,B:Io},Fd=Pn.litHtmlPolyfillSupport;Fd?.(Wr,Hr),(Pn.litHtmlVersions??=[]).push("3.1.0");var ko=globalThis,zr=ko.ShadowRoot&&(ko.ShadyCSS===void 0||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,In=Symbol(),Es=new WeakMap,cr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==In)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(zr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Es.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Es.set(o,t))}return t}toString(){return this.cssText}},ae=e=>new cr(typeof e=="string"?e:e+"",void 0,In),I=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new cr(o,e,In)},Bo=(e,t)=>{if(zr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Vr=zr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return ae(o)})(e):e;var{is:Wd,defineProperty:Hd,getOwnPropertyDescriptor:zd,getOwnPropertyNames:Vd,getOwnPropertySymbols:jd,getPrototypeOf:Gd}=Object,Mo=globalThis,ws=Mo.trustedTypes,Kd=ws?ws.emptyScript:"",Zd=Mo.reactiveElementPolyfillSupport,jr=(e,t)=>e,Do={toAttribute(e,t){switch(t){case Boolean:e=e?Kd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},kn=(e,t)=>!Wd(e,t),As={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:kn};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var qt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=As){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Hd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=zd(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??As}static _$Ei(){if(this.hasOwnProperty(jr("elementProperties")))return;let t=Gd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(jr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(jr("properties"))){let o=this.properties,n=[...Vd(o),...jd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Vr(i))}else t!==void 0&&o.push(Vr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Bo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Do).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Do;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??kn)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};qt.elementStyles=[],qt.shadowRootOptions={mode:"open"},qt[jr("elementProperties")]=new Map,qt[jr("finalized")]=new Map,Zd?.({ReactiveElement:qt}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Dn=globalThis,Uo=Dn.trustedTypes,Rs=Uo?Uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Mn="$lit$",se=`lit$${(Math.random()+"").slice(9)}$`,Un="?"+se,qd=`<${Un}>`,ze=document,Kr=()=>ze.createComment(""),Zr=e=>e===null||typeof e!="object"&&typeof e!="function",$s=Array.isArray,Is=e=>$s(e)||typeof e?.[Symbol.iterator]=="function",Bn=`[
|
|
5
5
|
\f\r]`,Gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ns=/-->/g,_s=/>/g,We=RegExp(`>|${Bn}(?:([^\\s"'>=/]+)(${Bn}*=${Bn}*(?:[^
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ls=/'/g,Ps=/"/g,ks=/^(?:script|style|textarea|title)$/i,Bs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),B=Bs(1),Yd=Bs(2),be=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ts=new WeakMap,He=ze.createTreeWalker(ze,129);function Ds(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(t):t}var Ms=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Gr;for(let c=0;c<o;c++){let d=e[c],p,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Gr?h[1]==="!--"?s=Ns:h[1]!==void 0?s=_s:h[2]!==void 0?(ks.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=i??Gr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?We:h[3]==='"'?Ps:Ls):s===Ps||s===Ls?s=We:s===Ns||s===_s?s=Gr:(s=We,i=void 0);let b=s===We&&e[c+1].startsWith("/>")?" ":"";a+=s===Gr?d+qd:u>=0?(n.push(p),d.slice(0,u)+Mn+d.slice(u)+se+b):d+se+(u===-2?c:b)}return[Ds(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},qr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,d=this.parts,[p,h]=Ms(t,o);if(this.el=e.createElement(p,n),He.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=He.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Mn)){let m=h[s++],b=i.getAttribute(u).split(se),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Wo:x[1]==="?"?Ho:x[1]==="@"?zo:je}),i.removeAttribute(u)}else u.startsWith(se)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(ks.test(i.tagName)){let u=i.textContent.split(se),m=u.length-1;if(m>0){i.textContent=Uo?Uo.emptyScript:"";for(let b=0;b<m;b++)i.append(u[b],Kr()),He.nextNode(),d.push({type:2,index:++a});i.append(u[m],Kr())}}}else if(i.nodeType===8)if(i.data===Un)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(se,u+1))!==-1;)d.push({type:7,index:a}),u+=se.length-1}a++}}static createElement(t,o){let n=ze.createElement("template");return n.innerHTML=t,n}};function Ve(e,t,o=e,n){if(t===be)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Zr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ve(e,i._$AS(e,t.values),i,n)),t}var Fo=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??ze).importNode(o,!0);He.currentNode=i;let a=He.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new dr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Vo(a,this,t)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=He.nextNode(),s++)}return He.currentNode=ze,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++}},dr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,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=Ve(this,t,o),Zr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Is(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&Zr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ze.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qr.createElement(Ds(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Fo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Ts.get(t.strings);return o===void 0&&Ts.set(t.strings,o=new qr(t)),o}T(t){$s(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Kr()),this.k(Kr()),this,this.options)):n=o[i],n._$AI(a),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))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Ve(this,t,o,0),s=!Zr(t)||t!==this._$AH&&t!==be,s&&(this._$AH=t);else{let c=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Ve(this,c[n+d],o,d),p===be&&(p=this._$AH[d]),s||=!Zr(p)||p!==this._$AH[d],p===G?t=G:t!==G&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wo=class extends je{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},Ho=class extends je{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},zo=class extends je{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Ve(this,t,o,0)??G)===be)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&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)}},Vo=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){Ve(this,t)}},Xd={j:Mn,P:se,A:Un,C:1,M:Ms,L:Fo,R:Is,V:Ve,D:dr,I:je,H:Ho,N:zo,U:Wo,B:Vo},Jd=Dn.litHtmlPolyfillSupport;Jd?.(qr,dr),(Dn.litHtmlVersions??=[]).push("3.1.0");var Fn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new dr(t.insertBefore(Kr(),a),a,void 0,o??{})}return i._$AI(e),i};var le=class extends qt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return be}};le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});var Qd=globalThis.litElementPolyfillSupport;Qd?.({LitElement:le});var tp={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var $u=!1;var Hn={};q(Hn,{customElement:()=>ep,eventOptions:()=>pr,property:()=>O,query:()=>J,queryAll:()=>np,queryAssignedElements:()=>ap,queryAssignedNodes:()=>Ge,queryAsync:()=>ip,standardProperty:()=>Us,state:()=>yt});var ep=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var rp={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:Ro},Us=(e=rp,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function O(e){return(t,o)=>typeof o=="object"?Us(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function yt(e){return O({...e,state:!0,attribute:!1})}function pr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ht=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ht(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ht(o,n,{get(){return a(this)}})}}var op;function np(e){return(t,o)=>Ht(t,o,{get(){return(this.renderRoot??(op??=document.createDocumentFragment())).querySelectorAll(e)}})}function ip(e){return(t,o)=>Ht(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function ap(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Ge(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var zn={};q(zn,{repeat:()=>Go});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=e=>(...t)=>({_$litDirective$:e,values:t}),Yt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:sp}=Os;var Fs=()=>document.createComment(""),fr=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Fs(),i),s=n.insertBefore(Fs(),i);o=new sp(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Se=(e,t,o=e)=>(e._$AI(t,o),e),lp={},Ws=(e,t=lp)=>e._$AH=t,Hs=e=>e._$AH,jo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var zs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Go=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=Hs(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],p,h,u=0,m=i.length-1,b=0,x=a.length-1;for(;u<=m&&b<=x;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[b])d[b]=Se(i[u],a[b]),u++,b++;else if(c[m]===s[x])d[x]=Se(i[m],a[x]),m--,x--;else if(c[u]===s[x])d[x]=Se(i[u],a[x]),fr(e,d[x+1],i[u]),u++,x--;else if(c[m]===s[b])d[b]=Se(i[m],a[b]),fr(e,i[u],i[m]),m--,b++;else if(p===void 0&&(p=zs(s,b,x),h=zs(c,u,m)),p.has(c[u]))if(p.has(c[m])){let C=h.get(s[b]),N=C!==void 0?i[C]:null;if(N===null){let L=fr(e,i[u]);Se(L,a[b]),d[b]=L}else d[b]=Se(N,a[b]),fr(e,i[u],N),i[C]=null;b++}else jo(i[m]),m--;else jo(i[u]),u++;for(;b<=x;){let C=fr(e,d[x+1]);Se(C,a[b]),d[b++]=C}for(;u<=m;){let C=i[u++];C!==null&&jo(C)}return this.dt=s,Ws(e,d),Lt}});var Vn={};q(Vn,{classMap:()=>vt});var vt=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return Lt}});var jn={};q(jn,{styleMap:()=>dp});var Vs="important",cp=" !"+Vs,dp=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(cp);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Vs:""):o[n]=i}}return Lt}});var Kn={};q(Kn,{UnsafeHTMLDirective:()=>ur,unsafeHTML:()=>Gn});var ur=class extends Yt{constructor(t){if(super(t),this.et=it,t.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||t==null)return this.vt=void 0,this.et=t;if(t===Lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ur.directiveName="unsafeHTML",ur.resultType=1;var Gn=ve(ur);var ti={};q(ti,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Xr});var qn={};q(qn,{CancelablePromise:()=>hr,CanceledPromiseError:()=>Yr,cancelable:()=>Zn});var Yr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},hr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Yr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Yr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zn=e=>new hr((t,o)=>e.then(t).catch(o));var Qn={};q(Qn,{FtNotificationEvent:()=>Yn,PostResizeEvent:()=>Jn,PreResizeEvent:()=>Xn,WithEventBus:()=>Ke,withEventBus:()=>js});var Yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function js(e,t){return class extends e{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)}}}var Ke=class extends js(Object){};var Xr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Xt=class extends Ke{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Xr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Xr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof hr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Zn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ri={};q(ri,{ClusteringHelper:()=>ei});var ei=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let c=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(c,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(c.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(c=>{a.push(c.join(" > ")),o&&o>1&&c.length>=o?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(c=>n?n(c):c).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>e.extractResultMetadata({result:u,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(u=>u??{key:t,label:p,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,m,b)=>b.findIndex(x=>x.value===u.value)===m).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,m)=>this.compareMetadata(u.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>c&&(c=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var oi={};q(oi,{Debouncer:()=>Pt});var Pt=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,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ai={};q(ai,{customElement:()=>X,isNumber:()=>qs,jsonProperty:()=>Jt,optionalNumberProperty:()=>mp});var ii={};q(ii,{dateReviver:()=>fp,deepEqual:()=>zt,delay:()=>Ko,eventPathContainsMatchingElement:()=>hp,flatDeep:()=>Ks,getComposedPathTo:()=>ni,hasChanged:()=>Ze,last:()=>yp,minmax:()=>Jr,parseDate:()=>Zs,unslotText:()=>Ce,waitFor:()=>Gs,waitUntil:()=>pp});var Ko=e=>new Promise(t=>setTimeout(t,e));async function pp(e,t=10,o=2e4){await Gs(async()=>await e()||void 0,t,o)}async function Gs(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ko(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ks(e,t){return e.flatMap(o=>[o,...Ks(t(o),t)])}function fp(...e){return function(t,o){return e.includes(t)?Zs(o):o}}function Zs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function up(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!zt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!zt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!zt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function zt(e,t){try{return up(e,t)}catch{return!1}}function Ze(e,t){return!zt(e,t)}function hp(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Jr(e,t,o){return Math.min(Math.max(e,t),o)}function yp(e){return e[e.length-1]}function Ce(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ce(t)).join(""):e?.textContent||""}function ni(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Jt(e,t){let o=()=>JSON.parse(JSON.stringify(e));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function mp(e){return O({type:Object,converter:{fromAttribute:t=>{if(t!=null)return qs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function qs(e){return!isNaN(parseFloat(e))}var ki={};q(ki,{designSystemVariables:()=>K});var Ii={};q(Ii,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>vp,banner:()=>xp,button:()=>g,chart:()=>Tp,checkbox:()=>kp,chip:()=>H,chipChoice:()=>bp,collapsible:()=>Lp,comboboxMultiSelect:()=>_p,comboboxSingleSelect:()=>Np,drawer:()=>Op,floatingMenu:()=>Rp,foundation:()=>l,link:()=>ft,modal:()=>Cp,notice:()=>Ip,notification:()=>Mp,pageDesigner:()=>$p,pageFooter:()=>de,pageHeader:()=>at,pageLayout:()=>Sp,popover:()=>wt,radio:()=>Dp,reorderableList:()=>Fp,resolveFamilyClass:()=>Ti,resolveSizeClass:()=>$i,semantic:()=>f,setVariable:()=>E,switch_:()=>Pp,tabs:()=>Ep,textArea:()=>Ap,textInput:()=>wp,titleBreadcrumb:()=>yr,toggle:()=>Bp,tooltip:()=>Up,typographies:()=>Oe,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>pi,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Ys,typographyBody2Regular:()=>hi,typographyBody2Semibold:()=>mi,typographyCaption1Bold:()=>wi,typographyCaption1Medium:()=>Oi,typographyCaption1Semibold:()=>Ei,typographyCaption2Bold:()=>Ni,typographyCaption2Medium:()=>Ai,typographyCaption2Semibold:()=>Ri,typographyCaption3Bold:()=>Pi,typographyCaption3Medium:()=>_i,typographyCaption3Semibold:()=>Li,typographyDisplay:()=>si,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>gi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>li,typographyTitle2:()=>ci,typographyTitle3:()=>di,typographyVariants:()=>gp});var ce=e=>typeof e=="string"?ae(e):e,r=class{static create(t,o,n,i){let a=c=>ce(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):ce(a??t.lastResortDefaultValue()),i=I`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.get=a=>I`var(${ce(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function E(e,t){return ce(`${e.name}: ${t}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},si={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},mi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oe={display:si,"title-1":li,"title-2":ci,"title-3":di,"body-1-regular":pi,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":hi,"body-2-medium":yi,"body-2-medium-underline":Ys,"body-2-semibold":mi,"label-1-medium":gi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Ci,"caption-1-medium":Oi,"caption-1-semibold":Ei,"caption-1-bold":wi,"caption-2-medium":Ai,"caption-2-semibold":Ri,"caption-2-bold":Ni,"caption-3-medium":_i,"caption-3-semibold":Li,"caption-3-bold":Pi},gp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ls=/'/g,Ps=/"/g,ks=/^(?:script|style|textarea|title)$/i,Bs=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),B=Bs(1),Yd=Bs(2),be=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ts=new WeakMap,He=ze.createTreeWalker(ze,129);function Ds(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(t):t}var Ms=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Gr;for(let c=0;c<o;c++){let d=e[c],p,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Gr?h[1]==="!--"?s=Ns:h[1]!==void 0?s=_s:h[2]!==void 0?(ks.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=i??Gr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?We:h[3]==='"'?Ps:Ls):s===Ps||s===Ls?s=We:s===Ns||s===_s?s=Gr:(s=We,i=void 0);let b=s===We&&e[c+1].startsWith("/>")?" ":"";a+=s===Gr?d+qd:u>=0?(n.push(p),d.slice(0,u)+Mn+d.slice(u)+se+b):d+se+(u===-2?c:b)}return[Ds(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},qr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,d=this.parts,[p,h]=Ms(t,o);if(this.el=e.createElement(p,n),He.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=He.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Mn)){let m=h[s++],b=i.getAttribute(u).split(se),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Wo:x[1]==="?"?Ho:x[1]==="@"?zo:je}),i.removeAttribute(u)}else u.startsWith(se)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(ks.test(i.tagName)){let u=i.textContent.split(se),m=u.length-1;if(m>0){i.textContent=Uo?Uo.emptyScript:"";for(let b=0;b<m;b++)i.append(u[b],Kr()),He.nextNode(),d.push({type:2,index:++a});i.append(u[m],Kr())}}}else if(i.nodeType===8)if(i.data===Un)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(se,u+1))!==-1;)d.push({type:7,index:a}),u+=se.length-1}a++}}static createElement(t,o){let n=ze.createElement("template");return n.innerHTML=t,n}};function Ve(e,t,o=e,n){if(t===be)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Zr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ve(e,i._$AS(e,t.values),i,n)),t}var Fo=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??ze).importNode(o,!0);He.currentNode=i;let a=He.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new dr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Vo(a,this,t)),this._$AV.push(p),d=n[++c]}s!==d?.index&&(a=He.nextNode(),s++)}return He.currentNode=ze,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++}},dr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,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=Ve(this,t,o),Zr(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Is(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&Zr(this._$AH)?this._$AA.nextSibling.data=t:this.$(ze.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qr.createElement(Ds(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Fo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Ts.get(t.strings);return o===void 0&&Ts.set(t.strings,o=new qr(t)),o}T(t){$s(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Kr()),this.k(Kr()),this,this.options)):n=o[i],n._$AI(a),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))}},je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Ve(this,t,o,0),s=!Zr(t)||t!==this._$AH&&t!==be,s&&(this._$AH=t);else{let c=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Ve(this,c[n+d],o,d),p===be&&(p=this._$AH[d]),s||=!Zr(p)||p!==this._$AH[d],p===G?t=G:t!==G&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wo=class extends je{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},Ho=class extends je{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},zo=class extends je{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Ve(this,t,o,0)??G)===be)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&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)}},Vo=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){Ve(this,t)}},Xd={j:Mn,P:se,A:Un,C:1,M:Ms,L:Fo,R:Is,V:Ve,D:dr,I:je,H:Ho,N:zo,U:Wo,B:Vo},Jd=Dn.litHtmlPolyfillSupport;Jd?.(qr,dr),(Dn.litHtmlVersions??=[]).push("3.1.0");var Fn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new dr(t.insertBefore(Kr(),a),a,void 0,o??{})}return i._$AI(e),i};var le=class extends qt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Fn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return be}};le._$litElement$=!0,le.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:le});var Qd=globalThis.litElementPolyfillSupport;Qd?.({LitElement:le});var tp={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var $u=!1;var Hn={};q(Hn,{customElement:()=>ep,eventOptions:()=>pr,property:()=>O,query:()=>J,queryAll:()=>np,queryAssignedElements:()=>ap,queryAssignedNodes:()=>Ge,queryAsync:()=>ip,standardProperty:()=>Us,state:()=>yt});var ep=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var rp={attribute:!0,type:String,converter:Mr,reflect:!1,hasChanged:Ro},Us=(e=rp,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let d=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,d,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let d=this[s];t.call(this,c),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function O(e){return(t,o)=>typeof o=="object"?Us(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function yt(e){return O({...e,state:!0,attribute:!1})}function pr(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ht=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function J(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ht(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ht(o,n,{get(){return a(this)}})}}var op;function np(e){return(t,o)=>Ht(t,o,{get(){return(this.renderRoot??(op??=document.createDocumentFragment())).querySelectorAll(e)}})}function ip(e){return(t,o)=>Ht(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function ap(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Ge(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ht(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var zn={};q(zn,{repeat:()=>Go});var xe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ve=e=>(...t)=>({_$litDirective$:e,values:t}),Yt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:sp}=Os;var Fs=()=>document.createComment(""),fr=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Fs(),i),s=n.insertBefore(Fs(),i);o=new sp(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||c){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Se=(e,t,o=e)=>(e._$AI(t,o),e),lp={},Ws=(e,t=lp)=>e._$AH=t,Hs=e=>e._$AH,jo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var zs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},Go=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=Hs(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],p,h,u=0,m=i.length-1,b=0,x=a.length-1;for(;u<=m&&b<=x;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[b])d[b]=Se(i[u],a[b]),u++,b++;else if(c[m]===s[x])d[x]=Se(i[m],a[x]),m--,x--;else if(c[u]===s[x])d[x]=Se(i[u],a[x]),fr(e,d[x+1],i[u]),u++,x--;else if(c[m]===s[b])d[b]=Se(i[m],a[b]),fr(e,i[u],i[m]),m--,b++;else if(p===void 0&&(p=zs(s,b,x),h=zs(c,u,m)),p.has(c[u]))if(p.has(c[m])){let C=h.get(s[b]),N=C!==void 0?i[C]:null;if(N===null){let L=fr(e,i[u]);Se(L,a[b]),d[b]=L}else d[b]=Se(N,a[b]),fr(e,i[u],N),i[C]=null;b++}else jo(i[m]),m--;else jo(i[u]),u++;for(;b<=x;){let C=fr(e,d[x+1]);Se(C,a[b]),d[b++]=C}for(;u<=m;){let C=i[u++];C!==null&&jo(C)}return this.dt=s,Ws(e,d),Lt}});var Vn={};q(Vn,{classMap:()=>vt});var vt=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return Lt}});var jn={};q(jn,{styleMap:()=>dp});var Vs="important",cp=" !"+Vs,dp=ve(class extends Yt{constructor(e){if(super(e),e.type!==xe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(cp);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?Vs:""):o[n]=i}}return Lt}});var Kn={};q(Kn,{UnsafeHTMLDirective:()=>ur,unsafeHTML:()=>Gn});var ur=class extends Yt{constructor(t){if(super(t),this.et=it,t.type!==xe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||t==null)return this.vt=void 0,this.et=t;if(t===Lt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ur.directiveName="unsafeHTML",ur.resultType=1;var Gn=ve(ur);var ti={};q(ti,{CacheRegistry:()=>Xt,ClearCacheEvent:()=>Xr});var qn={};q(qn,{CancelablePromise:()=>hr,CanceledPromiseError:()=>Yr,cancelable:()=>Zn});var Yr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},hr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Yr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Yr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Zn=e=>new hr((t,o)=>e.then(t).catch(o));var Qn={};q(Qn,{FtNotificationEvent:()=>Yn,PostResizeEvent:()=>Jn,PreResizeEvent:()=>Xn,WithEventBus:()=>Ke,withEventBus:()=>js});var Yn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Jn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function js(e,t){return class extends e{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)}}}var Ke=class extends js(Object){};var Xr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Xt=class extends Ke{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new Xr(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new Xr([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof hr&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Zn(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ri={};q(ri,{ClusteringHelper:()=>ei});var ei=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t){var o,n,i,a,s;let c=((a=(n=(o=t.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=t.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=t.result)===null||s===void 0?void 0:s.topic).metadata;return t.key==null?e.flattenMetadata(c,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(c.find(d=>d.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(c=>{a.push(c.join(" > ")),o&&o>1&&c.length>=o?s.push(`... > ${c[c.length-1]}`):s.push(c.join(" > "))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(c=>n?n(c):c).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,c;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>e.extractResultMetadata({result:u,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(u=>u??{key:t,label:p,value:void 0,displayValue:n}).filter(u=>u.value!=d?.value).filter((u,m,b)=>b.findIndex(x=>x.value===u.value)===m).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,m)=>this.compareMetadata(u.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>c&&(c=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var oi={};q(oi,{Debouncer:()=>Pt});var Pt=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,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ai={};q(ai,{customElement:()=>X,isNumber:()=>qs,jsonProperty:()=>Jt,optionalNumberProperty:()=>mp});var ii={};q(ii,{dateReviver:()=>fp,deepEqual:()=>zt,delay:()=>Ko,eventPathContainsMatchingElement:()=>hp,flatDeep:()=>Ks,getComposedPathTo:()=>ni,hasChanged:()=>Ze,last:()=>yp,minmax:()=>Jr,parseDate:()=>Zs,unslotText:()=>Ce,waitFor:()=>Gs,waitUntil:()=>pp});var Ko=e=>new Promise(t=>setTimeout(t,e));async function pp(e,t=10,o=2e4){await Gs(async()=>await e()||void 0,t,o)}async function Gs(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ko(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ks(e,t){return e.flatMap(o=>[o,...Ks(t(o),t)])}function fp(...e){return function(t,o){return e.includes(t)?Zs(o):o}}function Zs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function up(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!zt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!zt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=s=>Object.keys(s).filter(c=>s[c]!=null);if(i=a(e),o=i.length,o!==a(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 s=i[n];if(!zt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function zt(e,t){try{return up(e,t)}catch{return!1}}function Ze(e,t){return!zt(e,t)}function hp(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Jr(e,t,o){return Math.min(Math.max(e,t),o)}function yp(e){return e[e.length-1]}function Ce(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ce(t)).join(""):e?.textContent||""}function ni(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Jt(e,t){let o=()=>JSON.parse(JSON.stringify(e));return O({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ze,...t??{}})}function mp(e){return O({type:Object,converter:{fromAttribute:t=>{if(t!=null)return qs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function qs(e){return!isNaN(parseFloat(e))}var ki={};q(ki,{designSystemVariables:()=>K});var Ii={};q(Ii,{DesignSystemFamily:()=>St,DesignSystemSize:()=>Q,FtCssVariableFactory:()=>r,badge:()=>vp,banner:()=>xp,button:()=>g,chart:()=>Tp,checkbox:()=>kp,chip:()=>H,chipChoice:()=>bp,collapsible:()=>Lp,comboboxMultiSelect:()=>_p,comboboxSingleSelect:()=>Np,drawer:()=>Op,floatingMenu:()=>Rp,foundation:()=>l,link:()=>ft,modal:()=>Cp,notice:()=>Ip,notification:()=>Mp,pageDesigner:()=>$p,pageFooter:()=>de,pageHeader:()=>at,pageLayout:()=>Sp,popover:()=>wt,radio:()=>Dp,reorderableList:()=>Fp,resolveFamilyClass:()=>Ti,resolveSizeClass:()=>$i,semantic:()=>f,setVariable:()=>E,switch_:()=>Pp,tabs:()=>Ep,textArea:()=>Ap,textInput:()=>wp,titleBreadcrumb:()=>yr,toggle:()=>Bp,tooltip:()=>Up,typographies:()=>Oe,typographyBody1Medium:()=>fi,typographyBody1Regular:()=>pi,typographyBody1Semibold:()=>ui,typographyBody2Medium:()=>yi,typographyBody2MediumUnderline:()=>Ys,typographyBody2Regular:()=>hi,typographyBody2Semibold:()=>mi,typographyCaption1Bold:()=>wi,typographyCaption1Medium:()=>Oi,typographyCaption1Semibold:()=>Ei,typographyCaption2Bold:()=>Ni,typographyCaption2Medium:()=>Ai,typographyCaption2Semibold:()=>Ri,typographyCaption3Bold:()=>Pi,typographyCaption3Medium:()=>_i,typographyCaption3Semibold:()=>Li,typographyDisplay:()=>si,typographyLabel1Bold:()=>xi,typographyLabel1Medium:()=>gi,typographyLabel1Semibold:()=>bi,typographyLabel2Bold:()=>Ci,typographyLabel2Medium:()=>vi,typographyLabel2Semibold:()=>Si,typographyTitle1:()=>li,typographyTitle2:()=>ci,typographyTitle3:()=>di,typographyVariants:()=>gp});var ce=e=>typeof e=="string"?ae(e):e,r=class{static create(t,o,n,i){let a=c=>ce(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=I`var(${ce(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${ce(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):ce(a??t.lastResortDefaultValue()),i=I`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.get=a=>I`var(${ce(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function E(e,t){return ce(`${e.name}: ${t}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},si={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},di={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},pi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},fi={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ui={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},hi={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},yi={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},mi={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},bi={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},xi={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},vi={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oe={display:si,"title-1":li,"title-2":ci,"title-3":di,"body-1-regular":pi,"body-1-medium":fi,"body-1-semibold":ui,"body-2-regular":hi,"body-2-medium":yi,"body-2-medium-underline":Ys,"body-2-semibold":mi,"label-1-medium":gi,"label-1-semibold":bi,"label-1-bold":xi,"label-2-medium":vi,"label-2-semibold":Si,"label-2-bold":Ci,"caption-1-medium":Oi,"caption-1-semibold":Ei,"caption-1-bold":wi,"caption-2-medium":Ai,"caption-2-semibold":Ri,"caption-2-bold":Ni,"caption-3-medium":_i,"caption-3-semibold":Li,"caption-3-bold":Pi},gp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
7
|
Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",f.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",f.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",f.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",f.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",f.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",f.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",f.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",f.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",f.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",f.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",f.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",f.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",f.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",f.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",f.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",f.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",f.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",f.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",f.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",f.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",f.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",f.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",f.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",f.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",f.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",f.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",f.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",f.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",f.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",f.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",f.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",f.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",f.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",f.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",f.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",f.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",f.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",f.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",f.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",f.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",f.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",f.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",f.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",f.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",f.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",f.contentErrorPrimary)};var bp={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",f.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",f.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",f.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",f.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",f.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",f.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",f.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",f.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",f.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",f.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",f.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var H={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var ft={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",f.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",f.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",f.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",f.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",f.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",f.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",f.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",f.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",f.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",f.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",f.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",f.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",f.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",f.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",f.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",l.colorBrand100)};var xp={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var vp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var yr={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",f.contentGlobalSubtle)};var at={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",f.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",f.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var de={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",f.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)};var Sp={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)};var Cp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",f.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Op={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Ep={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var wp={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Ap={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Rp={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Np={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var _p={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var wt={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Lp={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Pp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Tp={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var $p={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Ip={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var kp={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Bp={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Dp={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Mp={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Up={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Fp={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",f.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",f.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",f.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",f.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",f.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",f.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",f.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",f.backgroundGlobalOnSurfaceDark)};var St;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(St||(St={}));var Q;(function(e){e.large="large",e.medium="medium",e.small="small"})(Q||(Q={}));function Ti(e){return`ftds--family-${e}`}function $i(e){return`ftds--size-${e}`}var K={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Xi={};q(Xi,{computeFlipOffsetPosition:()=>Yi,computeOffsetPosition:()=>qi});var Js=["top","right","bottom","left"],Xs=["start","end"],Bi=Js.reduce((e,t)=>e.concat(t,t+"-"+Xs[0],t+"-"+Xs[1]),[]),eo=Math.min,Ee=Math.max,ro=Math.round;var pe=e=>({x:e,y:e}),Wp={left:"right",right:"left",bottom:"top",top:"bottom"},Hp={start:"end",end:"start"};function Di(e,t,o){return Ee(e,eo(t,o))}function mr(e,t){return typeof e=="function"?e(t):e}function Qt(e){return e.split("-")[0]}function te(e){return e.split("-")[1]}function Mi(e){return e==="x"?"y":"x"}function Ui(e){return e==="y"?"height":"width"}function oo(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function Fi(e){return Mi(oo(e))}function Wi(e,t,o){o===void 0&&(o=!1);let n=te(e),i=Fi(e),a=Ui(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=to(s)),[s,to(s)]}function Qs(e){let t=to(e);return[Qr(e),t,Qr(t)]}function Qr(e){return e.replace(/start|end/g,t=>Hp[t])}function zp(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function tl(e,t,o,n){let i=te(e),a=zp(Qt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(Qr)))),a}function to(e){return e.replace(/left|right|bottom|top/g,t=>Wp[t])}function Vp(e){return{top:0,right:0,bottom:0,left:0,...e}}function el(e){return typeof e!="number"?Vp(e):{top:e,right:e,bottom:e,left:e}}function qe(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function rl(e,t,o){let{reference:n,floating:i}=e,a=oo(t),s=Fi(t),c=Ui(s),d=Qt(t),p=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:u};break;case"left":b={x:n.x-i.width,y:u};break;default:b={x:n.x,y:n.y}}switch(te(t)){case"start":b[s]-=m*(o&&p?-1:1);break;case"end":b[s]+=m*(o&&p?-1:1);break}return b}var ol=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=rl(p,n,d),m=n,b={},x=0;for(let C=0;C<c.length;C++){let{name:N,fn:L}=c[C],{x:P,y:w,data:S,reset:A}=await L({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(h=P??h,u=w??u,b={...b,[N]:{...b[N],...S}},A&&x<=50){x++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(p=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:h,y:u}=rl(p,m,d)),C=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:b}};async function Zo(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:b=0}=mr(t,e),x=el(b),N=c[m?u==="floating"?"reference":"floating":u],L=qe(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),P=u==="floating"?{...s.floating,x:n,y:i}:s.reference,w=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(w))?await(a.getScale==null?void 0:a.getScale(w))||{x:1,y:1}:{x:1,y:1},A=qe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:w,strategy:d}):P);return{top:(L.top-A.top+x.top)/S.y,bottom:(A.bottom-L.bottom+x.bottom)/S.y,left:(L.left-A.left+x.left)/S.x,right:(A.right-L.right+x.right)/S.x}}function jp(e,t,o){return(e?[...o.filter(i=>te(i)===e),...o.filter(i=>te(i)!==e)]:o.filter(i=>Qt(i)===i)).filter(i=>e?te(i)===e||(t?Qr(i)!==i:!1):!0)}var Hi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Bi,autoAlignment:b=!0,...x}=mr(e,t),C=u!==void 0||m===Bi?jp(u||null,b,m):m,N=await Zo(t,x),L=((o=s.autoPlacement)==null?void 0:o.index)||0,P=C[L];if(P==null)return{};let w=Wi(P,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(c!==P)return{reset:{placement:C[0]}};let S=[N[Qt(P)],N[w[0]],N[w[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],T=C[L+1];if(T)return{data:{index:L+1,overflows:A},reset:{placement:T}};let M=A.map(k=>{let y=te(k.placement);return[k.placement,y&&h?k.overflows.slice(0,2).reduce((v,$)=>v+$,0):k.overflows[0],k.overflows]}).sort((k,y)=>k[1]-y[1]),z=((i=M.filter(k=>k[2].slice(0,te(k[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||M[0][0];return z!==c?{data:{index:L+1,overflows:A},reset:{placement:z}}:{}}}},zi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,...N}=mr(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let L=Qt(i),P=Qt(c)===c,w=await(d.isRTL==null?void 0:d.isRTL(p.floating)),S=m||(P||!C?[to(c)]:Qs(c));!m&&x!=="none"&&S.push(...tl(c,C,x,w));let A=[c,...S],T=await Zo(t,N),M=[],V=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&M.push(T[L]),u){let v=Wi(i,s,w);M.push(T[v[0]],T[v[1]])}if(V=[...V,{placement:i,overflows:M}],!M.every(v=>v<=0)){var z,k;let v=(((z=a.flip)==null?void 0:z.index)||0)+1,$=A[v];if($)return{data:{index:v,overflows:V},reset:{placement:$}};let W=(k=V.filter(j=>j.overflows[0]<=0).sort((j,U)=>j.overflows[1]-U.overflows[1])[0])==null?void 0:k.placement;if(!W)switch(b){case"bestFit":{var y;let j=(y=V.map(U=>[U.placement,U.overflows.filter(Zt=>Zt>0).reduce((Zt,Br)=>Zt+Br,0)]).sort((U,Zt)=>U[1]-Zt[1])[0])==null?void 0:y[0];j&&(W=j);break}case"initialPlacement":W=c;break}if(i!==W)return{reset:{placement:W}}}return{}}}};async function Gp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Qt(o),c=te(o),d=oo(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=mr(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return c&&typeof x=="number"&&(b=c==="end"?x*-1:x),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Vi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=t,d=await Gp(t,e);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},ji=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:L,y:P}=N;return{x:L,y:P}}},...d}=mr(e,t),p={x:o,y:n},h=await Zo(t,d),u=oo(Qt(i)),m=Mi(u),b=p[m],x=p[u];if(a){let N=m==="y"?"top":"left",L=m==="y"?"bottom":"right",P=b+h[N],w=b-h[L];b=Di(P,b,w)}if(s){let N=u==="y"?"top":"left",L=u==="y"?"bottom":"right",P=x+h[N],w=x-h[L];x=Di(P,x,w)}let C=c.fn({...t,[m]:b,[u]:x});return{...C,data:{x:C.x-o,y:C.y-n}}}}};function fe(e){return il(e)?(e.nodeName||"").toLowerCase():"#document"}function At(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ue(e){var t;return(t=(il(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function il(e){return e instanceof Node||e instanceof At(e).Node}function ee(e){return e instanceof Element||e instanceof At(e).Element}function Vt(e){return e instanceof HTMLElement||e instanceof At(e).HTMLElement}function nl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof At(e).ShadowRoot}function gr(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function al(e){return["table","td","th"].includes(fe(e))}function Yo(e){let t=Xo(),o=Tt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function sl(e){let t=Ye(e);for(;Vt(t)&&!no(t);){if(Yo(t))return t;t=Ye(t)}return null}function Xo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(e){return["html","body","#document"].includes(fe(e))}function Tt(e){return At(e).getComputedStyle(e)}function io(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ye(e){if(fe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||nl(e)&&e.host||ue(e);return nl(t)?t.host:t}function ll(e){let t=Ye(e);return no(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vt(t)&&gr(t)?t:ll(t)}function qo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ll(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=At(i);return a?t.concat(s,s.visualViewport||[],gr(i)?i:[],s.frameElement&&o?qo(s.frameElement):[]):t.concat(i,qo(i,[],o))}function pl(e){let t=Tt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Vt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=ro(o)!==a||ro(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function fl(e){return ee(e)?e:e.contextElement}function br(e){let t=fl(e);if(!Vt(t))return pe(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=pl(t),s=(a?ro(o.width):o.width)/n,c=(a?ro(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Kp=pe(0);function ul(e){let t=At(e);return!Xo()||!t.visualViewport?Kp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==At(e)?!1:t}function ao(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=fl(e),s=pe(1);t&&(n?ee(n)&&(s=br(n)):s=br(e));let c=Zp(a,o,n)?ul(a):pe(0),d=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=At(a),b=n&&ee(n)?At(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let C=br(x),N=x.getBoundingClientRect(),L=Tt(x),P=N.left+(x.clientLeft+parseFloat(L.paddingLeft))*C.x,w=N.top+(x.clientTop+parseFloat(L.paddingTop))*C.y;d*=C.x,p*=C.y,h*=C.x,u*=C.y,d+=P,p+=w,x=At(x).frameElement}}return qe({width:h,height:u,x:d,y:p})}function qp(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Vt(o),a=ue(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=pe(1),d=pe(0);if((i||!i&&n!=="fixed")&&((fe(o)!=="body"||gr(a))&&(s=io(o)),Vt(o))){let p=ao(o);c=br(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+d.x,y:t.y*c.y-s.scrollTop*c.y+d.y}}function Yp(e){return Array.from(e.getClientRects())}function hl(e){return ao(ue(e)).left+io(e).scrollLeft}function Xp(e){let t=ue(e),o=io(e),n=e.ownerDocument.body,i=Ee(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Ee(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+hl(e),c=-o.scrollTop;return Tt(n).direction==="rtl"&&(s+=Ee(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Jp(e,t){let o=At(e),n=ue(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let p=Xo();(!p||p&&t==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function Qp(e,t){let o=ao(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Vt(e)?br(e):pe(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:c,x:d,y:p}}function cl(e,t,o){let n;if(t==="viewport")n=Jp(e,o);else if(t==="document")n=Xp(ue(e));else if(ee(t))n=Qp(t,o);else{let i=ul(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return qe(n)}function yl(e,t){let o=Ye(e);return o===t||!ee(o)||no(o)?!1:Tt(o).position==="fixed"||yl(o,t)}function tf(e,t){let o=t.get(e);if(o)return o;let n=qo(e,[],!1).filter(c=>ee(c)&&fe(c)!=="body"),i=null,a=Tt(e).position==="fixed",s=a?Ye(e):e;for(;ee(s)&&!no(s);){let c=Tt(s),d=Yo(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||gr(s)&&!d&&yl(e,s))?n=n.filter(h=>h!==s):i=c,s=Ye(s)}return t.set(e,n),n}function ef(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?tf(t,this._c):[].concat(o),n],c=s[0],d=s.reduce((p,h)=>{let u=cl(t,h,i);return p.top=Ee(u.top,p.top),p.right=eo(u.right,p.right),p.bottom=eo(u.bottom,p.bottom),p.left=Ee(u.left,p.left),p},cl(t,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rf(e){return pl(e)}function of(e,t,o){let n=Vt(t),i=ue(t),a=o==="fixed",s=ao(e,!0,a,t),c={scrollLeft:0,scrollTop:0},d=pe(0);if(n||!n&&!a)if((fe(t)!=="body"||gr(i))&&(c=io(t)),n){let p=ao(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=hl(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function dl(e,t){return!Vt(e)||Tt(e).position==="fixed"?null:t?t(e):e.offsetParent}function ml(e,t){let o=At(e);if(!Vt(e))return o;let n=dl(e,t);for(;n&&al(n)&&Tt(n).position==="static";)n=dl(n,t);return n&&(fe(n)==="html"||fe(n)==="body"&&Tt(n).position==="static"&&!Yo(n))?o:n||sl(e)||o}var nf=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||ml,a=this.getDimensions;return{reference:of(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function af(e){return Tt(e).direction==="rtl"}var xr={convertOffsetParentRelativeRectToViewportRelativeRect:qp,getDocumentElement:ue,getClippingRect:ef,getOffsetParent:ml,getElementRects:nf,getClientRects:Yp,getDimensions:rf,getScale:br,isElement:ee,isRTL:af};var Gi=(e,t,o)=>{let n=new Map,i={platform:xr,...o},a={...i.platform,_c:n};return ol(e,t,{...i,platform:a})};function Zi(e){return sf(e)}function Ki(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function sf(e){for(let t=e;t;t=Ki(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ki(e);t;t=Ki(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function qi(e,t,o){return Gi(e,t,{platform:{...xr,getOffsetParent:n=>xr.getOffsetParent(n,Zi)},middleware:[ji({crossAxis:!0}),Hi({allowedPlacements:[o]})]})}async function Yi(e,t,o,n,i,a=4){return Gi(e,t,{placement:o,strategy:i,platform:{...xr,getOffsetParent:s=>xr.getOffsetParent(s,Zi)},middleware:[Vi(a),zi({fallbackPlacements:n})]})}var ta={};q(ta,{FtdsBase:()=>Xe,toFtdsBase:()=>tn});var Qi={};q(Qi,{FtLitElement:()=>Z});var Ji={};q(Ji,{ScopedRegistryLitElement:()=>so});var Jo=window,lf=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ab=Symbol();var gl=(e,t)=>{lf?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=Jo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var so=class extends le{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return gl(n,t.elementStyles),n}};var Qo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Sl,bl=Symbol("constructorPrototype"),xl=Symbol("constructorName"),Cl=Symbol("exportpartsDebouncer"),vl=Symbol("dynamicDependenciesLoaded"),Z=class extends so{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Sl]=new Pt(5),this[xl]=this.constructor.name,this[bl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xl]&&Object.setPrototypeOf(this,this[bl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[vl]||(t[vl]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}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(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}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[Cl].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...b,...x).filter(d).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Sl=Cl;Qo([O()],Z.prototype,"exportpartsPrefix",void 0);Qo([Jt([])],Z.prototype,"exportpartsPrefixes",void 0);Qo([O()],Z.prototype,"customStylesheet",void 0);Qo([yt()],Z.prototype,"useAdoptedStyleSheets",void 0);var Ol=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function tn(e){class t extends e{constructor(){super(...arguments),this.size=Q.medium,this.family=St.neutral}getDesignSystemBaseClasses(){return{[Ti(this.family)]:!0,[$i(this.size)]:!0}}}return Ol([O()],t.prototype,"size",void 0),Ol([O()],t.prototype,"family",void 0),t}var Xe=class extends tn(Z){};var El={};var oa={};q(oa,{highlightHtml:()=>ra,highlightHtmlColorCssVariable:()=>wl,highlightHtmlStyles:()=>df});var Je=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(c++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],d=[],p,h,u=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var lo=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Je(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,d=parseInt(t.start,10)-c;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Je.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let d=t.nodes[c+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=u+m,t.nodes.forEach((b,x)=>{x>=c&&(t.nodes[x].start>0&&x!==c&&(t.nodes[x].start-=h),t.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let u=1;u<s;u++)h+=p[u].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let d;for(;(d=t.exec(c.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let u=1;u<s;u++)p+=d[u].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(c,p,h,u=>n(d[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,d)=>{let{start:p,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,c,a.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Je.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ea(e){let t=new lo(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var cf=ea,wl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),df=I`
|
|
8
8
|
.highlight-html-match {
|
|
9
9
|
background: ${wl};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-page-layout",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.26",
|
|
4
4
|
"description": "A page layout component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fluid-topics/design-system-variables": "0.1.8",
|
|
23
|
-
"@fluid-topics/ft-chip": "1.2.
|
|
24
|
-
"@fluid-topics/ft-link": "1.2.
|
|
25
|
-
"@fluid-topics/ft-popover": "1.2.
|
|
26
|
-
"@fluid-topics/ft-typography": "1.2.
|
|
27
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
23
|
+
"@fluid-topics/ft-chip": "1.2.26",
|
|
24
|
+
"@fluid-topics/ft-link": "1.2.26",
|
|
25
|
+
"@fluid-topics/ft-popover": "1.2.26",
|
|
26
|
+
"@fluid-topics/ft-typography": "1.2.26",
|
|
27
|
+
"@fluid-topics/ft-wc-utils": "1.2.26",
|
|
28
28
|
"lit": "3.1.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@fluid-topics/ft-wc-test-utils": "1.2.
|
|
31
|
+
"@fluid-topics/ft-wc-test-utils": "1.2.26"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "9e23f9e9f000353f796042d15290cb6df600f10b"
|
|
34
34
|
}
|