@fluid-topics/ft-search-input 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  "use strict";(()=>{var Q0=Object.create;var qa=Object.defineProperty;var J0=Object.getOwnPropertyDescriptor;var eh=Object.getOwnPropertyNames;var th=Object.getPrototypeOf,rh=Object.prototype.hasOwnProperty;var oh=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ne=(t,e)=>{for(var r in e)qa(t,r,{get:e[r],enumerable:!0})},ih=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of eh(e))!rh.call(t,n)&&n!==r&&qa(t,n,{get:()=>e[n],enumerable:!(o=J0(e,n))||o.enumerable});return t};var nh=(t,e,r)=>(r=t!=null?Q0(th(t)):{},ih(e||!t||!t.__esModule?qa(r,"default",{value:t,enumerable:!0}):r,t));var Lu=oh((Vr,Eu)=>{var ia=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,na=function(){function t(){this.fetch=!1,this.DOMException=ia.DOMException}return t.prototype=ia,new t}();(function(t){var e=function(r){var o=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function a(x){return x&&DataView.prototype.isPrototypeOf(x)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(x){return x&&s.indexOf(Object.prototype.toString.call(x))>-1};function d(x){if(typeof x!="string"&&(x=String(x)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(x)||x==="")throw new TypeError('Invalid character in header field name: "'+x+'"');return x.toLowerCase()}function f(x){return typeof x!="string"&&(x=String(x)),x}function p(x){var w={next:function(){var V=x.shift();return{done:V===void 0,value:V}}};return n.iterable&&(w[Symbol.iterator]=function(){return w}),w}function h(x){this.map={},x instanceof h?x.forEach(function(w,V){this.append(V,w)},this):Array.isArray(x)?x.forEach(function(w){if(w.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+w.length);this.append(w[0],w[1])},this):x&&Object.getOwnPropertyNames(x).forEach(function(w){this.append(w,x[w])},this)}h.prototype.append=function(x,w){x=d(x),w=f(w);var V=this.map[x];this.map[x]=V?V+", "+w:w},h.prototype.delete=function(x){delete this.map[d(x)]},h.prototype.get=function(x){return x=d(x),this.has(x)?this.map[x]:null},h.prototype.has=function(x){return this.map.hasOwnProperty(d(x))},h.prototype.set=function(x,w){this.map[d(x)]=f(w)},h.prototype.forEach=function(x,w){for(var V in this.map)this.map.hasOwnProperty(V)&&x.call(w,this.map[V],V,this)},h.prototype.keys=function(){var x=[];return this.forEach(function(w,V){x.push(V)}),p(x)},h.prototype.values=function(){var x=[];return this.forEach(function(w){x.push(w)}),p(x)},h.prototype.entries=function(){var x=[];return this.forEach(function(w,V){x.push([V,w])}),p(x)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function y(x){if(!x._noBody){if(x.bodyUsed)return Promise.reject(new TypeError("Already read"));x.bodyUsed=!0}}function C(x){return new Promise(function(w,V){x.onload=function(){w(x.result)},x.onerror=function(){V(x.error)}})}function E(x){var w=new FileReader,V=C(w);return w.readAsArrayBuffer(x),V}function _(x){var w=new FileReader,V=C(w),ue=/charset=([A-Za-z0-9_-]+)/.exec(x.type),xe=ue?ue[1]:"utf-8";return w.readAsText(x,xe),V}function N(x){for(var w=new Uint8Array(x),V=new Array(w.length),ue=0;ue<w.length;ue++)V[ue]=String.fromCharCode(w[ue]);return V.join("")}function I(x){if(x.slice)return x.slice(0);var w=new Uint8Array(x.byteLength);return w.set(new Uint8Array(x)),w.buffer}function $(){return this.bodyUsed=!1,this._initBody=function(x){this.bodyUsed=this.bodyUsed,this._bodyInit=x,x?typeof x=="string"?this._bodyText=x:n.blob&&Blob.prototype.isPrototypeOf(x)?this._bodyBlob=x:n.formData&&FormData.prototype.isPrototypeOf(x)?this._bodyFormData=x:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)?this._bodyText=x.toString():n.arrayBuffer&&n.blob&&a(x)?(this._bodyArrayBuffer=I(x.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(x)||l(x))?this._bodyArrayBuffer=I(x):this._bodyText=x=Object.prototype.toString.call(x):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof x=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var x=y(this);if(x)return x;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var x=y(this);return x||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(E);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var x=y(this);if(x)return x;if(this._bodyBlob)return _(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function L(x){var w=x.toUpperCase();return A.indexOf(w)>-1?w:x}function k(x,w){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');w=w||{};var V=w.body;if(x instanceof k){if(x.bodyUsed)throw new TypeError("Already read");this.url=x.url,this.credentials=x.credentials,w.headers||(this.headers=new h(x.headers)),this.method=x.method,this.mode=x.mode,this.signal=x.signal,!V&&x._bodyInit!=null&&(V=x._bodyInit,x.bodyUsed=!0)}else this.url=String(x);if(this.credentials=w.credentials||this.credentials||"same-origin",(w.headers||!this.headers)&&(this.headers=new h(w.headers)),this.method=L(w.method||this.method||"GET"),this.mode=w.mode||this.mode||null,this.signal=w.signal||this.signal||function(){if("AbortController"in o){var ce=new AbortController;return ce.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&V)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(V),(this.method==="GET"||this.method==="HEAD")&&(w.cache==="no-store"||w.cache==="no-cache")){var ue=/([?&])_=[^&]*/;if(ue.test(this.url))this.url=this.url.replace(ue,"$1_="+new Date().getTime());else{var xe=/\?/;this.url+=(xe.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};function H(x){var w=new FormData;return x.trim().split("&").forEach(function(V){if(V){var ue=V.split("="),xe=ue.shift().replace(/\+/g," "),ce=ue.join("=").replace(/\+/g," ");w.append(decodeURIComponent(xe),decodeURIComponent(ce))}}),w}function X(x){var w=new h,V=x.replace(/\r?\n[\t ]+/g," ");return V.split("\r").map(function(ue){return ue.indexOf(`
2
2
  `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var xe=ue.split(":"),ce=xe.shift().trim();if(ce){var wn=xe.join(":").trim();try{w.append(ce,wn)}catch(Ka){console.warn("Response "+Ka.message)}}}),w}$.call(k.prototype);function le(x,w){if(!(this instanceof le))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(w||(w={}),this.type="default",this.status=w.status===void 0?200:w.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=w.statusText===void 0?"":""+w.statusText,this.headers=new h(w.headers),this.url=w.url||"",this._initBody(x)}$.call(le.prototype),le.prototype.clone=function(){return new le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},le.error=function(){var x=new le(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var se=[301,302,303,307,308];le.redirect=function(x,w){if(se.indexOf(w)===-1)throw new RangeError("Invalid status code");return new le(null,{status:w,headers:{location:x}})},r.DOMException=o.DOMException;try{new r.DOMException}catch{r.DOMException=function(w,V){this.message=w,this.name=V;var ue=Error(w);this.stack=ue.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function q(x,w){return new Promise(function(V,ue){var xe=new k(x,w);if(xe.signal&&xe.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var ce=new XMLHttpRequest;function wn(){ce.abort()}ce.onload=function(){var et={statusText:ce.statusText,headers:X(ce.getAllResponseHeaders()||"")};xe.url.indexOf("file://")===0&&(ce.status<200||ce.status>599)?et.status=200:et.status=ce.status,et.url="responseURL"in ce?ce.responseURL:et.headers.get("X-Request-URL");var io="response"in ce?ce.response:ce.responseText;setTimeout(function(){V(new le(io,et))},0)},ce.onerror=function(){setTimeout(function(){ue(new TypeError("Network request failed"))},0)},ce.ontimeout=function(){setTimeout(function(){ue(new TypeError("Network request timed out"))},0)},ce.onabort=function(){setTimeout(function(){ue(new r.DOMException("Aborted","AbortError"))},0)};function Ka(et){try{return et===""&&o.location.href?o.location.href:et}catch{return et}}if(ce.open(xe.method,Ka(xe.url),!0),xe.credentials==="include"?ce.withCredentials=!0:xe.credentials==="omit"&&(ce.withCredentials=!1),"responseType"in ce&&(n.blob?ce.responseType="blob":n.arrayBuffer&&(ce.responseType="arraybuffer")),w&&typeof w.headers=="object"&&!(w.headers instanceof h||o.Headers&&w.headers instanceof o.Headers)){var Nd=[];Object.getOwnPropertyNames(w.headers).forEach(function(et){Nd.push(d(et)),ce.setRequestHeader(et,f(w.headers[et]))}),xe.headers.forEach(function(et,io){Nd.indexOf(io)===-1&&ce.setRequestHeader(io,et)})}else xe.headers.forEach(function(et,io){ce.setRequestHeader(io,et)});xe.signal&&(xe.signal.addEventListener("abort",wn),ce.onreadystatechange=function(){ce.readyState===4&&xe.signal.removeEventListener("abort",wn)}),ce.send(typeof xe._bodyInit>"u"?null:xe._bodyInit)})}return q.polyfill=!0,o.fetch||(o.fetch=q,o.Headers=h,o.Request=k,o.Response=le),r.Headers=h,r.Request=k,r.Response=le,r.fetch=q,r}({})})(na);na.fetch.ponyfill=!0;delete na.fetch.polyfill;var ni=ia.fetch?ia:na;Vr=ni.fetch;Vr.default=ni.fetch;Vr.fetch=ni.fetch;Vr.Headers=ni.Headers;Vr.Request=ni.Request;Vr.Response=ni.Response;Eu.exports=Vr});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,L){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(L)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let k=L.prototype.attributeChangedCallback,H=new Set(L.observedAttributes||[]);y(L,H,k);let X={elementClass:L,connectedCallback:L.prototype.connectedCallback,disconnectedCallback:L.prototype.disconnectedCallback,adoptedCallback:L.prototype.adoptedCallback,attributeChangedCallback:k,formAssociated:L.formAssociated,formAssociatedCallback:L.prototype.formAssociatedCallback,formDisabledCallback:L.prototype.formDisabledCallback,formResetCallback:L.prototype.formResetCallback,formStateRestoreCallback:L.prototype.formStateRestoreCallback,observedAttributes:H};this._definitionsByTag.set(A,X),this._definitionsByClass.set(L,X);let le=r.call(o,A);le||(le=h(A),e.call(o,A,le)),this===window.customElements&&(s.set(L,X),X.standInClass=le);let se=this._awaitingUpgrade.get(A);if(se){this._awaitingUpgrade.delete(A);for(let x of se)a.delete(x),E(x,X,!0)}let q=this._whenDefinedPromises.get(A);return q!==void 0&&(q.resolve(L),this._whenDefinedPromises.delete(A)),L}upgrade(){N.push(this),o.upgrade.apply(o,arguments),N.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let L=this._getDefinition(A);if(L!==void 0)return Promise.resolve(L.elementClass);let k=this._whenDefinedPromises.get(A);return k===void 0&&(k={},k.promise=new Promise(H=>k.resolve=H),this._whenDefinedPromises.set(A,k)),k.promise}_upgradeWhenDefined(A,L,k){let H=this._awaitingUpgrade.get(L);H||this._awaitingUpgrade.set(L,H=new Set),k?H.add(A):H.delete(A)}};let d;window.HTMLElement=function(){let L=d;if(L)return d=void 0,L;let k=s.get(this.constructor);if(!k)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return L=Reflect.construct(t,[],k.standInClass),Object.setPrototypeOf(L,this.constructor.prototype),n.set(L,k),L},window.HTMLElement.prototype=t.prototype;let f=A=>A===document||A instanceof ShadowRoot,p=A=>{let L=A.getRootNode();if(!f(L)){let k=N[N.length-1];if(k instanceof CustomElementRegistry)return k;L=k.getRootNode(),f(L)||(L=l.get(L)?.getRootNode()||document)}return L.customElements},h=A=>class{static get formAssociated(){return!0}constructor(){let k=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(k,HTMLElement.prototype);let H=p(k)||window.customElements,X=H._getDefinition(A);return X?E(k,X):a.set(k,H),k}connectedCallback(){let k=n.get(this);k?k.connectedCallback&&k.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let k=n.get(this);k?k.disconnectedCallback&&k.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let k=n.get(this);k&&k.formAssociated&&k?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let k=n.get(this);k?.formAssociated&&k?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let k=n.get(this);k?.formAssociated&&k?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let k=n.get(this);k?.formAssociated&&k?.formStateRestoreCallback?.apply(this,arguments)}},y=(A,L,k)=>{if(L.size===0||k===void 0)return;let H=A.prototype.setAttribute;H&&(A.prototype.setAttribute=function(se,q){let x=se.toLowerCase();if(L.has(x)){let w=this.getAttribute(x);H.call(this,x,q),k.call(this,x,w,q)}else H.call(this,x,q)});let X=A.prototype.removeAttribute;X&&(A.prototype.removeAttribute=function(se){let q=se.toLowerCase();if(L.has(q)){let x=this.getAttribute(q);X.call(this,q),k.call(this,q,x,null)}else X.call(this,q)});let le=A.prototype.toggleAttribute;le&&(A.prototype.toggleAttribute=function(se,q){let x=se.toLowerCase();if(L.has(x)){let w=this.getAttribute(x);le.call(this,x,q);let V=this.getAttribute(x);k.call(this,x,w,V)}else le.call(this,x,q)})},C=A=>{let L=Object.getPrototypeOf(A);if(L!==window.HTMLElement)return L===t?Object.setPrototypeOf(A,window.HTMLElement):C(L)},E=(A,L,k=!1)=>{Object.setPrototypeOf(A,L.elementClass.prototype),n.set(A,L),d=A;try{new L.elementClass}catch{C(L.elementClass),new L.elementClass}L.attributeChangedCallback&&L.observedAttributes.forEach(H=>{A.hasAttribute(H)&&L.attributeChangedCallback.call(A,H,null,A.getAttribute(H))}),k&&L.connectedCallback&&A.isConnected&&L.connectedCallback.call(A)},_=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let L=_.apply(this,arguments);return A.customElements&&(L.customElements=A.customElements),L};let N=[document],I=(A,L,k=void 0)=>{let H=(k?Object.getPrototypeOf(k):A.prototype)[L];A.prototype[L]=function(){N.push(this);let X=H.apply(k||this,arguments);return X!==void 0&&l.set(X,this),N.pop(),X}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let $=(A,L)=>{let k=Object.getOwnPropertyDescriptor(A.prototype,L);Object.defineProperty(A.prototype,L,{...k,set(H){N.push(this),k.set.call(this,H),N.pop()}})};if($(Element,"innerHTML"),$(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,L=HTMLElement.prototype.attachInternals,k=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...se){let q=L.call(this,...se);return A.set(q,this),q},k.forEach(se=>{let q=window.ElementInternals.prototype,x=q[se];q[se]=function(...w){let V=A.get(this);if(n.get(V).formAssociated===!0)return x?.call(this,...w);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class H extends Array{constructor(q){super(...q),this._elements=q}get value(){return this._elements.find(q=>q.checked===!0)?.value||""}}class X{constructor(q){let x=new Map;q.forEach((w,V)=>{let ue=w.getAttribute("name"),xe=x.get(ue)||[];this[+V]=w,xe.push(w),x.set(ue,xe)}),this.length=q.length,x.forEach((w,V)=>{w&&(w.length===1?this[V]=w[0]:this[V]=new H(w))})}namedItem(q){return this[q]}}let le=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let se=le.get.call(this,[]),q=[];for(let x of se){let w=n.get(x);(!w||w.formAssociated===!0)&&q.push(x)}return new X(q)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,n)=>{if(o!==null)try{e.bind(window.customElements)(r,o,n)}catch(a){console.info(r,o,n,a)}}}var ss={};ne(ss,{CSSResult:()=>Uo,LitElement:()=>Ht,ReactiveElement:()=>Qt,_$LE:()=>yh,_$LH:()=>is,adoptStyles:()=>ki,css:()=>M,defaultConverter:()=>Ho,getCompatibleStyle:()=>_n,html:()=>O,isServer:()=>a7,mathml:()=>os,noChange:()=>st,notEqual:()=>Mi,nothing:()=>z,render:()=>ns,supportsAdoptingStyleSheets:()=>_i,svg:()=>rs,unsafeCSS:()=>Xt});var Rn=globalThis,_i=Rn.ShadowRoot&&(Rn.ShadyCSS===void 0||Rn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Za=Symbol(),Pd=new WeakMap,Uo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Za)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(_i&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Pd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Pd.set(r,e))}return e}toString(){return this.cssText}},Xt=t=>new Uo(typeof t=="string"?t:t+"",void 0,Za),M=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,n,a)=>o+(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.")})(n)+t[a+1],t[0]);return new Uo(r,t,Za)},ki=(t,e)=>{if(_i)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=Rn.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},_n=_i?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Xt(r)})(t):t;var{is:ah,defineProperty:sh,getOwnPropertyDescriptor:lh,getOwnPropertyNames:ch,getOwnPropertySymbols:dh,getPrototypeOf:fh}=Object,kn=globalThis,Id=kn.trustedTypes,uh=Id?Id.emptyScript:"",ph=kn.reactiveElementPolyfillSupport,Ti=(t,e)=>t,Ho={toAttribute(t,e){switch(e){case Boolean:t=t?uh:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Mi=(t,e)=>!ah(t,e),zd={attribute:!0,type:String,converter:Ho,reflect:!1,useDefault:!1,hasChanged:Mi};Symbol.metadata??=Symbol("metadata"),kn.litPropertyMetadata??=new WeakMap;var Qt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=zd){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(e,o,r);n!==void 0&&sh(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:a}=lh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??zd}static _$Ei(){if(this.hasOwnProperty(Ti("elementProperties")))return;let e=fh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ti("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ti("properties"))){let r=this.properties,o=[...ch(r),...dh(r)];for(let n of o)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,n]of r)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let n=this._$Eu(r,o);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let n of o)r.unshift(_n(n))}else e!==void 0&&r.push(_n(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ki(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$ET(e,r){let o=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,o);if(n!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:Ho).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,n=o._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=o.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ho;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,o){if(e!==void 0){let n=this.constructor,a=this[e];if(o??=n.getPropertyOptions(e),!((o.hasChanged??Mi)(a,r)||o.useDefault&&o.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,o))))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:o,reflect:n,wrapped:a},s){o&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||o||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,a]of o){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EM()}catch(o){throw e=!1,this._$EM(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};Qt.elementStyles=[],Qt.shadowRootOptions={mode:"open"},Qt[Ti("elementProperties")]=new Map,Qt[Ti("finalized")]=new Map,ph?.({ReactiveElement:Qt}),(kn.reactiveElementVersions??=[]).push("2.1.0");var Xa=globalThis,Tn=Xa.trustedTypes,$d=Tn?Tn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Qa="$lit$",br=`lit$${Math.random().toFixed(9).slice(2)}$`,Ja="?"+br,hh=`<${Ja}>`,so=document,Pi=()=>so.createComment(""),Ii=t=>t===null||typeof t!="object"&&typeof t!="function",es=Array.isArray,Gd=t=>es(t)||typeof t?.[Symbol.iterator]=="function",Ya=`[
3
3
  \f\r]`,Ni=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dd=/-->/g,Bd=/>/g,no=RegExp(`>|${Ya}(?:([^\\s"'>=/]+)(${Ya}*=${Ya}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Fd=/'/g,Ud=/"/g,Wd=/^(?:script|style|textarea|title)$/i,ts=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),O=ts(1),rs=ts(2),os=ts(3),st=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Hd=new WeakMap,ao=so.createTreeWalker(so,129);function Vd(t,e){if(!es(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $d!==void 0?$d.createHTML(e):e}var jd=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Ni;for(let l=0;l<r;l++){let d=t[l],f,p,h=-1,y=0;for(;y<d.length&&(s.lastIndex=y,p=s.exec(d),p!==null);)y=s.lastIndex,s===Ni?p[1]==="!--"?s=Dd:p[1]!==void 0?s=Bd:p[2]!==void 0?(Wd.test(p[2])&&(n=RegExp("</"+p[2],"g")),s=no):p[3]!==void 0&&(s=no):s===no?p[0]===">"?(s=n??Ni,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,f=p[1],s=p[3]===void 0?no:p[3]==='"'?Ud:Fd):s===Ud||s===Fd?s=no:s===Dd||s===Bd?s=Ni:(s=no,n=void 0);let C=s===no&&t[l+1].startsWith("/>")?" ":"";a+=s===Ni?d+hh:h>=0?(o.push(f),d.slice(0,h)+Qa+d.slice(h)+br+C):d+br+(h===-2?l:C)}return[Vd(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},zi=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,p]=jd(e,r);if(this.el=t.createElement(f,o),ao.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=ao.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Qa)){let y=p[s++],C=n.getAttribute(h).split(br),E=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:E[2],strings:C,ctor:E[1]==="."?Nn:E[1]==="?"?Pn:E[1]==="@"?In:co}),n.removeAttribute(h)}else h.startsWith(br)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(Wd.test(n.tagName)){let h=n.textContent.split(br),y=h.length-1;if(y>0){n.textContent=Tn?Tn.emptyScript:"";for(let C=0;C<y;C++)n.append(h[C],Pi()),ao.nextNode(),d.push({type:2,index:++a});n.append(h[y],Pi())}}}else if(n.nodeType===8)if(n.data===Ja)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(br,h+1))!==-1;)d.push({type:7,index:a}),h+=br.length-1}a++}}static createElement(e,r){let o=so.createElement("template");return o.innerHTML=e,o}};function lo(t,e,r=t,o){if(e===st)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Ii(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=lo(t,n._$AS(t,e.values),n,o)),e}var Mn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??so).importNode(r,!0);ao.currentNode=n;let a=ao.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Go(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new zn(a,this,e)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(a=ao.nextNode(),s++)}return ao.currentNode=so,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Go=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=lo(this,e,r),Ii(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==st&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Gd(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==z&&Ii(this._$AH)?this._$AA.nextSibling.data=e:this.T(so.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=zi.createElement(Vd(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Mn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Hd.get(e.strings);return r===void 0&&Hd.set(e.strings,r=new zi(e)),r}k(e){es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.O(Pi()),this.O(Pi()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=z}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=lo(this,e,r,0),s=!Ii(e)||e!==this._$AH&&e!==st,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=lo(this,l[o+d],r,d),f===st&&(f=this._$AH[d]),s||=!Ii(f)||f!==this._$AH[d],f===z?e=z:e!==z&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Nn=class extends co{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===z?void 0:e}},Pn=class extends co{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},In=class extends co{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=lo(this,e,r,0)??z)===st)return;let o=this._$AH,n=e===z&&o!==z||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==z&&(o===z||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){lo(this,e)}},is={M:Qa,P:br,A:Ja,C:1,L:jd,R:Mn,D:Gd,V:lo,I:Go,H:co,N:Pn,U:In,B:Nn,F:zn},mh=Xa.litHtmlPolyfillSupport;mh?.(zi,Go),(Xa.litHtmlVersions??=[]).push("3.3.0");var ns=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Go(e.insertBefore(Pi(),a),a,void 0,r??{})}return n._$AI(t),n};var as=globalThis,Ht=class extends Qt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ns(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return st}};Ht._$litElement$=!0,Ht.finalized=!0,as.litElementHydrateSupport?.({LitElement:Ht});var gh=as.litElementPolyfillSupport;gh?.({LitElement:Ht});var yh={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(as.litElementVersions??=[]).push("4.2.0");var a7=!1;var fs={};ne(fs,{customElement:()=>bh,eventOptions:()=>xh,property:()=>g,query:()=>F,queryAll:()=>ls,queryAssignedElements:()=>cs,queryAssignedNodes:()=>ds,queryAsync:()=>Ch,standardProperty:()=>Kd,state:()=>B});var bh=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var vh={attribute:!0,type:String,converter:Ho,reflect:!1,hasChanged:Mi},Kd=(t=vh,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function g(t){return(e,r)=>typeof r=="object"?Kd(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function B(t){return g({...t,state:!0,attribute:!1})}function xh(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Gt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function F(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Gt(r,o,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Gt(r,o,{get(){return a(this)}})}}var Sh;function ls(t){return(e,r)=>Gt(e,r,{get(){return(this.renderRoot??(Sh??=document.createDocumentFragment())).querySelectorAll(t)}})}function Ch(t){return(e,r)=>Gt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function cs(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function ds(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Gt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var us={};ne(us,{repeat:()=>_e});var Jt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Wt=t=>(...e)=>({_$litDirective$:t,values:e}),Tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Oh}=is;var Zd=t=>t.strings===void 0,qd=()=>document.createComment(""),Wo=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(qd(),n),s=o.insertBefore(qd(),n);r=new Oh(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;o.insertBefore(d,n),d=f}}}return r},Tr=(t,e,r=t)=>(t._$AI(e,r),t),Eh={},Yd=(t,e=Eh)=>t._$AH=e,Xd=t=>t._$AH,$n=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Qd=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},_e=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=Xd(t),{values:a,keys:s}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,p,h=0,y=n.length-1,C=0,E=a.length-1;for(;h<=y&&C<=E;)if(n[h]===null)h++;else if(n[y]===null)y--;else if(l[h]===s[C])d[C]=Tr(n[h],a[C]),h++,C++;else if(l[y]===s[E])d[E]=Tr(n[y],a[E]),y--,E--;else if(l[h]===s[E])d[E]=Tr(n[h],a[E]),Wo(t,d[E+1],n[h]),h++,E--;else if(l[y]===s[C])d[C]=Tr(n[y],a[C]),Wo(t,n[h],n[y]),y--,C++;else if(f===void 0&&(f=Qd(s,C,E),p=Qd(l,h,y)),f.has(l[h]))if(f.has(l[y])){let _=p.get(s[C]),N=_!==void 0?n[_]:null;if(N===null){let I=Wo(t,n[h]);Tr(I,a[C]),d[C]=I}else d[C]=Tr(N,a[C]),Wo(t,n[h],N),n[_]=null;C++}else $n(n[y]),y--;else $n(n[h]),h++;for(;C<=E;){let _=Wo(t,d[E+1]);Tr(_,a[C]),d[C++]=_}for(;h<=y;){let _=n[h++];_!==null&&$n(_)}return this.ut=s,Yd(t,d),st}});var ps={};ne(ps,{classMap:()=>ae});var ae=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return st}});var hs={};ne(hs,{styleMap:()=>Ah});var Jd="important",Lh=" !"+Jd,Ah=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let a=typeof n=="string"&&n.endsWith(Lh);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?Jd:""):r[o]=n}}return st}});var ms={};ne(ms,{UnsafeHTMLDirective:()=>Vo,unsafeHTML:()=>$i});var Vo=class extends Tt{constructor(e){if(super(e),this.it=z,e.type!==Jt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this._t=void 0,this.it=e;if(e===st)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Vo.directiveName="unsafeHTML",Vo.resultType=1;var $i=Wt(Vo);var Es={};ne(Es,{CacheRegistry:()=>tr,ClearCacheEvent:()=>Fi});var gs={};ne(gs,{CancelablePromise:()=>Dn,CanceledPromiseError:()=>Mr,cancelable:()=>Bn});var Mr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Dn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Mr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Mr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Bn=t=>new Dn((e,r)=>t.then(e).catch(r));var Os={};ne(Os,{FtNotificationEvent:()=>Bi,PostResizeEvent:()=>Cs,PreResizeEvent:()=>Ss,WithEventBus:()=>vr,withEventBus:()=>Un});var xs={};ne(xs,{applyMixinOnce:()=>He,dateReviver:()=>Rh,deepCopy:()=>fo,deepEqual:()=>Ue,delay:()=>Fn,eventPathContainsMatchingElement:()=>ys,everyDeep:()=>wh,flatDeep:()=>xt,forEachDeep:()=>ef,getComposedPathTo:()=>vs,hasChanged:()=>St,last:()=>bs,minmax:()=>Nr,parseDate:()=>rf,randomId:()=>kh,someDeep:()=>tf,unslotText:()=>er,waitFor:()=>jo,waitUntil:()=>Di});var Fn=t=>new Promise(e=>setTimeout(e,t));async function Di(t,e=10,r=2e4){await jo(async()=>await t()||void 0,e,r)}async function jo(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await Fn(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function xt(t,e){return t.flatMap(r=>[r,...xt(e(r),e)])}function ef(t,e,r){let o=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&o(e(d),[...a,d])))return!1}return!0};o(t,[])}function tf(t,e,r){let o=!1;return ef(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function wh(t,e,r){return!tf(t,e,(o,n,a,s)=>!r(o,n,a,s))}function Rh(...t){return(e,r)=>t.includes(e)?rf(r):r}function rf(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function _h(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Ue(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Ue(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){let s=n[o];if(!Ue(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ue(t,e){try{return _h(t,e)}catch{return!1}}function St(t,e){return!Ue(t,e)}function ys(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function Nr(t,e,r){return Math.min(Math.max(t,e),r)}function bs(t){return t[t.length-1]}function er(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>er(e)).join(""):t?.textContent||""}function vs(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function fo(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function kh(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function He(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}var Bi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ss=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Cs=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Un=He(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),vr=class extends Un(Object){};var Fi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},tr=class extends vr{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Fi(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Fi([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:o,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Bn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var _s={};ne(_s,{ClusteringHelper:()=>Rs,formatHierarchicalValues:()=>ws});var As={};ne(As,{accessBreadcrumb:()=>Nh,accessResult:()=>Ls,accessResultId:()=>Th,accessResultUrl:()=>Mh});function Ls(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function Th(t){var e,r,o,n,a,s,l,d,f;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Mh(t){var e,r,o,n,a,s,l,d,f;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Nh(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function ws(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Rs=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=Ls(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,o)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(ws(l)),s.push(ws(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(h=>h??{key:e,label:f,value:void 0,displayValue:o}).filter(h=>h.value!=d?.value).filter((h,y,C)=>C.findIndex(E=>E.value===h.value)===y).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,y)=>this.compareMetadata(h.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}};var ks={};ne(ks,{Debouncer:()=>me});var me=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);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 Ts={};ne(Ts,{customElement:()=>j,dateProperty:()=>Ih,isNumber:()=>of,jsonProperty:()=>Me,numberProperty:()=>Pr,optionalNumberProperty:()=>Ph});var j=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Me(t,e){let r=()=>JSON.parse(JSON.stringify(t));return g({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:St,...e??{}})}function Ph(t){return Pr(t)}function Pr(t){return g({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(o=t?.max)!==null&&o!==void 0?o:1/0;return of(e)?Nr(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function of(t){return!isNaN(parseFloat(t))}function Ih(t){return g({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var qs={};ne(qs,{designSystemVariables:()=>T});var Ks={};ne(Ks,{DesignSystemFamily:()=>Ge,DesignSystemSize:()=>Xe,FtCssVariableFactory:()=>i,badge:()=>Uh,banner:()=>Fh,button:()=>S,chart:()=>r4,checkbox:()=>Z,chip:()=>Q,chipChoice:()=>Bh,collapsible:()=>e4,comboboxMultiSelect:()=>Jh,comboboxSingleSelect:()=>Qh,dateRangePicker:()=>c4,drawer:()=>Kh,floatingMenu:()=>Xh,foundation:()=>c,link:()=>ze,modal:()=>jh,notice:()=>i4,notification:()=>a4,pageDesigner:()=>o4,pageFooter:()=>Wh,pageHeader:()=>Gh,pageLayout:()=>Vh,popover:()=>Ye,radio:()=>de,reorderableList:()=>l4,resolveFamilyClass:()=>Vs,resolveSizeClass:()=>js,semantic:()=>u,setVariable:()=>v,switch_:()=>t4,table:()=>Dh,tabs:()=>qh,textArea:()=>Yh,textInput:()=>Zh,titleBreadcrumb:()=>Hh,toggle:()=>n4,tooltip:()=>s4,treeList:()=>$h,typographies:()=>Hn,typographyBody1Medium:()=>$s,typographyBody1Regular:()=>zs,typographyBody1Semibold:()=>Ds,typographyBody2Medium:()=>uo,typographyBody2MediumUnderline:()=>nf,typographyBody2Regular:()=>Bs,typographyBody2Semibold:()=>Fs,typographyCaption1Medium:()=>Us,typographyCaption1Semibold:()=>Hs,typographyCaption2Bold:()=>Ws,typographyCaption2Medium:()=>zr,typographyCaption2Semibold:()=>Gs,typographyDisplay:()=>Ms,typographyTitle1:()=>Ns,typographyTitle2:()=>Ps,typographyTitle3:()=>Is,typographyVariants:()=>zh});var Ir=t=>typeof t=="string"?Xt(t):t,i=class{static create(e,r,o,n){let a=l=>Ir(l??n),s=M`var(${Ir(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>v(s,l??a(n)),s.get=l=>M`var(${Ir(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=M`var(${Ir(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>v(s,l??a(n)),s.get=l=>M`var(${Ir(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.defaultCssValue(a),n=M`var(${Ir(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=a=>e.set(a),n.get=a=>M`var(${Ir(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(t,e){return Ir(`${t.name}: ${e}`)}var c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:i.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:i.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:i.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:i.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:i.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:i.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:i.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:i.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ms={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Ns={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ps={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Is={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},zs={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},$s={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ds={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Bs={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},uo={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},nf={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Fs={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Us={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Hs={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},zr={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Gs={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ws={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Hn={display:Ms,"title-1":Ns,"title-2":Ps,"title-3":Is,"body-1-regular":zs,"body-1-medium":$s,"body-1-semibold":Ds,"body-2-regular":Bs,"body-2-medium":uo,"body-2-medium-underline":nf,"body-2-semibold":Fs,"caption-1-medium":Us,"caption-1-semibold":Hs,"caption-2-medium":zr,"caption-2-semibold":Gs,"caption-2-bold":Ws},zh=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var S={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var $h={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Z={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:i.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var de={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Dh={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Bh={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Q={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var ze={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Fh={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Uh={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Hh={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Gh={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Wh={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Vh={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var jh={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Kh={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var qh={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Zh={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Yh={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:i.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Xh={height:i.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Qh={largeFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:i.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:i.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Jh={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:i.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:i.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:i.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:i.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:i.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:i.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Ye={backgroundColor:i.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:i.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var e4={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var t4={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var r4={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:i.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var o4={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var i4={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")};var n4={offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)};var a4={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)};var s4={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)};var l4={verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var c4={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Ge;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ge||(Ge={}));var Xe;(function(t){t.large="large",t.medium="medium",t.small="small"})(Xe||(Xe={}));function Vs(t){return`ftds--family-${t}`}function js(t){return`ftds--size-${t}`}var T={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.create("--ft-elevation-00","","SHADOW","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:i.create("--ft-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)"),elevation02:i.create("--ft-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)"),elevation03:i.create("--ft-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)"),elevation04:i.create("--ft-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)"),elevation06:i.create("--ft-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)"),elevation08:i.create("--ft-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)"),elevation12:i.create("--ft-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)"),elevation16:i.create("--ft-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)"),elevation24:i.create("--ft-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)"),borderRadiusS:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Zs={};ne(Zs,{DynamicImporter:()=>Gn,dynamicImporter:()=>d4});var Gn=class{async import(e){if(e)return import(e)}},d4=new Gn;var cl={};ne(cl,{computeOffsetAutoPosition:()=>Vi,computeOffsetPosition:()=>ll});var sf=["top","right","bottom","left"],af=["start","end"],Xs=sf.reduce((t,e)=>t.concat(e,e+"-"+af[0],e+"-"+af[1]),[]),po=Math.min,ht=Math.max,Ui=Math.round;var Vt=t=>({x:t,y:t}),f4={left:"right",right:"left",bottom:"top",top:"bottom"};function Qs(t,e,r){return ht(t,po(e,r))}function Ko(t,e){return typeof t=="function"?t(e):t}function $r(t){return t.split("-")[0]}function rr(t){return t.split("-")[1]}function Js(t){return t==="x"?"y":"x"}function el(t){return t==="y"?"height":"width"}function qo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function tl(t){return Js(qo(t))}function lf(t,e,r){r===void 0&&(r=!1);let o=rr(t),n=tl(t),a=el(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ys(s)),[s,Ys(s)]}function cf(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ys(t){let e=$r(t);return f4[e]+t.slice(e.length)}function u4(t){return{top:0,right:0,bottom:0,left:0,...t}}function df(t){return typeof t!="number"?u4(t):{top:t,right:t,bottom:t,left:t}}function ho(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function ff(t,e,r){let{reference:o,floating:n}=t,a=qo(e),s=tl(e),l=el(s),d=$r(e),f=a==="y",p=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,y=o[l]/2-n[l]/2,C;switch(d){case"top":C={x:p,y:o.y-n.height};break;case"bottom":C={x:p,y:o.y+o.height};break;case"right":C={x:o.x+o.width,y:h};break;case"left":C={x:o.x-n.width,y:h};break;default:C={x:o.x,y:o.y}}switch(rr(e)){case"start":C[s]-=y*(r&&f?-1:1);break;case"end":C[s]+=y*(r&&f?-1:1);break}return C}async function uf(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:y=!1,padding:C=0}=Ko(e,t),E=df(C),N=l[y?h==="floating"?"reference":"floating":h],I=ho(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:p,strategy:d})),$=h==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),L=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},k=ho(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:$,offsetParent:A,strategy:d}):$);return{top:(I.top-k.top+E.top)/L.y,bottom:(k.bottom-I.bottom+E.bottom)/L.y,left:(I.left-k.left+E.left)/L.x,right:(k.right-I.right+E.right)/L.x}}var p4=50,pf=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:uf},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:p,y:h}=ff(f,o,d),y=o,C=0,E={};for(let _=0;_<a.length;_++){let N=a[_];if(!N)continue;let{name:I,fn:$}=N,{x:A,y:L,data:k,reset:H}=await $({x:p,y:h,initialPlacement:o,placement:y,strategy:n,middlewareData:E,rects:f,platform:l,elements:{reference:t,floating:e}});p=A??p,h=L??h,E[I]={...E[I],...k},H&&C<p4&&(C++,typeof H=="object"&&(H.placement&&(y=H.placement),H.rects&&(f=H.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):H.rects),{x:p,y:h}=ff(f,y,d)),_=-1)}return{x:p,y:h,placement:y,strategy:n,middlewareData:E}};function h4(t,e,r){return(t?[...r.filter(n=>rr(n)===t),...r.filter(n=>rr(n)!==t)]:r.filter(n=>$r(n)===n)).filter(n=>t?rr(n)===t||(e?cf(n)!==n:!1):!0)}var hf=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:y=Xs,autoAlignment:C=!0,...E}=Ko(t,e),_=h!==void 0||y===Xs?h4(h||null,C,y):y,N=await d.detectOverflow(e,E),I=((r=s.autoPlacement)==null?void 0:r.index)||0,$=_[I];if($==null)return{};let A=lf($,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==$)return{reset:{placement:_[0]}};let L=[N[$r($)],N[A[0]],N[A[1]]],k=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:$,overflows:L}],H=_[I+1];if(H)return{data:{index:I+1,overflows:k},reset:{placement:H}};let X=k.map(q=>{let x=rr(q.placement);return[q.placement,x&&p?q.overflows.slice(0,2).reduce((w,V)=>w+V,0):q.overflows[0],q.overflows]}).sort((q,x)=>q[1]-x[1]),se=((n=X.filter(q=>q[2].slice(0,rr(q[0])?2:3).every(x=>x<=0))[0])==null?void 0:n[0])||X[0][0];return se!==l?{data:{index:I+1,overflows:k},reset:{placement:se}}:{}}}};var m4=new Set(["left","top"]);async function g4(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=$r(r),l=rr(r),d=qo(r)==="y",f=m4.has(s)?-1:1,p=a&&d?-1:1,h=Ko(e,t),{mainAxis:y,crossAxis:C,alignmentAxis:E}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof E=="number"&&(C=l==="end"?E*-1:E),d?{x:C*p,y:y*f}:{x:y*f,y:C*p}}var mf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await g4(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},gf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:I=>{let{x:$,y:A}=I;return{x:$,y:A}}},...f}=Ko(t,e),p={x:r,y:o},h=await a.detectOverflow(e,f),y=qo($r(n)),C=Js(y),E=p[C],_=p[y];if(s){let I=C==="y"?"top":"left",$=C==="y"?"bottom":"right",A=E+h[I],L=E-h[$];E=Qs(A,E,L)}if(l){let I=y==="y"?"top":"left",$=y==="y"?"bottom":"right",A=_+h[I],L=_-h[$];_=Qs(A,_,L)}let N=d.fn({...e,[C]:E,[y]:_});return{...N,data:{x:N.x-r,y:N.y-o,enabled:{[C]:s,[y]:l}}}}}};var yf=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Ko(t,e),p=await s.detectOverflow(e,f),h=$r(n),y=rr(n),C=qo(n)==="y",{width:E,height:_}=a.floating,N,I;h==="top"||h==="bottom"?(N=h,I=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(I=h,N=y==="end"?"top":"bottom");let $=_-p.top-p.bottom,A=E-p.left-p.right,L=po(_-p[N],$),k=po(E-p[I],A),H=!e.middlewareData.shift,X=L,le=k;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(le=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(X=$),H&&!y){let q=ht(p.left,0),x=ht(p.right,0),w=ht(p.top,0),V=ht(p.bottom,0);C?le=E-2*(q!==0||x!==0?q+x:ht(p.left,p.right)):X=_-2*(w!==0||V!==0?w+V:ht(p.top,p.bottom))}await d({...e,availableWidth:le,availableHeight:X});let se=await s.getDimensions(l.floating);return E!==se.width||_!==se.height?{reset:{rects:!0}}:{}}}};function Vn(){return typeof window<"u"}function go(t){return vf(t)?(t.nodeName||"").toLowerCase():"#document"}function mt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function or(t){var e;return(e=(vf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vf(t){return Vn()?t instanceof Node||t instanceof mt(t).Node:!1}function Mt(t){return Vn()?t instanceof Element||t instanceof mt(t).Element:!1}function ir(t){return Vn()?t instanceof HTMLElement||t instanceof mt(t).HTMLElement:!1}function bf(t){return!Vn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof mt(t).ShadowRoot}function Zo(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function xf(t){return/^(table|td|th)$/.test(go(t))}function Hi(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var y4=/transform|translate|scale|rotate|perspective|filter/,b4=/paint|layout|strict|content/,mo=t=>!!t&&t!=="none",rl;function jn(t){let e=Mt(t)?Nt(t):t;return mo(e.transform)||mo(e.translate)||mo(e.scale)||mo(e.rotate)||mo(e.perspective)||!Kn()&&(mo(e.backdropFilter)||mo(e.filter))||y4.test(e.willChange||"")||b4.test(e.contain||"")}function Sf(t){let e=xr(t);for(;ir(e)&&!yo(e);){if(jn(e))return e;if(Hi(e))return null;e=xr(e)}return null}function Kn(){return rl==null&&(rl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),rl}function yo(t){return/^(html|body|#document)$/.test(go(t))}function Nt(t){return mt(t).getComputedStyle(t)}function Gi(t){return Mt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function xr(t){if(go(t)==="html")return t;let e=t.assignedSlot||t.parentNode||bf(t)&&t.host||or(t);return bf(e)?e.host:e}function Cf(t){let e=xr(t);return yo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ir(e)&&Zo(e)?e:Cf(e)}function Wn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Cf(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=mt(n);if(a){let l=qn(s);return e.concat(s,s.visualViewport||[],Zo(n)?n:[],l&&r?Wn(l):[])}else return e.concat(n,Wn(n,[],r))}function qn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Af(t){let e=Nt(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=ir(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Ui(r)!==a||Ui(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function wf(t){return Mt(t)?t:t.contextElement}function Yo(t){let e=wf(t);if(!ir(e))return Vt(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=Af(e),s=(a?Ui(r.width):r.width)/o,l=(a?Ui(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var v4=Vt(0);function Rf(t){let e=mt(t);return!Kn()||!e.visualViewport?v4:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function x4(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==mt(t)?!1:e}function Wi(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=wf(t),s=Vt(1);e&&(o?Mt(o)&&(s=Yo(o)):s=Yo(t));let l=x4(a,r,o)?Rf(a):Vt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,p=n.width/s.x,h=n.height/s.y;if(a){let y=mt(a),C=o&&Mt(o)?mt(o):o,E=y,_=qn(E);for(;_&&o&&C!==E;){let N=Yo(_),I=_.getBoundingClientRect(),$=Nt(_),A=I.left+(_.clientLeft+parseFloat($.paddingLeft))*N.x,L=I.top+(_.clientTop+parseFloat($.paddingTop))*N.y;d*=N.x,f*=N.y,p*=N.x,h*=N.y,d+=A,f+=L,E=mt(_),_=qn(E)}}return ho({width:p,height:h,x:d,y:f})}function Zn(t,e){let r=Gi(t).scrollLeft;return e?e.left+r:Wi(or(t)).left+r}function _f(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Zn(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function S4(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=or(o),l=e?Hi(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=Vt(1),p=Vt(0),h=ir(o);if((h||!h&&!a)&&((go(o)!=="body"||Zo(s))&&(d=Gi(o)),h)){let C=Wi(o);f=Yo(o),p.x=C.x+o.clientLeft,p.y=C.y+o.clientTop}let y=s&&!h&&!a?_f(s,d):Vt(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+p.x+y.x,y:r.y*f.y-d.scrollTop*f.y+p.y+y.y}}function C4(t){return Array.from(t.getClientRects())}function O4(t){let e=or(t),r=Gi(t),o=t.ownerDocument.body,n=ht(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=ht(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Zn(t),l=-r.scrollTop;return Nt(o).direction==="rtl"&&(s+=ht(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}var Of=25;function E4(t,e){let r=mt(t),o=or(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=Kn();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let f=Zn(o);if(f<=0){let p=o.ownerDocument,h=p.body,y=getComputedStyle(h),C=p.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,E=Math.abs(o.clientWidth-h.clientWidth-C);E<=Of&&(a-=E)}else f<=Of&&(a+=f);return{width:a,height:s,x:l,y:d}}function L4(t,e){let r=Wi(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=ir(t)?Yo(t):Vt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=o*a.y;return{width:s,height:l,x:d,y:f}}function Ef(t,e,r){let o;if(e==="viewport")o=E4(t,r);else if(e==="document")o=O4(or(t));else if(Mt(e))o=L4(e,r);else{let n=Rf(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ho(o)}function kf(t,e){let r=xr(t);return r===e||!Mt(r)||yo(r)?!1:Nt(r).position==="fixed"||kf(r,e)}function A4(t,e){let r=e.get(t);if(r)return r;let o=Wn(t,[],!1).filter(l=>Mt(l)&&go(l)!=="body"),n=null,a=Nt(t).position==="fixed",s=a?xr(t):t;for(;Mt(s)&&!yo(s);){let l=Nt(s),d=jn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Zo(s)&&!d&&kf(t,s))?o=o.filter(p=>p!==s):n=l,s=xr(s)}return e.set(t,o),o}function w4(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?Hi(e)?[]:A4(e,this._c):[].concat(r),o],l=Ef(e,s[0],n),d=l.top,f=l.right,p=l.bottom,h=l.left;for(let y=1;y<s.length;y++){let C=Ef(e,s[y],n);d=ht(C.top,d),f=po(C.right,f),p=po(C.bottom,p),h=ht(C.left,h)}return{width:f-h,height:p-d,x:h,y:d}}function R4(t){let{width:e,height:r}=Af(t);return{width:e,height:r}}function _4(t,e,r){let o=ir(e),n=or(e),a=r==="fixed",s=Wi(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Vt(0);function f(){d.x=Zn(n)}if(o||!o&&!a)if((go(e)!=="body"||Zo(n))&&(l=Gi(e)),o){let C=Wi(e,!0,a,e);d.x=C.x+e.clientLeft,d.y=C.y+e.clientTop}else n&&f();a&&!o&&n&&f();let p=n&&!o&&!a?_f(n,l):Vt(0),h=s.left+l.scrollLeft-d.x-p.x,y=s.top+l.scrollTop-d.y-p.y;return{x:h,y,width:s.width,height:s.height}}function ol(t){return Nt(t).position==="static"}function Lf(t,e){if(!ir(t)||Nt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return or(t)===r&&(r=r.ownerDocument.body),r}function Tf(t,e){let r=mt(t);if(Hi(t))return r;if(!ir(t)){let n=xr(t);for(;n&&!yo(n);){if(Mt(n)&&!ol(n))return n;n=xr(n)}return r}let o=Lf(t,e);for(;o&&xf(o)&&ol(o);)o=Lf(o,e);return o&&yo(o)&&ol(o)&&!jn(o)?r:o||Sf(t)||r}var k4=async function(t){let e=this.getOffsetParent||Tf,r=this.getDimensions,o=await r(t.floating);return{reference:_4(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function T4(t){return Nt(t).direction==="rtl"}var Xo={convertOffsetParentRelativeRectToViewportRelativeRect:S4,getDocumentElement:or,getClippingRect:w4,getOffsetParent:Tf,getElementRects:k4,getClientRects:C4,getDimensions:R4,getScale:Yo,isElement:Mt,isRTL:T4};var Mf=mf,il=hf,Nf=gf;var Pf=yf;var nl=(t,e,r)=>{let o=new Map,n={platform:Xo,...r},a={...n.platform,_c:o};return pf(t,e,{...n,platform:a})};function sl(t){return M4(t)}function al(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function M4(t){for(let e=t;e;e=al(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=al(t);e;e=al(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ll(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},nl(t,e,{strategy:o.strategy,platform:{...Xo,getOffsetParent:n=>Xo.getOffsetParent(n,sl)},middleware:[Nf({crossAxis:!0}),il({allowedPlacements:[o.placement]})]})}async function Vi(t,e,r,o,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,nl(t,e,{placement:l,strategy:n,platform:{...Xo,getOffsetParent:f=>Xo.getOffsetParent(f,sl)},middleware:[Mf(s??4),il({allowedPlacements:o}),Pf({apply({availableHeight:f,availableWidth:p,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var dl={};ne(dl,{isSlotEmptyOrWithoutContent:()=>ji});var ji=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0;var ml={};ne(ml,{FtdsBase:()=>vo,toFtdsBase:()=>Pt});var hl={};ne(hl,{ExportpartsUpdatedEvent:()=>bo,FtLitElement:()=>U});var fl={};ne(fl,{ScopedRegistryLitElement:()=>Ki});var Ki=class extends Ht{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return ki(o,e.elementStyles),o}};var pl={};ne(pl,{shadowQuerySelector:()=>ul,shadowQuerySelectorAll:()=>N4});function ul(t,e,...r){var o;let n=t.querySelector(e);for(let a of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(a);return n}function N4(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var Qo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Df,If=Symbol("constructorPrototype"),zf=Symbol("constructorName"),Bf=Symbol("exportpartsDebouncer"),$f=Symbol("dynamicDependenciesLoaded"),bo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};bo.eventName="exportparts-updated";var U=class extends Ki{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Df]=new me(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Bf].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[zf]=this.constructor.name,this[If]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zf]&&Object.setPrototypeOf(this,this[If])}connectedCallback(){var e;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 r=this.constructor;r[$f]||(r[$f]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(bo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(bo.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new bo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let a=[...n??[],o];r=ul(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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)}}setExportpartsAttribute(e){var r,o,n,a,s,l;let d=y=>y!=null&&y.trim().length>0,f=e.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let p=new Set;for(let y of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let C=(a=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],E=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],_=[...C,...E].filter(d).map(N=>N.trim());for(let N of _)p.add(N)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(y=>f.map(C=>`${y}:${C}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};Df=Bf;Qo([g()],U.prototype,"exportpartsPrefix",void 0);Qo([Me([])],U.prototype,"exportpartsPrefixes",void 0);Qo([g({reflect:!0})],U.prototype,"exportparts",void 0);Qo([g()],U.prototype,"customStylesheet",void 0);Qo([g()],U.prototype,"elementToFocus",void 0);Qo([B()],U.prototype,"useAdoptedStyleSheets",void 0);var Ff=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pt=He(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Xe.medium,this.family=Ge.neutral}getDesignSystemBaseClasses(){return{[Vs(this.family)]:!0,[js(this.size)]:!0}}}return Ff([g()],e.prototype,"size",void 0),Ff([g()],e.prototype,"family",void 0),e}),vo=class extends Pt(U){};var Uf={};var bl={};ne(bl,{highlightHtml:()=>yl,highlightHtmlColorCssVariable:()=>Hf,highlightHtmlStyles:()=>I4});var xo=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,p=>{r(f)&&(l++,o(p)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===o&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],d=[],f,p,h=()=>({prevNode:p,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,p,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var qi=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new xo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=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"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return xo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let f=r-s.start,p=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,p),e.value=h+y,e.nodes.forEach((C,E)=>{E>=l&&(e.nodes[E].start>0&&E!==l&&(e.nodes[E].start-=p),e.nodes[E].end-=p)}),o-=p,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let p=f.index;if(s!==0)for(let h=1;h<s;h++)p+=f[h].length;d=this.wrapRangeInTextNode(d,p,p+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;let p=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,p,h=>o(d[s],h),(h,y)=>{e.lastIndex=y,n(h)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:p,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,p,y=>r(y,l,a.value.substring(f,p),d),y=>{o(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let p=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[n](p,1,(y,C)=>this.opt.filter(C,f,o,h),y=>{h++,o++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(o):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=xo.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function gl(t){let e=new qi(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var P4=gl,Hf=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),I4=M`
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Fd=/'/g,Ud=/"/g,Wd=/^(?:script|style|textarea|title)$/i,ts=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),O=ts(1),rs=ts(2),os=ts(3),st=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Hd=new WeakMap,ao=so.createTreeWalker(so,129);function Vd(t,e){if(!es(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $d!==void 0?$d.createHTML(e):e}var jd=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Ni;for(let l=0;l<r;l++){let d=t[l],f,p,h=-1,y=0;for(;y<d.length&&(s.lastIndex=y,p=s.exec(d),p!==null);)y=s.lastIndex,s===Ni?p[1]==="!--"?s=Dd:p[1]!==void 0?s=Bd:p[2]!==void 0?(Wd.test(p[2])&&(n=RegExp("</"+p[2],"g")),s=no):p[3]!==void 0&&(s=no):s===no?p[0]===">"?(s=n??Ni,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,f=p[1],s=p[3]===void 0?no:p[3]==='"'?Ud:Fd):s===Ud||s===Fd?s=no:s===Dd||s===Bd?s=Ni:(s=no,n=void 0);let C=s===no&&t[l+1].startsWith("/>")?" ":"";a+=s===Ni?d+hh:h>=0?(o.push(f),d.slice(0,h)+Qa+d.slice(h)+br+C):d+br+(h===-2?l:C)}return[Vd(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},zi=class t{constructor({strings:e,_$litType$:r},o){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,p]=jd(e,r);if(this.el=t.createElement(f,o),ao.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=ao.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Qa)){let y=p[s++],C=n.getAttribute(h).split(br),E=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:E[2],strings:C,ctor:E[1]==="."?Nn:E[1]==="?"?Pn:E[1]==="@"?In:co}),n.removeAttribute(h)}else h.startsWith(br)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(Wd.test(n.tagName)){let h=n.textContent.split(br),y=h.length-1;if(y>0){n.textContent=Tn?Tn.emptyScript:"";for(let C=0;C<y;C++)n.append(h[C],Pi()),ao.nextNode(),d.push({type:2,index:++a});n.append(h[y],Pi())}}}else if(n.nodeType===8)if(n.data===Ja)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(br,h+1))!==-1;)d.push({type:7,index:a}),h+=br.length-1}a++}}static createElement(e,r){let o=so.createElement("template");return o.innerHTML=e,o}};function lo(t,e,r=t,o){if(e===st)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Ii(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=n:r._$Cl=n),n!==void 0&&(e=lo(t,n._$AS(t,e.values),n,o)),e}var Mn=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,n=(e?.creationScope??so).importNode(r,!0);ao.currentNode=n;let a=ao.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Go(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new zn(a,this,e)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(a=ao.nextNode(),s++)}return ao.currentNode=so,n}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Go=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=lo(this,e,r),Ii(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==st&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Gd(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==z&&Ii(this._$AH)?this._$AA.nextSibling.data=e:this.T(so.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:o}=e,n=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=zi.createElement(Vd(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Mn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Hd.get(e.strings);return r===void 0&&Hd.set(e.strings,r=new zi(e)),r}k(e){es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,n=0;for(let a of e)n===r.length?r.push(o=new t(this.O(Pi()),this.O(Pi()),this,this.options)):o=r[n],o._$AI(a),n++;n<r.length&&(this._$AR(o&&o._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=z}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=lo(this,e,r,0),s=!Ii(e)||e!==this._$AH&&e!==st,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=lo(this,l[o+d],r,d),f===st&&(f=this._$AH[d]),s||=!Ii(f)||f!==this._$AH[d],f===z?e=z:e!==z&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Nn=class extends co{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===z?void 0:e}},Pn=class extends co{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},In=class extends co{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=lo(this,e,r,0)??z)===st)return;let o=this._$AH,n=e===z&&o!==z||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==z&&(o===z||n);n&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zn=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){lo(this,e)}},is={M:Qa,P:br,A:Ja,C:1,L:jd,R:Mn,D:Gd,V:lo,I:Go,H:co,N:Pn,U:In,B:Nn,F:zn},mh=Xa.litHtmlPolyfillSupport;mh?.(zi,Go),(Xa.litHtmlVersions??=[]).push("3.3.0");var ns=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Go(e.insertBefore(Pi(),a),a,void 0,r??{})}return n._$AI(t),n};var as=globalThis,Ht=class extends Qt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ns(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return st}};Ht._$litElement$=!0,Ht.finalized=!0,as.litElementHydrateSupport?.({LitElement:Ht});var gh=as.litElementPolyfillSupport;gh?.({LitElement:Ht});var yh={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(as.litElementVersions??=[]).push("4.2.0");var a7=!1;var fs={};ne(fs,{customElement:()=>bh,eventOptions:()=>xh,property:()=>g,query:()=>F,queryAll:()=>ls,queryAssignedElements:()=>cs,queryAssignedNodes:()=>ds,queryAsync:()=>Ch,standardProperty:()=>Kd,state:()=>B});var bh=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var vh={attribute:!0,type:String,converter:Ho,reflect:!1,hasChanged:Mi},Kd=(t=vh,e,r)=>{let{kind:o,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),o==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(o==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+o)};function g(t){return(e,r)=>typeof r=="object"?Kd(t,e,r):((o,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,o),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function B(t){return g({...t,state:!0,attribute:!1})}function xh(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Gt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function F(t,e){return(r,o,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return Gt(r,o,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Gt(r,o,{get(){return a(this)}})}}var Sh;function ls(t){return(e,r)=>Gt(e,r,{get(){return(this.renderRoot??(Sh??=document.createDocumentFragment())).querySelectorAll(t)}})}function Ch(t){return(e,r)=>Gt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function cs(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gt(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function ds(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Gt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var us={};ne(us,{repeat:()=>_e});var Jt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Wt=t=>(...e)=>({_$litDirective$:t,values:e}),Tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Oh}=is;var Zd=t=>t.strings===void 0,qd=()=>document.createComment(""),Wo=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(qd(),n),s=o.insertBefore(qd(),n);r=new Oh(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;o.insertBefore(d,n),d=f}}}return r},Tr=(t,e,r=t)=>(t._$AI(e,r),t),Eh={},Yd=(t,e=Eh)=>t._$AH=e,Xd=t=>t._$AH,$n=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var Qd=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},_e=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let n=[],a=[],s=0;for(let l of t)n[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,o]){let n=Xd(t),{values:a,keys:s}=this.dt(e,r,o);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,p,h=0,y=n.length-1,C=0,E=a.length-1;for(;h<=y&&C<=E;)if(n[h]===null)h++;else if(n[y]===null)y--;else if(l[h]===s[C])d[C]=Tr(n[h],a[C]),h++,C++;else if(l[y]===s[E])d[E]=Tr(n[y],a[E]),y--,E--;else if(l[h]===s[E])d[E]=Tr(n[h],a[E]),Wo(t,d[E+1],n[h]),h++,E--;else if(l[y]===s[C])d[C]=Tr(n[y],a[C]),Wo(t,n[h],n[y]),y--,C++;else if(f===void 0&&(f=Qd(s,C,E),p=Qd(l,h,y)),f.has(l[h]))if(f.has(l[y])){let _=p.get(s[C]),N=_!==void 0?n[_]:null;if(N===null){let I=Wo(t,n[h]);Tr(I,a[C]),d[C]=I}else d[C]=Tr(N,a[C]),Wo(t,n[h],N),n[_]=null;C++}else $n(n[y]),y--;else $n(n[h]),h++;for(;C<=E;){let _=Wo(t,d[E+1]);Tr(_,a[C]),d[C++]=_}for(;h<=y;){let _=n[h++];_!==null&&$n(_)}return this.ut=s,Yd(t,d),st}});var ps={};ne(ps,{classMap:()=>ae});var ae=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.st)o in e||(r.remove(o),this.st.delete(o));for(let o in e){let n=!!e[o];n===this.st.has(o)||this.nt?.has(o)||(n?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return st}});var hs={};ne(hs,{styleMap:()=>Ah});var Jd="important",Lh=" !"+Jd,Ah=Wt(class extends Tt{constructor(t){if(super(t),t.type!==Jt.ATTRIBUTE||t.name!=="style"||t.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(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let o of this.ft)e[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let n=e[o];if(n!=null){this.ft.add(o);let a=typeof n=="string"&&n.endsWith(Lh);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?Jd:""):r[o]=n}}return st}});var ms={};ne(ms,{UnsafeHTMLDirective:()=>Vo,unsafeHTML:()=>$i});var Vo=class extends Tt{constructor(e){if(super(e),this.it=z,e.type!==Jt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this._t=void 0,this.it=e;if(e===st)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Vo.directiveName="unsafeHTML",Vo.resultType=1;var $i=Wt(Vo);var Es={};ne(Es,{CacheRegistry:()=>tr,ClearCacheEvent:()=>Fi});var gs={};ne(gs,{CancelablePromise:()=>Dn,CanceledPromiseError:()=>Mr,cancelable:()=>Bn});var Mr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Dn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Mr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Mr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Bn=t=>new Dn((e,r)=>t.then(e).catch(r));var Os={};ne(Os,{FtNotificationEvent:()=>Bi,PostResizeEvent:()=>Cs,PreResizeEvent:()=>Ss,WithEventBus:()=>vr,withEventBus:()=>Un});var xs={};ne(xs,{applyMixinOnce:()=>Ge,dateReviver:()=>Rh,deepCopy:()=>fo,deepEqual:()=>He,delay:()=>Fn,eventPathContainsMatchingElement:()=>ys,everyDeep:()=>wh,flatDeep:()=>xt,forEachDeep:()=>ef,getComposedPathTo:()=>vs,hasChanged:()=>St,last:()=>bs,minmax:()=>Nr,parseDate:()=>rf,randomId:()=>kh,someDeep:()=>tf,unslotText:()=>er,waitFor:()=>jo,waitUntil:()=>Di});var Fn=t=>new Promise(e=>setTimeout(e,t));async function Di(t,e=10,r=2e4){await jo(async()=>await t()||void 0,e,r)}async function jo(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await Fn(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function xt(t,e){return t.flatMap(r=>[r,...xt(e(r),e)])}function ef(t,e,r){let o=(n,a)=>{var s;for(let l=0;l<n.length;l++){let d=n[l];if(!(((s=r(d,l,n,a))!==null&&s!==void 0?s:!0)&&o(e(d),[...a,d])))return!1}return!0};o(t,[])}function tf(t,e,r){let o=!1;return ef(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function wh(t,e,r){return!tf(t,e,(o,n,a,s)=>!r(o,n,a,s))}function Rh(...t){return(e,r)=>t.includes(e)?rf(r):r}function rf(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,n)=>r+o+":"+n),new Date(t)}function _h(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,o,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!He(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!He(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[o]))return!1;for(o=r;o--!==0;){let s=n[o];if(!He(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function He(t,e){try{return _h(t,e)}catch{return!1}}function St(t,e){return!He(t,e)}function ys(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let n of o){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function Nr(t,e,r){return Math.min(Math.max(t,e),r)}function bs(t){return t[t.length-1]}function er(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>er(e)).join(""):t?.textContent||""}function vs(t){let e=[],r=o=>{o.stopPropagation(),e=o.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function fo(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function kh(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Ge(t,e){let r=o=>o[t]===!0;return o=>{if(r(o))return o;let n=e(o);return n[t]=!0,n}}var Bi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ss=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Cs=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Un=Ge(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,o,n){this.eventBus.addEventListener(r,o,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,o,n){this.eventBus.removeEventListener(r,o,n)}}}),vr=class extends Un(Object){};var Fi=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},tr=class extends vr{constructor(){super(...arguments),this.content={}}register(e,r,o=!1){var n;let a=this.content[e],s=(n=a?.status)!==null&&n!==void 0?n:"REGISTERED";this.content[e]={...a,loader:r,final:o,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let o=Object.keys(this.content).filter(e).filter(n=>this.clear(n,!1)!=null);return r&&o.length>0&&this.dispatchEvent(new Fi(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Fi([e])),e}forceClear(e){var r;let o=this.content[e];o&&(this.clearClearTimeout(e),(r=o.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:o.loader,final:o.final,status:"REGISTERED"})}clearClearTimeout(e){var r,o,n;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout),(n=this.content[e])===null||n===void 0||delete n.clearTimeout)}set(e,r,o=!1){this.forceClear(e);let n=async()=>r,a="RESOLVED";this.content[e]={loader:n,final:o,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,o){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let n=this.content[e];switch(n.status){case"ERROR":throw n.error;case"LOADING":return n.promise;case"RESOLVED":return n.value;case"REGISTERED":return r=r??n.loader,n.status="LOADING",n.promise=Bn(r()),n.promise.then(a=>(n.status="RESOLVED",n.value=a,o!=null&&(this.clearClearTimeout(e),n.clearTimeout=window.setTimeout(()=>this.clear(e),o)),a)).catch(a=>{var s;throw!((s=n.promise)===null||s===void 0)&&s.isCanceled||(n.status="ERROR",n.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,o;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((o=this.content[e])===null||o===void 0?void 0:o.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var _s={};ne(_s,{ClusteringHelper:()=>Rs,formatHierarchicalValues:()=>ws});var As={};ne(As,{accessBreadcrumb:()=>Nh,accessResult:()=>Ls,accessResultId:()=>Th,accessResultUrl:()=>Mh});function Ls(t){var e,r,o,n;return(n=(o=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&o!==void 0?o:t?.htmlPackage)!==null&&n!==void 0?n:t?.htmlPackagePage}function Th(t){var e,r,o,n,a,s,l,d,f;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.tocId)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.documentId)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.packageId)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.contentId}function Mh(t){var e,r,o,n,a,s,l,d,f;return(d=(s=(n=(r=(e=t?.map)===null||e===void 0?void 0:e.readerUrl)!==null&&r!==void 0?r:(o=t?.topic)===null||o===void 0?void 0:o.readerUrl)!==null&&n!==void 0?n:(a=t?.document)===null||a===void 0?void 0:a.viewerUrl)!==null&&s!==void 0?s:(l=t?.htmlPackage)===null||l===void 0?void 0:l.viewerUrl)!==null&&d!==void 0?d:(f=t?.htmlPackagePage)===null||f===void 0?void 0:f.viewerUrl}function Nh(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function ws(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Rs=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=Ls(e.result).metadata;return e.key==null?t.flattenMetadata(r,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(r.find(o=>o.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,o){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,o)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(ws(l)),s.push(ws(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>o?o(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,o="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(h=>t.extractResultMetadata({result:h,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(h=>h??{key:e,label:f,value:void 0,displayValue:o}).filter(h=>h.value!=d?.value).filter((h,y,C)=>C.findIndex(E=>E.value===h.value)===y).map(h=>({result:this.findBestResultForMetadataValue(e,h.value),metadata:h})).sort((h,y)=>this.compareMetadata(h.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,o,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of o){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(o=>r.some(n=>n.key===o.key&&n.value===o.value)).length}};var ks={};ne(ks,{Debouncer:()=>me});var me=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,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){n(l);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 Ts={};ne(Ts,{customElement:()=>j,dateProperty:()=>Ih,isNumber:()=>of,jsonProperty:()=>Me,numberProperty:()=>Pr,optionalNumberProperty:()=>Ph});var j=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Me(t,e){let r=()=>JSON.parse(JSON.stringify(t));return g({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:St,...e??{}})}function Ph(t){return Pr(t)}function Pr(t){return g({type:Object,converter:{fromAttribute:e=>{var r,o;if(e==null)return;let n=(r=t?.min)!==null&&r!==void 0?r:-1/0,a=(o=t?.max)!==null&&o!==void 0?o:1/0;return of(e)?Nr(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function of(t){return!isNaN(parseFloat(t))}function Ih(t){return g({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var qs={};ne(qs,{designSystemVariables:()=>T});var Ks={};ne(Ks,{DesignSystemFamily:()=>We,DesignSystemSize:()=>Xe,FtCssVariableFactory:()=>i,badge:()=>Uh,banner:()=>Fh,button:()=>S,chart:()=>r4,checkbox:()=>Z,chip:()=>Q,chipChoice:()=>Bh,collapsible:()=>e4,comboboxMultiSelect:()=>Jh,comboboxSingleSelect:()=>Qh,dateRangePicker:()=>c4,drawer:()=>Kh,floatingMenu:()=>Xh,foundation:()=>c,link:()=>ze,modal:()=>jh,notice:()=>i4,notification:()=>a4,pageDesigner:()=>o4,pageFooter:()=>Wh,pageHeader:()=>Gh,pageLayout:()=>Vh,popover:()=>$e,radio:()=>de,reorderableList:()=>l4,resolveFamilyClass:()=>Vs,resolveSizeClass:()=>js,semantic:()=>u,setVariable:()=>v,switch_:()=>t4,table:()=>Dh,tabs:()=>qh,textArea:()=>Yh,textInput:()=>Zh,titleBreadcrumb:()=>Hh,toggle:()=>n4,tooltip:()=>s4,treeList:()=>$h,typographies:()=>Hn,typographyBody1Medium:()=>$s,typographyBody1Regular:()=>zs,typographyBody1Semibold:()=>Ds,typographyBody2Medium:()=>uo,typographyBody2MediumUnderline:()=>nf,typographyBody2Regular:()=>Bs,typographyBody2Semibold:()=>Fs,typographyCaption1Medium:()=>Us,typographyCaption1Semibold:()=>Hs,typographyCaption2Bold:()=>Ws,typographyCaption2Medium:()=>zr,typographyCaption2Semibold:()=>Gs,typographyDisplay:()=>Ms,typographyTitle1:()=>Ns,typographyTitle2:()=>Ps,typographyTitle3:()=>Is,typographyVariants:()=>zh});var Ir=t=>typeof t=="string"?Xt(t):t,i=class{static create(e,r,o,n){let a=l=>Ir(l??n),s=M`var(${Ir(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>v(s,l??a(n)),s.get=l=>M`var(${Ir(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=M`var(${Ir(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>v(s,l??a(n)),s.get=l=>M`var(${Ir(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>n??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.defaultCssValue(a),n=M`var(${Ir(e.name)}, ${o(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=o,n.set=a=>e.set(a),n.get=a=>M`var(${Ir(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(t,e){return Ir(`${t.name}: ${e}`)}var c={colorWhite:i.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:i.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:i.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:i.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:i.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:i.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:i.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:i.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:i.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:i.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:i.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:i.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:i.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:i.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:i.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:i.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:i.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:i.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:i.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:i.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:i.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:i.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:i.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:i.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:i.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:i.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:i.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:i.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:i.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:i.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:i.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:i.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:i.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:i.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:i.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:i.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:i.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:i.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:i.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:i.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:i.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:i.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:i.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:i.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:i.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:i.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:i.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:i.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:i.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:i.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:i.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:i.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:i.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:i.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:i.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:i.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:i.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:i.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:i.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:i.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:i.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:i.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:i.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:i.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:i.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:i.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:i.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:i.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:i.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:i.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:i.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:i.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:i.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:i.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:i.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:i.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:i.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:i.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:i.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:i.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:i.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:i.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:i.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:i.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:i.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:i.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:i.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:i.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:i.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:i.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:i.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:i.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:i.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:i.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:i.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:i.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:i.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:i.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:i.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:i.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:i.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:i.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:i.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:i.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:i.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:i.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:i.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:i.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:i.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:i.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:i.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:i.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:i.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:i.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:i.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:i.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:i.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:i.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:i.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:i.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:i.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:i.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:i.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:i.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:i.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:i.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:i.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:i.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:i.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:i.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:i.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:i.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:i.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:i.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:i.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:i.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:i.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:i.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:i.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:i.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:i.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:i.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:i.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:i.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:i.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:i.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:i.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:i.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:i.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:i.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:i.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:i.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:i.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:i.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:i.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:i.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:i.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:i.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:i.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:i.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:i.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:i.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:i.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:i.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:i.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:i.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:i.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:i.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:i.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:i.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:i.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:i.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:i.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:i.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:i.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:i.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:i.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:i.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:i.create("--ftds-opacity-0","","NUMBER","0"),opacity8:i.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:i.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:i.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:i.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:i.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:i.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:i.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:i.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:i.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:i.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:i.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:i.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:i.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:i.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:i.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:i.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:i.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ms={fontFamily:i.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:i.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Ns={fontFamily:i.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:i.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Ps={fontFamily:i.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:i.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:i.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Is={fontFamily:i.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:i.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:i.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:i.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},zs={fontFamily:i.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},$s={fontFamily:i.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Ds={fontFamily:i.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:i.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Bs={fontFamily:i.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:i.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},uo={fontFamily:i.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},nf={fontFamily:i.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:i.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:i.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Fs={fontFamily:i.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:i.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:i.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:i.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:i.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Us={fontFamily:i.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Hs={fontFamily:i.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:i.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},zr={fontFamily:i.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:i.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Gs={fontFamily:i.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:i.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ws={fontFamily:i.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:i.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:i.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:i.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:i.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:i.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:i.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:i.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:i.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Hn={display:Ms,"title-1":Ns,"title-2":Ps,"title-3":Is,"body-1-regular":zs,"body-1-medium":$s,"body-1-semibold":Ds,"body-2-regular":Bs,"body-2-medium":uo,"body-2-medium-underline":nf,"body-2-semibold":Fs,"caption-1-medium":Us,"caption-1-semibold":Hs,"caption-2-medium":zr,"caption-2-semibold":Gs,"caption-2-bold":Ws},zh=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:i.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:i.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:i.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:i.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:i.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:i.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:i.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:i.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:i.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:i.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:i.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:i.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:i.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:i.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:i.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:i.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:i.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:i.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:i.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:i.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:i.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:i.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:i.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:i.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:i.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:i.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:i.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:i.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:i.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:i.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:i.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:i.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:i.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:i.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:i.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var S={largeHeight:i.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:i.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:i.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:i.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:i.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:i.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:i.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:i.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:i.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:i.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:i.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:i.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:i.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:i.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:i.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:i.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:i.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:i.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:i.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:i.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:i.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:i.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:i.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:i.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:i.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:i.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:i.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:i.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:i.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:i.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:i.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:i.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:i.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:i.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:i.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:i.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:i.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:i.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:i.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:i.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:i.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:i.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:i.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:i.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:i.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:i.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:i.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:i.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:i.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:i.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:i.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:i.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:i.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:i.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:i.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:i.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:i.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:i.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:i.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:i.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:i.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:i.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:i.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:i.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:i.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:i.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:i.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:i.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:i.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:i.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:i.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:i.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:i.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:i.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:i.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:i.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:i.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:i.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:i.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:i.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:i.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var $h={loadMoreIconSize:i.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:i.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:i.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:i.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:i.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:i.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:i.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:i.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:i.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:i.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:i.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:i.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:i.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:i.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:i.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:i.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:i.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:i.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:i.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:i.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:i.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:i.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:i.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:i.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:i.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:i.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:i.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:i.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:i.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:i.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:i.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:i.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Z={iconSize:i.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:i.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:i.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:i.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:i.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:i.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:i.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:i.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:i.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:i.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:i.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:i.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:i.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:i.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:i.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:i.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:i.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:i.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:i.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:i.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:i.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:i.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var de={circleSize:i.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:i.create("--ftds-radio-border-width","","SIZE","2px"),color:i.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:i.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:i.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:i.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:i.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:i.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:i.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:i.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:i.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:i.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:i.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:i.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:i.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:i.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Dh={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:i.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:i.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:i.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:i.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:i.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:i.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:i.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:i.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:i.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:i.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:i.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:i.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:i.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:i.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:i.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Bh={neutralOffHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:i.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:i.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:i.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:i.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:i.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:i.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:i.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:i.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:i.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var Q={largeMinHeight:i.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:i.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:i.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:i.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:i.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:i.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:i.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:i.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:i.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:i.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:i.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:i.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:i.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:i.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:i.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:i.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:i.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:i.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:i.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:i.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:i.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:i.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:i.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:i.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:i.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:i.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:i.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:i.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var ze={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Fh={iconSize:i.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:i.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:i.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:i.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:i.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:i.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:i.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:i.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:i.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:i.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Uh={horizontalPadding:i.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:i.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:i.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:i.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Hh={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Gh={parentHorizontalPadding:i.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:i.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:i.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:i.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:i.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:i.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:i.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:i.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:i.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:i.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:i.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:i.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:i.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:i.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:i.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:i.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:i.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:i.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:i.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:i.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:i.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:i.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:i.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:i.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Wh={horizontalPadding:i.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:i.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:i.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:i.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:i.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Vh={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var jh={smallContainerTargetWidth:i.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:i.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:i.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:i.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:i.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:i.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:i.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:i.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:i.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:i.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:i.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:i.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:i.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:i.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:i.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:i.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:i.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:i.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Kh={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:i.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:i.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:i.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:i.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:i.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:i.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:i.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:i.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:i.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:i.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:i.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:i.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:i.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:i.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:i.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:i.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:i.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:i.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:i.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var qh={offBorderBottomWidth:i.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:i.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:i.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:i.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:i.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:i.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:i.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:i.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:i.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:i.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:i.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:i.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:i.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:i.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:i.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:i.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:i.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:i.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:i.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:i.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Zh={largeFieldHorizontalPadding:i.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:i.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Yh={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:i.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:i.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:i.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:i.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:i.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Xh={height:i.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:i.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:i.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:i.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:i.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:i.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:i.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:i.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Qh={largeFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:i.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:i.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:i.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:i.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:i.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:i.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:i.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:i.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:i.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:i.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:i.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:i.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:i.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:i.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:i.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Jh={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:i.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:i.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:i.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:i.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:i.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:i.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:i.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:i.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:i.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:i.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:i.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:i.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:i.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:i.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var $e={backgroundColor:i.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:i.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:i.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:i.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:i.extend("--ftds-popover-gap","",c.spacing2),borderRadius:i.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:i.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:i.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:i.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var e4={hoverStateLayerOpacity:i.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:i.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:i.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:i.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:i.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:i.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:i.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:i.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:i.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var t4={groupHorizontalPadding:i.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:i.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:i.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:i.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:i.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:i.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:i.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:i.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:i.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:i.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:i.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:i.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:i.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:i.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:i.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:i.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:i.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:i.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:i.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var r4={color1Light:i.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:i.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:i.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:i.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:i.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:i.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:i.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:i.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:i.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:i.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:i.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:i.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:i.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:i.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:i.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:i.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:i.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:i.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:i.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:i.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:i.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:i.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:i.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:i.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:i.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:i.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:i.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:i.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:i.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:i.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var o4={color1IconColor:i.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:i.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:i.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:i.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:i.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:i.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:i.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:i.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:i.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:i.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:i.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:i.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:i.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:i.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:i.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:i.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var i4={borderWidth:i.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:i.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:i.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:i.extend("--ftds-notice-gap","",c.spacing2),iconSize:i.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:i.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:i.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:i.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:i.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:i.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:i.create("--ftds-notice-dense-border-width","","SIZE","0")};var n4={offHoverStateLayerOpacity:i.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:i.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:i.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:i.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:i.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:i.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:i.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:i.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:i.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:i.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:i.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)};var a4={iconSize:i.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:i.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:i.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:i.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:i.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:i.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:i.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:i.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:i.extend("--ftds-notification-trailing-gap","",c.spacing8)};var s4={horizontalPadding:i.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:i.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:i.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:i.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:i.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:i.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:i.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:i.extend("--ftds-tooltip-gap","",c.spacing05)};var l4={verticalPadding:i.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:i.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:i.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:i.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:i.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:i.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:i.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:i.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:i.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:i.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:i.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:i.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:i.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:i.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:i.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var c4={menuHorizontalPadding:i.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:i.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:i.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:i.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var We;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(We||(We={}));var Xe;(function(t){t.large="large",t.medium="medium",t.small="small"})(Xe||(Xe={}));function Vs(t){return`ftds--family-${t}`}function js(t){return`ftds--size-${t}`}var T={colorPrimary:i.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:i.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:i.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:i.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:i.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:i.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:i.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:i.create("--ft-color-warning","","COLOR","#B74706"),colorError:i.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:i.create("--ft-color-success","","COLOR","#187856"),colorOutline:i.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:i.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:i.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:i.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:i.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:i.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:i.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:i.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:i.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:i.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:i.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:i.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:i.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:i.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:i.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:i.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:i.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:i.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:i.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:i.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:i.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:i.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:i.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:i.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:i.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:i.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:i.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:i.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:i.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:i.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:i.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:i.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:i.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:i.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:i.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:i.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:i.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:i.create("--ft-elevation-00","","SHADOW","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:i.create("--ft-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)"),elevation02:i.create("--ft-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)"),elevation03:i.create("--ft-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)"),elevation04:i.create("--ft-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)"),elevation06:i.create("--ft-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)"),elevation08:i.create("--ft-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)"),elevation12:i.create("--ft-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)"),elevation16:i.create("--ft-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)"),elevation24:i.create("--ft-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)"),borderRadiusS:i.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:i.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:i.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:i.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:i.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:i.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:i.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:i.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Zs={};ne(Zs,{DynamicImporter:()=>Gn,dynamicImporter:()=>d4});var Gn=class{async import(e){if(e)return import(e)}},d4=new Gn;var cl={};ne(cl,{computeOffsetAutoPosition:()=>Vi,computeOffsetPosition:()=>ll});var sf=["top","right","bottom","left"],af=["start","end"],Xs=sf.reduce((t,e)=>t.concat(e,e+"-"+af[0],e+"-"+af[1]),[]),po=Math.min,ht=Math.max,Ui=Math.round;var Vt=t=>({x:t,y:t}),f4={left:"right",right:"left",bottom:"top",top:"bottom"};function Qs(t,e,r){return ht(t,po(e,r))}function Ko(t,e){return typeof t=="function"?t(e):t}function $r(t){return t.split("-")[0]}function rr(t){return t.split("-")[1]}function Js(t){return t==="x"?"y":"x"}function el(t){return t==="y"?"height":"width"}function qo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function tl(t){return Js(qo(t))}function lf(t,e,r){r===void 0&&(r=!1);let o=rr(t),n=tl(t),a=el(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ys(s)),[s,Ys(s)]}function cf(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ys(t){let e=$r(t);return f4[e]+t.slice(e.length)}function u4(t){return{top:0,right:0,bottom:0,left:0,...t}}function df(t){return typeof t!="number"?u4(t):{top:t,right:t,bottom:t,left:t}}function ho(t){let{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function ff(t,e,r){let{reference:o,floating:n}=t,a=qo(e),s=tl(e),l=el(s),d=$r(e),f=a==="y",p=o.x+o.width/2-n.width/2,h=o.y+o.height/2-n.height/2,y=o[l]/2-n[l]/2,C;switch(d){case"top":C={x:p,y:o.y-n.height};break;case"bottom":C={x:p,y:o.y+o.height};break;case"right":C={x:o.x+o.width,y:h};break;case"left":C={x:o.x-n.width,y:h};break;default:C={x:o.x,y:o.y}}switch(rr(e)){case"start":C[s]-=y*(r&&f?-1:1);break;case"end":C[s]+=y*(r&&f?-1:1);break}return C}async function uf(t,e){var r;e===void 0&&(e={});let{x:o,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:y=!1,padding:C=0}=Ko(e,t),E=df(C),N=l[y?h==="floating"?"reference":"floating":h],I=ho(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:p,strategy:d})),$=h==="floating"?{x:o,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),L=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},k=ho(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:$,offsetParent:A,strategy:d}):$);return{top:(I.top-k.top+E.top)/L.y,bottom:(k.bottom-I.bottom+E.bottom)/L.y,left:(I.left-k.left+E.left)/L.x,right:(k.right-I.right+E.right)/L.x}}var p4=50,pf=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:uf},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:p,y:h}=ff(f,o,d),y=o,C=0,E={};for(let _=0;_<a.length;_++){let N=a[_];if(!N)continue;let{name:I,fn:$}=N,{x:A,y:L,data:k,reset:H}=await $({x:p,y:h,initialPlacement:o,placement:y,strategy:n,middlewareData:E,rects:f,platform:l,elements:{reference:t,floating:e}});p=A??p,h=L??h,E[I]={...E[I],...k},H&&C<p4&&(C++,typeof H=="object"&&(H.placement&&(y=H.placement),H.rects&&(f=H.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):H.rects),{x:p,y:h}=ff(f,y,d)),_=-1)}return{x:p,y:h,placement:y,strategy:n,middlewareData:E}};function h4(t,e,r){return(t?[...r.filter(n=>rr(n)===t),...r.filter(n=>rr(n)!==t)]:r.filter(n=>$r(n)===n)).filter(n=>t?rr(n)===t||(e?cf(n)!==n:!1):!0)}var hf=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:y=Xs,autoAlignment:C=!0,...E}=Ko(t,e),_=h!==void 0||y===Xs?h4(h||null,C,y):y,N=await d.detectOverflow(e,E),I=((r=s.autoPlacement)==null?void 0:r.index)||0,$=_[I];if($==null)return{};let A=lf($,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==$)return{reset:{placement:_[0]}};let L=[N[$r($)],N[A[0]],N[A[1]]],k=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:$,overflows:L}],H=_[I+1];if(H)return{data:{index:I+1,overflows:k},reset:{placement:H}};let X=k.map(q=>{let x=rr(q.placement);return[q.placement,x&&p?q.overflows.slice(0,2).reduce((w,V)=>w+V,0):q.overflows[0],q.overflows]}).sort((q,x)=>q[1]-x[1]),se=((n=X.filter(q=>q[2].slice(0,rr(q[0])?2:3).every(x=>x<=0))[0])==null?void 0:n[0])||X[0][0];return se!==l?{data:{index:I+1,overflows:k},reset:{placement:se}}:{}}}};var m4=new Set(["left","top"]);async function g4(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=$r(r),l=rr(r),d=qo(r)==="y",f=m4.has(s)?-1:1,p=a&&d?-1:1,h=Ko(e,t),{mainAxis:y,crossAxis:C,alignmentAxis:E}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof E=="number"&&(C=l==="end"?E*-1:E),d?{x:C*p,y:y*f}:{x:y*f,y:C*p}}var mf=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,o;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await g4(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},gf=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:n,platform:a}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:I=>{let{x:$,y:A}=I;return{x:$,y:A}}},...f}=Ko(t,e),p={x:r,y:o},h=await a.detectOverflow(e,f),y=qo($r(n)),C=Js(y),E=p[C],_=p[y];if(s){let I=C==="y"?"top":"left",$=C==="y"?"bottom":"right",A=E+h[I],L=E-h[$];E=Qs(A,E,L)}if(l){let I=y==="y"?"top":"left",$=y==="y"?"bottom":"right",A=_+h[I],L=_-h[$];_=Qs(A,_,L)}let N=d.fn({...e,[C]:E,[y]:_});return{...N,data:{x:N.x-r,y:N.y-o,enabled:{[C]:s,[y]:l}}}}}};var yf=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,o;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=Ko(t,e),p=await s.detectOverflow(e,f),h=$r(n),y=rr(n),C=qo(n)==="y",{width:E,height:_}=a.floating,N,I;h==="top"||h==="bottom"?(N=h,I=y===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(I=h,N=y==="end"?"top":"bottom");let $=_-p.top-p.bottom,A=E-p.left-p.right,L=po(_-p[N],$),k=po(E-p[I],A),H=!e.middlewareData.shift,X=L,le=k;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(le=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(X=$),H&&!y){let q=ht(p.left,0),x=ht(p.right,0),w=ht(p.top,0),V=ht(p.bottom,0);C?le=E-2*(q!==0||x!==0?q+x:ht(p.left,p.right)):X=_-2*(w!==0||V!==0?w+V:ht(p.top,p.bottom))}await d({...e,availableWidth:le,availableHeight:X});let se=await s.getDimensions(l.floating);return E!==se.width||_!==se.height?{reset:{rects:!0}}:{}}}};function Vn(){return typeof window<"u"}function go(t){return vf(t)?(t.nodeName||"").toLowerCase():"#document"}function mt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function or(t){var e;return(e=(vf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vf(t){return Vn()?t instanceof Node||t instanceof mt(t).Node:!1}function Mt(t){return Vn()?t instanceof Element||t instanceof mt(t).Element:!1}function ir(t){return Vn()?t instanceof HTMLElement||t instanceof mt(t).HTMLElement:!1}function bf(t){return!Vn()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof mt(t).ShadowRoot}function Zo(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=Nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function xf(t){return/^(table|td|th)$/.test(go(t))}function Hi(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var y4=/transform|translate|scale|rotate|perspective|filter/,b4=/paint|layout|strict|content/,mo=t=>!!t&&t!=="none",rl;function jn(t){let e=Mt(t)?Nt(t):t;return mo(e.transform)||mo(e.translate)||mo(e.scale)||mo(e.rotate)||mo(e.perspective)||!Kn()&&(mo(e.backdropFilter)||mo(e.filter))||y4.test(e.willChange||"")||b4.test(e.contain||"")}function Sf(t){let e=xr(t);for(;ir(e)&&!yo(e);){if(jn(e))return e;if(Hi(e))return null;e=xr(e)}return null}function Kn(){return rl==null&&(rl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),rl}function yo(t){return/^(html|body|#document)$/.test(go(t))}function Nt(t){return mt(t).getComputedStyle(t)}function Gi(t){return Mt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function xr(t){if(go(t)==="html")return t;let e=t.assignedSlot||t.parentNode||bf(t)&&t.host||or(t);return bf(e)?e.host:e}function Cf(t){let e=xr(t);return yo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ir(e)&&Zo(e)?e:Cf(e)}function Wn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Cf(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=mt(n);if(a){let l=qn(s);return e.concat(s,s.visualViewport||[],Zo(n)?n:[],l&&r?Wn(l):[])}else return e.concat(n,Wn(n,[],r))}function qn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Af(t){let e=Nt(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=ir(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=Ui(r)!==a||Ui(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function wf(t){return Mt(t)?t:t.contextElement}function Yo(t){let e=wf(t);if(!ir(e))return Vt(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=Af(e),s=(a?Ui(r.width):r.width)/o,l=(a?Ui(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var v4=Vt(0);function Rf(t){let e=mt(t);return!Kn()||!e.visualViewport?v4:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function x4(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==mt(t)?!1:e}function Wi(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=wf(t),s=Vt(1);e&&(o?Mt(o)&&(s=Yo(o)):s=Yo(t));let l=x4(a,r,o)?Rf(a):Vt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,p=n.width/s.x,h=n.height/s.y;if(a){let y=mt(a),C=o&&Mt(o)?mt(o):o,E=y,_=qn(E);for(;_&&o&&C!==E;){let N=Yo(_),I=_.getBoundingClientRect(),$=Nt(_),A=I.left+(_.clientLeft+parseFloat($.paddingLeft))*N.x,L=I.top+(_.clientTop+parseFloat($.paddingTop))*N.y;d*=N.x,f*=N.y,p*=N.x,h*=N.y,d+=A,f+=L,E=mt(_),_=qn(E)}}return ho({width:p,height:h,x:d,y:f})}function Zn(t,e){let r=Gi(t).scrollLeft;return e?e.left+r:Wi(or(t)).left+r}function _f(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Zn(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function S4(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=or(o),l=e?Hi(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=Vt(1),p=Vt(0),h=ir(o);if((h||!h&&!a)&&((go(o)!=="body"||Zo(s))&&(d=Gi(o)),h)){let C=Wi(o);f=Yo(o),p.x=C.x+o.clientLeft,p.y=C.y+o.clientTop}let y=s&&!h&&!a?_f(s,d):Vt(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+p.x+y.x,y:r.y*f.y-d.scrollTop*f.y+p.y+y.y}}function C4(t){return Array.from(t.getClientRects())}function O4(t){let e=or(t),r=Gi(t),o=t.ownerDocument.body,n=ht(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=ht(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Zn(t),l=-r.scrollTop;return Nt(o).direction==="rtl"&&(s+=ht(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}var Of=25;function E4(t,e){let r=mt(t),o=or(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let p=Kn();(!p||p&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let f=Zn(o);if(f<=0){let p=o.ownerDocument,h=p.body,y=getComputedStyle(h),C=p.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,E=Math.abs(o.clientWidth-h.clientWidth-C);E<=Of&&(a-=E)}else f<=Of&&(a+=f);return{width:a,height:s,x:l,y:d}}function L4(t,e){let r=Wi(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=ir(t)?Yo(t):Vt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=o*a.y;return{width:s,height:l,x:d,y:f}}function Ef(t,e,r){let o;if(e==="viewport")o=E4(t,r);else if(e==="document")o=O4(or(t));else if(Mt(e))o=L4(e,r);else{let n=Rf(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return ho(o)}function kf(t,e){let r=xr(t);return r===e||!Mt(r)||yo(r)?!1:Nt(r).position==="fixed"||kf(r,e)}function A4(t,e){let r=e.get(t);if(r)return r;let o=Wn(t,[],!1).filter(l=>Mt(l)&&go(l)!=="body"),n=null,a=Nt(t).position==="fixed",s=a?xr(t):t;for(;Mt(s)&&!yo(s);){let l=Nt(s),d=jn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||Zo(s)&&!d&&kf(t,s))?o=o.filter(p=>p!==s):n=l,s=xr(s)}return e.set(t,o),o}function w4(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?Hi(e)?[]:A4(e,this._c):[].concat(r),o],l=Ef(e,s[0],n),d=l.top,f=l.right,p=l.bottom,h=l.left;for(let y=1;y<s.length;y++){let C=Ef(e,s[y],n);d=ht(C.top,d),f=po(C.right,f),p=po(C.bottom,p),h=ht(C.left,h)}return{width:f-h,height:p-d,x:h,y:d}}function R4(t){let{width:e,height:r}=Af(t);return{width:e,height:r}}function _4(t,e,r){let o=ir(e),n=or(e),a=r==="fixed",s=Wi(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Vt(0);function f(){d.x=Zn(n)}if(o||!o&&!a)if((go(e)!=="body"||Zo(n))&&(l=Gi(e)),o){let C=Wi(e,!0,a,e);d.x=C.x+e.clientLeft,d.y=C.y+e.clientTop}else n&&f();a&&!o&&n&&f();let p=n&&!o&&!a?_f(n,l):Vt(0),h=s.left+l.scrollLeft-d.x-p.x,y=s.top+l.scrollTop-d.y-p.y;return{x:h,y,width:s.width,height:s.height}}function ol(t){return Nt(t).position==="static"}function Lf(t,e){if(!ir(t)||Nt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return or(t)===r&&(r=r.ownerDocument.body),r}function Tf(t,e){let r=mt(t);if(Hi(t))return r;if(!ir(t)){let n=xr(t);for(;n&&!yo(n);){if(Mt(n)&&!ol(n))return n;n=xr(n)}return r}let o=Lf(t,e);for(;o&&xf(o)&&ol(o);)o=Lf(o,e);return o&&yo(o)&&ol(o)&&!jn(o)?r:o||Sf(t)||r}var k4=async function(t){let e=this.getOffsetParent||Tf,r=this.getDimensions,o=await r(t.floating);return{reference:_4(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function T4(t){return Nt(t).direction==="rtl"}var Xo={convertOffsetParentRelativeRectToViewportRelativeRect:S4,getDocumentElement:or,getClippingRect:w4,getOffsetParent:Tf,getElementRects:k4,getClientRects:C4,getDimensions:R4,getScale:Yo,isElement:Mt,isRTL:T4};var Mf=mf,il=hf,Nf=gf;var Pf=yf;var nl=(t,e,r)=>{let o=new Map,n={platform:Xo,...r},a={...n.platform,_c:o};return pf(t,e,{...n,platform:a})};function sl(t){return M4(t)}function al(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function M4(t){for(let e=t;e;e=al(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=al(t);e;e=al(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ll(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},nl(t,e,{strategy:o.strategy,platform:{...Xo,getOffsetParent:n=>Xo.getOffsetParent(n,sl)},middleware:[Nf({crossAxis:!0}),il({allowedPlacements:[o.placement]})]})}async function Vi(t,e,r,o,n,a,s){let l,d;return typeof r=="object"?(l=r.placement,o=r.allowedPlacements,n=r.strategy,a=r.maxHeightCssVariable,d=r.maxWidthCssVariable,s=r.offsetValue):l=r,nl(t,e,{placement:l,strategy:n,platform:{...Xo,getOffsetParent:f=>Xo.getOffsetParent(f,sl)},middleware:[Mf(s??4),il({allowedPlacements:o}),Pf({apply({availableHeight:f,availableWidth:p,elements:h}){typeof a=="string"&&(a=`var(${a})`),a?h.floating.style.maxHeight=`min(${Math.max(0,f)}px, ${a})`:h.floating.style.maxHeight=`${Math.max(0,f)}px`,typeof d=="string"&&(d=`var(${d})`),d?h.floating.style.maxWidth=`min(${Math.max(0,p)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,p)}px`}})]})}var dl={};ne(dl,{isSlotEmptyOrWithoutContent:()=>ji});var ji=t=>t?t.assignedNodes({flatten:!0}).filter(o=>{var n;return o.nodeType===Node.TEXT_NODE?((n=o.textContent)!==null&&n!==void 0?n:"").trim().length>0:!0}).length===0:!0;var ml={};ne(ml,{FtdsBase:()=>vo,toFtdsBase:()=>Pt});var hl={};ne(hl,{ExportpartsUpdatedEvent:()=>bo,FtLitElement:()=>U});var fl={};ne(fl,{ScopedRegistryLitElement:()=>Ki});var Ki=class extends Ht{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return ki(o,e.elementStyles),o}};var pl={};ne(pl,{shadowQuerySelector:()=>ul,shadowQuerySelectorAll:()=>N4});function ul(t,e,...r){var o;let n=t.querySelector(e);for(let a of r)n=(o=n?.shadowRoot)===null||o===void 0?void 0:o.querySelector(a);return n}function N4(t,e,...r){let o=[...t.querySelectorAll(e)];for(let n of r)o=o.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return o}var Qo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Df,If=Symbol("constructorPrototype"),zf=Symbol("constructorName"),Bf=Symbol("exportpartsDebouncer"),$f=Symbol("dynamicDependenciesLoaded"),bo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};bo.eventName="exportparts-updated";var U=class extends Ki{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Df]=new me(5),this.scheduleExportpartsUpdate=()=>{var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[Bf].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[zf]=this.constructor.name,this[If]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zf]&&Object.setPrototypeOf(this,this[If])}connectedCallback(){var e;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 r=this.constructor;r[$f]||(r[$f]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(bo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(bo.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new bo)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:o,shadowPath:n}=this.elementToFocus;if(o!=null){let a=[...n??[],o];r=ul(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,o,n;if(((o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&o!==void 0?o:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}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)}}setExportpartsAttribute(e){var r,o,n,a,s,l;let d=y=>y!=null&&y.trim().length>0,f=e.filter(d).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let p=new Set;for(let y of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let C=(a=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],E=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],_=[...C,...E].filter(d).map(N=>N.trim());for(let N of _)p.add(N)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(y=>f.map(C=>`${y}:${C}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};Df=Bf;Qo([g()],U.prototype,"exportpartsPrefix",void 0);Qo([Me([])],U.prototype,"exportpartsPrefixes",void 0);Qo([g({reflect:!0})],U.prototype,"exportparts",void 0);Qo([g()],U.prototype,"customStylesheet",void 0);Qo([g()],U.prototype,"elementToFocus",void 0);Qo([B()],U.prototype,"useAdoptedStyleSheets",void 0);var Ff=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pt=Ge(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Xe.medium,this.family=We.neutral}getDesignSystemBaseClasses(){return{[Vs(this.family)]:!0,[js(this.size)]:!0}}}return Ff([g()],e.prototype,"size",void 0),Ff([g()],e.prototype,"family",void 0),e}),vo=class extends Pt(U){};var Uf={};var bl={};ne(bl,{highlightHtml:()=>yl,highlightHtmlColorCssVariable:()=>Hf,highlightHtmlStyles:()=>I4});var xo=class t{constructor(e,r=!0,o=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=n}static matches(e,r){let o=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return o.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let n=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!n&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{o()}n&&r(n)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,n=>{o++,this.waitForIframes(n.querySelector("html"),()=>{--o||r()})},n=>{n||r()})}forEachIframe(e,r,o,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,p=>{r(f)&&(l++,o(p)),d()},d)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let n=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===o&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?n.push({val:o,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,n)})})}iterateThroughNodes(e,r,o,n,a){let s=this.createIterator(r,e,n),l=[],d=[],f,p,h=()=>({prevNode:p,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,p,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,C=>d.push(C),n)}),d.push(f);d.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(l,e,o,n),a()}forEachNode(e,r,o,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var qi=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new xo(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${o}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,n)=>{let a=n.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=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"],n=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,n=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,n)=>n.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,o);l&&(n.start=a,n.length=s-a,r.push(n),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,n,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),n=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:n,valid:a}}checkWhitespaceRanges(e,r,o){let n,a=!0,s=o.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{o.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return xo.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let f=r-s.start,p=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,p),e.value=h+y,e.nodes.forEach((C,E)=>{E>=l&&(e.nodes[E].start>0&&E!==l&&(e.nodes[E].start-=p),e.nodes[E].end-=p)}),o-=p,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!o(f[s],d))continue;let p=f.index;if(s!==0)for(let h=1;h<s;h++)p+=f[h].length;d=this.wrapRangeInTextNode(d,p,p+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;let p=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,p,h=>o(d[s],h),(h,y)=>{e.lastIndex=y,n(h)})}a()})}wrapRangeFromIndex(e,r,o,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:p,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,p,y=>r(y,l,a.value.substring(f,p),d),y=>{o(y,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,n="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let p=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[n](p,1,(y,C)=>this.opt.filter(C,f,o,h),y=>{h++,o++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(o):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(o):d(a[0])}markRanges(e,r){this.opt=r;let o=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let n=xo.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function gl(t){let e=new qi(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var P4=gl,Hf=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),I4=M`
6
6
  .highlight-html-match {
7
7
  background: ${Hf};
8
8
  }
@@ -45,7 +45,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var Gf={};var xl={};ne(xl,{ParametrizedLabelResolver:()=>Dr});var Dr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let a=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}};var Wl={};ne(Wl,{FtCommandQueue:()=>Yi,FtLitElementRedux:()=>Oo,FtReduxStore:()=>Wr,FtStateManager:()=>ra,ReduxWatcher:()=>ta,clearAllStores:()=>x3,isFtReduxStore:()=>Jo,redux:()=>nr,reduxEventListener:()=>$4,reduxReactive:()=>z4,watch:()=>Ou,withRedux:()=>Wf});var z4=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},nr=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:St,attribute:!1,...e};g(a)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[o],store:e.store})}},$4=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Yi=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Jo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Xi=Symbol("internalReduxEventsUnsubscribers"),Br=Symbol("internalStoresUnsubscribers"),Co=Symbol("internalStores"),Wf=He(Symbol("withRedux"),function(t){var e,r,o;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Co].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Co].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Co].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Co].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Co].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Co].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[Br].has(s.store):this[Br].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Br].set(s,l.subscribe(()=>this.updateFromStores())),this[Xi].set(s,[]),Jo(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,p)=>{if(typeof this[p]=="function"&&(!f.store||l.name===f.store)){let h=y=>this[p](y);l.addEventListener(f.eventName,h),this[Xi].get(s).push(()=>l.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Br].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Br].has(s)&&this[Br].get(s)(),this[Br].delete(s),(l=this[Xi].get(s))===null||l===void 0||l.forEach(d=>d()),this[Xi].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Br,r=Co,o=Xi,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Oo=class extends Wf(U){};function It(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Sr(t){return!!t&&!!t[we]}function Kt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var n=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===V4}(t)||Array.isArray(t)||!!t[Xf]||!!(!((e=t.constructor)===null||e===void 0)&&e[Xf])||_l(t)||kl(t))}function Eo(t,e,r){r===void 0&&(r=!1),ri(t)===0?(r?Object.keys:ti)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function ri(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:_l(t)?2:kl(t)?3:0}function ei(t,e){return ri(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function D4(t,e){return ri(t)===2?t.get(e):t[e]}function Qf(t,e,r){var o=ri(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Jf(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function _l(t){return G4&&t instanceof Map}function kl(t){return W4&&t instanceof Set}function Fr(t){return t.o||t.t}function Tl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ru(t);delete e[we];for(var r=ti(e),o=0;o<r.length;o++){var n=r[o],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Ml(t,e){return e===void 0&&(e=!1),Nl(t)||Sr(t)||!Kt(t)||(ri(t)>1&&(t.set=t.add=t.clear=t.delete=B4),Object.freeze(t),e&&Eo(t,function(r,o){return Ml(o,!0)},!0)),t}function B4(){It(2)}function Nl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ar(t){var e=Rl[t];return e||It(18,t),e}function F4(t,e){Rl[t]||(Rl[t]=e)}function Ll(){return Ji}function Sl(t,e){e&&(ar("Patches"),t.u=[],t.s=[],t.v=e)}function Yn(t){Al(t),t.p.forEach(U4),t.p=null}function Al(t){t===Ji&&(Ji=t.l)}function Vf(t){return Ji={p:[],l:Ji,h:t,m:!0,_:0}}function U4(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function Cl(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||ar("ES5").S(e,t,o),o?(r[we].P&&(Yn(e),It(4)),Kt(t)&&(t=Xn(e,t),e.l||Qn(e,t)),e.u&&ar("Patches").M(r[we].t,t,e.u,e.s)):t=Xn(e,r,[]),Yn(e),e.u&&e.v(e.u,e.s),t!==tu?t:void 0}function Xn(t,e,r){if(Nl(e))return e;var o=e[we];if(!o)return Eo(e,function(l,d){return jf(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Qn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=Tl(o.k):o.o,a=n,s=!1;o.i===3&&(a=new Set(n),n.clear(),s=!0),Eo(a,function(l,d){return jf(t,o,n,l,d,r,s)}),Qn(t,n,!1),r&&t.u&&ar("Patches").N(o,r,t.u,t.s)}return o.o}function jf(t,e,r,o,n,a,s){if(Sr(n)){var l=Xn(t,n,a&&e&&e.i!==3&&!ei(e.R,o)?a.concat(o):void 0);if(Qf(r,o,l),!Sr(l))return;t.m=!1}else s&&r.add(n);if(Kt(n)&&!Nl(n)){if(!t.h.D&&t._<1)return;Xn(t,n),e&&e.A.l||Qn(t,n)}}function Qn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ml(e,r)}function Ol(t,e){var r=t[we];return(r?Fr(r):t)[e]}function Kf(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Ur(t){t.P||(t.P=!0,t.l&&Ur(t.l))}function El(t){t.o||(t.o=Tl(t.t))}function wl(t,e,r){var o=_l(e)?ar("MapSet").F(e,r):kl(e)?ar("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ll(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=en;s&&(d=[l],f=Qi);var p=Proxy.revocable(d,f),h=p.revoke,y=p.proxy;return l.k=y,l.j=h,y}(e,r):ar("ES5").J(e,r);return(r?r.A:Ll()).p.push(o),o}function H4(t){return Sr(t)||It(22,t),function e(r){if(!Kt(r))return r;var o,n=r[we],a=ri(r);if(n){if(!n.P&&(n.i<4||!ar("ES5").K(n)))return n.t;n.I=!0,o=qf(r,a),n.I=!1}else o=qf(r,a);return Eo(o,function(s,l){n&&D4(n.t,s)===l||Qf(o,s,e(l))}),a===3?new Set(o):o}(t)}function qf(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Tl(t)}function eu(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[we];return en.get(f,s)},set:function(f){var p=this[we];en.set(p,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][we];if(!d.P)switch(d.i){case 5:o(d)&&Ur(d);break;case 4:r(d)&&Ur(d)}}}function r(s){for(var l=s.t,d=s.k,f=ti(d),p=f.length-1;p>=0;p--){var h=f[p];if(h!==we){var y=l[h];if(y===void 0&&!ei(l,h))return!0;var C=d[h],E=C&&C[we];if(E?E.t!==y:!Jf(C,y))return!0}}var _=!!l[we];return f.length!==ti(l).length+(_?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&It(3,JSON.stringify(Fr(s)))}var a={};F4("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(h,y){if(h){for(var C=Array(y.length),E=0;E<y.length;E++)Object.defineProperty(C,""+E,t(E,!0));return C}var _=ru(y);delete _[we];for(var N=ti(_),I=0;I<N.length;I++){var $=N[I];_[$]=t($,h||!!_[$].enumerable)}return Object.create(Object.getPrototypeOf(y),_)}(d,s),p={i:d?5:4,A:l?l.A:Ll(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,we,{value:p,writable:!0}),f},S:function(s,l,d){d?Sr(l)&&l[we].A===s&&e(s.p):(s.u&&function f(p){if(p&&typeof p=="object"){var h=p[we];if(h){var y=h.t,C=h.k,E=h.R,_=h.i;if(_===4)Eo(C,function(L){L!==we&&(y[L]!==void 0||ei(y,L)?E[L]||f(C[L]):(E[L]=!0,Ur(h)))}),Eo(y,function(L){C[L]!==void 0||ei(C,L)||(E[L]=!1,Ur(h))});else if(_===5){if(o(h)&&(Ur(h),E.length=!0),C.length<y.length)for(var N=C.length;N<y.length;N++)E[N]=!1;else for(var I=y.length;I<C.length;I++)E[I]=!0;for(var $=Math.min(C.length,y.length),A=0;A<$;A++)C.hasOwnProperty(A)||(E[A]=!0),E[A]===void 0&&f(C[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Zf,Ji,Pl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",G4=typeof Map<"u",W4=typeof Set<"u",Yf=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",tu=Pl?Symbol.for("immer-nothing"):((Zf={})["immer-nothing"]=!0,Zf),Xf=Pl?Symbol.for("immer-draftable"):"__$immer_draftable",we=Pl?Symbol.for("immer-state"):"__$immer_state";var V4=""+Object.prototype.constructor,ti=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ru=Object.getOwnPropertyDescriptors||function(t){var e={};return ti(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Rl={},en={get:function(t,e){if(e===we)return t;var r=Fr(t);if(!ei(r,e))return function(n,a,s){var l,d=Kf(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var o=r[e];return t.I||!Kt(o)?o:o===Ol(t.t,e)?(El(t),t.o[e]=wl(t.A.h,o,t)):o},has:function(t,e){return e in Fr(t)},ownKeys:function(t){return Reflect.ownKeys(Fr(t))},set:function(t,e,r){var o=Kf(Fr(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=Ol(Fr(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Jf(r,n)&&(r!==void 0||ei(t.t,e)))return!0;El(t),Ur(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ol(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,El(t),Ur(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Fr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){It(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){It(12)}},Qi={};Eo(en,function(t,e){Qi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Qi.deleteProperty=function(t,e){return Qi.set.call(this,t,e,void 0)},Qi.set=function(t,e,r){return en.set.call(this,t[0],e,r,t[0])};var j4=function(){function t(r){var o=this;this.O=Yf,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=o;return function(_){var N=this;_===void 0&&(_=l);for(var I=arguments.length,$=Array(I>1?I-1:0),A=1;A<I;A++)$[A-1]=arguments[A];return d.produce(_,function(L){var k;return(k=a).call.apply(k,[N,L].concat($))})}}var f;if(typeof a!="function"&&It(6),s!==void 0&&typeof s!="function"&&It(7),Kt(n)){var p=Vf(o),h=wl(o,n,void 0),y=!0;try{f=a(h),y=!1}finally{y?Yn(p):Al(p)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(_){return Sl(p,s),Cl(_,p)},function(_){throw Yn(p),_}):(Sl(p,s),Cl(f,p))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===tu&&(f=void 0),o.D&&Ml(f,!0),s){var C=[],E=[];ar("Patches").M(n,f,C,E),s(C,E)}return f}It(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var p=arguments.length,h=Array(p>1?p-1:0),y=1;y<p;y++)h[y-1]=arguments[y];return o.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(h))})};var s,l,d=o.produce(n,a,function(f,p){s=f,l=p});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Kt(r)||It(8),Sr(r)&&(r=H4(r));var o=Vf(this),n=wl(this,r,void 0);return n[we].C=!0,Al(o),n},e.finishDraft=function(r,o){var n=r&&r[we],a=n.A;return Sl(a,o),Cl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Yf&&It(20),this.O=r},e.applyPatches=function(r,o){var n;for(n=o.length-1;n>=0;n--){var a=o[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(o=o.slice(n+1));var s=ar("Patches").$;return Sr(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),Ot=new j4,K4=Ot.produce,LC=Ot.produceWithPatches.bind(Ot),AC=Ot.setAutoFreeze.bind(Ot),wC=Ot.setUseProxies.bind(Ot),RC=Ot.applyPatches.bind(Ot),_C=Ot.createDraft.bind(Ot),kC=Ot.finishDraft.bind(Ot),Jn=K4;function Lo(t){"@babel/helpers - typeof";return Lo=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},Lo(t)}function ou(t,e){if(Lo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Lo(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function iu(t){var e=ou(t,"string");return Lo(e)=="symbol"?e:e+""}function nu(t,e,r){return(e=iu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function au(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Il(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?au(Object(r),!0).forEach(function(o){nu(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function lt(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var su=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zl=function(){return Math.random().toString(36).substring(7).split("").join(".")},ea={INIT:"@@redux/INIT"+zl(),REPLACE:"@@redux/REPLACE"+zl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zl()}};function q4(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $l(t,e,r){var o;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($l)(t,e)}if(typeof t!="function")throw new Error(lt(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function p(){if(d)throw new Error(lt(3));return a}function h(_){if(typeof _!="function")throw new Error(lt(4));if(d)throw new Error(lt(5));var N=!0;return f(),l.push(_),function(){if(N){if(d)throw new Error(lt(6));N=!1,f();var $=l.indexOf(_);l.splice($,1),s=null}}}function y(_){if(!q4(_))throw new Error(lt(7));if(typeof _.type>"u")throw new Error(lt(8));if(d)throw new Error(lt(9));try{d=!0,a=n(a,_)}finally{d=!1}for(var N=s=l,I=0;I<N.length;I++){var $=N[I];$()}return _}function C(_){if(typeof _!="function")throw new Error(lt(10));n=_,y({type:ea.REPLACE})}function E(){var _,N=h;return _={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(lt(11));function A(){$.next&&$.next(p())}A();var L=N(A);return{unsubscribe:L}}},_[su]=function(){return this},_}return y({type:ea.INIT}),o={dispatch:y,subscribe:h,getState:p,replaceReducer:C},o[su]=E,o}function Z4(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:ea.INIT});if(typeof o>"u")throw new Error(lt(12));if(typeof r(void 0,{type:ea.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(lt(13))})}function lu(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{Z4(r)}catch(d){l=d}return function(f,p){if(f===void 0&&(f={}),l)throw l;if(0)var h;for(var y=!1,C={},E=0;E<a.length;E++){var _=a[E],N=r[_],I=f[_],$=N(I,p);if(typeof $>"u"){var A=p&&p.type;throw new Error(lt(14))}C[_]=$,y=y||$!==I}return y=y||a.length!==Object.keys(f).length,y?C:f}}function oi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,n){return function(){return o(n.apply(void 0,arguments))}})}function cu(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var n=o.apply(void 0,arguments),a=function(){throw new Error(lt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=oi.apply(void 0,l)(n.dispatch),Il(Il({},n),{},{dispatch:a})}}}function du(t){var e=function(o){var n=o.dispatch,a=o.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var fu=du();fu.withExtraArgument=du;var Dl=fu;var gu=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])},t(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");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Y4=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(p){return d([f,p])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(p){f=[6,p],n=0}finally{o=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ii=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},X4=Object.defineProperty,Q4=Object.defineProperties,J4=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,e3=Object.prototype.hasOwnProperty,t3=Object.prototype.propertyIsEnumerable,pu=function(t,e,r){return e in t?X4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Hr=function(t,e){for(var r in e||(e={}))e3.call(e,r)&&pu(t,r,e[r]);if(uu)for(var o=0,n=uu(e);o<n.length;o++){var r=n[o];t3.call(e,r)&&pu(t,r,e[r])}return t},Bl=function(t,e){return Q4(t,J4(e))},r3=function(t,e,r){return new Promise(function(o,n){var a=function(d){try{l(r.next(d))}catch(f){n(f)}},s=function(d){try{l(r.throw(d))}catch(f){n(f)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var o3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?oi:oi.apply(null,arguments)},qC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function i3(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var n3=function(t){gu(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,ii([void 0],r.concat(this))))},e}(Array),a3=function(t){gu(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,ii([void 0],r.concat(this))))},e}(Array);function Hl(t){return Kt(t)?Jn(t,function(){}):t}function s3(t){return typeof t=="boolean"}function l3(){return function(e){return c3(e)}}function c3(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,n=o===void 0?!0:o,a=t.serializableCheck,s=a===void 0?!0:a,l=new n3;if(r&&(s3(r)?l.push(Dl):l.push(Dl.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var Fl=!0;function yu(t){var e=l3(),r=t||{},o=r.reducer,n=o===void 0?void 0:o,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,p=f===void 0?void 0:f,h=r.enhancers,y=h===void 0?void 0:h,C;if(typeof n=="function")C=n;else if(i3(n))C=lu(n);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 E=s;if(typeof E=="function"&&(E=E(e),!Fl&&!Array.isArray(E)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fl&&E.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var _=cu.apply(void 0,E),N=oi;d&&(N=o3(Hr({trace:!Fl},typeof d=="object"&&d)));var I=new a3(_),$=I;Array.isArray(y)?$=ii([_],y):typeof y=="function"&&($=y(I));var A=N.apply(void 0,$);return $l(C,p,A)}function Gr(t,e){function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(e){var a=e.apply(void 0,o);if(!a)throw new Error("prepareAction did not return an object");return Hr(Hr({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function bu(t){var e={},r=[],o,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return o=a,n}};return t(n),[e,r,o]}function d3(t){return typeof t=="function"}function f3(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?bu(e):[e,r,o],a=n[0],s=n[1],l=n[2],d;if(d3(t))d=function(){return Hl(t())};else{var f=Hl(t);d=function(){return f}}function p(h,y){h===void 0&&(h=d());var C=ii([a[y.type]],s.filter(function(E){var _=E.matcher;return _(y)}).map(function(E){var _=E.reducer;return _}));return C.filter(function(E){return!!E}).length===0&&(C=[l]),C.reduce(function(E,_){if(_)if(Sr(E)){var N=E,I=_(N,y);return I===void 0?E:I}else{if(Kt(E))return Jn(E,function($){return _($,y)});var I=_(E,y);if(I===void 0){if(E===null)return E;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return E},h)}return p.getInitialState=d,p}function u3(t,e){return t+"/"+e}function vu(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hl(t.initialState),o=t.reducers||{},n=Object.keys(o),a={},s={},l={};n.forEach(function(p){var h=o[p],y=u3(e,p),C,E;"reducer"in h?(C=h.reducer,E=h.prepare):C=h,a[p]=C,s[y]=C,l[p]=E?Gr(y,E):Gr(y)});function d(){var p=typeof t.extraReducers=="function"?bu(t.extraReducers):[t.extraReducers],h=p[0],y=h===void 0?{}:h,C=p[1],E=C===void 0?[]:C,_=p[2],N=_===void 0?void 0:_,I=Hr(Hr({},y),s);return f3(r,function($){for(var A in I)$.addCase(A,I[A]);for(var L=0,k=E;L<k.length;L++){var H=k[L];$.addMatcher(H.matcher,H.reducer)}N&&$.addDefaultCase(N)})}var f;return{name:e,reducer:function(p,h){return f||(f=d()),f(p,h)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var p3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",h3=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=p3[Math.random()*64|0];return e},m3=["name","message","stack","code"],Ul=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),hu=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),g3=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=m3;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},QC=function(){function t(e,r,o){var n=Gr(e+"/fulfilled",function(p,h,y,C){return{payload:p,meta:Bl(Hr({},C||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=Gr(e+"/pending",function(p,h,y){return{payload:void 0,meta:Bl(Hr({},y||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Gr(e+"/rejected",function(p,h,y,C,E){return{payload:C,error:(o&&o.serializeError||g3)(p||"Rejected"),meta:Bl(Hr({},E||{}),{arg:y,requestId:h,rejectedWithValue:!!C,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function f(p){return function(h,y,C){var E=o?.idGenerator?o.idGenerator(p):h3(),_=new d,N,I=!1;function $(L){N=L,_.abort()}var A=function(){return r3(this,null,function(){var L,k,H,X,le,se,q;return Y4(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),X=(L=o?.condition)==null?void 0:L.call(o,p,{getState:y,extra:C}),b3(X)?[4,X]:[3,2];case 1:X=x.sent(),x.label=2;case 2:if(X===!1||_.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,le=new Promise(function(w,V){return _.signal.addEventListener("abort",function(){return V({name:"AbortError",message:N||"Aborted"})})}),h(a(E,p,(k=o?.getPendingMeta)==null?void 0:k.call(o,{requestId:E,arg:p},{getState:y,extra:C}))),[4,Promise.race([le,Promise.resolve(r(p,{dispatch:h,getState:y,extra:C,requestId:E,signal:_.signal,abort:$,rejectWithValue:function(w,V){return new Ul(w,V)},fulfillWithValue:function(w,V){return new hu(w,V)}})).then(function(w){if(w instanceof Ul)throw w;return w instanceof hu?n(w.payload,E,p,w.meta):n(w,E,p)})])];case 3:return H=x.sent(),[3,5];case 4:return se=x.sent(),H=se instanceof Ul?s(null,E,p,se.payload,se.meta):s(se,E,p),[3,5];case 5:return q=o&&!o.dispatchConditionRejection&&s.match(H)&&H.meta.condition,q||h(H),[2,H]}})})}();return Object.assign(A,{abort:$,requestId:E,arg:p,unwrap:function(){return A.then(y3)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function y3(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function b3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xu="listener",Su="completed",Cu="cancelled",JC="task-"+Cu,eO="task-"+Su,tO=xu+"-"+Cu,rO=xu+"-"+Su;var Gl="listenerMiddleware";var oO=Gr(Gl+"/add"),iO=Gr(Gl+"/removeAll"),nO=Gr(Gl+"/remove");var mu,aO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(mu||(mu=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},v3=function(t){return function(e){setTimeout(e,t)}},sO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:v3(10);eu();window.ftReduxStores||(window.ftReduxStores={});var Wr=class t extends vr{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[o];if(Jo(a))return a;if(n==null)return;let s=vu({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=yu({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=fo(s.getInitialState());for(let h of f.keeping)p[h]=(d??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Yi;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...p)=>{let h=f(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[d]:n(p)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}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()}};function x3(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Jo(e)&&e.clear()}var ta=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);St(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Ou(t,e,r){return new ta(t,e,r).watch()}var ra=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Kl={};ne(Kl,{scrollHelper:()=>S3});var Vl,oa=new Map,jl=class{lock(e,r){if(r){let o=oa.get(r);if(o==null||o===e)return oa.set(r,e),r}}release(e,r){r&&oa.get(r)===e&&oa.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of vs(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&n==null&&(n=s)}return(r=o??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),a=n-o.clientHeight+e.clientHeight,s=n,l=Nr(0,(s-o.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Vl=window.FluidTopicsScrollHelper)!==null&&Vl!==void 0?Vl:new jl;var S3=window.FluidTopicsScrollHelper;var Zl={};ne(Zl,{SearchPlaceConverter:()=>jr,SearchPlaceQueryParams:()=>ge,isSearchPlaceQueryParams:()=>sp,serializeRequest:()=>L3});var O3=nh(Lu(),1);var Au;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Au||(Au={}));var wu;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(wu||(wu={}));var Ru;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ru||(Ru={}));var _u;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(_u||(_u={}));var ku;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ku||(ku={}));var Tu;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Tu||(Tu={}));var Mu;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Mu||(Mu={}));var Nu;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Nu||(Nu={}));var Pu;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(Pu||(Pu={}));var Iu;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Iu||(Iu={}));var zu;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zu||(zu={}));var $u;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})($u||($u={}));var Du;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Du||(Du={}));var Bu;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Bu||(Bu={}));var Ao;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ao||(Ao={}));var Fu;(function(t){t.ASC="ASC",t.DESC="DESC"})(Fu||(Fu={}));var Uu;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Uu||(Uu={}));var aa;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(aa||(aa={}));var qu=t=>Object.keys(aa).includes(t);var Hu;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Hu||(Hu={}));var Gu;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Gu||(Gu={}));var Wu;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Wu||(Wu={}));var ai;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ai||(ai={}));var Zu=t=>Object.keys(ai).includes(t);var Vu;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Vu||(Vu={}));var ql;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ql||(ql={}));var ju;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ju||(ju={}));var $e;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})($e||($e={}));var zt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(zt||(zt={}));var Ku;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ku||(Ku={}));var Yu;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Yu||(Yu={}));var Xu;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(Xu||(Xu={}));var Qu;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Qu||(Qu={}));var Ju;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ju||(Ju={}));var ep;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(ep||(ep={}));var tp;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(tp||(tp={}));var rp;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(rp||(rp={}));var op;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(op||(op={}));var C3={[$e.PERSONAL_BOOK_SHARE_USER]:[$e.PERSONAL_BOOK_USER],[$e.HTML_EXPORT_USER]:[$e.PERSONAL_BOOK_USER],[$e.PDF_EXPORT_USER]:[$e.PERSONAL_BOOK_USER],[$e.KHUB_ADMIN]:[$e.CONTENT_PUBLISHER],[$e.ADMIN]:[$e.KHUB_ADMIN,$e.USERS_ADMIN,$e.PORTAL_ADMIN,$e.BEHAVIOR_DATA_USER],[$e.GENERATIVE_AI_EXPORT_USER]:[$e.GENERATIVE_AI_USER]};function ip(t,e){return t===e||(C3[t]??[]).some(r=>ip(r,e))}function np(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>ip(o,e))}function E3(t){return`"${t}"`}function ap(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function L3(t,e){return new jr(t).serialize(e)}var ge;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(ge||(ge={}));var A3=new Set(Object.values(ge));function sp(t){return A3.has(t)}var jr=class{constructor(e,r=20,o=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,a,s,l,d,f,p,h,y,C;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(ge.LOCALE,e.contentLocale):E.append(ge.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&E.append(ge.QUERY,e.query);let _=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(L=>L.valueFilter&&!L.valueFilter.negative))!==null&&a!==void 0?a:[];if(_.length>0){let L=_.map(k=>{var H,X;let le=((X=(H=k.valueFilter)===null||H===void 0?void 0:H.values)!==null&&X!==void 0?X:[]).map(se=>this.escapeFilters(se)).map(se=>E3(ap(se))).join("_");return`${k.key}~${le}`}).join("*");E.append(ge.VALUE_FILTERS,L)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(L=>L.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let L=N.map(k=>{var H;return`${k.key}~${(H=k.dateFilter)===null||H===void 0?void 0:H.type.toLowerCase()}`}).join("*");E.append(ge.DATE_FILTERS,L)}let I=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(L=>L.rangeFilter))!==null&&f!==void 0?f:[];if(I.length>0){let L=I.map(k=>{var H,X;return`${k.key}~${(H=k.rangeFilter)===null||H===void 0?void 0:H.from}_${(X=k.rangeFilter)===null||X===void 0?void 0:X.to}`}).join("*");E.append(ge.RANGE_FILTERS,L)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(ge.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&E.append(ge.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&E.append(ge.SORT,e.sortId),!((p=e.paging)===null||p===void 0)&&p.perPage&&((y=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&E.append(ge.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&E.append(ge.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let $=(C=e.otherQueryParams)!==null&&C!==void 0?C:{};for(let L in $)E.append(L,$[L]);let A=new Array;return E.forEach((L,k)=>{A.push(this.encodeQueryString(k)+"="+this.encodeQueryString(L))}),encodeURI(A.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),a=o[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(I){console.warn("Could not decode search request query params, fallback on raw value",I)}let d=new URLSearchParams(e),f=d.get(ge.LOCALE)==="all"?void 0:d.get(ge.LOCALE),p=((r=d.get(ge.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(ge.SORT))===null||o===void 0?void 0:o.toLowerCase(),y=(n=d.get(ge.SCOPE))!==null&&n!==void 0?n:"default",C=+((a=d.get(ge.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E=d.get(ge.KEYWORD_MATCH),_=E?E.toUpperCase()===Ao.MANDATORY?Ao.MANDATORY:Ao.OPTIONAL:void 0,N={};for(let I of d.keys())sp(I)||(N[I]=d.get(I));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ge.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:qu(p)?p:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Nr(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:_,otherQueryParams:N}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(ge.FILTERS)&&(d=this.parseValueFilters((r=e.get(ge.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ge.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ge.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ge.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ge.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ge.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(ap).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ai[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}unescapeFilterValue(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(Zu(e))return[{key:"ft:lastEdition",dateFilter:{type:ai[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}};var Ql={};ne(Ql,{toFtFormComponent:()=>Xl});var Yl=Symbol("elementInternals"),Xl=He(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Yl].form}constructor(...o){super(o),this[Yl]=this.attachInternals()}setFormValue(o){this[Yl].setFormValue(o)}}return e});var Jl={};ne(Jl,{DateFormatter:()=>wo});var wo=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n)):this.getIntlDateTime(e,r,o,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var tc={};ne(tc,{ALL_KEYS_VALUE:()=>ec,SameWindowStorageEvent:()=>si});var ec="__all__",si=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ec}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new si(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new si(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new si(ec))}});var oc={};ne(oc,{FocusMainContentEvent:()=>rc});var rc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var lp={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function w3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function R3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",w3);document.addEventListener("click",R3);var li=M`
48
+ `;var Gf={};var xl={};ne(xl,{ParametrizedLabelResolver:()=>Dr});var Dr=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,n;e=this.resolvePluralKey(e,r);let a=(n=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((o,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(o,s))),e}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let n=`${String(e)}[\\=${o}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let o=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return o(document.documentElement.lang)}catch{return o()}}};var Wl={};ne(Wl,{FtCommandQueue:()=>Yi,FtLitElementRedux:()=>Oo,FtReduxStore:()=>Wr,FtStateManager:()=>ra,ReduxWatcher:()=>ta,clearAllStores:()=>x3,isFtReduxStore:()=>Jo,redux:()=>nr,reduxEventListener:()=>$4,reduxReactive:()=>z4,watch:()=>Ou,withRedux:()=>Wf});var z4=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},nr=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:St,attribute:!1,...e};g(a)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[o],store:e.store})}},$4=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Yi=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Jo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Xi=Symbol("internalReduxEventsUnsubscribers"),Br=Symbol("internalStoresUnsubscribers"),Co=Symbol("internalStores"),Wf=Ge(Symbol("withRedux"),function(t){var e,r,o;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[o]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Co].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Co].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Co].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Co].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Co].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Co].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let f=this.getStore(s.store);f&&(s.store?this[Br].has(s.store):this[Br].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Br].set(s,l.subscribe(()=>this.updateFromStores())),this[Xi].set(s,[]),Jo(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,p)=>{if(typeof this[p]=="function"&&(!f.store||l.name===f.store)){let h=y=>this[p](y);l.addEventListener(f.eventName,h),this[Xi].get(s).push(()=>l.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Br].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Br].has(s)&&this[Br].get(s)(),this[Br].delete(s),(l=this[Xi].get(s))===null||l===void 0||l.forEach(d=>d()),this[Xi].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Br,r=Co,o=Xi,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Oo=class extends Wf(U){};function It(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Sr(t){return!!t&&!!t[we]}function Kt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var n=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===V4}(t)||Array.isArray(t)||!!t[Xf]||!!(!((e=t.constructor)===null||e===void 0)&&e[Xf])||_l(t)||kl(t))}function Eo(t,e,r){r===void 0&&(r=!1),ri(t)===0?(r?Object.keys:ti)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function ri(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:_l(t)?2:kl(t)?3:0}function ei(t,e){return ri(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function D4(t,e){return ri(t)===2?t.get(e):t[e]}function Qf(t,e,r){var o=ri(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Jf(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function _l(t){return G4&&t instanceof Map}function kl(t){return W4&&t instanceof Set}function Fr(t){return t.o||t.t}function Tl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ru(t);delete e[we];for(var r=ti(e),o=0;o<r.length;o++){var n=r[o],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Ml(t,e){return e===void 0&&(e=!1),Nl(t)||Sr(t)||!Kt(t)||(ri(t)>1&&(t.set=t.add=t.clear=t.delete=B4),Object.freeze(t),e&&Eo(t,function(r,o){return Ml(o,!0)},!0)),t}function B4(){It(2)}function Nl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ar(t){var e=Rl[t];return e||It(18,t),e}function F4(t,e){Rl[t]||(Rl[t]=e)}function Ll(){return Ji}function Sl(t,e){e&&(ar("Patches"),t.u=[],t.s=[],t.v=e)}function Yn(t){Al(t),t.p.forEach(U4),t.p=null}function Al(t){t===Ji&&(Ji=t.l)}function Vf(t){return Ji={p:[],l:Ji,h:t,m:!0,_:0}}function U4(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function Cl(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||ar("ES5").S(e,t,o),o?(r[we].P&&(Yn(e),It(4)),Kt(t)&&(t=Xn(e,t),e.l||Qn(e,t)),e.u&&ar("Patches").M(r[we].t,t,e.u,e.s)):t=Xn(e,r,[]),Yn(e),e.u&&e.v(e.u,e.s),t!==tu?t:void 0}function Xn(t,e,r){if(Nl(e))return e;var o=e[we];if(!o)return Eo(e,function(l,d){return jf(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Qn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=Tl(o.k):o.o,a=n,s=!1;o.i===3&&(a=new Set(n),n.clear(),s=!0),Eo(a,function(l,d){return jf(t,o,n,l,d,r,s)}),Qn(t,n,!1),r&&t.u&&ar("Patches").N(o,r,t.u,t.s)}return o.o}function jf(t,e,r,o,n,a,s){if(Sr(n)){var l=Xn(t,n,a&&e&&e.i!==3&&!ei(e.R,o)?a.concat(o):void 0);if(Qf(r,o,l),!Sr(l))return;t.m=!1}else s&&r.add(n);if(Kt(n)&&!Nl(n)){if(!t.h.D&&t._<1)return;Xn(t,n),e&&e.A.l||Qn(t,n)}}function Qn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ml(e,r)}function Ol(t,e){var r=t[we];return(r?Fr(r):t)[e]}function Kf(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Ur(t){t.P||(t.P=!0,t.l&&Ur(t.l))}function El(t){t.o||(t.o=Tl(t.t))}function wl(t,e,r){var o=_l(e)?ar("MapSet").F(e,r):kl(e)?ar("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Ll(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=en;s&&(d=[l],f=Qi);var p=Proxy.revocable(d,f),h=p.revoke,y=p.proxy;return l.k=y,l.j=h,y}(e,r):ar("ES5").J(e,r);return(r?r.A:Ll()).p.push(o),o}function H4(t){return Sr(t)||It(22,t),function e(r){if(!Kt(r))return r;var o,n=r[we],a=ri(r);if(n){if(!n.P&&(n.i<4||!ar("ES5").K(n)))return n.t;n.I=!0,o=qf(r,a),n.I=!1}else o=qf(r,a);return Eo(o,function(s,l){n&&D4(n.t,s)===l||Qf(o,s,e(l))}),a===3?new Set(o):o}(t)}function qf(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Tl(t)}function eu(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[we];return en.get(f,s)},set:function(f){var p=this[we];en.set(p,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][we];if(!d.P)switch(d.i){case 5:o(d)&&Ur(d);break;case 4:r(d)&&Ur(d)}}}function r(s){for(var l=s.t,d=s.k,f=ti(d),p=f.length-1;p>=0;p--){var h=f[p];if(h!==we){var y=l[h];if(y===void 0&&!ei(l,h))return!0;var C=d[h],E=C&&C[we];if(E?E.t!==y:!Jf(C,y))return!0}}var _=!!l[we];return f.length!==ti(l).length+(_?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&It(3,JSON.stringify(Fr(s)))}var a={};F4("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(h,y){if(h){for(var C=Array(y.length),E=0;E<y.length;E++)Object.defineProperty(C,""+E,t(E,!0));return C}var _=ru(y);delete _[we];for(var N=ti(_),I=0;I<N.length;I++){var $=N[I];_[$]=t($,h||!!_[$].enumerable)}return Object.create(Object.getPrototypeOf(y),_)}(d,s),p={i:d?5:4,A:l?l.A:Ll(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,we,{value:p,writable:!0}),f},S:function(s,l,d){d?Sr(l)&&l[we].A===s&&e(s.p):(s.u&&function f(p){if(p&&typeof p=="object"){var h=p[we];if(h){var y=h.t,C=h.k,E=h.R,_=h.i;if(_===4)Eo(C,function(L){L!==we&&(y[L]!==void 0||ei(y,L)?E[L]||f(C[L]):(E[L]=!0,Ur(h)))}),Eo(y,function(L){C[L]!==void 0||ei(C,L)||(E[L]=!1,Ur(h))});else if(_===5){if(o(h)&&(Ur(h),E.length=!0),C.length<y.length)for(var N=C.length;N<y.length;N++)E[N]=!1;else for(var I=y.length;I<C.length;I++)E[I]=!0;for(var $=Math.min(C.length,y.length),A=0;A<$;A++)C.hasOwnProperty(A)||(E[A]=!0),E[A]===void 0&&f(C[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var Zf,Ji,Pl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",G4=typeof Map<"u",W4=typeof Set<"u",Yf=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",tu=Pl?Symbol.for("immer-nothing"):((Zf={})["immer-nothing"]=!0,Zf),Xf=Pl?Symbol.for("immer-draftable"):"__$immer_draftable",we=Pl?Symbol.for("immer-state"):"__$immer_state";var V4=""+Object.prototype.constructor,ti=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ru=Object.getOwnPropertyDescriptors||function(t){var e={};return ti(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Rl={},en={get:function(t,e){if(e===we)return t;var r=Fr(t);if(!ei(r,e))return function(n,a,s){var l,d=Kf(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var o=r[e];return t.I||!Kt(o)?o:o===Ol(t.t,e)?(El(t),t.o[e]=wl(t.A.h,o,t)):o},has:function(t,e){return e in Fr(t)},ownKeys:function(t){return Reflect.ownKeys(Fr(t))},set:function(t,e,r){var o=Kf(Fr(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=Ol(Fr(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Jf(r,n)&&(r!==void 0||ei(t.t,e)))return!0;El(t),Ur(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ol(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,El(t),Ur(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Fr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){It(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){It(12)}},Qi={};Eo(en,function(t,e){Qi[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Qi.deleteProperty=function(t,e){return Qi.set.call(this,t,e,void 0)},Qi.set=function(t,e,r){return en.set.call(this,t[0],e,r,t[0])};var j4=function(){function t(r){var o=this;this.O=Yf,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=o;return function(_){var N=this;_===void 0&&(_=l);for(var I=arguments.length,$=Array(I>1?I-1:0),A=1;A<I;A++)$[A-1]=arguments[A];return d.produce(_,function(L){var k;return(k=a).call.apply(k,[N,L].concat($))})}}var f;if(typeof a!="function"&&It(6),s!==void 0&&typeof s!="function"&&It(7),Kt(n)){var p=Vf(o),h=wl(o,n,void 0),y=!0;try{f=a(h),y=!1}finally{y?Yn(p):Al(p)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(_){return Sl(p,s),Cl(_,p)},function(_){throw Yn(p),_}):(Sl(p,s),Cl(f,p))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===tu&&(f=void 0),o.D&&Ml(f,!0),s){var C=[],E=[];ar("Patches").M(n,f,C,E),s(C,E)}return f}It(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var p=arguments.length,h=Array(p>1?p-1:0),y=1;y<p;y++)h[y-1]=arguments[y];return o.produceWithPatches(f,function(C){return n.apply(void 0,[C].concat(h))})};var s,l,d=o.produce(n,a,function(f,p){s=f,l=p});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Kt(r)||It(8),Sr(r)&&(r=H4(r));var o=Vf(this),n=wl(this,r,void 0);return n[we].C=!0,Al(o),n},e.finishDraft=function(r,o){var n=r&&r[we],a=n.A;return Sl(a,o),Cl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Yf&&It(20),this.O=r},e.applyPatches=function(r,o){var n;for(n=o.length-1;n>=0;n--){var a=o[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(o=o.slice(n+1));var s=ar("Patches").$;return Sr(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),Ot=new j4,K4=Ot.produce,LC=Ot.produceWithPatches.bind(Ot),AC=Ot.setAutoFreeze.bind(Ot),wC=Ot.setUseProxies.bind(Ot),RC=Ot.applyPatches.bind(Ot),_C=Ot.createDraft.bind(Ot),kC=Ot.finishDraft.bind(Ot),Jn=K4;function Lo(t){"@babel/helpers - typeof";return Lo=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},Lo(t)}function ou(t,e){if(Lo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(Lo(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function iu(t){var e=ou(t,"string");return Lo(e)=="symbol"?e:e+""}function nu(t,e,r){return(e=iu(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function au(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function Il(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?au(Object(r),!0).forEach(function(o){nu(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):au(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function lt(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var su=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zl=function(){return Math.random().toString(36).substring(7).split("").join(".")},ea={INIT:"@@redux/INIT"+zl(),REPLACE:"@@redux/REPLACE"+zl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zl()}};function q4(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $l(t,e,r){var o;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($l)(t,e)}if(typeof t!="function")throw new Error(lt(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function p(){if(d)throw new Error(lt(3));return a}function h(_){if(typeof _!="function")throw new Error(lt(4));if(d)throw new Error(lt(5));var N=!0;return f(),l.push(_),function(){if(N){if(d)throw new Error(lt(6));N=!1,f();var $=l.indexOf(_);l.splice($,1),s=null}}}function y(_){if(!q4(_))throw new Error(lt(7));if(typeof _.type>"u")throw new Error(lt(8));if(d)throw new Error(lt(9));try{d=!0,a=n(a,_)}finally{d=!1}for(var N=s=l,I=0;I<N.length;I++){var $=N[I];$()}return _}function C(_){if(typeof _!="function")throw new Error(lt(10));n=_,y({type:ea.REPLACE})}function E(){var _,N=h;return _={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(lt(11));function A(){$.next&&$.next(p())}A();var L=N(A);return{unsubscribe:L}}},_[su]=function(){return this},_}return y({type:ea.INIT}),o={dispatch:y,subscribe:h,getState:p,replaceReducer:C},o[su]=E,o}function Z4(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:ea.INIT});if(typeof o>"u")throw new Error(lt(12));if(typeof r(void 0,{type:ea.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(lt(13))})}function lu(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var n=e[o];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{Z4(r)}catch(d){l=d}return function(f,p){if(f===void 0&&(f={}),l)throw l;if(0)var h;for(var y=!1,C={},E=0;E<a.length;E++){var _=a[E],N=r[_],I=f[_],$=N(I,p);if(typeof $>"u"){var A=p&&p.type;throw new Error(lt(14))}C[_]=$,y=y||$!==I}return y=y||a.length!==Object.keys(f).length,y?C:f}}function oi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,n){return function(){return o(n.apply(void 0,arguments))}})}function cu(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var n=o.apply(void 0,arguments),a=function(){throw new Error(lt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=oi.apply(void 0,l)(n.dispatch),Il(Il({},n),{},{dispatch:a})}}}function du(t){var e=function(o){var n=o.dispatch,a=o.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var fu=du();fu.withExtraArgument=du;var Dl=fu;var gu=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,n){o.__proto__=n}||function(o,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(o[a]=n[a])},t(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");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),Y4=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(p){return d([f,p])}}function d(f){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(p){f=[6,p],n=0}finally{o=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},ii=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},X4=Object.defineProperty,Q4=Object.defineProperties,J4=Object.getOwnPropertyDescriptors,uu=Object.getOwnPropertySymbols,e3=Object.prototype.hasOwnProperty,t3=Object.prototype.propertyIsEnumerable,pu=function(t,e,r){return e in t?X4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Hr=function(t,e){for(var r in e||(e={}))e3.call(e,r)&&pu(t,r,e[r]);if(uu)for(var o=0,n=uu(e);o<n.length;o++){var r=n[o];t3.call(e,r)&&pu(t,r,e[r])}return t},Bl=function(t,e){return Q4(t,J4(e))},r3=function(t,e,r){return new Promise(function(o,n){var a=function(d){try{l(r.next(d))}catch(f){n(f)}},s=function(d){try{l(r.throw(d))}catch(f){n(f)}},l=function(d){return d.done?o(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var o3=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?oi:oi.apply(null,arguments)},qC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function i3(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var n3=function(t){gu(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,ii([void 0],r.concat(this))))},e}(Array),a3=function(t){gu(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,ii([void 0],r[0].concat(this)))):new(e.bind.apply(e,ii([void 0],r.concat(this))))},e}(Array);function Hl(t){return Kt(t)?Jn(t,function(){}):t}function s3(t){return typeof t=="boolean"}function l3(){return function(e){return c3(e)}}function c3(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,n=o===void 0?!0:o,a=t.serializableCheck,s=a===void 0?!0:a,l=new n3;if(r&&(s3(r)?l.push(Dl):l.push(Dl.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var Fl=!0;function yu(t){var e=l3(),r=t||{},o=r.reducer,n=o===void 0?void 0:o,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,p=f===void 0?void 0:f,h=r.enhancers,y=h===void 0?void 0:h,C;if(typeof n=="function")C=n;else if(i3(n))C=lu(n);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 E=s;if(typeof E=="function"&&(E=E(e),!Fl&&!Array.isArray(E)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Fl&&E.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var _=cu.apply(void 0,E),N=oi;d&&(N=o3(Hr({trace:!Fl},typeof d=="object"&&d)));var I=new a3(_),$=I;Array.isArray(y)?$=ii([_],y):typeof y=="function"&&($=y(I));var A=N.apply(void 0,$);return $l(C,p,A)}function Gr(t,e){function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];if(e){var a=e.apply(void 0,o);if(!a)throw new Error("prepareAction did not return an object");return Hr(Hr({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function bu(t){var e={},r=[],o,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return o=a,n}};return t(n),[e,r,o]}function d3(t){return typeof t=="function"}function f3(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?bu(e):[e,r,o],a=n[0],s=n[1],l=n[2],d;if(d3(t))d=function(){return Hl(t())};else{var f=Hl(t);d=function(){return f}}function p(h,y){h===void 0&&(h=d());var C=ii([a[y.type]],s.filter(function(E){var _=E.matcher;return _(y)}).map(function(E){var _=E.reducer;return _}));return C.filter(function(E){return!!E}).length===0&&(C=[l]),C.reduce(function(E,_){if(_)if(Sr(E)){var N=E,I=_(N,y);return I===void 0?E:I}else{if(Kt(E))return Jn(E,function($){return _($,y)});var I=_(E,y);if(I===void 0){if(E===null)return E;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return E},h)}return p.getInitialState=d,p}function u3(t,e){return t+"/"+e}function vu(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Hl(t.initialState),o=t.reducers||{},n=Object.keys(o),a={},s={},l={};n.forEach(function(p){var h=o[p],y=u3(e,p),C,E;"reducer"in h?(C=h.reducer,E=h.prepare):C=h,a[p]=C,s[y]=C,l[p]=E?Gr(y,E):Gr(y)});function d(){var p=typeof t.extraReducers=="function"?bu(t.extraReducers):[t.extraReducers],h=p[0],y=h===void 0?{}:h,C=p[1],E=C===void 0?[]:C,_=p[2],N=_===void 0?void 0:_,I=Hr(Hr({},y),s);return f3(r,function($){for(var A in I)$.addCase(A,I[A]);for(var L=0,k=E;L<k.length;L++){var H=k[L];$.addMatcher(H.matcher,H.reducer)}N&&$.addDefaultCase(N)})}var f;return{name:e,reducer:function(p,h){return f||(f=d()),f(p,h)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var p3="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",h3=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=p3[Math.random()*64|0];return e},m3=["name","message","stack","code"],Ul=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),hu=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),g3=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=m3;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},QC=function(){function t(e,r,o){var n=Gr(e+"/fulfilled",function(p,h,y,C){return{payload:p,meta:Bl(Hr({},C||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=Gr(e+"/pending",function(p,h,y){return{payload:void 0,meta:Bl(Hr({},y||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Gr(e+"/rejected",function(p,h,y,C,E){return{payload:C,error:(o&&o.serializeError||g3)(p||"Rejected"),meta:Bl(Hr({},E||{}),{arg:y,requestId:h,rejectedWithValue:!!C,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function f(p){return function(h,y,C){var E=o?.idGenerator?o.idGenerator(p):h3(),_=new d,N,I=!1;function $(L){N=L,_.abort()}var A=function(){return r3(this,null,function(){var L,k,H,X,le,se,q;return Y4(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),X=(L=o?.condition)==null?void 0:L.call(o,p,{getState:y,extra:C}),b3(X)?[4,X]:[3,2];case 1:X=x.sent(),x.label=2;case 2:if(X===!1||_.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,le=new Promise(function(w,V){return _.signal.addEventListener("abort",function(){return V({name:"AbortError",message:N||"Aborted"})})}),h(a(E,p,(k=o?.getPendingMeta)==null?void 0:k.call(o,{requestId:E,arg:p},{getState:y,extra:C}))),[4,Promise.race([le,Promise.resolve(r(p,{dispatch:h,getState:y,extra:C,requestId:E,signal:_.signal,abort:$,rejectWithValue:function(w,V){return new Ul(w,V)},fulfillWithValue:function(w,V){return new hu(w,V)}})).then(function(w){if(w instanceof Ul)throw w;return w instanceof hu?n(w.payload,E,p,w.meta):n(w,E,p)})])];case 3:return H=x.sent(),[3,5];case 4:return se=x.sent(),H=se instanceof Ul?s(null,E,p,se.payload,se.meta):s(se,E,p),[3,5];case 5:return q=o&&!o.dispatchConditionRejection&&s.match(H)&&H.meta.condition,q||h(H),[2,H]}})})}();return Object.assign(A,{abort:$,requestId:E,arg:p,unwrap:function(){return A.then(y3)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function y3(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function b3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var xu="listener",Su="completed",Cu="cancelled",JC="task-"+Cu,eO="task-"+Su,tO=xu+"-"+Cu,rO=xu+"-"+Su;var Gl="listenerMiddleware";var oO=Gr(Gl+"/add"),iO=Gr(Gl+"/removeAll"),nO=Gr(Gl+"/remove");var mu,aO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(mu||(mu=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},v3=function(t){return function(e){setTimeout(e,t)}},sO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:v3(10);eu();window.ftReduxStores||(window.ftReduxStores={});var Wr=class t extends vr{static get(e){var r;let o=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[o];if(Jo(a))return a;if(n==null)return;let s=vu({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=yu({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=fo(s.getInitialState());for(let h of f.keeping)p[h]=(d??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...f.overwrites};return s.reducer(d,f)}});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,o){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Yi;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...p)=>{let h=f(...p.map(n));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[d]:n(p)})}}}),this.eventBus=o??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}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()}};function x3(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Jo(e)&&e.clear()}var ta=class{constructor(e,r,o){this.store=e,this.valueSelector=r,this.callback=o}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);St(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Ou(t,e,r){return new ta(t,e,r).watch()}var ra=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).add(e).size==1&&this.onNewNeededRequest(o)}unregisterComponent(e,r){for(let o of r)this.getOrCreateRequestConsumers(o).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var Kl={};ne(Kl,{scrollHelper:()=>S3});var Vl,oa=new Map,jl=class{lock(e,r){if(r){let o=oa.get(r);if(o==null||o===e)return oa.set(r,e),r}}release(e,r){r&&oa.get(r)===e&&oa.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of vs(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){o=s;break}else l&&n==null&&(n=s)}return(r=o??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var o,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(o=r.offsetTop)!==null&&o!==void 0?o:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let o=this.findFirstScrollableParent(e);if(e&&this.lock(this,o)){let n=this.getAbsoluteScrollOffset(o,e),a=n-o.clientHeight+e.clientHeight,s=n,l=Nr(0,(s-o.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;o.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,o);this.release(this,o)}};window.FluidTopicsScrollHelper=(Vl=window.FluidTopicsScrollHelper)!==null&&Vl!==void 0?Vl:new jl;var S3=window.FluidTopicsScrollHelper;var Zl={};ne(Zl,{SearchPlaceConverter:()=>jr,SearchPlaceQueryParams:()=>ge,isSearchPlaceQueryParams:()=>sp,serializeRequest:()=>L3});var O3=nh(Lu(),1);var Au;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Au||(Au={}));var wu;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(wu||(wu={}));var Ru;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ru||(Ru={}));var _u;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(_u||(_u={}));var ku;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ku||(ku={}));var Tu;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Tu||(Tu={}));var Mu;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Mu||(Mu={}));var Nu;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Nu||(Nu={}));var Pu;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(Pu||(Pu={}));var Iu;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Iu||(Iu={}));var zu;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zu||(zu={}));var $u;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})($u||($u={}));var Du;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Du||(Du={}));var Bu;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Bu||(Bu={}));var Ao;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ao||(Ao={}));var Fu;(function(t){t.ASC="ASC",t.DESC="DESC"})(Fu||(Fu={}));var Uu;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Uu||(Uu={}));var aa;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(aa||(aa={}));var qu=t=>Object.keys(aa).includes(t);var Hu;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Hu||(Hu={}));var Gu;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Gu||(Gu={}));var Wu;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Wu||(Wu={}));var ai;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ai||(ai={}));var Zu=t=>Object.keys(ai).includes(t);var Vu;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Vu||(Vu={}));var ql;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ql||(ql={}));var ju;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ju||(ju={}));var De;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(De||(De={}));var zt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(zt||(zt={}));var Ku;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ku||(Ku={}));var Yu;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Yu||(Yu={}));var Xu;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SUMMARY="SUMMARY",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.OTHER="OTHER"})(Xu||(Xu={}));var Qu;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Qu||(Qu={}));var Ju;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ju||(Ju={}));var ep;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(ep||(ep={}));var tp;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(tp||(tp={}));var rp;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(rp||(rp={}));var op;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(op||(op={}));var C3={[De.PERSONAL_BOOK_SHARE_USER]:[De.PERSONAL_BOOK_USER],[De.HTML_EXPORT_USER]:[De.PERSONAL_BOOK_USER],[De.PDF_EXPORT_USER]:[De.PERSONAL_BOOK_USER],[De.KHUB_ADMIN]:[De.CONTENT_PUBLISHER],[De.ADMIN]:[De.KHUB_ADMIN,De.USERS_ADMIN,De.PORTAL_ADMIN,De.BEHAVIOR_DATA_USER],[De.GENERATIVE_AI_EXPORT_USER]:[De.GENERATIVE_AI_USER]};function ip(t,e){return t===e||(C3[t]??[]).some(r=>ip(r,e))}function np(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(o=>ip(o,e))}function E3(t){return`"${t}"`}function ap(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function L3(t,e){return new jr(t).serialize(e)}var ge;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(ge||(ge={}));var A3=new Set(Object.values(ge));function sp(t){return A3.has(t)}var jr=class{constructor(e,r=20,o=!1,n="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=o,this.defaultContentLocale=n,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let o=r==null||r.trim().length===0,n=new URL(o?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return n.search=this.toURLSearchParams(e),n.toString()}toURLSearchParams(e,r=!1){var o,n,a,s,l,d,f,p,h,y,C;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(ge.LOCALE,e.contentLocale):E.append(ge.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&E.append(ge.QUERY,e.query);let _=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(L=>L.valueFilter&&!L.valueFilter.negative))!==null&&a!==void 0?a:[];if(_.length>0){let L=_.map(k=>{var H,X;let le=((X=(H=k.valueFilter)===null||H===void 0?void 0:H.values)!==null&&X!==void 0?X:[]).map(se=>this.escapeFilters(se)).map(se=>E3(ap(se))).join("_");return`${k.key}~${le}`}).join("*");E.append(ge.VALUE_FILTERS,L)}let N=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(L=>L.dateFilter))!==null&&l!==void 0?l:[];if(N.length>0){let L=N.map(k=>{var H;return`${k.key}~${(H=k.dateFilter)===null||H===void 0?void 0:H.type.toLowerCase()}`}).join("*");E.append(ge.DATE_FILTERS,L)}let I=(f=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(L=>L.rangeFilter))!==null&&f!==void 0?f:[];if(I.length>0){let L=I.map(k=>{var H,X;return`${k.key}~${(H=k.rangeFilter)===null||H===void 0?void 0:H.from}_${(X=k.rangeFilter)===null||X===void 0?void 0:X.to}`}).join("*");E.append(ge.RANGE_FILTERS,L)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(ge.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&E.append(ge.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&E.append(ge.SORT,e.sortId),!((p=e.paging)===null||p===void 0)&&p.perPage&&((y=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&E.append(ge.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&E.append(ge.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let $=(C=e.otherQueryParams)!==null&&C!==void 0?C:{};for(let L in $)E.append(L,$[L]);let A=new Array;return E.forEach((L,k)=>{A.push(this.encodeQueryString(k)+"="+this.encodeQueryString(L))}),encodeURI(A.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let o=e.split("?"),n=this.fromURLSearchParams(o.slice(1).join("?")),a=o[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,o,n,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(I){console.warn("Could not decode search request query params, fallback on raw value",I)}let d=new URLSearchParams(e),f=d.get(ge.LOCALE)==="all"?void 0:d.get(ge.LOCALE),p=((r=d.get(ge.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(ge.SORT))===null||o===void 0?void 0:o.toLowerCase(),y=(n=d.get(ge.SCOPE))!==null&&n!==void 0?n:"default",C=+((a=d.get(ge.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E=d.get(ge.KEYWORD_MATCH),_=E?E.toUpperCase()===Ao.MANDATORY?Ao.MANDATORY:Ao.OPTIONAL:void 0,N={};for(let I of d.keys())sp(I)||(N[I]=d.get(I));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ge.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:qu(p)?p:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Nr(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:_,otherQueryParams:N}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(ge.FILTERS)&&(d=this.parseValueFilters((r=e.get(ge.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ge.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ge.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ge.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ge.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ge.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(ap).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:ai[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(r,o);return e}superEscapeFilters(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}unescapeFilterValue(e){for(let[r,o,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(Zu(e))return[{key:"ft:lastEdition",dateFilter:{type:ai[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}};var Ql={};ne(Ql,{toFtFormComponent:()=>Xl});var Yl=Symbol("elementInternals"),Xl=Ge(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Yl].form}constructor(...o){super(o),this[Yl]=this.attachInternals()}setFormValue(o){this[Yl].setFormValue(o)}}return e});var Jl={};ne(Jl,{DateFormatter:()=>wo});var wo=class{static format(e,r,o,n){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(o,n)):this.getIntlDateTime(e,r,o,n)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,o,n){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:o?"medium":"short"}).format(a);if(!n)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=o=>String(Math.floor(o)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var tc={};ne(tc,{ALL_KEYS_VALUE:()=>ec,SameWindowStorageEvent:()=>si});var ec="__all__",si=class extends CustomEvent{constructor(e,r,o){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:o}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==ec}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new si(r[0],o,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let o=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new si(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new si(ec))}});var oc={};ne(oc,{FocusMainContentEvent:()=>rc});var rc=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var lp={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function w3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function R3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",w3);document.addEventListener("click",R3);var li=M`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -69,7 +69,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
69
69
  width:auto;
70
70
  height:auto;
71
71
  }
72
- `;var nc={};ne(nc,{withAriaNotification:()=>ic});var _3={checkVisibility:!0},ic=He(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:a}={..._3,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Bi({type:"aria",message:o})))},20)}}return e});function Ro(t,e,r){return t?e(t):r?.(t)}var tt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_o;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(_o||(_o={}));var ko;(function(t){t.default="default",t.warning="warning",t.error="error"})(ko||(ko={}));var ac=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},iE=He(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=_o.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=ko.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===_o.blur||this.validateOn===_o.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==ko.default&&this.validateOn===_o.blurWithStatusResolutionOnInput||this.validateOn===_o.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new ac(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return O`
72
+ `;var nc={};ne(nc,{withAriaNotification:()=>ic});var _3={checkVisibility:!0},ic=Ge(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(o,n){let{checkVisibility:a}={..._3,...n};setTimeout(()=>{(!a||this.checkVisibility())&&(o=typeof o=="string"?o:o?.message,o&&this.dispatchEvent(new Bi({type:"aria",message:o})))},20)}}return e});function Ro(t,e,r){return t?e(t):r?.(t)}var tt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_o;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(_o||(_o={}));var ko;(function(t){t.default="default",t.warning="warning",t.error="error"})(ko||(ko={}));var ac=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},iE=Ge(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=_o.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=ko.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===_o.blur||this.validateOn===_o.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==ko.default&&this.validateOn===_o.blurWithStatusResolutionOnInput||this.validateOn===_o.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new ac(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return O`
73
73
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
74
74
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
75
75
  ${_e(this.errorMessages,o=>O`
@@ -194,7 +194,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
194
194
  opacity: ${R.opacityContentOnSurfacePressed};
195
195
  transform: translate(-50%, -50%) scale(1);
196
196
  }
197
- `;var yp=i.extend("--ft-typography-font-family","",T.titleFont),Er=i.extend("--ft-typography-font-family","",T.contentFont),G={fontFamily:Er,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ci={fontFamily:i.extend("--ft-typography-title-font-family","",yp),fontSize:i.extend("--ft-typography-title-font-size","",G.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",G.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",G.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",G.textTransform,"inherit")},di={fontFamily:i.extend("--ft-typography-title-dense-font-family","",yp),fontSize:i.extend("--ft-typography-title-dense-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",G.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",G.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",G.textTransform,"inherit")},fi={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",Er),fontSize:i.extend("--ft-typography-subtitle1-font-size","",G.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",G.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",G.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",G.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",G.textTransform,"inherit")},ui={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",Er),fontSize:i.extend("--ft-typography-subtitle2-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",G.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",G.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",G.textTransform,"inherit")},Or={fontFamily:i.extend("--ft-typography-body1-font-family","",Er),fontSize:i.extend("--ft-typography-body1-font-size","",G.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",G.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",G.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",G.textTransform,"inherit")},We={fontFamily:i.extend("--ft-typography-body2-font-family","",Er),fontSize:i.extend("--ft-typography-body2-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",G.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",G.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",G.textTransform,"inherit")},Qe={fontFamily:i.extend("--ft-typography-caption-font-family","",Er),fontSize:i.extend("--ft-typography-caption-font-size","",G.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",G.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",G.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",G.textTransform,"inherit")},pi={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",Er),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",G.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",G.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",G.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",G.textTransform,"inherit")},hi={fontFamily:i.extend("--ft-typography-overline-font-family","",Er),fontSize:i.extend("--ft-typography-overline-font-size","",G.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",G.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",G.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",G.textTransform,"uppercase")},sr={fontFamily:i.extend("--ft-typography-button-font-family","",Er),fontSize:i.extend("--ft-typography-button-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",G.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",G.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",G.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",G.textTransform,"uppercase")},bp=M`
197
+ `;var yp=i.extend("--ft-typography-font-family","",T.titleFont),Er=i.extend("--ft-typography-font-family","",T.contentFont),G={fontFamily:Er,fontSize:i.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:i.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:i.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:i.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:i.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ci={fontFamily:i.extend("--ft-typography-title-font-family","",yp),fontSize:i.extend("--ft-typography-title-font-size","",G.fontSize,"20px"),fontWeight:i.extend("--ft-typography-title-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-letter-spacing","",G.letterSpacing,"0.15px"),lineHeight:i.extend("--ft-typography-title-line-height","",G.lineHeight,"1.2"),textTransform:i.extend("--ft-typography-title-text-transform","",G.textTransform,"inherit")},di={fontFamily:i.extend("--ft-typography-title-dense-font-family","",yp),fontSize:i.extend("--ft-typography-title-dense-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-title-dense-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-title-dense-letter-spacing","",G.letterSpacing,"0.105px"),lineHeight:i.extend("--ft-typography-title-dense-line-height","",G.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-title-dense-text-transform","",G.textTransform,"inherit")},fi={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",Er),fontSize:i.extend("--ft-typography-subtitle1-font-size","",G.fontSize,"16px"),fontWeight:i.extend("--ft-typography-subtitle1-font-weight","",G.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-subtitle1-letter-spacing","",G.letterSpacing,"0.144px"),lineHeight:i.extend("--ft-typography-subtitle1-line-height","",G.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-subtitle1-text-transform","",G.textTransform,"inherit")},ui={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",Er),fontSize:i.extend("--ft-typography-subtitle2-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-subtitle2-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-subtitle2-letter-spacing","",G.letterSpacing,"0.098px"),lineHeight:i.extend("--ft-typography-subtitle2-line-height","",G.lineHeight,"1.7"),textTransform:i.extend("--ft-typography-subtitle2-text-transform","",G.textTransform,"inherit")},Or={fontFamily:i.extend("--ft-typography-body1-font-family","",Er),fontSize:i.extend("--ft-typography-body1-font-size","",G.fontSize,"16px"),fontWeight:i.extend("--ft-typography-body1-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body1-letter-spacing","",G.letterSpacing,"0.496px"),lineHeight:i.extend("--ft-typography-body1-line-height","",G.lineHeight,"1.5"),textTransform:i.extend("--ft-typography-body1-text-transform","",G.textTransform,"inherit")},Ve={fontFamily:i.extend("--ft-typography-body2-font-family","",Er),fontSize:i.extend("--ft-typography-body2-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-body2-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-body2-letter-spacing","",G.letterSpacing,"0.252px"),lineHeight:i.extend("--ft-typography-body2-line-height","",G.lineHeight,"1.4"),textTransform:i.extend("--ft-typography-body2-text-transform","",G.textTransform,"inherit")},Qe={fontFamily:i.extend("--ft-typography-caption-font-family","",Er),fontSize:i.extend("--ft-typography-caption-font-size","",G.fontSize,"12px"),fontWeight:i.extend("--ft-typography-caption-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-caption-letter-spacing","",G.letterSpacing,"0.396px"),lineHeight:i.extend("--ft-typography-caption-line-height","",G.lineHeight,"1.33"),textTransform:i.extend("--ft-typography-caption-text-transform","",G.textTransform,"inherit")},pi={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",Er),fontSize:i.extend("--ft-typography-breadcrumb-font-size","",G.fontSize,"10px"),fontWeight:i.extend("--ft-typography-breadcrumb-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-breadcrumb-letter-spacing","",G.letterSpacing,"0.33px"),lineHeight:i.extend("--ft-typography-breadcrumb-line-height","",G.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-breadcrumb-text-transform","",G.textTransform,"inherit")},hi={fontFamily:i.extend("--ft-typography-overline-font-family","",Er),fontSize:i.extend("--ft-typography-overline-font-size","",G.fontSize,"10px"),fontWeight:i.extend("--ft-typography-overline-font-weight","",G.fontWeight,"normal"),letterSpacing:i.extend("--ft-typography-overline-letter-spacing","",G.letterSpacing,"1.5px"),lineHeight:i.extend("--ft-typography-overline-line-height","",G.lineHeight,"1.6"),textTransform:i.extend("--ft-typography-overline-text-transform","",G.textTransform,"uppercase")},sr={fontFamily:i.extend("--ft-typography-button-font-family","",Er),fontSize:i.extend("--ft-typography-button-font-size","",G.fontSize,"14px"),fontWeight:i.extend("--ft-typography-button-font-weight","",G.fontWeight,"600"),letterSpacing:i.extend("--ft-typography-button-letter-spacing","",G.letterSpacing,"1.246px"),lineHeight:i.extend("--ft-typography-button-line-height","",G.lineHeight,"1.15"),textTransform:i.extend("--ft-typography-button-text-transform","",G.textTransform,"uppercase")},bp=M`
198
198
  .ft-typography--title {
199
199
  font-family: ${ci.fontFamily};
200
200
  font-size: ${ci.fontSize};
@@ -242,12 +242,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
242
242
  }
243
243
  `,Kr=M`
244
244
  .ft-typography--body2 {
245
- font-family: ${We.fontFamily};
246
- font-size: ${We.fontSize};
247
- font-weight: ${We.fontWeight};
248
- letter-spacing: ${We.letterSpacing};
249
- line-height: ${We.lineHeight};
250
- text-transform: ${We.textTransform};
245
+ font-family: ${Ve.fontFamily};
246
+ font-size: ${Ve.fontSize};
247
+ font-weight: ${Ve.fontWeight};
248
+ letter-spacing: ${Ve.letterSpacing};
249
+ line-height: ${Ve.lineHeight};
250
+ text-transform: ${Ve.textTransform};
251
251
  }
252
252
  `,lr=M`
253
253
  .ft-typography--caption {
@@ -572,7 +572,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
572
572
  text-decoration: ${r.textDecoration};
573
573
  text-transform: ${r.textCase};
574
574
  }
575
- `}var Ip=[Object.keys(Hn).map(t=>I3(t))];var zp=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ve=class extends U{constructor(){super(...arguments),this.variant=Se.body2medium}render(){return this.element?gi`
575
+ `}var Ip=[Object.keys(Hn).map(t=>I3(t))];var zp=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},je=class extends U{constructor(){super(...arguments),this.variant=Se.body2medium}render(){return this.element?gi`
576
576
  <${mi(this.element)}
577
577
  part="text"
578
578
  class="ftds-typography ftds-typography--${this.variant}">
@@ -580,7 +580,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
580
580
  </${mi(this.element)}>
581
581
  `:gi`
582
582
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
583
- `}};Ve.styles=[...Ip];zp([g()],Ve.prototype,"element",void 0);zp([g()],Ve.prototype,"variant",void 0);j("ft-typography")(pe);j("ftds-typography")(Ve);var on={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",T.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},$p=M`
583
+ `}};je.styles=[...Ip];zp([g()],je.prototype,"element",void 0);zp([g()],je.prototype,"variant",void 0);j("ft-typography")(pe);j("ftds-typography")(je);var on={distance:i.create("--ft-tooltip-distance","","SIZE","4px"),color:i.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:i.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:i.extend("--ft-tooltip-border-radius","",T.borderRadiusS),maxWidth:i.create("--ft-tooltip-max-width","","SIZE","150px")},$p=M`
584
584
  .ft-tooltip--container {
585
585
  display: block;
586
586
  }
@@ -611,10 +611,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
611
611
  position: relative;
612
612
  word-break: break-word;
613
613
  }
614
- `;var z3="ft-app-info",To=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};To.eventName="authentication-change";var $3={session:(t,e)=>{Ue(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new To(e.payload)),0))}},W=Wr.get({name:z3,reducers:$3,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var ca=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},WA=He(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(W)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>wo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return ca([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),ca([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),ca([nr({store:W.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),ca([nr({store:W.name})],e.prototype,"uiLocale",void 0),e});var Mo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=W.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=W.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}};var da=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Mo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Mo.await()}};var yt=class extends da{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new tr,this.cache=e?n.commonCache:new tr}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var fa=class extends yt{async listMySearches(){let{session:e}=W.getState();return np(e,$e.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ua=class extends yt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var pa=class extends yt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var ha=class extends yt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var D3="ft-user-assets",B3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(zt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:n}=e.payload;mc(t,r,[...hc(t,r),n]),Dp(t,r,1,o),Bp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;mc(t,r,hc(t,r).map(n=>n.id===o.id?o:n)),Bp(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;mc(t,r,hc(t,r).filter(a=>a.id!==n)),Dp(t,r,-1,o)}},Fp={[zt.SEARCHES]:"savedSearches",[zt.BOOKMARKS]:"bookmarks",[zt.BOOKS]:void 0,[zt.COLLECTIONS]:void 0},hc=(t,e)=>{var r;let o=Fp[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},mc=(t,e,r)=>{let o=Fp[e];o&&(t[o]=r)},Dp=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===zt.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Bp=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},Et=Wr.get({name:D3,reducers:B3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(zt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),gc=class{constructor(e=new pa,r=new ha){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ua,this.savedSearchesService=new fa,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Ue((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Et.actions.clearAssetCount(),Et.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Et.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Et.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Et.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Et.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Et.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Et.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Et.getState().assetCounts.bookmarkByMap).length!==0;e===zt.BOOKMARKS&&r&&Et.actions.clearBookmarkCountByMap(),Et.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}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;Et.actions.bookmarks(r)}}},F3=new gc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=F3);var yc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new yc;var Up,yi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},U3=Symbol("clearAfterUnitTest"),ma=class extends Un(yt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Up]=()=>{this.defaultMessages={},this.cache=new tr,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.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 o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Ue(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Dr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Mr)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new yi({loadedContexts:e})),this.dispatchEvent(new yi({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new yi({loadedContexts:[e]})),this.dispatchEvent(new yi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Fn(0).then(()=>o()).catch(()=>null)))}};Up=U3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ma{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ma{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var bi=window.FluidTopicsI18nService,ga=window.FluidTopicsCustomI18nService;var bc=class{highlightHtml(e,r,o){yl(e,r,o)}};window.FluidTopicsHighlightHtmlService=new bc;var vc=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;if(e==null)return"";try{return wo.format(e,(o=r?.locale)!==null&&o!==void 0?o:W.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}catch(s){throw console.error(`Date ${JSON.stringify(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new vc;var Lr=class{static get(e,r){var o,n;let a=W.getState(),{lang:s,region:l}=(n=(o=a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new jr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var xc=class{urlToSearchRequest(e){return Lr.get().parse(e)}searchRequestToUrl(e){return Lr.get().serialize(e)}};window.FluidTopicsUrlService=new xc;var No=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};No.eventName="change";var Sc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Hp=new Sc;var ya=class t extends vr{static build(){return new t(window.history,Hp,()=>window.location,!1)}constructor(e,r,o,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),Ue(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new No(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[a,s,l])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(n,[f,s,l]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(No.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(No.eventName,e)}currentItem(){return fo(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return fo(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return fo(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,o);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ya.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var Gp=M`
615
- `;function Wp(t,e){let{authenticationRequired:r,session:o}=W.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var je=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ee=class extends U{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Mo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new tr,this.cleanSessionDebouncer=new me,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return O`
614
+ `;var z3="ft-app-info",To=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};To.eventName="authentication-change";var $3={session:(t,e)=>{He(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new To(e.payload)),0))}},W=Wr.get({name:z3,reducers:$3,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var ca=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},WA=Ge(Symbol("withDateFormat"),function(t){class e extends t{constructor(...o){super(o),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(W)}dateFormatOptionsChanged(o){return o.has("metadataDescriptors")||o.has("useLongDateFormat")||o.has("useDateTimeFormat")||o.has("uiLocale")}getDateFormatter(o){var n,a;return((a=(n=this.metadataDescriptors.find(l=>l.key===o))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1)?l=>wo.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return ca([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),ca([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),ca([nr({store:W.name,selector:r=>{var o,n;return(n=(o=r.metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]}})],e.prototype,"metadataDescriptors",void 0),ca([nr({store:W.name})],e.prototype,"uiLocale",void 0),e});var Mo=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=W.getState(),n=e??o;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let n=W.subscribe(()=>{o=t.get(e),o&&(n(),r(o))})}})}};var da=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Mo.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Mo.await()}};var yt=class extends da{constructor(e=!0,r){var o;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let n=this.constructor;n.commonCache=(o=n.commonCache)!==null&&o!==void 0?o:new tr,this.cache=e?n.commonCache:new tr}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,o)=>0|31*r+o.charCodeAt(0),0))}};var fa=class extends yt{async listMySearches(){let{session:e}=W.getState();return np(e,De.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ua=class extends yt{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var pa=class extends yt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var ha=class extends yt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=W.getState().session;return!!e?.sessionAuthenticated}};var D3="ft-user-assets",B3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(zt).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:o,asset:n}=e.payload;mc(t,r,[...hc(t,r),n]),Dp(t,r,1,o),Bp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;mc(t,r,hc(t,r).map(n=>n.id===o.id?o:n)),Bp(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;mc(t,r,hc(t,r).filter(a=>a.id!==n)),Dp(t,r,-1,o)}},Fp={[zt.SEARCHES]:"savedSearches",[zt.BOOKMARKS]:"bookmarks",[zt.BOOKS]:void 0,[zt.COLLECTIONS]:void 0},hc=(t,e)=>{var r;let o=Fp[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},mc=(t,e,r)=>{let o=Fp[e];o&&(t[o]=r)},Dp=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===zt.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Bp=(t,e)=>{let r=t.assetLabels.map(n=>n.title),o=e.labels.filter(n=>!r.includes(n)).map(n=>({title:n}));t.assetLabels.push(...o)},Et=Wr.get({name:D3,reducers:B3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(zt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),gc=class{constructor(e=new pa,r=new ha){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ua,this.savedSearchesService=new fa,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();He((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Et.actions.clearAssetCount(),Et.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Et.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Et.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Et.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Et.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Et.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Et.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Et.getState().assetCounts.bookmarkByMap).length!==0;e===zt.BOOKMARKS&&r&&Et.actions.clearBookmarkCountByMap(),Et.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}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;Et.actions.bookmarks(r)}}},F3=new gc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=F3);var yc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new yc;var Up,yi=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},U3=Symbol("clearAfterUnitTest"),ma=class extends Un(yt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Up]=()=>{this.defaultMessages={},this.cache=new tr,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.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 o;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};He(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,o;return this.fetchContext(e),(o=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&o!==void 0?o:{}}resolveRawMessage(e,r){let o=e.toLowerCase();return this.resolveContext(o)[r]}resolveMessage(e,r,...o){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Dr((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...o)}async fetchContext(e){let r=!this.cache.has(e),o;try{o=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Mr)&&r&&console.error(n)}return o}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new yi({loadedContexts:e})),this.dispatchEvent(new yi({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new yi({loadedContexts:[e]})),this.dispatchEvent(new yi({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>Fn(0).then(()=>o()).catch(()=>null)))}};Up=U3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ma{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ma{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var bi=window.FluidTopicsI18nService,ga=window.FluidTopicsCustomI18nService;var bc=class{highlightHtml(e,r,o){yl(e,r,o)}};window.FluidTopicsHighlightHtmlService=new bc;var vc=class{isDate(e){var r,o,n,a;return(a=(n=((o=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&o!==void 0?o:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var o,n,a;if(e==null)return"";try{return wo.format(e,(o=r?.locale)!==null&&o!==void 0?o:W.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}catch(s){throw console.error(`Date ${JSON.stringify(e)} is not valid`,s),s}}};window.FluidTopicsDateService=new vc;var Lr=class{static get(e,r){var o,n;let a=W.getState(),{lang:s,region:l}=(n=(o=a.defaultLocales)===null||o===void 0?void 0:o.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new jr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var xc=class{urlToSearchRequest(e){return Lr.get().parse(e)}searchRequestToUrl(e){return Lr.get().serialize(e)}};window.FluidTopicsUrlService=new xc;var No=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};No.eventName="change";var Sc=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Hp=new Sc;var ya=class t extends vr{static build(){return new t(window.history,Hp,()=>window.location,!1)}constructor(e,r,o,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=o,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let o=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,o&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),He(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new No(this.currentItem())),0)}installProxies(){let e=r=>(o,n,[a,s,l])=>{let d=r(),f={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};o.apply(n,[f,s,l]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let o={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(o)}addHistoryChangeListener(e){this.addEventListener(No.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(No.eventName,e)}currentItem(){return fo(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return fo(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return fo(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let o=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!o)return e;let n=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,o);)this.hasState(a)&&(n=a),a++;return n}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var o;if(!this.hasState(e))return!1;let n=r??this.currentState.majorStateId,a=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;return a==null||a!=n}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=ya.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var Gp=M`
615
+ `;function Wp(t,e){let{authenticationRequired:r,session:o}=W.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Ke=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ee=class extends U{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Mo.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new tr,this.cleanSessionDebouncer=new me,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return O`
616
616
  <slot></slot>
617
- `}connectedCallback(){super.connectedCallback(),W.addEventListener(To.eventName,this.reloadConfiguration)}disconnectedCallback(){W.addEventListener(To.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&W.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>bi.addContext(f)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((n=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&n!==void 0?n:[]),W.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&W.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&W.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let 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())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Wp(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Ee.elementDefinitions={};Ee.styles=Gp;je([g()],Ee.prototype,"baseUrl",void 0);je([g()],Ee.prototype,"apiIntegrationIdentifier",void 0);je([g()],Ee.prototype,"apiIntegrationAppVersion",void 0);je([g()],Ee.prototype,"uiLocale",void 0);je([Me(null)],Ee.prototype,"availableUiLocales",void 0);je([Me(null)],Ee.prototype,"metadataConfiguration",void 0);je([g({type:Boolean})],Ee.prototype,"editorMode",void 0);je([g({type:Boolean})],Ee.prototype,"noCustom",void 0);je([g({type:Boolean})],Ee.prototype,"openExternalDocumentInNewTab",void 0);je([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomComponent",void 0);je([g({type:Boolean})],Ee.prototype,"withManualResources",void 0);je([g({type:Boolean})],Ee.prototype,"navigatorOnline",void 0);je([g({type:Boolean})],Ee.prototype,"forcedOffline",void 0);je([g({type:Object})],Ee.prototype,"apiProvider",void 0);je([g({type:Boolean})],Ee.prototype,"authenticationRequired",void 0);je([Me([])],Ee.prototype,"messageContexts",void 0);je([Me(void 0)],Ee.prototype,"session",void 0);je([B()],Ee.prototype,"localesConfiguration",void 0);je([B()],Ee.prototype,"availableContentLocales",void 0);j("ft-app-context")(Ee);var Cc=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},vi=new Cc;var H3=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},an=Symbol("i18nAttributes"),Vp=Symbol("i18nListAttributes"),jp=Symbol("i18nProperties"),ba=Symbol("i18nContexts"),nn=Symbol("i18nUnsubs"),xi=He(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ga:bi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:p,argsProvider:h}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let y=p??(h?h(this):[]);return this.getI18nService(f).resolveMessage(s,l,...y)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(vi.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(p,h,y)=>y?.context&&y.key&&a(p,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...p})}:y;(s=this[an])===null||s===void 0||s.forEach((p,h)=>d[h]=f(p,h,d[h])),(l=this[Vp])===null||l===void 0||l.forEach((p,h)=>{var y;return d[h]=(y=d[h])===null||y===void 0?void 0:y.map(C=>f(p,h,C))})}updateI18nProperties(a){var s;(s=this[jp])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[ba].set(d,{isCustomContext:l}),this[nn].has(d)||this[nn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[ba].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ba].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[nn].forEach(a=>a()),this[nn].clear()}}return e=ba,r=nn,H3([g({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),va=class extends xi(U){},xa=class extends xi(Oo){};var Oc=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?vi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},G3=new Oc;var Sa=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:St,converter:vi,...e}),r[an]=(n=r[an])!==null&&n!==void 0?n:new Map,r[an].set(o,t??{})};var Ca=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ga:bi}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}};var Kp=M`
617
+ `}connectedCallback(){super.connectedCallback(),W.addEventListener(To.eventName,this.reloadConfiguration)}disconnectedCallback(){W.addEventListener(To.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,o,n,a,s,l,d;super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&W.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(f=>bi.addContext(f)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(W.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),W.actions.availableUiLocales((n=(o=this.localesConfiguration)===null||o===void 0?void 0:o.availableUiLocales)!==null&&n!==void 0?n:[]),W.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&W.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&W.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let 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())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>Wp(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Ee.elementDefinitions={};Ee.styles=Gp;Ke([g()],Ee.prototype,"baseUrl",void 0);Ke([g()],Ee.prototype,"apiIntegrationIdentifier",void 0);Ke([g()],Ee.prototype,"apiIntegrationAppVersion",void 0);Ke([g()],Ee.prototype,"uiLocale",void 0);Ke([Me(null)],Ee.prototype,"availableUiLocales",void 0);Ke([Me(null)],Ee.prototype,"metadataConfiguration",void 0);Ke([g({type:Boolean})],Ee.prototype,"editorMode",void 0);Ke([g({type:Boolean})],Ee.prototype,"noCustom",void 0);Ke([g({type:Boolean})],Ee.prototype,"openExternalDocumentInNewTab",void 0);Ke([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Ee.prototype,"noCustomComponent",void 0);Ke([g({type:Boolean})],Ee.prototype,"withManualResources",void 0);Ke([g({type:Boolean})],Ee.prototype,"navigatorOnline",void 0);Ke([g({type:Boolean})],Ee.prototype,"forcedOffline",void 0);Ke([g({type:Object})],Ee.prototype,"apiProvider",void 0);Ke([g({type:Boolean})],Ee.prototype,"authenticationRequired",void 0);Ke([Me([])],Ee.prototype,"messageContexts",void 0);Ke([Me(void 0)],Ee.prototype,"session",void 0);Ke([B()],Ee.prototype,"localesConfiguration",void 0);Ke([B()],Ee.prototype,"availableContentLocales",void 0);j("ft-app-context")(Ee);var Cc=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,o]=e.split(".");return{context:r,key:o,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},vi=new Cc;var H3=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},an=Symbol("i18nAttributes"),Vp=Symbol("i18nListAttributes"),jp=Symbol("i18nProperties"),ba=Symbol("i18nContexts"),nn=Symbol("i18nUnsubs"),xi=Ge(Symbol("withI18n"),function(t){var e,r;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ga:bi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:p,argsProvider:h}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let y=p??(h?h(this):[]);return this.getI18nService(f).resolveMessage(s,l,...y)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(vi.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var f;return((f=d?.context)===null||f===void 0?void 0:f.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,f=(p,h,y)=>y?.context&&y.key&&a(p,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...p})}:y;(s=this[an])===null||s===void 0||s.forEach((p,h)=>d[h]=f(p,h,d[h])),(l=this[Vp])===null||l===void 0||l.forEach((p,h)=>{var y;return d[h]=(y=d[h])===null||y===void 0?void 0:y.map(C=>f(p,h,C))})}updateI18nProperties(a){var s;(s=this[jp])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[ba].set(d,{isCustomContext:l}),this[nn].has(d)||this[nn].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[ba].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ba].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[nn].forEach(a=>a()),this[nn].clear()}}return e=ba,r=nn,H3([g({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),va=class extends xi(U){},xa=class extends xi(Oo){};var Oc=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?vi.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},G3=new Oc;var Sa=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:St,converter:vi,...e}),r[an]=(n=r[an])!==null&&n!==void 0?n:new Map,r[an].set(o,t??{})};var Ca=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ga:bi}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(o,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>this.service.resolveRawMessage(this.name,n)}),this.keys=new Proxy({},{get:(o,n)=>()=>n}),this.attributes=new Proxy({},{get:(o,n)=>()=>({context:this.name,key:n,message:this.service.resolveRawMessage(this.name,n)})})}};var Kp=M`
618
618
  `;var sn=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},qt=class extends xa{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:O`
619
619
  <span class="ft-i18n">
620
620
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -634,12 +634,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
634
634
  </div>
635
635
  </div>
636
636
  </div>
637
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&ll(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${T.transitionDuration}, left ${T.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||ys(e,this.ignoreMatchingElements,this.eventsTarget)}};Ie.elementDefinitions={"ft-typography":pe};Ie.styles=$p;Zt([Sa()],Ie.prototype,"text",void 0);Zt([g({type:Boolean})],Ie.prototype,"manual",void 0);Zt([g({type:Boolean})],Ie.prototype,"inline",void 0);Zt([Pr()],Ie.prototype,"delay",void 0);Zt([g()],Ie.prototype,"position",void 0);Zt([Me([])],Ie.prototype,"ignoreMatchingElements",void 0);Zt([ds()],Ie.prototype,"slotNodes",void 0);Zt([F(".ft-tooltip--container")],Ie.prototype,"container",void 0);Zt([F(".ft-tooltip")],Ie.prototype,"tooltip",void 0);Zt([F(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0);Zt([B()],Ie.prototype,"visible",void 0);j("ft-tooltip")(Ie);var De;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(De||(De={}));var ve;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM_REGULAR="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS_REGULAR="&#xe9bd;",t.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(ve||(ve={}));var D;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(D||(D={}));var Ec=new Map([...["abw"].map(t=>[t,D.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,D.AUDIO]),...["avi"].map(t=>[t,D.AVI]),...["chm","xhs"].map(t=>[t,D.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,D.CODE]),...["csv"].map(t=>[t,D.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,D.DITA]),...["epub"].map(t=>[t,D.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,D.EXCEL]),...["flac"].map(t=>[t,D.FLAC]),...["gif"].map(t=>[t,D.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,D.GZIP]),...["html","htm","xhtml"].map(t=>[t,D.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,D.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,D.JPEG]),...["json"].map(t=>[t,D.JSON]),...["m4a","m4p"].map(t=>[t,D.M4A]),...["mov","qt"].map(t=>[t,D.MOV]),...["mp3"].map(t=>[t,D.MP3]),...["mp4","m4v"].map(t=>[t,D.MP4]),...["ogg","oga"].map(t=>[t,D.OGG]),...["pdf","ps"].map(t=>[t,D.PDF]),...["png"].map(t=>[t,D.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,D.POWERPOINT]),...["rar"].map(t=>[t,D.RAR]),...["stp"].map(t=>[t,D.STP]),...["txt","rtf","md","mdown"].map(t=>[t,D.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,D.VIDEO]),...["wav"].map(t=>[t,D.WAV]),...["wma"].map(t=>[t,D.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,D.WORD]),...["xml","xsl","rdf"].map(t=>[t,D.XML]),...["yaml","yml","x-yaml"].map(t=>[t,D.YAML]),...["zip"].map(t=>[t,D.ZIP])]),W3=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Oa(t,e){var r,o,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=W3.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(o=Ec.get(l))!==null&&o!==void 0?o:Ec.get(e))!==null&&n!==void 0?n:Ec.get(s))!==null&&a!==void 0?a:D.UNKNOWN}var I_={[D.ABW]:"#91ABC6",[D.AUDIO]:"#1795E3",[D.AVI]:"#E63324",[D.CHM]:"#71C3EB",[D.CODE]:"#71C3EB",[D.CSV]:"#1F7345",[D.DITA]:"#71C3EB",[D.EPUB]:"#85B926",[D.EXCEL]:"#1F7345",[D.FLAC]:"#1795E3",[D.GIF]:"#59B031",[D.GZIP]:"#F8AB36",[D.HTML]:"#71C3EB",[D.IMAGE]:"#59B031",[D.JPEG]:"#59B031",[D.JSON]:"#71C3EB",[D.M4A]:"#1795E3",[D.MOV]:"#E63324",[D.MP3]:"#1795E3",[D.MP4]:"#E63324",[D.OGG]:"#1795E3",[D.PDF]:"#E44948",[D.PNG]:"#59B031",[D.POWERPOINT]:"#B54A2B",[D.RAR]:"#F8AB36",[D.STP]:"#3764B1",[D.TEXT]:"#3162AB",[D.UNKNOWN]:"#999999",[D.VIDEO]:"#E63324",[D.WAV]:"#1795E3",[D.WMA]:"#1795E3",[D.WORD]:"#3162AB",[D.XML]:"#71C3EB",[D.YAML]:"#71C3EB",[D.ZIP]:"#F8AB36"};var ln=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=z}render(){let e=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,r=e!==De.material||!!this.value;return O`
637
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){var r,o;e.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(o=this.tooltip)===null||o===void 0||o.hidePopover()),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let o=this.manual;this.manual=!0;let n=this.text;this.text={message:e},await this.show(r),this.text=n,this.manual=o}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&ll(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${e}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${T.transitionDuration}, left ${T.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||ys(e,this.ignoreMatchingElements,this.eventsTarget)}};Ie.elementDefinitions={"ft-typography":pe};Ie.styles=$p;Zt([Sa()],Ie.prototype,"text",void 0);Zt([g({type:Boolean})],Ie.prototype,"manual",void 0);Zt([g({type:Boolean})],Ie.prototype,"inline",void 0);Zt([Pr()],Ie.prototype,"delay",void 0);Zt([g()],Ie.prototype,"position",void 0);Zt([Me([])],Ie.prototype,"ignoreMatchingElements",void 0);Zt([ds()],Ie.prototype,"slotNodes",void 0);Zt([F(".ft-tooltip--container")],Ie.prototype,"container",void 0);Zt([F(".ft-tooltip")],Ie.prototype,"tooltip",void 0);Zt([F(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0);Zt([B()],Ie.prototype,"visible",void 0);j("ft-tooltip")(Ie);var Be;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Be||(Be={}));var ve;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM_REGULAR="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS_REGULAR="&#xe9bd;",t.PERSON_CHALKBOARD_REGULAR="&#xe9be;"})(ve||(ve={}));var D;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(D||(D={}));var Ec=new Map([...["abw"].map(t=>[t,D.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,D.AUDIO]),...["avi"].map(t=>[t,D.AVI]),...["chm","xhs"].map(t=>[t,D.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,D.CODE]),...["csv"].map(t=>[t,D.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,D.DITA]),...["epub"].map(t=>[t,D.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,D.EXCEL]),...["flac"].map(t=>[t,D.FLAC]),...["gif"].map(t=>[t,D.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,D.GZIP]),...["html","htm","xhtml"].map(t=>[t,D.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,D.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,D.JPEG]),...["json"].map(t=>[t,D.JSON]),...["m4a","m4p"].map(t=>[t,D.M4A]),...["mov","qt"].map(t=>[t,D.MOV]),...["mp3"].map(t=>[t,D.MP3]),...["mp4","m4v"].map(t=>[t,D.MP4]),...["ogg","oga"].map(t=>[t,D.OGG]),...["pdf","ps"].map(t=>[t,D.PDF]),...["png"].map(t=>[t,D.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,D.POWERPOINT]),...["rar"].map(t=>[t,D.RAR]),...["stp"].map(t=>[t,D.STP]),...["txt","rtf","md","mdown"].map(t=>[t,D.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,D.VIDEO]),...["wav"].map(t=>[t,D.WAV]),...["wma"].map(t=>[t,D.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,D.WORD]),...["xml","xsl","rdf"].map(t=>[t,D.XML]),...["yaml","yml","x-yaml"].map(t=>[t,D.YAML]),...["zip"].map(t=>[t,D.ZIP])]),W3=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Oa(t,e){var r,o,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=W3.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(o=Ec.get(l))!==null&&o!==void 0?o:Ec.get(e))!==null&&n!==void 0?n:Ec.get(s))!==null&&a!==void 0?a:D.UNKNOWN}var I_={[D.ABW]:"#91ABC6",[D.AUDIO]:"#1795E3",[D.AVI]:"#E63324",[D.CHM]:"#71C3EB",[D.CODE]:"#71C3EB",[D.CSV]:"#1F7345",[D.DITA]:"#71C3EB",[D.EPUB]:"#85B926",[D.EXCEL]:"#1F7345",[D.FLAC]:"#1795E3",[D.GIF]:"#59B031",[D.GZIP]:"#F8AB36",[D.HTML]:"#71C3EB",[D.IMAGE]:"#59B031",[D.JPEG]:"#59B031",[D.JSON]:"#71C3EB",[D.M4A]:"#1795E3",[D.MOV]:"#E63324",[D.MP3]:"#1795E3",[D.MP4]:"#E63324",[D.OGG]:"#1795E3",[D.PDF]:"#E44948",[D.PNG]:"#59B031",[D.POWERPOINT]:"#B54A2B",[D.RAR]:"#F8AB36",[D.STP]:"#3764B1",[D.TEXT]:"#3162AB",[D.UNKNOWN]:"#999999",[D.VIDEO]:"#E63324",[D.WAV]:"#1795E3",[D.WMA]:"#1795E3",[D.WORD]:"#3162AB",[D.XML]:"#71C3EB",[D.YAML]:"#71C3EB",[D.ZIP]:"#F8AB36"};var ln=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Be).includes(this.variant)?this.variant:Be.fluid_topics,r=e!==Be.material||!!this.value;return O`
638
638
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
639
639
  ${$i(this.resolvedIcon)}
640
640
  <slot ?hidden=${r}></slot>
641
641
  </i>
642
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case De.file_format:this.resolvedIcon=(e=D[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case De.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=ve[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Rp;ln([g()],he.prototype,"variant",void 0);ln([g()],he.prototype,"value",void 0);ln([g({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);ln([B()],he.prototype,"resolvedIcon",void 0);ln([F("slot")],he.prototype,"slottedContent",void 0);var qp={size:i.create("--ftds-icon-font-size","","SIZE","24px")},Zp=[M`
642
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.getTextContent();switch(this.variant){case Be.file_format:this.resolvedIcon=(e=D[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case Be.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=ve[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Rp;ln([g()],he.prototype,"variant",void 0);ln([g()],he.prototype,"value",void 0);ln([g({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);ln([B()],he.prototype,"resolvedIcon",void 0);ln([F("slot")],he.prototype,"slottedContent",void 0);var qp={size:i.create("--ftds-icon-font-size","","SIZE","24px")},Zp=[M`
643
643
  :host {
644
644
  display: inline-flex;
645
645
  }
@@ -1219,7 +1219,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1219
1219
  <div></div>
1220
1220
  <div></div>
1221
1221
  </div>
1222
- `}};$o.styles=wp;j("ft-loader")($o);var Qr=t=>t??z;var Ke=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},be=class extends Xl(U){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n=O`
1222
+ `}};$o.styles=wp;j("ft-loader")($o);var Qr=t=>t??z;var qe=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},be=class extends Xl(U){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,o;let n=O`
1223
1223
  <ft-ripple part="ripple"
1224
1224
  ?disabled=${this.isDisabled()}
1225
1225
  ?activated=${this.activated}
@@ -1261,7 +1261,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1261
1261
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1262
1262
  `:O`
1263
1263
  <slot part="icon" name="icon"></slot>
1264
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return er(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};be.elementDefinitions={"ft-ripple":re,"ft-tooltip":Ie,"ft-icon":he,"ft-loader":$o};Ke([g()],be.prototype,"href",void 0);Ke([g()],be.prototype,"target",void 0);Ke([g()],be.prototype,"type",void 0);Ke([g({type:Boolean})],be.prototype,"disabled",void 0);Ke([g()],be.prototype,"label",void 0);Ke([g()],be.prototype,"icon",void 0);Ke([g()],be.prototype,"iconVariant",void 0);Ke([g({type:Boolean})],be.prototype,"trailingIcon",void 0);Ke([g({type:Boolean})],be.prototype,"loading",void 0);Ke([g({attribute:"aria-label"})],be.prototype,"ariaLabel",void 0);Ke([g()],be.prototype,"ariaHasPopup",void 0);Ke([g({attribute:"aria-pressed"})],be.prototype,"ariaPressed",void 0);Ke([g()],be.prototype,"tooltipPosition",void 0);Ke([g({type:Boolean})],be.prototype,"hideTooltip",void 0);Ke([g({type:Boolean})],be.prototype,"forceTooltip",void 0);Ke([g({type:Boolean})],be.prototype,"activated",void 0);Ke([F(".ft-button")],be.prototype,"button",void 0);Ke([F(".ft-button--label slot")],be.prototype,"slottedContent",void 0);Ke([F("[part=tooltip]")],be.prototype,"tooltip",void 0);var $a=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends be{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ne.button}};Pe.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":pe};Pe.styles=[Ct,Tp];$a([g({type:Boolean})],Pe.prototype,"primary",void 0);$a([g({type:Boolean})],Pe.prototype,"outlined",void 0);$a([g({type:Boolean})],Pe.prototype,"dense",void 0);$a([g({type:Boolean})],Pe.prototype,"round",void 0);var bd={...S,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},u0=[M`
1264
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var o;return(o=this.tooltip)===null||o===void 0?void 0:o.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return er(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};be.elementDefinitions={"ft-ripple":re,"ft-tooltip":Ie,"ft-icon":he,"ft-loader":$o};qe([g()],be.prototype,"href",void 0);qe([g()],be.prototype,"target",void 0);qe([g()],be.prototype,"type",void 0);qe([g({type:Boolean})],be.prototype,"disabled",void 0);qe([g()],be.prototype,"label",void 0);qe([g()],be.prototype,"icon",void 0);qe([g()],be.prototype,"iconVariant",void 0);qe([g({type:Boolean})],be.prototype,"trailingIcon",void 0);qe([g({type:Boolean})],be.prototype,"loading",void 0);qe([g({attribute:"aria-label"})],be.prototype,"ariaLabel",void 0);qe([g()],be.prototype,"ariaHasPopup",void 0);qe([g({attribute:"aria-pressed"})],be.prototype,"ariaPressed",void 0);qe([g()],be.prototype,"tooltipPosition",void 0);qe([g({type:Boolean})],be.prototype,"hideTooltip",void 0);qe([g({type:Boolean})],be.prototype,"forceTooltip",void 0);qe([g({type:Boolean})],be.prototype,"activated",void 0);qe([F(".ft-button")],be.prototype,"button",void 0);qe([F(".ft-button--label slot")],be.prototype,"slottedContent",void 0);qe([F("[part=tooltip]")],be.prototype,"tooltip",void 0);var $a=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends be{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ne.button}};Pe.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":pe};Pe.styles=[Ct,Tp];$a([g({type:Boolean})],Pe.prototype,"primary",void 0);$a([g({type:Boolean})],Pe.prototype,"outlined",void 0);$a([g({type:Boolean})],Pe.prototype,"dense",void 0);$a([g({type:Boolean})],Pe.prototype,"round",void 0);var bd={...S,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},u0=[M`
1265
1265
  :host {
1266
1266
  display: inline-block;
1267
1267
  max-width: 100%;
@@ -1731,11 +1731,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1731
1731
  .ftds--size-small.ft-button--icon-only {
1732
1732
  width: ${S.smallIconOnlyWidth};
1733
1733
  }
1734
- `,jt];var Da=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends Pt(be){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ge.brand,this.iconVariant=De.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Xe.large:return Se.body2medium;case Xe.medium:return Se.caption1medium;case Xe.small:return Se.caption2medium}}};bt.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":Ve};bt.styles=[Ct,u0];Da([g({type:Boolean})],bt.prototype,"primary",void 0);Da([g({type:Boolean})],bt.prototype,"secondary",void 0);Da([g({type:Boolean})],bt.prototype,"tertiary",void 0);Da([g({type:Boolean})],bt.prototype,"round",void 0);j("ft-button")(Pe);j("ftds-button")(bt);var qe={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",T.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",T.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",T.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",T.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",T.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",T.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",T.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",T.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",T.colorPrimary)},p0=M`
1734
+ `,jt];var Da=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends Pt(be){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=We.brand,this.iconVariant=Be.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Xe.large:return Se.body2medium;case Xe.medium:return Se.caption1medium;case Xe.small:return Se.caption2medium}}};bt.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":je};bt.styles=[Ct,u0];Da([g({type:Boolean})],bt.prototype,"primary",void 0);Da([g({type:Boolean})],bt.prototype,"secondary",void 0);Da([g({type:Boolean})],bt.prototype,"tertiary",void 0);Da([g({type:Boolean})],bt.prototype,"round",void 0);j("ft-button")(Pe);j("ftds-button")(bt);var Ze={height:i.create("--ft-search-input-height","","SIZE","38px"),borderRadius:i.extend("--ft-search-input-border-radius","",T.borderRadiusS),desktopFiltersHeight:i.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:i.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:i.extend("--ft-search-input-background-color","",T.colorSurface),colorOnSurface:i.extend("--ft-search-input-color","",T.colorOnSurface),colorOnSurfaceMedium:i.extend("--ft-search-input-placeholder-color","",T.colorOnSurfaceMedium),colorOutline:i.extend("--ft-search-input-outline-color","",T.colorOutline),elevation02:i.extend("--ft-search-input-elevation","",T.elevation02),focusOutlineColor:i.extend("--ft-search-input-focused-outline-color","",T.colorPrimary),buttonColor:i.extend("--ft-search-input-button-color","",T.colorPrimary),buttonRippleColor:i.extend("--ft-search-input-button-ripple-color","",T.colorPrimary)},p0=M`
1735
1735
  * {
1736
1736
  box-sizing: border-box;
1737
- ${v(te.color,qe.buttonColor)};
1738
- ${v(te.rippleColor,qe.buttonRippleColor)};
1737
+ ${v(te.color,Ze.buttonColor)};
1738
+ ${v(te.rippleColor,Ze.buttonRippleColor)};
1739
1739
  }
1740
1740
 
1741
1741
  .ft-search-input {
@@ -1743,11 +1743,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1743
1743
  display: flex;
1744
1744
  flex-direction: row;
1745
1745
  align-items: center;
1746
- height: ${qe.height};
1746
+ height: ${Ze.height};
1747
1747
 
1748
- background: ${qe.colorSurface};
1749
- border: 1px solid ${qe.colorOutline};
1750
- border-radius: ${qe.borderRadius};
1748
+ background: ${Ze.colorSurface};
1749
+ border: 1px solid ${Ze.colorOutline};
1750
+ border-radius: ${Ze.borderRadius};
1751
1751
  }
1752
1752
 
1753
1753
  .ft-search-input--input-container {
@@ -1762,11 +1762,11 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1762
1762
  width: 100%;
1763
1763
  display: grid;
1764
1764
  padding: 0 8px;
1765
- border-radius: ${qe.borderRadius};
1765
+ border-radius: ${Ze.borderRadius};
1766
1766
  }
1767
1767
 
1768
1768
  .ft-search-input--input-container:focus-within .ft-search-input--input-outline {
1769
- outline: 2px solid ${qe.focusOutlineColor};
1769
+ outline: 2px solid ${Ze.focusOutlineColor};
1770
1770
  }
1771
1771
 
1772
1772
  .ft-search-input--input {
@@ -1774,12 +1774,12 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1774
1774
  width: 100%;
1775
1775
  border: none;
1776
1776
  background-color: transparent;
1777
- color: ${qe.colorOnSurface};
1777
+ color: ${Ze.colorOnSurface};
1778
1778
  outline: none;
1779
1779
  }
1780
1780
 
1781
1781
  .ft-search-input--input::placeholder {
1782
- color: ${qe.colorOnSurfaceMedium};
1782
+ color: ${Ze.colorOnSurfaceMedium};
1783
1783
  }
1784
1784
 
1785
1785
  .ft-search-input--actions {
@@ -1803,9 +1803,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1803
1803
 
1804
1804
  .ft-search-input--separator {
1805
1805
  height: 20px;
1806
- border-right: 1px solid ${qe.colorOutline};
1806
+ border-right: 1px solid ${Ze.colorOutline};
1807
1807
  }
1808
- `;var vd;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(vd||(vd={}));var Ba=class t extends Event{constructor(){super(t.eventName)}};Ba.eventName="search-context-clear-all-filters";var h0=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Sd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},m0=Symbol("registerInterval"),xd=Symbol("registerAttempts"),G5=40,W5=He(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,a,s;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=o.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[xd]=0,this.tryToRegisterToContext(),this[m0]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[xd]>G5?window.clearInterval(this[m0]):(this[xd]++,this.dispatchEvent(new Sd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return h0([B()],e.prototype,"stateManager",void 0),h0([B({hasChanged:St})],e.prototype,"neededSearchRequests",void 0),e}),Fa=class extends W5(Oo){};var Jr=Ca.build("designedSearchInput");var $t;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})($t||($t={}));var g0=M`
1808
+ `;var vd;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(vd||(vd={}));var Ba=class t extends Event{constructor(){super(t.eventName)}};Ba.eventName="search-context-clear-all-filters";var h0=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Sd=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},m0=Symbol("registerInterval"),xd=Symbol("registerAttempts"),G5=40,W5=Ge(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(o){var n,a,s;super.willUpdate(o),o.has("neededSearchRequests")&&((n=this.stateManager)===null||n===void 0||n.unregisterComponent(this,(a=o.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(o){this.clearStateManager(),this.stateManager=o,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(o.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[xd]=0,this.tryToRegisterToContext(),this[m0]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[xd]>G5?window.clearInterval(this[m0]):(this[xd]++,this.dispatchEvent(new Sd))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return h0([B()],e.prototype,"stateManager",void 0),h0([B({hasChanged:St})],e.prototype,"neededSearchRequests",void 0),e}),Fa=class extends W5(Oo){};var Jr=Ca.build("designedSearchInput");var $t;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})($t||($t={}));var g0=M`
1809
1809
  .ft-size-watcher--pixel {
1810
1810
  width: 0;
1811
1811
  height: 0;
@@ -1828,7 +1828,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1828
1828
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1829
1829
  <div class="ft-size-watcher--watcher"></div>
1830
1830
  </div>
1831
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=$t.S:this.size<976?this.category=$t.M:this.size<1024?this.category=$t.L:this.size<1440?this.category=$t.XL:this.category=$t.XXL,this.dispatchEvent(new Cd(this.size,this.category)))},this.debounceTimeout)}};At.elementDefinitions={};At.styles=g0;vn([g({type:Number})],At.prototype,"debounceTimeout",void 0);vn([g({type:Boolean})],At.prototype,"local",void 0);vn([g({type:Number,reflect:!0})],At.prototype,"size",void 0);vn([g({type:String,reflect:!0})],At.prototype,"category",void 0);vn([F(".ft-size-watcher--watcher")],At.prototype,"watcher",void 0);j("ft-size-watcher")(At);function Ua(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function y0(t){return Ua(t).split("|").pop()}function b0(t){return Ua(t).split("|").join(" > ")}function v0(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>v0(r,t.selected)),value:t.value}}function x0(t){return xt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Od(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>v0(e,!1))}}function S0(t){return xt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var xn={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",T.colorOnSurface),borderRadiusM:i.external(T.borderRadiusM,"Design system"),colorOutline:i.external(T.colorOutline,"Design system"),colorOnSurface:i.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(T.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(T.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(T.colorPrimary,"Design system"),colorOnPrimary:i.external(T.colorOnPrimary,"Design system"),fontFamily:i.external(We.fontFamily,"Body2 typography"),fontSize:i.external(We.fontSize,"Body2 typography"),fontWeight:i.external(We.fontWeight,"Body2 typography"),letterSpacing:i.external(We.letterSpacing,"Body2 typography"),lineHeight:i.external(We.lineHeight,"Body2 typography"),textTransform:i.external(We.textTransform,"Body2 typography")},C0=M`
1831
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=$t.S:this.size<976?this.category=$t.M:this.size<1024?this.category=$t.L:this.size<1440?this.category=$t.XL:this.category=$t.XXL,this.dispatchEvent(new Cd(this.size,this.category)))},this.debounceTimeout)}};At.elementDefinitions={};At.styles=g0;vn([g({type:Number})],At.prototype,"debounceTimeout",void 0);vn([g({type:Boolean})],At.prototype,"local",void 0);vn([g({type:Number,reflect:!0})],At.prototype,"size",void 0);vn([g({type:String,reflect:!0})],At.prototype,"category",void 0);vn([F(".ft-size-watcher--watcher")],At.prototype,"watcher",void 0);j("ft-size-watcher")(At);function Ua(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function y0(t){return Ua(t).split("|").pop()}function b0(t){return Ua(t).split("|").join(" > ")}function v0(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>v0(r,t.selected)),value:t.value}}function x0(t){return xt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Od(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>v0(e,!1))}}function S0(t){return xt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var xn={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",T.colorOnSurface),borderRadiusM:i.external(T.borderRadiusM,"Design system"),colorOutline:i.external(T.colorOutline,"Design system"),colorOnSurface:i.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(T.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(T.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(T.colorPrimary,"Design system"),colorOnPrimary:i.external(T.colorOnPrimary,"Design system"),fontFamily:i.external(Ve.fontFamily,"Body2 typography"),fontSize:i.external(Ve.fontSize,"Body2 typography"),fontWeight:i.external(Ve.fontWeight,"Body2 typography"),letterSpacing:i.external(Ve.letterSpacing,"Body2 typography"),lineHeight:i.external(Ve.lineHeight,"Body2 typography"),textTransform:i.external(Ve.textTransform,"Body2 typography")},C0=M`
1832
1832
  .ft-filter-level--container {
1833
1833
  display: flex;
1834
1834
  flex-direction: column;
@@ -1898,7 +1898,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1898
1898
  margin: 10px 0;
1899
1899
  color: ${xn.colorOnSurfaceMedium};
1900
1900
  }
1901
- `;var Dt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ed=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Be=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ne.body2}renderBoxContainer(){return O`
1901
+ `;var Dt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ed=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Fe=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.helper="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.rippleUnbounded=!0,this.error=!1,this.legendColor=""}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}get checkboxHelperClasses(){return{"ft-checkbox-helper--disabled":this.disabled,"ft-checkbox-helper--error":this.error,"ft-checkbox-helper--checked":this.indeterminate?!1:this.checked,"ft-checkbox-helper--indeterminate":this.indeterminate,"ft-checkbox-helper--legend-color-displayed":this.legendColor&&this.legendColor.trim().length>0}}get typographyVariant(){return Ne.body2}renderBoxContainer(){return O`
1902
1902
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1903
1903
  <ft-ripple part="checkbox-ripple"
1904
1904
  ?disabled=${this.disabled}
@@ -1934,7 +1934,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1934
1934
  <ft-typography variant="${this.typographyVariant}" part="checkbox-body">
1935
1935
  <slot @slotchange=${this.onSlotchange}></slot>
1936
1936
  </ft-typography>
1937
- `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Ed(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};Be.elementDefinitions={"ft-ripple":re,"ft-typography":pe};Dt([g()],Be.prototype,"name",void 0);Dt([g()],Be.prototype,"value",void 0);Dt([g()],Be.prototype,"label",void 0);Dt([g()],Be.prototype,"helper",void 0);Dt([g({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);Dt([g({type:Boolean})],Be.prototype,"indeterminate",void 0);Dt([g({type:Boolean})],Be.prototype,"disabled",void 0);Dt([g({type:Boolean})],Be.prototype,"error",void 0);Dt([g()],Be.prototype,"legendColor",void 0);Dt([F(".ft-checkbox")],Be.prototype,"container",void 0);Dt([F("ft-ripple")],Be.prototype,"ripple",void 0);Dt([F("input")],Be.prototype,"input",void 0);var wt={textColor:i.extend("--ft-checkbox-text-color","",T.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",G.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",T.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",T.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",T.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",T.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",T.colorError)},O0=M`
1937
+ `}onSlotchange(){this.requestUpdate()}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Ed(this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};Fe.elementDefinitions={"ft-ripple":re,"ft-typography":pe};Dt([g()],Fe.prototype,"name",void 0);Dt([g()],Fe.prototype,"value",void 0);Dt([g()],Fe.prototype,"label",void 0);Dt([g()],Fe.prototype,"helper",void 0);Dt([g({type:Boolean,reflect:!0})],Fe.prototype,"checked",void 0);Dt([g({type:Boolean})],Fe.prototype,"indeterminate",void 0);Dt([g({type:Boolean})],Fe.prototype,"disabled",void 0);Dt([g({type:Boolean})],Fe.prototype,"error",void 0);Dt([g()],Fe.prototype,"legendColor",void 0);Dt([F(".ft-checkbox")],Fe.prototype,"container",void 0);Dt([F("ft-ripple")],Fe.prototype,"ripple",void 0);Dt([F("input")],Fe.prototype,"input",void 0);var wt={textColor:i.extend("--ft-checkbox-text-color","",T.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",G.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",T.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",T.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",T.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",T.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",T.colorError)},O0=M`
1938
1938
  * {
1939
1939
  box-sizing: border-box;
1940
1940
  }
@@ -2027,7 +2027,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2027
2027
  }
2028
2028
  }
2029
2029
  }
2030
- `;var Do=class extends Be{get typographyVariant(){return Ne.body2}};Do.styles=O0;var E0=M`
2030
+ `;var Do=class extends Fe{get typographyVariant(){return Ne.body2}};Do.styles=O0;var E0=M`
2031
2031
  * {
2032
2032
  box-sizing: border-box;
2033
2033
  --input-size: calc(${Z.boxSize} + 2 * (${Z.focusOutlineOffset} + ${Z.focusOutlineWidth}));
@@ -2220,18 +2220,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2220
2220
  display: flex;
2221
2221
  flex-direction: column;
2222
2222
 
2223
- max-width: ${Ye.maxWidth};
2223
+ max-width: ${$e.maxWidth};
2224
2224
  width: max-content;
2225
2225
 
2226
- padding-left: ${Ye.horizontalPadding};
2227
- padding-right: ${Ye.horizontalPadding};
2228
- padding-top: ${Ye.verticalPadding};
2229
- padding-bottom: ${Ye.verticalPadding};
2230
- gap: ${Ye.gap};
2226
+ padding-left: ${$e.horizontalPadding};
2227
+ padding-right: ${$e.horizontalPadding};
2228
+ padding-top: ${$e.verticalPadding};
2229
+ padding-bottom: ${$e.verticalPadding};
2230
+ gap: ${$e.gap};
2231
2231
 
2232
- background-color: ${Ye.backgroundColor};
2233
- border-radius: ${Ye.borderRadius};
2234
- box-shadow: ${Ye.shadow};
2232
+ background-color: ${$e.backgroundColor};
2233
+ border-radius: ${$e.borderRadius};
2234
+ box-shadow: ${$e.shadow};
2235
2235
 
2236
2236
  &.positioned {
2237
2237
  visibility: visible;
@@ -2243,9 +2243,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2243
2243
 
2244
2244
  display: flex;
2245
2245
  align-items: center;
2246
- gap: ${Ye.gap};
2246
+ gap: ${$e.gap};
2247
2247
 
2248
- color: ${Ye.titleColor};
2248
+ color: ${$e.titleColor};
2249
2249
  }
2250
2250
 
2251
2251
  [part="heading"] ftds-typography {
@@ -2257,19 +2257,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2257
2257
  }
2258
2258
 
2259
2259
  [part="content"] {
2260
- color: ${Ye.bodyColor};
2260
+ color: ${$e.bodyColor};
2261
2261
  }
2262
2262
 
2263
2263
  [part="popover-sections"] {
2264
2264
  display: flex;
2265
2265
  flex-direction: column;
2266
- gap: ${Ye.multiSectionVerticalGap};
2266
+ gap: ${$e.multiSectionVerticalGap};
2267
2267
  }
2268
2268
 
2269
2269
  .hidden {
2270
2270
  display: none;
2271
2271
  }
2272
- `;var Je=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends U{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=ve.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Xe.medium,this.openButtonFamily=Ge.info,this.watchFocusIn=e=>{this.popoverWrapper&&!e.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=e=>{var r;e.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let e={opened:this.opened};return this.hidden?z:O`
2272
+ `;var Je=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends U{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=ve.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Xe.medium,this.openButtonFamily=We.info,this.watchFocusIn=e=>{this.popoverWrapper&&!e.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=e=>{var r;e.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let e={opened:this.opened};return this.hidden?z:O`
2273
2273
  <div part="root-container" class="${ae(e)}">
2274
2274
  <ftds-button @focusin=${this.close}
2275
2275
  part="opening-button"
@@ -2291,7 +2291,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2291
2291
  <ftds-button part="closing-button"
2292
2292
  icon="${ve.CLOSE}"
2293
2293
  size="${Xe.small}"
2294
- family="${Ge.neutral}"
2294
+ family="${We.neutral}"
2295
2295
  label="${this.closeButtonLabel}"
2296
2296
  @click=${this.closeAndFocusOpeningButton}></ftds-button>
2297
2297
  </div>
@@ -2320,7 +2320,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2320
2320
  </div>
2321
2321
  </div>
2322
2322
  </div>
2323
- `:z}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(e){return er(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let o=["right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],{x:n,y:a}=await Vi(this.openingButton,this.popoverWrapper,"bottom-start",o,"fixed");this.popoverWrapper.style.left=`${n}px`,this.popoverWrapper.style.top=`${a}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};Ce.elementDefinitions={"ftds-typography":Ve,"ftds-button":bt};Ce.styles=L0;Je([g()],Ce.prototype,"heading",void 0);Je([g()],Ce.prototype,"closeButtonLabel",void 0);Je([g()],Ce.prototype,"openButtonIcon",void 0);Je([g()],Ce.prototype,"openButtonLabel",void 0);Je([g()],Ce.prototype,"openButtonTooltipPosition",void 0);Je([g({type:Boolean})],Ce.prototype,"opened",void 0);Je([g({type:Boolean})],Ce.prototype,"hidden",void 0);Je([g({type:Xe})],Ce.prototype,"openButtonSize",void 0);Je([g({type:Ge})],Ce.prototype,"openButtonFamily",void 0);Je([F('[part="opening-button"]')],Ce.prototype,"openingButton",void 0);Je([F('[part="closing-button"]')],Ce.prototype,"closingButton",void 0);Je([F('[part="wrapper"]')],Ce.prototype,"popoverWrapper",void 0);Je([F('[part="content"]')],Ce.prototype,"popoverContentDiv",void 0);Je([F('[part="popover-content-slot"]')],Ce.prototype,"popoverContentSlot",void 0);Je([F('[part="popover-link"]')],Ce.prototype,"slottedLinkContent",void 0);Je([F('[part="popover-link-typography"]')],Ce.prototype,"popoverLinkTypography",void 0);Je([F('[part="popover-sections"]')],Ce.prototype,"popoverSectionsDiv",void 0);Je([F('[part="popover-sections-slot"]')],Ce.prototype,"popoverSectionsSlot",void 0);var A0=M`
2323
+ `:z}updated(e){super.updated(e),e.has("opened")&&(this.opened?setTimeout(()=>{this.positionWrapper(),document.addEventListener("keydown",this.watchEscapeKey),document.addEventListener("focusin",this.watchFocusIn)},0):(document.removeEventListener("keydown",this.watchEscapeKey),document.removeEventListener("focusin",this.watchFocusIn)))}close(){this.opened=!1,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!1}}))}open(){this.opened=!0,this.dispatchEvent(new CustomEvent("opened-changed",{detail:{opened:!0}}))}hasEmptySlot(e){return er(e).trim().length===0}closeAndFocusOpeningButton(){var e,r;this.close(),(e=this.openingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var e,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let a={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:$e.maxWidth},{x:s,y:l}=await Vi(this.openingButton,this.popoverWrapper,a);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(e=this.closingButton)===null||e===void 0||e.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var e,r,o;(e=this.popoverLinkTypography)===null||e===void 0||e.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(o=this.popoverSectionsDiv)===null||o===void 0||o.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};Ce.elementDefinitions={"ftds-typography":je,"ftds-button":bt};Ce.styles=L0;Je([g()],Ce.prototype,"heading",void 0);Je([g()],Ce.prototype,"closeButtonLabel",void 0);Je([g()],Ce.prototype,"openButtonIcon",void 0);Je([g()],Ce.prototype,"openButtonLabel",void 0);Je([g()],Ce.prototype,"openButtonTooltipPosition",void 0);Je([g({type:Boolean})],Ce.prototype,"opened",void 0);Je([g({type:Boolean})],Ce.prototype,"hidden",void 0);Je([g({type:Xe})],Ce.prototype,"openButtonSize",void 0);Je([g({type:We})],Ce.prototype,"openButtonFamily",void 0);Je([F('[part="opening-button"]')],Ce.prototype,"openingButton",void 0);Je([F('[part="closing-button"]')],Ce.prototype,"closingButton",void 0);Je([F('[part="wrapper"]')],Ce.prototype,"popoverWrapper",void 0);Je([F('[part="content"]')],Ce.prototype,"popoverContentDiv",void 0);Je([F('[part="popover-content-slot"]')],Ce.prototype,"popoverContentSlot",void 0);Je([F('[part="popover-link"]')],Ce.prototype,"slottedLinkContent",void 0);Je([F('[part="popover-link-typography"]')],Ce.prototype,"popoverLinkTypography",void 0);Je([F('[part="popover-sections"]')],Ce.prototype,"popoverSectionsDiv",void 0);Je([F('[part="popover-sections-slot"]')],Ce.prototype,"popoverSectionsSlot",void 0);var A0=M`
2324
2324
  .ftds-popover-section--heading ftds-typography {
2325
2325
  flex-grow: 1;
2326
2326
  flex-shrink: 1;
@@ -2330,13 +2330,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2330
2330
  }
2331
2331
 
2332
2332
  .ftds-popover-section--content {
2333
- color: ${Ye.bodyColor};
2333
+ color: ${$e.bodyColor};
2334
2334
  }
2335
2335
 
2336
2336
  .ftds-popover-section--container {
2337
2337
  display: flex;
2338
2338
  flex-direction: column;
2339
- gap: ${Ye.contentSectionVerticalGap};
2339
+ gap: ${$e.contentSectionVerticalGap};
2340
2340
  }
2341
2341
  `;var Ld=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_r=class extends U{constructor(){super(...arguments),this.heading=""}render(){return O`
2342
2342
  <div class="ftds-popover-section--container">
@@ -2359,7 +2359,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2359
2359
  <div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
2360
2360
  <ftds-typography element="span" variant="${Se.body2semibold}">${this.heading}</ftds-typography>
2361
2361
  </div>
2362
- `:z}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=er(this.popoverSectionLinkSlot).trim().length===0}};_r.elementDefinitions={"ftds-typography":Ve};_r.styles=A0;Ld([g()],_r.prototype,"heading",void 0);Ld([F("[part=popover-section-link-typography]")],_r.prototype,"popoverSectionLinkTypography",void 0);Ld([F("[part=popover-section-link]")],_r.prototype,"popoverSectionLinkSlot",void 0);j("ftds-popover")(Ce);j("ftds-popover-section")(_r);var w0=M`
2362
+ `:z}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=er(this.popoverSectionLinkSlot).trim().length===0}};_r.elementDefinitions={"ftds-typography":je};_r.styles=A0;Ld([g()],_r.prototype,"heading",void 0);Ld([F("[part=popover-section-link-typography]")],_r.prototype,"popoverSectionLinkTypography",void 0);Ld([F("[part=popover-section-link]")],_r.prototype,"popoverSectionLinkSlot",void 0);j("ftds-popover")(Ce);j("ftds-popover-section")(_r);var w0=M`
2363
2363
 
2364
2364
  .ftds-link {
2365
2365
  display: inline-flex;
@@ -2464,9 +2464,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2464
2464
  ${this.resolveIcon()}
2465
2465
  </a>
2466
2466
  `}resolveIcon(){return this.target===Ha.BLANK?O`
2467
- <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${De.fluid_topics} .value=${this.icon}>
2467
+ <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${Be.fluid_topics} .value=${this.icon}>
2468
2468
  </ft-icon>
2469
- `:O``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Rt.elementDefinitions={"ftds-typography":Ve,"ft-icon":he};Rt.styles=[Ct,w0];Sn([g()],Rt.prototype,"href",void 0);Sn([g()],Rt.prototype,"variant",void 0);Sn([g({type:Boolean})],Rt.prototype,"underlined",void 0);Sn([g()],Rt.prototype,"openInNewTabLabel",void 0);Sn([g()],Rt.prototype,"target",void 0);j("ftds-link")(Rt);var Ad=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Li=class extends Pt(Be){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=Ge.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return O`
2469
+ `:O``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Rt.elementDefinitions={"ftds-typography":je,"ft-icon":he};Rt.styles=[Ct,w0];Sn([g()],Rt.prototype,"href",void 0);Sn([g()],Rt.prototype,"variant",void 0);Sn([g({type:Boolean})],Rt.prototype,"underlined",void 0);Sn([g()],Rt.prototype,"openInNewTabLabel",void 0);Sn([g()],Rt.prototype,"target",void 0);j("ftds-link")(Rt);var Ad=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},Li=class extends Pt(Fe){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=We.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return O`
2470
2470
  <div part="checkbox-and-popover">
2471
2471
  <div part="checkbox-label-and-helper">
2472
2472
  <label class="${ae(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
@@ -2495,7 +2495,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2495
2495
  <div part="checkbox-popover-wrapper">
2496
2496
  <slot @slotchange=${this.onSlotchange}></slot>
2497
2497
  </div>
2498
- </div>`}get typographyVariant(){return Se.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Ad(this.value,this.checked))}};Li.elementDefinitions={...Be.elementDefinitions,"ftds-popover":Ce,"ftds-link":Rt,"ftds-typography":Ve,"ft-icon":he};Li.styles=[Ct,E0];j("ft-checkbox")(Do);j("ftds-checkbox")(Li);var eo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ga=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},rt=class extends U{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return O`
2498
+ </div>`}get typographyVariant(){return Se.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new Ad(this.value,this.checked))}};Li.elementDefinitions={...Fe.elementDefinitions,"ftds-popover":Ce,"ftds-link":Rt,"ftds-typography":je,"ft-icon":he};Li.styles=[Ct,E0];j("ft-checkbox")(Do);j("ftds-checkbox")(Li);var eo=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ga=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},rt=class extends U{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return O`
2499
2499
  <div class="${ae(this.radioClasses)}"
2500
2500
  @click=${this.onClick}>
2501
2501
  <div class="ft-radio--box-container">
@@ -2718,7 +2718,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2718
2718
  .ft-radio ft-or-ftds-typography {
2719
2719
  padding-right: 2px;
2720
2720
  }
2721
- `;var Ai=class extends Pt(rt){constructor(){super(...arguments),this.family=Ge.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Se.body2medium}};Ai.elementDefinitions={...rt.elementDefinitions,"ft-or-ftds-typography":pe};Ai.styles=[Ct,_0];var Cn=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bt=class extends U{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return O`
2721
+ `;var Ai=class extends Pt(rt){constructor(){super(...arguments),this.family=We.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return Se.body2medium}};Ai.elementDefinitions={...rt.elementDefinitions,"ft-or-ftds-typography":pe};Ai.styles=[Ct,_0];var Cn=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Bt=class extends U{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)},this.onFocusOut=e=>{}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(o=>o.matches("ft-radio,ftds-radio")?[o]:[...o.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return O`
2722
2722
  <slot @slotchange=${this.onSlotChange}
2723
2723
  @change=${this.onChange}
2724
2724
  @keydown=${this.onKeyDown}
@@ -2741,7 +2741,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2741
2741
  :host(:focus-visible) {
2742
2742
  outline: none;
2743
2743
  }
2744
- `;var On=class extends Pt(Bt){constructor(){super(...arguments),this.family=Ge.brand}};On.styles=[Ct,T0];j("ft-radio")(pr);j("ftds-radio")(Ai);j("ft-radio-group")(Bo);j("ftds-radio-group")(On);var ot=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends xi(ic(U)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new me(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return O`
2744
+ `;var On=class extends Pt(Bt){constructor(){super(...arguments),this.family=We.brand}};On.styles=[Ct,T0];j("ft-radio")(pr);j("ftds-radio")(Ai);j("ft-radio-group")(Bo);j("ftds-radio-group")(On);var ot=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends xi(ic(U)){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new me(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return O`
2745
2745
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
2746
2746
  ${this.parent==null?null:O`
2747
2747
  <div tabindex="0"
@@ -2934,7 +2934,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2934
2934
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
2935
2935
  background-color: ${ft.colorSurface};
2936
2936
  }
2937
- `;var hr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wd=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Fe=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new me(200),this.updateScrollDebouncer=new me(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ae({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Cr}),r=this.controls&&this.withScroll;return O`
2937
+ `;var hr=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wd=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Ue=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new me(200),this.updateScrollDebouncer=new me(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=ae({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Cr}),r=this.controls&&this.withScroll;return O`
2938
2938
  <div part="container" class="${e}">
2939
2939
  <ft-button
2940
2940
  class="ft-snap-scroll--previous"
@@ -2958,7 +2958,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2958
2958
  @click=${this.next}
2959
2959
  ></ft-button>
2960
2960
  </div>
2961
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new wd(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Fe.elementDefinitions={"ft-button":Pe};Fe.styles=M0;hr([g({type:Boolean})],Fe.prototype,"horizontal",void 0);hr([g({type:Boolean})],Fe.prototype,"hideScrollbar",void 0);hr([g({type:Boolean})],Fe.prototype,"controls",void 0);hr([g({type:Boolean})],Fe.prototype,"limitSize",void 0);hr([B()],Fe.prototype,"elements",void 0);hr([B()],Fe.prototype,"currentElement",void 0);hr([B()],Fe.prototype,"withScroll",void 0);hr([B()],Fe.prototype,"startReached",void 0);hr([B()],Fe.prototype,"endReached",void 0);hr([F(".ft-snap-scroll--content")],Fe.prototype,"contentSlot",void 0);j("ft-snap-scroll")(Fe);var vt={colorOutline:i.external(T.colorOutline,"Design system"),colorOnSurface:i.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(T.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(T.colorPrimary,"Design system"),colorSurface:i.external(T.colorSurface,"Design system"),transitionDuration:i.external(T.transitionDuration,"Design system"),transitionTimingFunction:i.external(T.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",T.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",G.fontSize,"16px")},N0=[lr,So,M`
2961
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new wd(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Ue.elementDefinitions={"ft-button":Pe};Ue.styles=M0;hr([g({type:Boolean})],Ue.prototype,"horizontal",void 0);hr([g({type:Boolean})],Ue.prototype,"hideScrollbar",void 0);hr([g({type:Boolean})],Ue.prototype,"controls",void 0);hr([g({type:Boolean})],Ue.prototype,"limitSize",void 0);hr([B()],Ue.prototype,"elements",void 0);hr([B()],Ue.prototype,"currentElement",void 0);hr([B()],Ue.prototype,"withScroll",void 0);hr([B()],Ue.prototype,"startReached",void 0);hr([B()],Ue.prototype,"endReached",void 0);hr([F(".ft-snap-scroll--content")],Ue.prototype,"contentSlot",void 0);j("ft-snap-scroll")(Ue);var vt={colorOutline:i.external(T.colorOutline,"Design system"),colorOnSurface:i.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(T.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(T.colorPrimary,"Design system"),colorSurface:i.external(T.colorSurface,"Design system"),transitionDuration:i.external(T.transitionDuration,"Design system"),transitionTimingFunction:i.external(T.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",T.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",G.fontSize,"16px")},N0=[lr,So,M`
2962
2962
  :host {
2963
2963
  display: flex;
2964
2964
  max-height: 100%;
@@ -3158,7 +3158,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3158
3158
  noValuesLabel="${this.noValuesLabel}"
3159
3159
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
3160
3160
  ></ft-filter-level>
3161
- `}goBack(e){this.slideOut=e.detail.value,Di(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Di(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){Di(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ue(this.lastDispatchedValues,e)||(this.dispatchEvent(new Rd(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};fe.elementDefinitions={"ft-button":Pe,"ft-filter-level":ke,"ft-snap-scroll":Fe,"ft-typography":pe};fe.styles=N0;Ae([g({type:String})],fe.prototype,"id",void 0);Ae([g({type:String})],fe.prototype,"label",void 0);Ae([g({type:String})],fe.prototype,"filterPlaceHolder",void 0);Ae([g({type:String})],fe.prototype,"clearButtonLabel",void 0);Ae([g({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Ae([g({type:String})],fe.prototype,"noValuesLabel",void 0);Ae([Me([])],fe.prototype,"options",void 0);Ae([g({type:Boolean})],fe.prototype,"multivalued",void 0);Ae([g({type:Boolean})],fe.prototype,"disabled",void 0);Ae([g({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);Ae([g({type:Boolean})],fe.prototype,"displayCount",void 0);Ae([Pr()],fe.prototype,"displayedValuesLimit",void 0);Ae([Me(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Ae([g({type:Boolean})],fe.prototype,"hideClearButton",void 0);Ae([F(".ft-filter--slot")],fe.prototype,"slotElement",void 0);Ae([F(".ft-filter--container")],fe.prototype,"container",void 0);Ae([F(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);Ae([F(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);Ae([B()],fe.prototype,"lastLevelHasHiddenvalues",void 0);Ae([F(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);Ae([ls(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);Ae([B()],fe.prototype,"withScroll",void 0);Ae([B()],fe.prototype,"filter",void 0);Ae([B()],fe.prototype,"slideIn",void 0);Ae([B()],fe.prototype,"slideOut",void 0);var wi=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return O`
3161
+ `}goBack(e){this.slideOut=e.detail.value,Di(()=>this.slideOut===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,Di(()=>this.slideIn===void 0).then(()=>{var r;let o=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");o?.focusOnBackButton()})}focusOnFirstOption(){Di(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let n=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;He(this.lastDispatchedValues,e)||(this.dispatchEvent(new Rd(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};fe.elementDefinitions={"ft-button":Pe,"ft-filter-level":ke,"ft-snap-scroll":Ue,"ft-typography":pe};fe.styles=N0;Ae([g({type:String})],fe.prototype,"id",void 0);Ae([g({type:String})],fe.prototype,"label",void 0);Ae([g({type:String})],fe.prototype,"filterPlaceHolder",void 0);Ae([g({type:String})],fe.prototype,"clearButtonLabel",void 0);Ae([g({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Ae([g({type:String})],fe.prototype,"noValuesLabel",void 0);Ae([Me([])],fe.prototype,"options",void 0);Ae([g({type:Boolean})],fe.prototype,"multivalued",void 0);Ae([g({type:Boolean})],fe.prototype,"disabled",void 0);Ae([g({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);Ae([g({type:Boolean})],fe.prototype,"displayCount",void 0);Ae([Pr()],fe.prototype,"displayedValuesLimit",void 0);Ae([Me(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Ae([g({type:Boolean})],fe.prototype,"hideClearButton",void 0);Ae([F(".ft-filter--slot")],fe.prototype,"slotElement",void 0);Ae([F(".ft-filter--container")],fe.prototype,"container",void 0);Ae([F(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);Ae([F(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);Ae([B()],fe.prototype,"lastLevelHasHiddenvalues",void 0);Ae([F(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);Ae([ls(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);Ae([B()],fe.prototype,"withScroll",void 0);Ae([B()],fe.prototype,"filter",void 0);Ae([B()],fe.prototype,"slideIn",void 0);Ae([B()],fe.prototype,"slideOut",void 0);var wi=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return O`
3162
3162
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
3163
3163
  `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};_t.elementDefinitions={};wi([g({type:String})],_t.prototype,"label",void 0);wi([g({type:Object,converter:t=>t})],_t.prototype,"value",void 0);wi([g({type:Boolean,reflect:!0})],_t.prototype,"selected",void 0);wi([g({type:Object})],_t.prototype,"subOptions",void 0);wi([Me({})],_t.prototype,"renderOption",void 0);wi([F(".ft-filter-option--slot")],_t.prototype,"slotElement",void 0);j("ft-filter")(fe);j("ft-filter-option")(_t);var P0=M`
3164
3164
  .ft-accordion {
@@ -3244,7 +3244,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3244
3244
  </div>
3245
3245
  <div class="ft-accordion-item--separator" part="separator"></div>
3246
3246
  </div>
3247
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Ft.elementDefinitions={"ft-ripple":re,"ft-typography":pe,"ft-icon":he};Ft.styles=z0;Wa([g()],Ft.prototype,"icon",void 0);Wa([g()],Ft.prototype,"iconVariant",void 0);Wa([g()],Ft.prototype,"label",void 0);Wa([g({type:Boolean,reflect:!0})],Ft.prototype,"active",void 0);j("ft-accordion")(mr);j("ft-accordion-item")(Ft);var $0=i.extend("--ft-chip-color","",T.colorOnSurface),it={backgroundColor:i.extend("--ft-chip-background-color","",T.colorSurface),color:$0,fontSize:i.extend("--ft-chip-font-size","",We.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",We.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",$0),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",T.colorOutline),opacityDisabled:i.external(T.colorOpacityDisabled,"Design system")},D0=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",T.colorOnPrimary)),_d={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",T.colorPrimary)),color:D0,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",D0)},B0={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},F0=[jt,M`
3247
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Ft.elementDefinitions={"ft-ripple":re,"ft-typography":pe,"ft-icon":he};Ft.styles=z0;Wa([g()],Ft.prototype,"icon",void 0);Wa([g()],Ft.prototype,"iconVariant",void 0);Wa([g()],Ft.prototype,"label",void 0);Wa([g({type:Boolean,reflect:!0})],Ft.prototype,"active",void 0);j("ft-accordion")(mr);j("ft-accordion-item")(Ft);var $0=i.extend("--ft-chip-color","",T.colorOnSurface),it={backgroundColor:i.extend("--ft-chip-background-color","",T.colorSurface),color:$0,fontSize:i.extend("--ft-chip-font-size","",Ve.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",Ve.fontWeight),iconSize:i.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:i.create("--ft-chip-border-radius","","SIZE",""),rippleColor:i.extend("--ft-chip-ripple-color","",$0),horizontalPadding:i.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:i.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:i.extend("--ft-chip-border-color","",T.colorOutline),opacityDisabled:i.external(T.colorOpacityDisabled,"Design system")},D0=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",T.colorOnPrimary)),_d={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",T.colorPrimary)),color:D0,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",D0)},B0={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},F0=[jt,M`
3248
3248
  :host {
3249
3249
  display: inline-block;
3250
3250
  max-width: 100%;
@@ -3346,9 +3346,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3346
3346
  vertical-align: bottom;
3347
3347
  display: block;
3348
3348
  margin: 0 var(--chip-internal-horizontal-padding);
3349
- ${v(We.fontSize,"var(--chip-internal-font-size)")};
3350
- ${v(We.fontWeight,"var(--chip-internal-font-weight)")};
3351
- ${v(We.lineHeight,"var(--chip-internal-content-height)")};
3349
+ ${v(Ve.fontSize,"var(--chip-internal-font-size)")};
3350
+ ${v(Ve.fontWeight,"var(--chip-internal-font-weight)")};
3351
+ ${v(Ve.lineHeight,"var(--chip-internal-content-height)")};
3352
3352
  }
3353
3353
 
3354
3354
  .ft-chip--safari-fix .ft-chip--label {
@@ -3590,7 +3590,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3590
3590
  </div>
3591
3591
  `}renderIcon(){return this.icon?O`
3592
3592
  <div class="ftds-chip--icon-container" part="icon-container">
3593
- <ft-icon .variant=${De.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
3593
+ <ft-icon .variant=${Be.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
3594
3594
  </div>
3595
3595
  `:z}renderAction(){return this.removable?O`
3596
3596
  <ftds-button round
@@ -3598,13 +3598,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3598
3598
  @click=${this.dispatchRemoveEvent}
3599
3599
  icon="${ve.X_MARK}"
3600
3600
  label="${this.removeButtonLabel}"
3601
- family="${Ge.neutral}"
3601
+ family="${We.neutral}"
3602
3602
  size="${this.resolveButtonSize()}"
3603
3603
  part="icon-button"
3604
3604
  ></ftds-button>
3605
3605
  `:this.withAction?O`
3606
3606
  <slot name="action"></slot>
3607
- `:z}resolveButtonSize(){switch(this.size){case Xe.large:return Xe.medium;default:return Xe.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new kd)}typographyVariant(){switch(this.size){case Xe.large:return Se.body2medium;default:return Se.caption1medium}}};Ut.elementDefinitions={"ftds-typography":Ve,"ft-icon":he,"ftds-button":bt};Ut.styles=U0;Ri([g({type:Boolean})],Ut.prototype,"withAction",void 0);Ri([g({type:Boolean})],Ut.prototype,"removable",void 0);Ri([g()],Ut.prototype,"removeButtonLabel",void 0);Ri([g()],Ut.prototype,"label",void 0);Ri([g()],Ut.prototype,"icon",void 0);Ri([F("ftds-typography slot")],Ut.prototype,"slottedContent",void 0);j("ft-chip")(Te);j("ftds-chip")(Ut);var ee={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",T.colorOutline),textColor:i.extend("--ft-input-label-text-color","",T.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",T.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",T.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",T.borderRadiusS),colorError:i.external(T.colorError,"Design system")},H0=M`
3607
+ `:z}resolveButtonSize(){switch(this.size){case Xe.large:return Xe.medium;default:return Xe.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new kd)}typographyVariant(){switch(this.size){case Xe.large:return Se.body2medium;default:return Se.caption1medium}}};Ut.elementDefinitions={"ftds-typography":je,"ft-icon":he,"ftds-button":bt};Ut.styles=U0;Ri([g({type:Boolean})],Ut.prototype,"withAction",void 0);Ri([g({type:Boolean})],Ut.prototype,"removable",void 0);Ri([g()],Ut.prototype,"removeButtonLabel",void 0);Ri([g()],Ut.prototype,"label",void 0);Ri([g()],Ut.prototype,"icon",void 0);Ri([F("ftds-typography slot")],Ut.prototype,"slottedContent",void 0);j("ft-chip")(Te);j("ftds-chip")(Ut);var ee={fontSize:i.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:i.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:i.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:i.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:i.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:i.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:i.extend("--ft-input-label-border-color","",T.colorOutline),textColor:i.extend("--ft-input-label-text-color","",T.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",T.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",T.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",T.borderRadiusS),colorError:i.external(T.colorError,"Design system")},H0=M`
3608
3608
  .ft-input-label {
3609
3609
  position: absolute;
3610
3610
  inset: 0;
@@ -4048,7 +4048,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4048
4048
  label="${e.label}"
4049
4049
  .value=${e.value}
4050
4050
  ></ft-select-option>
4051
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((o=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Vi(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",oe.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=ji(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>Ue(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>Ue(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!Ue((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};Oe.elementDefinitions={"ft-input-label":Yt,"ft-typography":pe,"ft-ripple":re,"ft-icon":he,"ft-select-option":pt};Oe.searchTimeoutMilliseconds=2e3;Oe.styles=[lr,V0];nt([g({type:String})],Oe.prototype,"label",void 0);nt([g({type:String})],Oe.prototype,"ariaLabel",void 0);nt([g({type:String})],Oe.prototype,"helper",void 0);nt([g({type:Boolean})],Oe.prototype,"outlined",void 0);nt([g({type:Boolean})],Oe.prototype,"disabled",void 0);nt([g({type:Boolean})],Oe.prototype,"error",void 0);nt([g({type:Boolean})],Oe.prototype,"fixedMenuPosition",void 0);nt([g({type:Array})],Oe.prototype,"options",void 0);nt([B()],Oe.prototype,"selectedOption",void 0);nt([B()],Oe.prototype,"optionsDisplayed",void 0);nt([B()],Oe.prototype,"focusOptions",void 0);nt([B()],Oe.prototype,"currentSearch",void 0);nt([B()],Oe.prototype,"lastSearchInputDate",void 0);nt([F(".ft-select")],Oe.prototype,"container",void 0);nt([F(".ft-select--options")],Oe.prototype,"optionsMenu",void 0);nt([F(".ft-select--input-panel")],Oe.prototype,"mainPanel",void 0);nt([F("slot:not([name])")],Oe.prototype,"optionsSlot",void 0);j("ft-select")(Oe);j("ft-select-option")(pt);var at={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(T.borderRadiusM,"Design system")},K0=M`
4051
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((o=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];Vi(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",oe.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation(),this.isSlotEmpty=ji(this.optionsSlot);let o=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,o;let n,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),n=this.optionsList[(a+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(n=this.handleAlphanumericPress(e.key));break}n?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){let r=new Date;r.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(n=>{var a;return((a=n.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=r,o&&this.optionsList.find(n=>n.value===o.value)}getOptionId(e){if(!e)return;let r=this.options.findIndex(o=>He(o.value,e.value));if(r!==-1)return`option-${r}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,r=!0){let o=this.options.find(n=>He(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!He((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let a of this.options)a.selected=a===e;r&&this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};Oe.elementDefinitions={"ft-input-label":Yt,"ft-typography":pe,"ft-ripple":re,"ft-icon":he,"ft-select-option":pt};Oe.searchTimeoutMilliseconds=2e3;Oe.styles=[lr,V0];nt([g({type:String})],Oe.prototype,"label",void 0);nt([g({type:String})],Oe.prototype,"ariaLabel",void 0);nt([g({type:String})],Oe.prototype,"helper",void 0);nt([g({type:Boolean})],Oe.prototype,"outlined",void 0);nt([g({type:Boolean})],Oe.prototype,"disabled",void 0);nt([g({type:Boolean})],Oe.prototype,"error",void 0);nt([g({type:Boolean})],Oe.prototype,"fixedMenuPosition",void 0);nt([g({type:Array})],Oe.prototype,"options",void 0);nt([B()],Oe.prototype,"selectedOption",void 0);nt([B()],Oe.prototype,"optionsDisplayed",void 0);nt([B()],Oe.prototype,"focusOptions",void 0);nt([B()],Oe.prototype,"currentSearch",void 0);nt([B()],Oe.prototype,"lastSearchInputDate",void 0);nt([F(".ft-select")],Oe.prototype,"container",void 0);nt([F(".ft-select--options")],Oe.prototype,"optionsMenu",void 0);nt([F(".ft-select--input-panel")],Oe.prototype,"mainPanel",void 0);nt([F("slot:not([name])")],Oe.prototype,"optionsSlot",void 0);j("ft-select")(Oe);j("ft-select-option")(pt);var at={display:i.create("--ft-skeleton--display","","DISPLAY","block"),width:i.create("--ft-skeleton--width","","SIZE","100%"),height:i.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:i.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:i.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:i.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:i.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:i.external(T.borderRadiusM,"Design system")},K0=M`
4052
4052
  :host {
4053
4053
  width: ${at.width};
4054
4054
  height: ${at.height};
@@ -4483,7 +4483,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4483
4483
  </div>
4484
4484
  `)}
4485
4485
  </div>
4486
- `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?De.file_format:De.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?ve.BOOK:ve.ARTICLE;break;case"DOCUMENT":o=Oa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=ve.TOPICS;break;case"HTML_PACKAGE":o=ve.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=ve.FILE_CODE;break}return O`
4486
+ `}recentSearchId(e){return this.listboxId+"-recent-"+e}suggestionId(e){return this.listboxId+"-suggest-"+e}getRequestWithQuery(e){return this.searchBar.searchRequestSerializer({...this.searchBar.request,paging:{page:1},query:e})}update(){return new Promise((e,r)=>{this.updateDebouncer.run(async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then(o=>o.suggestions).catch(()=>[]):[],e()})})}onSuggestClick(e,r){this.searchBar.setQuery(r),this.searchBar.onLaunchSearch()}removeRecentSearch(e,r){e.preventDefault(),e.stopPropagation(),this.selectSuggestion(null),this.searchBar.recentSearches=this.searchBar.recentSearches.filter(o=>o.toLowerCase()!==r.toLowerCase()),this.searchBar.saveRecentSearches()}getIcon(e){let r=e.type==="DOCUMENT"?Be.file_format:Be.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?ve.BOOK:ve.ARTICLE;break;case"DOCUMENT":o=Oa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=ve.TOPICS;break;case"HTML_PACKAGE":o=ve.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=ve.FILE_CODE;break}return O`
4487
4487
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
4488
4488
  `}focusNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}focusPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}getFirstSuggestionElement(){return this.searchBar.querySelector("[part=suggestion-container]")}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}get selectedSuggestOption(){var e;return(e=this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']"))===null||e===void 0?void 0:e.parentElement}get selectedSuggestOptionLink(){return this.searchBar.querySelector("[id='"+this.searchBar.selectedSuggestOptionId+"']")}get selectedSuggestRemoveRecentButton(){var e;return(e=this.selectedSuggestOption)===null||e===void 0?void 0:e.querySelector("[part=remove-suggestion]")}getLastSuggestionElement(){let e=this.searchBar.querySelectorAll("[part=suggestion-container]");return e.length>0?e[e.length-1]:null}selectSuggestion(e){var r;this.searchBar.selectedSuggestRemoveRecent=!1,e?this.searchBar.selectedSuggestOptionId=(r=e.querySelector("[part=suggestions]"))===null||r===void 0?void 0:r.id:this.searchBar.selectedSuggestOptionId=void 0}focusArrowLeft(){this.searchBar.selectedSuggestRemoveRecent?this.searchBar.selectedSuggestRemoveRecent=!1:this.selectSuggestion(null)}focusArrowRight(){!this.searchBar.selectedSuggestRemoveRecent&&this.selectedSuggestRemoveRecentButton?this.searchBar.selectedSuggestRemoveRecent=!0:this.selectSuggestion(null)}get shouldDisplaySuggestions(){return this.searchBar.displaySuggestListbox&&(this.searchBar.suggestions.length>0||this.recentSearchesMatchingQuery.length>0)}get recentSearchesMatchingQuery(){return this.searchBar.recentSearches.filter(e=>e.toLowerCase().includes(this.searchBar.query.toLowerCase()))}};gr.styles=[Zi,M`
4489
4489
  .ft-search-bar--mobile .ft-search-bar--suggestions {
@@ -4940,21 +4940,21 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4940
4940
  part="floating-panel"
4941
4941
  tabindex="-1">
4942
4942
  ${this.renderDesktopMenu()}
4943
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};J.elementDefinitions={"ft-accordion":mr,"ft-accordion-item":Ft,"ft-button":Pe,"ft-chip":Te,"ft-filter":fe,"ft-filter-option":_t,"ft-icon":he,"ft-ripple":re,"ft-select":Oe,"ft-select-option":pt,"ft-size-watcher":At,"ft-skeleton":ro,"ft-snap-scroll":Fe,"ft-tooltip":Ie,"ft-typography":pe,"ft-radio-group":Bo,"ft-radio":pr};J.styles=[Kr,So,q0,Z0,yr.styles,gr.styles,li];ie([g({type:Boolean})],J.prototype,"dense",void 0);ie([g()],J.prototype,"mode",void 0);ie([g({type:Boolean})],J.prototype,"forceMobileMenuOpen",void 0);ie([g({type:Boolean})],J.prototype,"forceMenuOpen",void 0);ie([g()],J.prototype,"baseUrl",void 0);ie([g()],J.prototype,"apiIntegrationIdentifier",void 0);ie([g()],J.prototype,"contentLocale",void 0);ie([B()],J.prototype,"availableContentLocales",void 0);ie([B()],J.prototype,"availableContentLocalesInitialized",void 0);ie([g()],J.prototype,"uiLocale",void 0);ie([Me({})],J.prototype,"labels",void 0);ie([Me([])],J.prototype,"displayedFilters",void 0);ie([Me([])],J.prototype,"presets",void 0);ie([g({type:String,reflect:!0})],J.prototype,"selectedPreset",void 0);ie([Me([])],J.prototype,"priors",void 0);ie([g()],J.prototype,"searchRequestSerializer",void 0);ie([g({type:Boolean})],J.prototype,"focusOnDisplay",void 0);ie([B()],J.prototype,"metadataFilters",void 0);ie([B()],J.prototype,"sizeCategory",void 0);ie([B()],J.prototype,"displayFacets",void 0);ie([B()],J.prototype,"mobileMenuOpen",void 0);ie([B()],J.prototype,"facets",void 0);ie([B()],J.prototype,"facetsInitialized",void 0);ie([F(".ft-search-bar--container")],J.prototype,"container",void 0);ie([F(".ft-search-bar--filters-opener")],J.prototype,"filtersOpener",void 0);ie([F(".ft-search-bar--floating-panel")],J.prototype,"floatingContainer",void 0);ie([F("ft-snap-scroll.ft-search-bar--filters-container")],J.prototype,"scrollingFiltersContainer",void 0);ie([F(".ft-search-bar--input")],J.prototype,"input",void 0);ie([F(".ft-search-bar--launch-search")],J.prototype,"launchSearchButton",void 0);ie([B()],J.prototype,"query",void 0);ie([B()],J.prototype,"suggestions",void 0);ie([B()],J.prototype,"recentSearches",void 0);ie([B()],J.prototype,"scrollToFacet",void 0);ie([B()],J.prototype,"api",void 0);ie([B()],J.prototype,"displaySuggestListbox",void 0);ie([B()],J.prototype,"selectedSuggestOptionId",void 0);ie([B()],J.prototype,"selectedSuggestRemoveRecent",void 0);ie([B()],J.prototype,"facetsLoaded",void 0);j("ft-search-bar")(J);var X0=M`
4943
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};J.elementDefinitions={"ft-accordion":mr,"ft-accordion-item":Ft,"ft-button":Pe,"ft-chip":Te,"ft-filter":fe,"ft-filter-option":_t,"ft-icon":he,"ft-ripple":re,"ft-select":Oe,"ft-select-option":pt,"ft-size-watcher":At,"ft-skeleton":ro,"ft-snap-scroll":Ue,"ft-tooltip":Ie,"ft-typography":pe,"ft-radio-group":Bo,"ft-radio":pr};J.styles=[Kr,So,q0,Z0,yr.styles,gr.styles,li];ie([g({type:Boolean})],J.prototype,"dense",void 0);ie([g()],J.prototype,"mode",void 0);ie([g({type:Boolean})],J.prototype,"forceMobileMenuOpen",void 0);ie([g({type:Boolean})],J.prototype,"forceMenuOpen",void 0);ie([g()],J.prototype,"baseUrl",void 0);ie([g()],J.prototype,"apiIntegrationIdentifier",void 0);ie([g()],J.prototype,"contentLocale",void 0);ie([B()],J.prototype,"availableContentLocales",void 0);ie([B()],J.prototype,"availableContentLocalesInitialized",void 0);ie([g()],J.prototype,"uiLocale",void 0);ie([Me({})],J.prototype,"labels",void 0);ie([Me([])],J.prototype,"displayedFilters",void 0);ie([Me([])],J.prototype,"presets",void 0);ie([g({type:String,reflect:!0})],J.prototype,"selectedPreset",void 0);ie([Me([])],J.prototype,"priors",void 0);ie([g()],J.prototype,"searchRequestSerializer",void 0);ie([g({type:Boolean})],J.prototype,"focusOnDisplay",void 0);ie([B()],J.prototype,"metadataFilters",void 0);ie([B()],J.prototype,"sizeCategory",void 0);ie([B()],J.prototype,"displayFacets",void 0);ie([B()],J.prototype,"mobileMenuOpen",void 0);ie([B()],J.prototype,"facets",void 0);ie([B()],J.prototype,"facetsInitialized",void 0);ie([F(".ft-search-bar--container")],J.prototype,"container",void 0);ie([F(".ft-search-bar--filters-opener")],J.prototype,"filtersOpener",void 0);ie([F(".ft-search-bar--floating-panel")],J.prototype,"floatingContainer",void 0);ie([F("ft-snap-scroll.ft-search-bar--filters-container")],J.prototype,"scrollingFiltersContainer",void 0);ie([F(".ft-search-bar--input")],J.prototype,"input",void 0);ie([F(".ft-search-bar--launch-search")],J.prototype,"launchSearchButton",void 0);ie([B()],J.prototype,"query",void 0);ie([B()],J.prototype,"suggestions",void 0);ie([B()],J.prototype,"recentSearches",void 0);ie([B()],J.prototype,"scrollToFacet",void 0);ie([B()],J.prototype,"api",void 0);ie([B()],J.prototype,"displaySuggestListbox",void 0);ie([B()],J.prototype,"selectedSuggestOptionId",void 0);ie([B()],J.prototype,"selectedSuggestRemoveRecent",void 0);ie([B()],J.prototype,"facetsLoaded",void 0);j("ft-search-bar")(J);var X0=M`
4944
4944
  * {
4945
4945
  box-sizing: border-box;
4946
4946
  }
4947
4947
 
4948
4948
  .ft-search-input-suggestion {
4949
4949
  position: absolute;
4950
- z-index: ${qe.floatingZIndex};
4950
+ z-index: ${Ze.floatingZIndex};
4951
4951
  top: calc(100% + 2px);
4952
4952
  left: -1px;
4953
4953
  right: -1px;
4954
- background: ${qe.colorSurface};
4955
- border: 1px solid ${qe.colorOutline};
4956
- border-radius: 0 0 ${qe.borderRadius} ${qe.borderRadius};
4957
- box-shadow: ${qe.elevation02};
4954
+ background: ${Ze.colorSurface};
4955
+ border: 1px solid ${Ze.colorOutline};
4956
+ border-radius: 0 0 ${Ze.borderRadius} ${Ze.borderRadius};
4957
+ box-shadow: ${Ze.elevation02};
4958
4958
  }
4959
4959
 
4960
4960
  .ft-search-input-suggestion--suggestion {
@@ -4965,7 +4965,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4965
4965
  padding: 8px;
4966
4966
  gap: 8px;
4967
4967
  cursor: pointer;
4968
- color: ${qe.colorOnSurface};
4968
+ color: ${Ze.colorOnSurface};
4969
4969
  min-height: 44px;
4970
4970
  }
4971
4971
 
@@ -5023,9 +5023,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
5023
5023
  @click=${()=>this.onSuggestSelected(r.value)}>
5024
5024
  ${a}
5025
5025
  </div>
5026
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?De.file_format:De.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?ve.BOOK:ve.ARTICLE;break;case"DOCUMENT":o=Oa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=ve.TOPICS;break;case"HTML_PACKAGE":o=ve.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=ve.FILE_CODE;break}return O`
5026
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Be.file_format:Be.fluid_topics,o;switch(e.type){case"MAP":o=e.editorialType==="BOOK"?ve.BOOK:ve.ARTICLE;break;case"DOCUMENT":o=Oa(e.mimeType,e.filenameExtension);break;case"TOPIC":o=ve.TOPICS;break;case"HTML_PACKAGE":o=ve.BOX_CODE;break;case"HTML_PACKAGE_PAGE":o=ve.FILE_CODE;break}return O`
5027
5027
  <ft-icon .variant=${r} .value=${o} part="suggestion-icon"></ft-icon>
5028
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};oo.elementDefinitions={"ft-ripple":re,"ft-typography":pe,"ft-icon":he};oo.styles=[Zi,X0];var kt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ze=class extends xi(Fa){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new oo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Jr)}render(){var e,r,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Lr.get().serializeToCurrentPageIfPossible(a,s);return O`
5028
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};oo.elementDefinitions={"ft-ripple":re,"ft-typography":pe,"ft-icon":he};oo.styles=[Zi,X0];var kt=function(t,e,r,o){var n=arguments.length,a=n<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ye=class extends xi(Fa){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new oo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(Jr)}render(){var e,r,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Lr.get().serializeToCurrentPageIfPossible(a,s);return O`
5029
5029
  <div class="${ae(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
5030
5030
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
5031
5031
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -5072,7 +5072,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
5072
5072
  ></ft-button>
5073
5073
  </div>
5074
5074
  </div>
5075
- `}renderLiveText(){return this.shouldDisplaySuggestions?Jr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await jo(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!rn&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ze.elementDefinitions={"ft-button":Pe,...oo.elementDefinitions};Ze.styles=[Kr,So,p0,...oo.styles,li];kt([nr()],Ze.prototype,"request",void 0);kt([nr()],Ze.prototype,"liveQuery",void 0);kt([nr()],Ze.prototype,"suggestResults",void 0);kt([B()],Ze.prototype,"forceCloseSuggestion",void 0);kt([B()],Ze.prototype,"displaySuggestListbox",void 0);kt([B()],Ze.prototype,"selectedSuggestOptionId",void 0);kt([g()],Ze.prototype,"launchSearchPath",void 0);kt([Sa()],Ze.prototype,"placeholder",void 0);kt([g({type:Boolean})],Ze.prototype,"useCustomSearchPath",void 0);kt([g({type:Boolean})],Ze.prototype,"triggerSearchOnClear",void 0);kt([g({type:Boolean})],Ze.prototype,"focusOnDisplay",void 0);kt([F(".ft-search-input--input")],Ze.prototype,"input",void 0);kt([F('[part="launch-search-in-input"]')],Ze.prototype,"launchSearchButton",void 0);j("ft-search-input")(Ze);})();
5075
+ `}renderLiveText(){return this.shouldDisplaySuggestions?Jr.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await jo(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!rn&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};Ye.elementDefinitions={"ft-button":Pe,...oo.elementDefinitions};Ye.styles=[Kr,So,p0,...oo.styles,li];kt([nr()],Ye.prototype,"request",void 0);kt([nr()],Ye.prototype,"liveQuery",void 0);kt([nr()],Ye.prototype,"suggestResults",void 0);kt([B()],Ye.prototype,"forceCloseSuggestion",void 0);kt([B()],Ye.prototype,"displaySuggestListbox",void 0);kt([B()],Ye.prototype,"selectedSuggestOptionId",void 0);kt([g()],Ye.prototype,"launchSearchPath",void 0);kt([Sa()],Ye.prototype,"placeholder",void 0);kt([g({type:Boolean})],Ye.prototype,"useCustomSearchPath",void 0);kt([g({type:Boolean})],Ye.prototype,"triggerSearchOnClear",void 0);kt([g({type:Boolean})],Ye.prototype,"focusOnDisplay",void 0);kt([F(".ft-search-input--input")],Ye.prototype,"input",void 0);kt([F('[part="launch-search-in-input"]')],Ye.prototype,"launchSearchButton",void 0);j("ft-search-input")(Ye);})();
5076
5076
  /*! Bundled license information:
5077
5077
 
5078
5078
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: