@fluid-topics/ft-search-bar 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 z0=Object.create;var Ma=Object.defineProperty;var $0=Object.getOwnPropertyDescriptor;var D0=Object.getOwnPropertyNames;var B0=Object.getPrototypeOf,F0=Object.prototype.hasOwnProperty;var U0=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ie=(t,e)=>{for(var r in e)Ma(t,r,{get:e[r],enumerable:!0})},H0=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of D0(e))!F0.call(t,n)&&n!==r&&Ma(t,n,{get:()=>e[n],enumerable:!(o=$0(e,n))||o.enumerable});return t};var G0=(t,e,r)=>(r=t!=null?z0(B0(t)):{},H0(e||!t||!t.__esModule?Ma(r,"default",{value:t,enumerable:!0}):r,t));var d1=U0(($r,c1)=>{var Kn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Zn=function(){function t(){this.fetch=!1,this.DOMException=Kn.DOMException}return t.prototype=Kn,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 u(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)}),u(x)},h.prototype.values=function(){var x=[];return this.forEach(function(w){x.push(w)}),u(x)},h.prototype.entries=function(){var x=[];return this.forEach(function(w,V){x.push([V,w])}),u(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 O(x){var w=new FileReader,V=C(w);return w.readAsArrayBuffer(x),V}function R(x){var w=new FileReader,V=C(w),pe=/charset=([A-Za-z0-9_-]+)/.exec(x.type),ve=pe?pe[1]:"utf-8";return w.readAsText(x,ve),V}function N(x){for(var w=new Uint8Array(x),V=new Array(w.length),pe=0;pe<w.length;pe++)V[pe]=String.fromCharCode(w[pe]);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 z(){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(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var x=y(this);if(x)return x;if(this._bodyBlob)return R(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(U)}),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 pe=/([?&])_=[^&]*/;if(pe.test(this.url))this.url=this.url.replace(pe,"$1_="+new Date().getTime());else{var ve=/\?/;this.url+=(ve.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};function U(x){var w=new FormData;return x.trim().split("&").forEach(function(V){if(V){var pe=V.split("="),ve=pe.shift().replace(/\+/g," "),ce=pe.join("=").replace(/\+/g," ");w.append(decodeURIComponent(ve),decodeURIComponent(ce))}}),w}function Y(x){var w=new h,V=x.replace(/\r?\n[\t ]+/g," ");return V.split("\r").map(function(pe){return pe.indexOf(`
2
2
  `)===0?pe.substr(1,pe.length):pe}).forEach(function(pe){var ve=pe.split(":"),ce=ve.shift().trim();if(ce){var yn=ve.join(":").trim();try{w.append(ce,yn)}catch(Ta){console.warn("Response "+Ta.message)}}}),w}z.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)}z.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 ae=[301,302,303,307,308];le.redirect=function(x,w){if(ae.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 pe=Error(w);this.stack=pe.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Z(x,w){return new Promise(function(V,pe){var ve=new k(x,w);if(ve.signal&&ve.signal.aborted)return pe(new r.DOMException("Aborted","AbortError"));var ce=new XMLHttpRequest;function yn(){ce.abort()}ce.onload=function(){var Ye={statusText:ce.statusText,headers:Y(ce.getAllResponseHeaders()||"")};ve.url.indexOf("file://")===0&&(ce.status<200||ce.status>599)?Ye.status=200:Ye.status=ce.status,Ye.url="responseURL"in ce?ce.responseURL:Ye.headers.get("X-Request-URL");var Kr="response"in ce?ce.response:ce.responseText;setTimeout(function(){V(new le(Kr,Ye))},0)},ce.onerror=function(){setTimeout(function(){pe(new TypeError("Network request failed"))},0)},ce.ontimeout=function(){setTimeout(function(){pe(new TypeError("Network request timed out"))},0)},ce.onabort=function(){setTimeout(function(){pe(new r.DOMException("Aborted","AbortError"))},0)};function Ta(Ye){try{return Ye===""&&o.location.href?o.location.href:Ye}catch{return Ye}}if(ce.open(ve.method,Ta(ve.url),!0),ve.credentials==="include"?ce.withCredentials=!0:ve.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 vd=[];Object.getOwnPropertyNames(w.headers).forEach(function(Ye){vd.push(d(Ye)),ce.setRequestHeader(Ye,f(w.headers[Ye]))}),ve.headers.forEach(function(Ye,Kr){vd.indexOf(Kr)===-1&&ce.setRequestHeader(Kr,Ye)})}else ve.headers.forEach(function(Ye,Kr){ce.setRequestHeader(Kr,Ye)});ve.signal&&(ve.signal.addEventListener("abort",yn),ce.onreadystatechange=function(){ce.readyState===4&&ve.signal.removeEventListener("abort",yn)}),ce.send(typeof ve._bodyInit>"u"?null:ve._bodyInit)})}return Z.polyfill=!0,o.fetch||(o.fetch=Z,o.Headers=h,o.Request=k,o.Response=le),r.Headers=h,r.Request=k,r.Response=le,r.fetch=Z,r}({})})(Zn);Zn.fetch.ponyfill=!0;delete Zn.fetch.polyfill;var Zo=Kn.fetch?Kn:Zn;$r=Zo.fetch;$r.default=Zo.fetch;$r.fetch=Zo.fetch;$r.Headers=Zo.Headers;$r.Request=Zo.Request;$r.Response=Zo.Response;c1.exports=$r});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,U=new Set(L.observedAttributes||[]);y(L,U,k);let Y={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:U};this._definitionsByTag.set(A,Y),this._definitionsByClass.set(L,Y);let le=r.call(o,A);le||(le=h(A),e.call(o,A,le)),this===window.customElements&&(s.set(L,Y),Y.standInClass=le);let ae=this._awaitingUpgrade.get(A);if(ae){this._awaitingUpgrade.delete(A);for(let x of ae)a.delete(x),O(x,Y,!0)}let Z=this._whenDefinedPromises.get(A);return Z!==void 0&&(Z.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(U=>k.resolve=U),this._whenDefinedPromises.set(A,k)),k.promise}_upgradeWhenDefined(A,L,k){let U=this._awaitingUpgrade.get(L);U||this._awaitingUpgrade.set(L,U=new Set),k?U.add(A):U.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,u=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 U=u(k)||window.customElements,Y=U._getDefinition(A);return Y?O(k,Y):a.set(k,U),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 U=A.prototype.setAttribute;U&&(A.prototype.setAttribute=function(ae,Z){let x=ae.toLowerCase();if(L.has(x)){let w=this.getAttribute(x);U.call(this,x,Z),k.call(this,x,w,Z)}else U.call(this,x,Z)});let Y=A.prototype.removeAttribute;Y&&(A.prototype.removeAttribute=function(ae){let Z=ae.toLowerCase();if(L.has(Z)){let x=this.getAttribute(Z);Y.call(this,Z),k.call(this,Z,x,null)}else Y.call(this,Z)});let le=A.prototype.toggleAttribute;le&&(A.prototype.toggleAttribute=function(ae,Z){let x=ae.toLowerCase();if(L.has(x)){let w=this.getAttribute(x);le.call(this,x,Z);let V=this.getAttribute(x);k.call(this,x,w,V)}else le.call(this,x,Z)})},C=A=>{let L=Object.getPrototypeOf(A);if(L!==window.HTMLElement)return L===t?Object.setPrototypeOf(A,window.HTMLElement):C(L)},O=(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(U=>{A.hasAttribute(U)&&L.attributeChangedCallback.call(A,U,null,A.getAttribute(U))}),k&&L.connectedCallback&&A.isConnected&&L.connectedCallback.call(A)},R=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let L=R.apply(this,arguments);return A.customElements&&(L.customElements=A.customElements),L};let N=[document],I=(A,L,k=void 0)=>{let U=(k?Object.getPrototypeOf(k):A.prototype)[L];A.prototype[L]=function(){N.push(this);let Y=U.apply(k||this,arguments);return Y!==void 0&&l.set(Y,this),N.pop(),Y}};I(ShadowRoot,"createElement",document),I(ShadowRoot,"importNode",document),I(Element,"insertAdjacentHTML");let z=(A,L)=>{let k=Object.getOwnPropertyDescriptor(A.prototype,L);Object.defineProperty(A.prototype,L,{...k,set(U){N.push(this),k.set.call(this,U),N.pop()}})};if(z(Element,"innerHTML"),z(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(...ae){let Z=L.call(this,...ae);return A.set(Z,this),Z},k.forEach(ae=>{let Z=window.ElementInternals.prototype,x=Z[ae];Z[ae]=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 U extends Array{constructor(Z){super(...Z),this._elements=Z}get value(){return this._elements.find(Z=>Z.checked===!0)?.value||""}}class Y{constructor(Z){let x=new Map;Z.forEach((w,V)=>{let pe=w.getAttribute("name"),ve=x.get(pe)||[];this[+V]=w,ve.push(w),x.set(pe,ve)}),this.length=Z.length,x.forEach((w,V)=>{w&&(w.length===1?this[V]=w[0]:this[V]=new U(w))})}namedItem(Z){return this[Z]}}let le=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let ae=le.get.call(this,[]),Z=[];for(let x of ae){let w=n.get(x);(!w||w.formAssociated===!0)&&Z.push(x)}return new Y(Z)}})}}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 Va={};ie(Va,{CSSResult:()=>ko,LitElement:()=>Dt,ReactiveElement:()=>qt,_$LE:()=>t4,_$LH:()=>Ha,adoptStyles:()=>bi,css:()=>T,defaultConverter:()=>To,getCompatibleStyle:()=>vn,html:()=>E,isServer:()=>G5,mathml:()=>Ua,noChange:()=>nt,notEqual:()=>xi,nothing:()=>$,render:()=>Ga,supportsAdoptingStyleSheets:()=>yi,svg:()=>Fa,unsafeCSS:()=>Zt});var bn=globalThis,yi=bn.ShadowRoot&&(bn.ShadyCSS===void 0||bn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Na=Symbol(),xd=new WeakMap,ko=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Na)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(yi&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=xd.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&xd.set(r,e))}return e}toString(){return this.cssText}},Zt=t=>new ko(typeof t=="string"?t:t+"",void 0,Na),T=(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 ko(r,t,Na)},bi=(t,e)=>{if(yi)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),n=bn.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=r.cssText,t.appendChild(o)}},vn=yi?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Zt(r)})(t):t;var{is:W0,defineProperty:V0,getOwnPropertyDescriptor:j0,getOwnPropertyNames:K0,getOwnPropertySymbols:Z0,getPrototypeOf:q0}=Object,xn=globalThis,Sd=xn.trustedTypes,Y0=Sd?Sd.emptyScript:"",X0=xn.reactiveElementPolyfillSupport,vi=(t,e)=>t,To={toAttribute(t,e){switch(e){case Boolean:t=t?Y0: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}},xi=(t,e)=>!W0(t,e),Cd={attribute:!0,type:String,converter:To,reflect:!1,useDefault:!1,hasChanged:xi};Symbol.metadata??=Symbol("metadata"),xn.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=Cd){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&&V0(this.prototype,e,n)}}static getPropertyDescriptor(e,r,o){let{get:n,set:a}=j0(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)??Cd}static _$Ei(){if(this.hasOwnProperty(vi("elementProperties")))return;let e=q0(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(vi("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(vi("properties"))){let r=this.properties,o=[...K0(r),...Z0(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(vn(n))}else e!==void 0&&r.push(vn(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 bi(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:To).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:To;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??xi)(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[vi("elementProperties")]=new Map,qt[vi("finalized")]=new Map,X0?.({ReactiveElement:qt}),(xn.reactiveElementVersions??=[]).push("2.1.0");var Ia=globalThis,Sn=Ia.trustedTypes,Od=Sn?Sn.createPolicy("lit-html",{createHTML:t=>t}):void 0,za="$lit$",hr=`lit$${Math.random().toFixed(9).slice(2)}$`,$a="?"+hr,Q0=`<${$a}>`,Yr=document,Ci=()=>Yr.createComment(""),Oi=t=>t===null||typeof t!="object"&&typeof t!="function",Da=Array.isArray,_d=t=>Da(t)||typeof t?.[Symbol.iterator]=="function",Pa=`[
3
3
  \f\r]`,Si=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ed=/-->/g,Ld=/>/g,Zr=RegExp(`>|${Pa}(?:([^\\s"'>=/]+)(${Pa}*=${Pa}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ad=/'/g,wd=/"/g,kd=/^(?:script|style|textarea|title)$/i,Ba=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),E=Ba(1),Fa=Ba(2),Ua=Ba(3),nt=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Rd=new WeakMap,qr=Yr.createTreeWalker(Yr,129);function Td(t,e){if(!Da(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Od!==void 0?Od.createHTML(e):e}var Md=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Si;for(let l=0;l<r;l++){let d=t[l],f,u,h=-1,y=0;for(;y<d.length&&(s.lastIndex=y,u=s.exec(d),u!==null);)y=s.lastIndex,s===Si?u[1]==="!--"?s=Ed:u[1]!==void 0?s=Ld:u[2]!==void 0?(kd.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=Zr):u[3]!==void 0&&(s=Zr):s===Zr?u[0]===">"?(s=n??Si,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,f=u[1],s=u[3]===void 0?Zr:u[3]==='"'?wd:Ad):s===wd||s===Ad?s=Zr:s===Ed||s===Ld?s=Si:(s=Zr,n=void 0);let C=s===Zr&&t[l+1].startsWith("/>")?" ":"";a+=s===Si?d+Q0:h>=0?(o.push(f),d.slice(0,h)+za+d.slice(h)+hr+C):d+hr+(h===-2?l:C)}return[Td(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Ei=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,u]=Md(e,r);if(this.el=t.createElement(f,o),qr.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=qr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(za)){let y=u[s++],C=n.getAttribute(h).split(hr),O=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?On:O[1]==="?"?En:O[1]==="@"?Ln:Qr}),n.removeAttribute(h)}else h.startsWith(hr)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(kd.test(n.tagName)){let h=n.textContent.split(hr),y=h.length-1;if(y>0){n.textContent=Sn?Sn.emptyScript:"";for(let C=0;C<y;C++)n.append(h[C],Ci()),qr.nextNode(),d.push({type:2,index:++a});n.append(h[y],Ci())}}}else if(n.nodeType===8)if(n.data===$a)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(hr,h+1))!==-1;)d.push({type:7,index:a}),h+=hr.length-1}a++}}static createElement(e,r){let o=Yr.createElement("template");return o.innerHTML=e,o}};function Xr(t,e,r=t,o){if(e===nt)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Oi(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=Xr(t,n._$AS(t,e.values),n,o)),e}var Cn=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??Yr).importNode(r,!0);qr.currentNode=n;let a=qr.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Mo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new An(a,this,e)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(a=qr.nextNode(),s++)}return qr.currentNode=Yr,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++}},Mo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=$,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=Xr(this,e,r),Oi(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==nt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_d(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!==$&&Oi(this._$AH)?this._$AA.nextSibling.data=e:this.T(Yr.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=Ei.createElement(Td(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Cn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Rd.get(e.strings);return r===void 0&&Rd.set(e.strings,r=new Ei(e)),r}k(e){Da(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(Ci()),this.O(Ci()),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))}},Qr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=$,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=$}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=Xr(this,e,r,0),s=!Oi(e)||e!==this._$AH&&e!==nt,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Xr(this,l[o+d],r,d),f===nt&&(f=this._$AH[d]),s||=!Oi(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},On=class extends Qr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},En=class extends Qr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Ln=class extends Qr{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=Xr(this,e,r,0)??$)===nt)return;let o=this._$AH,n=e===$&&o!==$||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==$&&(o===$||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)}},An=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){Xr(this,e)}},Ha={M:za,P:hr,A:$a,C:1,L:Md,R:Cn,D:_d,V:Xr,I:Mo,H:Qr,N:En,U:Ln,B:On,F:An},J0=Ia.litHtmlPolyfillSupport;J0?.(Ei,Mo),(Ia.litHtmlVersions??=[]).push("3.3.0");var Ga=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Mo(e.insertBefore(Ci(),a),a,void 0,r??{})}return n._$AI(t),n};var Wa=globalThis,Dt=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=Ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return nt}};Dt._$litElement$=!0,Dt.finalized=!0,Wa.litElementHydrateSupport?.({LitElement:Dt});var e4=Wa.litElementPolyfillSupport;e4?.({LitElement:Dt});var t4={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Wa.litElementVersions??=[]).push("4.2.0");var G5=!1;var qa={};ie(qa,{customElement:()=>r4,eventOptions:()=>i4,property:()=>g,query:()=>B,queryAll:()=>ja,queryAssignedElements:()=>Ka,queryAssignedNodes:()=>Za,queryAsync:()=>a4,standardProperty:()=>Nd,state:()=>H});var r4=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var o4={attribute:!0,type:String,converter:To,reflect:!1,hasChanged:xi},Nd=(t=o4,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"?Nd(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 H(t){return g({...t,state:!0,attribute:!1})}function i4(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Bt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function B(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 Bt(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 Bt(r,o,{get(){return a(this)}})}}var n4;function ja(t){return(e,r)=>Bt(e,r,{get(){return(this.renderRoot??(n4??=document.createDocumentFragment())).querySelectorAll(t)}})}function a4(t){return(e,r)=>Bt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ka(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Bt(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 Za(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Bt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var Ya={};ie(Ya,{repeat:()=>Me});var Yt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ft=t=>(...e)=>({_$litDirective$:t,values:e}),wt=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:s4}=Ha;var Id=t=>t.strings===void 0,Pd=()=>document.createComment(""),No=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(Pd(),n),s=o.insertBefore(Pd(),n);r=new s4(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},Ar=(t,e,r=t)=>(t._$AI(e,r),t),l4={},zd=(t,e=l4)=>t._$AH=e,$d=t=>t._$AH,wn=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 Dd=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},Me=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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=$d(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,u,h=0,y=n.length-1,C=0,O=a.length-1;for(;h<=y&&C<=O;)if(n[h]===null)h++;else if(n[y]===null)y--;else if(l[h]===s[C])d[C]=Ar(n[h],a[C]),h++,C++;else if(l[y]===s[O])d[O]=Ar(n[y],a[O]),y--,O--;else if(l[h]===s[O])d[O]=Ar(n[h],a[O]),No(t,d[O+1],n[h]),h++,O--;else if(l[y]===s[C])d[C]=Ar(n[y],a[C]),No(t,n[h],n[y]),y--,C++;else if(f===void 0&&(f=Dd(s,C,O),u=Dd(l,h,y)),f.has(l[h]))if(f.has(l[y])){let R=u.get(s[C]),N=R!==void 0?n[R]:null;if(N===null){let I=No(t,n[h]);Ar(I,a[C]),d[C]=I}else d[C]=Ar(N,a[C]),No(t,n[h],N),n[R]=null;C++}else wn(n[y]),y--;else wn(n[h]),h++;for(;C<=O;){let R=No(t,d[O+1]);Ar(R,a[C]),d[C++]=R}for(;h<=y;){let R=n[h++];R!==null&&wn(R)}return this.ut=s,zd(t,d),nt}});var Xa={};ie(Xa,{classMap:()=>se});var se=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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 nt}});var Qa={};ie(Qa,{styleMap:()=>d4});var Bd="important",c4=" !"+Bd,d4=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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(c4);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?Bd:""):r[o]=n}}return nt}});var Ja={};ie(Ja,{UnsafeHTMLDirective:()=>Po,unsafeHTML:()=>Li});var Po=class extends wt{constructor(e){if(super(e),this.it=$,e.type!==Yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===nt)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:[]}}};Po.directiveName="unsafeHTML",Po.resultType=1;var Li=Ft(Po);var cs={};ie(cs,{CacheRegistry:()=>Qt,ClearCacheEvent:()=>Ri});var ts={};ie(ts,{CancelablePromise:()=>Rn,CanceledPromiseError:()=>Jr,cancelable:()=>es});var Jr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Rn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Jr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Jr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},es=t=>new Rn((e,r)=>t.then(e).catch(r));var ls={};ie(ls,{FtNotificationEvent:()=>wi,PostResizeEvent:()=>ss,PreResizeEvent:()=>as,WithEventBus:()=>mr,withEventBus:()=>Tn});var ns={};ie(ns,{applyMixinOnce:()=>Xe,dateReviver:()=>p4,deepCopy:()=>to,deepEqual:()=>Fe,delay:()=>_n,eventPathContainsMatchingElement:()=>rs,everyDeep:()=>f4,flatDeep:()=>yt,forEachDeep:()=>Fd,getComposedPathTo:()=>is,hasChanged:()=>Ut,last:()=>os,minmax:()=>eo,parseDate:()=>Hd,randomId:()=>h4,someDeep:()=>Ud,unslotText:()=>Xt,waitFor:()=>kn,waitUntil:()=>Ai});var _n=t=>new Promise(e=>setTimeout(e,t));async function Ai(t,e=10,r=2e4){await kn(async()=>await t()||void 0,e,r)}async function kn(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await _n(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function yt(t,e){return t.flatMap(r=>[r,...yt(e(r),e)])}function Fd(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 Ud(t,e,r){let o=!1;return Fd(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function f4(t,e,r){return!Ud(t,e,(o,n,a,s)=>!r(o,n,a,s))}function p4(...t){return(e,r)=>t.includes(e)?Hd(r):r}function Hd(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 u4(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(!Fe(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(!Fe(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(!Fe(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Fe(t,e){try{return u4(t,e)}catch{return!1}}function Ut(t,e){return!Fe(t,e)}function rs(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 eo(t,e,r){return Math.min(Math.max(t,e),r)}function os(t){return t[t.length-1]}function Xt(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Xt(e)).join(""):t?.textContent||""}function is(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 to(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function h4(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Xe(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 wi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},as=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ss=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Tn=Xe(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)}}}),mr=class extends Tn(Object){};var Ri=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Qt=class extends mr{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 Ri(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Ri([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=es(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 hs={};ie(hs,{ClusteringHelper:()=>us,formatHierarchicalValues:()=>ps});var fs={};ie(fs,{accessBreadcrumb:()=>y4,accessResult:()=>ds,accessResultId:()=>m4,accessResultUrl:()=>g4});function ds(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 m4(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 g4(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 y4(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 ps(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var us=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=ds(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(ps(l)),s.push(ps(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(O=>O.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 ms={};ie(ms,{Debouncer:()=>he});var he=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 gs={};ie(gs,{customElement:()=>K,dateProperty:()=>v4,isNumber:()=>Gd,jsonProperty:()=>ke,numberProperty:()=>wr,optionalNumberProperty:()=>b4});var K=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ke(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:Ut,...e??{}})}function b4(t){return wr(t)}function wr(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 Gd(e)?eo(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Gd(t){return!isNaN(parseFloat(t))}function v4(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 Ns={};ie(Ns,{designSystemVariables:()=>M});var Ms={};ie(Ms,{DesignSystemFamily:()=>Ue,DesignSystemSize:()=>Ke,FtCssVariableFactory:()=>i,badge:()=>L4,banner:()=>E4,button:()=>S,chart:()=>F4,checkbox:()=>q,chip:()=>X,chipChoice:()=>O4,collapsible:()=>D4,comboboxMultiSelect:()=>$4,comboboxSingleSelect:()=>z4,dateRangePicker:()=>K4,drawer:()=>T4,floatingMenu:()=>I4,foundation:()=>c,link:()=>Ie,modal:()=>k4,notice:()=>H4,notification:()=>W4,pageDesigner:()=>U4,pageFooter:()=>R4,pageHeader:()=>w4,pageLayout:()=>_4,popover:()=>je,radio:()=>de,reorderableList:()=>j4,resolveFamilyClass:()=>ks,resolveSizeClass:()=>Ts,semantic:()=>p,setVariable:()=>v,switch_:()=>B4,table:()=>C4,tabs:()=>M4,textArea:()=>P4,textInput:()=>N4,titleBreadcrumb:()=>A4,toggle:()=>G4,tooltip:()=>V4,treeList:()=>S4,typographies:()=>Mn,typographyBody1Medium:()=>Cs,typographyBody1Regular:()=>Ss,typographyBody1Semibold:()=>Os,typographyBody2Medium:()=>ro,typographyBody2MediumUnderline:()=>Wd,typographyBody2Regular:()=>Es,typographyBody2Semibold:()=>Ls,typographyCaption1Medium:()=>As,typographyCaption1Semibold:()=>ws,typographyCaption2Bold:()=>_s,typographyCaption2Medium:()=>_r,typographyCaption2Semibold:()=>Rs,typographyDisplay:()=>ys,typographyTitle1:()=>bs,typographyTitle2:()=>vs,typographyTitle3:()=>xs,typographyVariants:()=>x4});var Rr=t=>typeof t=="string"?Zt(t):t,i=class{static create(e,r,o,n){let a=l=>Rr(l??n),s=T`var(${Rr(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=>T`var(${Rr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=T`var(${Rr(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=>T`var(${Rr(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=T`var(${Rr(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=>T`var(${Rr(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(t,e){return Rr(`${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)")},ys={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")},bs={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")},vs={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")},xs={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")},Ss={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")},Cs={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")},Os={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")},Es={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")},ro={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")},Wd={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")},Ls={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")},As={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")},ws={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")},_r={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")},Rs={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")},_s={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")},Mn={display:ys,"title-1":bs,"title-2":vs,"title-3":xs,"body-1-regular":Ss,"body-1-medium":Cs,"body-1-semibold":Os,"body-2-regular":Es,"body-2-medium":ro,"body-2-medium-underline":Wd,"body-2-semibold":Ls,"caption-1-medium":As,"caption-1-semibold":ws,"caption-2-medium":_r,"caption-2-semibold":Rs,"caption-2-bold":_s},x4=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var p={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","",p.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",p.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","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",p.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","",p.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",p.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","",p.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",p.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","",p.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",p.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","",p.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",p.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","",p.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.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","",p.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",p.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","",p.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","",p.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",p.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","",p.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",p.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","",p.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",p.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","",p.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",p.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","",p.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var S4={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","",p.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",p.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","",p.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","",p.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",p.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","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.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","",p.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",p.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","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var q={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","",p.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",p.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","",p.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","",p.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",p.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","",p.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",p.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","",p.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",p.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","",p.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 C4={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",p.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","",p.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","",p.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 O4={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","",p.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","",p.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.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","",p.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","",p.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.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 X={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","",p.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var Ie={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var E4={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","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var L4={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","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var A4={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var w4={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","",p.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",p.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","",p.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var R4={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","",p.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var _4={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var k4={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","",p.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","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",p.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 T4={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",p.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","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",p.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","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",p.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 M4={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","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",p.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","",p.borderActionFocusRing)};var N4={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","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var P4={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",p.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 I4={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","",p.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",p.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","",p.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var z4={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","",p.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",p.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 $4={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",p.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 je={backgroundColor:i.extend("--ftds-popover-background-color","",p.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","",p.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",p.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 D4={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","",p.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","",p.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var B4={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","",p.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",p.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","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",p.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","",p.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var F4={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 U4={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 H4={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","",p.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",p.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 G4={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","",p.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:i.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)};var W4={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","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",p.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 V4={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","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",p.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 j4={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","",p.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","",p.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","",p.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","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.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","",p.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var K4={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 Ue;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ue||(Ue={}));var Ke;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ke||(Ke={}));function ks(t){return`ftds--family-${t}`}function Ts(t){return`ftds--size-${t}`}var M={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 Ps={};ie(Ps,{DynamicImporter:()=>Nn,dynamicImporter:()=>Z4});var Nn=class{async import(e){if(e)return import(e)}},Z4=new Nn;var Zs={};ie(Zs,{computeOffsetAutoPosition:()=>Ni,computeOffsetPosition:()=>Ks});var jd=["top","right","bottom","left"],Vd=["start","end"],zs=jd.reduce((t,e)=>t.concat(e,e+"-"+Vd[0],e+"-"+Vd[1]),[]),oo=Math.min,pt=Math.max,_i=Math.round;var Ht=t=>({x:t,y:t}),q4={left:"right",right:"left",bottom:"top",top:"bottom"};function $s(t,e,r){return pt(t,oo(e,r))}function Io(t,e){return typeof t=="function"?t(e):t}function kr(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Ds(t){return t==="x"?"y":"x"}function Bs(t){return t==="y"?"height":"width"}function zo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Fs(t){return Ds(zo(t))}function Kd(t,e,r){r===void 0&&(r=!1);let o=Jt(t),n=Fs(t),a=Bs(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Is(s)),[s,Is(s)]}function Zd(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Is(t){let e=kr(t);return q4[e]+t.slice(e.length)}function Y4(t){return{top:0,right:0,bottom:0,left:0,...t}}function qd(t){return typeof t!="number"?Y4(t):{top:t,right:t,bottom:t,left:t}}function io(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 Yd(t,e,r){let{reference:o,floating:n}=t,a=zo(e),s=Fs(e),l=Bs(s),d=kr(e),f=a==="y",u=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:u,y:o.y-n.height};break;case"bottom":C={x:u,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(Jt(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 Xd(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:u="viewport",elementContext:h="floating",altBoundary:y=!1,padding:C=0}=Io(e,t),O=qd(C),N=l[y?h==="floating"?"reference":"floating":h],I=io(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:u,strategy:d})),z=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=io(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:z,offsetParent:A,strategy:d}):z);return{top:(I.top-k.top+O.top)/L.y,bottom:(k.bottom-I.bottom+O.bottom)/L.y,left:(I.left-k.left+O.left)/L.x,right:(k.right-I.right+O.right)/L.x}}var X4=50,Qd=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Xd},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:h}=Yd(f,o,d),y=o,C=0,O={};for(let R=0;R<a.length;R++){let N=a[R];if(!N)continue;let{name:I,fn:z}=N,{x:A,y:L,data:k,reset:U}=await z({x:u,y:h,initialPlacement:o,placement:y,strategy:n,middlewareData:O,rects:f,platform:l,elements:{reference:t,floating:e}});u=A??u,h=L??h,O[I]={...O[I],...k},U&&C<X4&&(C++,typeof U=="object"&&(U.placement&&(y=U.placement),U.rects&&(f=U.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):U.rects),{x:u,y:h}=Yd(f,y,d)),R=-1)}return{x:u,y:h,placement:y,strategy:n,middlewareData:O}};function Q4(t,e,r){return(t?[...r.filter(n=>Jt(n)===t),...r.filter(n=>Jt(n)!==t)]:r.filter(n=>kr(n)===n)).filter(n=>t?Jt(n)===t||(e?Zd(n)!==n:!1):!0)}var Jd=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:u=!1,alignment:h,allowedPlacements:y=zs,autoAlignment:C=!0,...O}=Io(t,e),R=h!==void 0||y===zs?Q4(h||null,C,y):y,N=await d.detectOverflow(e,O),I=((r=s.autoPlacement)==null?void 0:r.index)||0,z=R[I];if(z==null)return{};let A=Kd(z,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==z)return{reset:{placement:R[0]}};let L=[N[kr(z)],N[A[0]],N[A[1]]],k=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:z,overflows:L}],U=R[I+1];if(U)return{data:{index:I+1,overflows:k},reset:{placement:U}};let Y=k.map(Z=>{let x=Jt(Z.placement);return[Z.placement,x&&u?Z.overflows.slice(0,2).reduce((w,V)=>w+V,0):Z.overflows[0],Z.overflows]}).sort((Z,x)=>Z[1]-x[1]),ae=((n=Y.filter(Z=>Z[2].slice(0,Jt(Z[0])?2:3).every(x=>x<=0))[0])==null?void 0:n[0])||Y[0][0];return ae!==l?{data:{index:I+1,overflows:k},reset:{placement:ae}}:{}}}};var J4=new Set(["left","top"]);async function eh(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=kr(r),l=Jt(r),d=zo(r)==="y",f=J4.has(s)?-1:1,u=a&&d?-1:1,h=Io(e,t),{mainAxis:y,crossAxis:C,alignmentAxis:O}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*u,y:y*f}:{x:y*f,y:C*u}}var ef=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 eh(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}}}}},tf=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:z,y:A}=I;return{x:z,y:A}}},...f}=Io(t,e),u={x:r,y:o},h=await a.detectOverflow(e,f),y=zo(kr(n)),C=Ds(y),O=u[C],R=u[y];if(s){let I=C==="y"?"top":"left",z=C==="y"?"bottom":"right",A=O+h[I],L=O-h[z];O=$s(A,O,L)}if(l){let I=y==="y"?"top":"left",z=y==="y"?"bottom":"right",A=R+h[I],L=R-h[z];R=$s(A,R,L)}let N=d.fn({...e,[C]:O,[y]:R});return{...N,data:{x:N.x-r,y:N.y-o,enabled:{[C]:s,[y]:l}}}}}};var rf=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}=Io(t,e),u=await s.detectOverflow(e,f),h=kr(n),y=Jt(n),C=zo(n)==="y",{width:O,height:R}=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 z=R-u.top-u.bottom,A=O-u.left-u.right,L=oo(R-u[N],z),k=oo(O-u[I],A),U=!e.middlewareData.shift,Y=L,le=k;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(le=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(Y=z),U&&!y){let Z=pt(u.left,0),x=pt(u.right,0),w=pt(u.top,0),V=pt(u.bottom,0);C?le=O-2*(Z!==0||x!==0?Z+x:pt(u.left,u.right)):Y=R-2*(w!==0||V!==0?w+V:pt(u.top,u.bottom))}await d({...e,availableWidth:le,availableHeight:Y});let ae=await s.getDimensions(l.floating);return O!==ae.width||R!==ae.height?{reset:{rects:!0}}:{}}}};function In(){return typeof window<"u"}function ao(t){return nf(t)?(t.nodeName||"").toLowerCase():"#document"}function ut(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function er(t){var e;return(e=(nf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nf(t){return In()?t instanceof Node||t instanceof ut(t).Node:!1}function Rt(t){return In()?t instanceof Element||t instanceof ut(t).Element:!1}function tr(t){return In()?t instanceof HTMLElement||t instanceof ut(t).HTMLElement:!1}function of(t){return!In()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ut(t).ShadowRoot}function $o(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=_t(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function af(t){return/^(table|td|th)$/.test(ao(t))}function ki(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var th=/transform|translate|scale|rotate|perspective|filter/,rh=/paint|layout|strict|content/,no=t=>!!t&&t!=="none",Us;function zn(t){let e=Rt(t)?_t(t):t;return no(e.transform)||no(e.translate)||no(e.scale)||no(e.rotate)||no(e.perspective)||!$n()&&(no(e.backdropFilter)||no(e.filter))||th.test(e.willChange||"")||rh.test(e.contain||"")}function sf(t){let e=gr(t);for(;tr(e)&&!so(e);){if(zn(e))return e;if(ki(e))return null;e=gr(e)}return null}function $n(){return Us==null&&(Us=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Us}function so(t){return/^(html|body|#document)$/.test(ao(t))}function _t(t){return ut(t).getComputedStyle(t)}function Ti(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function gr(t){if(ao(t)==="html")return t;let e=t.assignedSlot||t.parentNode||of(t)&&t.host||er(t);return of(e)?e.host:e}function lf(t){let e=gr(t);return so(e)?t.ownerDocument?t.ownerDocument.body:t.body:tr(e)&&$o(e)?e:lf(e)}function Pn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=lf(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=ut(n);if(a){let l=Dn(s);return e.concat(s,s.visualViewport||[],$o(n)?n:[],l&&r?Pn(l):[])}else return e.concat(n,Pn(n,[],r))}function Dn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function pf(t){let e=_t(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=tr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=_i(r)!==a||_i(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function uf(t){return Rt(t)?t:t.contextElement}function Do(t){let e=uf(t);if(!tr(e))return Ht(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=pf(e),s=(a?_i(r.width):r.width)/o,l=(a?_i(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var oh=Ht(0);function hf(t){let e=ut(t);return!$n()||!e.visualViewport?oh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ih(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ut(t)?!1:e}function Mi(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=uf(t),s=Ht(1);e&&(o?Rt(o)&&(s=Do(o)):s=Do(t));let l=ih(a,r,o)?hf(a):Ht(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,u=n.width/s.x,h=n.height/s.y;if(a){let y=ut(a),C=o&&Rt(o)?ut(o):o,O=y,R=Dn(O);for(;R&&o&&C!==O;){let N=Do(R),I=R.getBoundingClientRect(),z=_t(R),A=I.left+(R.clientLeft+parseFloat(z.paddingLeft))*N.x,L=I.top+(R.clientTop+parseFloat(z.paddingTop))*N.y;d*=N.x,f*=N.y,u*=N.x,h*=N.y,d+=A,f+=L,O=ut(R),R=Dn(O)}}return io({width:u,height:h,x:d,y:f})}function Bn(t,e){let r=Ti(t).scrollLeft;return e?e.left+r:Mi(er(t)).left+r}function mf(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Bn(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function nh(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=er(o),l=e?ki(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=Ht(1),u=Ht(0),h=tr(o);if((h||!h&&!a)&&((ao(o)!=="body"||$o(s))&&(d=Ti(o)),h)){let C=Mi(o);f=Do(o),u.x=C.x+o.clientLeft,u.y=C.y+o.clientTop}let y=s&&!h&&!a?mf(s,d):Ht(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+u.x+y.x,y:r.y*f.y-d.scrollTop*f.y+u.y+y.y}}function ah(t){return Array.from(t.getClientRects())}function sh(t){let e=er(t),r=Ti(t),o=t.ownerDocument.body,n=pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Bn(t),l=-r.scrollTop;return _t(o).direction==="rtl"&&(s+=pt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}var cf=25;function lh(t,e){let r=ut(t),o=er(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let u=$n();(!u||u&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let f=Bn(o);if(f<=0){let u=o.ownerDocument,h=u.body,y=getComputedStyle(h),C=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,O=Math.abs(o.clientWidth-h.clientWidth-C);O<=cf&&(a-=O)}else f<=cf&&(a+=f);return{width:a,height:s,x:l,y:d}}function ch(t,e){let r=Mi(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=tr(t)?Do(t):Ht(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 df(t,e,r){let o;if(e==="viewport")o=lh(t,r);else if(e==="document")o=sh(er(t));else if(Rt(e))o=ch(e,r);else{let n=hf(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return io(o)}function gf(t,e){let r=gr(t);return r===e||!Rt(r)||so(r)?!1:_t(r).position==="fixed"||gf(r,e)}function dh(t,e){let r=e.get(t);if(r)return r;let o=Pn(t,[],!1).filter(l=>Rt(l)&&ao(l)!=="body"),n=null,a=_t(t).position==="fixed",s=a?gr(t):t;for(;Rt(s)&&!so(s);){let l=_t(s),d=zn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||$o(s)&&!d&&gf(t,s))?o=o.filter(u=>u!==s):n=l,s=gr(s)}return e.set(t,o),o}function fh(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?ki(e)?[]:dh(e,this._c):[].concat(r),o],l=df(e,s[0],n),d=l.top,f=l.right,u=l.bottom,h=l.left;for(let y=1;y<s.length;y++){let C=df(e,s[y],n);d=pt(C.top,d),f=oo(C.right,f),u=oo(C.bottom,u),h=pt(C.left,h)}return{width:f-h,height:u-d,x:h,y:d}}function ph(t){let{width:e,height:r}=pf(t);return{width:e,height:r}}function uh(t,e,r){let o=tr(e),n=er(e),a=r==="fixed",s=Mi(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Ht(0);function f(){d.x=Bn(n)}if(o||!o&&!a)if((ao(e)!=="body"||$o(n))&&(l=Ti(e)),o){let C=Mi(e,!0,a,e);d.x=C.x+e.clientLeft,d.y=C.y+e.clientTop}else n&&f();a&&!o&&n&&f();let u=n&&!o&&!a?mf(n,l):Ht(0),h=s.left+l.scrollLeft-d.x-u.x,y=s.top+l.scrollTop-d.y-u.y;return{x:h,y,width:s.width,height:s.height}}function Hs(t){return _t(t).position==="static"}function ff(t,e){if(!tr(t)||_t(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return er(t)===r&&(r=r.ownerDocument.body),r}function yf(t,e){let r=ut(t);if(ki(t))return r;if(!tr(t)){let n=gr(t);for(;n&&!so(n);){if(Rt(n)&&!Hs(n))return n;n=gr(n)}return r}let o=ff(t,e);for(;o&&af(o)&&Hs(o);)o=ff(o,e);return o&&so(o)&&Hs(o)&&!zn(o)?r:o||sf(t)||r}var hh=async function(t){let e=this.getOffsetParent||yf,r=this.getDimensions,o=await r(t.floating);return{reference:uh(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function mh(t){return _t(t).direction==="rtl"}var Bo={convertOffsetParentRelativeRectToViewportRelativeRect:nh,getDocumentElement:er,getClippingRect:fh,getOffsetParent:yf,getElementRects:hh,getClientRects:ah,getDimensions:ph,getScale:Do,isElement:Rt,isRTL:mh};var bf=ef,Gs=Jd,vf=tf;var xf=rf;var Ws=(t,e,r)=>{let o=new Map,n={platform:Bo,...r},a={...n.platform,_c:o};return Qd(t,e,{...n,platform:a})};function js(t){return gh(t)}function Vs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function gh(t){for(let e=t;e;e=Vs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Vs(t);e;e=Vs(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 Ks(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},Ws(t,e,{strategy:o.strategy,platform:{...Bo,getOffsetParent:n=>Bo.getOffsetParent(n,js)},middleware:[vf({crossAxis:!0}),Gs({allowedPlacements:[o.placement]})]})}async function Ni(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,Ws(t,e,{placement:l,strategy:n,platform:{...Bo,getOffsetParent:f=>Bo.getOffsetParent(f,js)},middleware:[bf(s??4),Gs({allowedPlacements:o}),xf({apply({availableHeight:f,availableWidth:u,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,u)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,u)}px`}})]})}var qs={};ie(qs,{isSlotEmptyOrWithoutContent:()=>Pi});var Pi=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 el={};ie(el,{FtdsBase:()=>co,toFtdsBase:()=>kt});var Js={};ie(Js,{ExportpartsUpdatedEvent:()=>lo,FtLitElement:()=>F});var Ys={};ie(Ys,{ScopedRegistryLitElement:()=>Ii});var Ii=class extends Dt{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 bi(o,e.elementStyles),o}};var Qs={};ie(Qs,{shadowQuerySelector:()=>Xs,shadowQuerySelectorAll:()=>yh});function Xs(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 yh(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 Fo=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},Ef,Sf=Symbol("constructorPrototype"),Cf=Symbol("constructorName"),Lf=Symbol("exportpartsDebouncer"),Of=Symbol("dynamicDependenciesLoaded"),lo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};lo.eventName="exportparts-updated";var F=class extends Ii{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ef]=new he(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[Lf].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[Cf]=this.constructor.name,this[Sf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Cf]&&Object.setPrototypeOf(this,this[Sf])}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[Of]||(r[Of]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(lo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(lo.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 lo)})}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=Xs(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 u=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:[],O=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],R=[...C,...O].filter(d).map(N=>N.trim());for(let N of R)u.add(N)}if(u.size===0){this.exportparts=void 0;return}let h=[...u.values()].flatMap(y=>f.map(C=>`${y}:${C}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};Ef=Lf;Fo([g()],F.prototype,"exportpartsPrefix",void 0);Fo([ke([])],F.prototype,"exportpartsPrefixes",void 0);Fo([g({reflect:!0})],F.prototype,"exportparts",void 0);Fo([g()],F.prototype,"customStylesheet",void 0);Fo([g()],F.prototype,"elementToFocus",void 0);Fo([H()],F.prototype,"useAdoptedStyleSheets",void 0);var Af=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},kt=Xe(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ke.medium,this.family=Ue.neutral}getDesignSystemBaseClasses(){return{[ks(this.family)]:!0,[Ts(this.size)]:!0}}}return Af([g()],e.prototype,"size",void 0),Af([g()],e.prototype,"family",void 0),e}),co=class extends kt(F){};var wf={};var ol={};ie(ol,{highlightHtml:()=>rl,highlightHtmlColorCssVariable:()=>Rf,highlightHtmlStyles:()=>vh});var fo=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,u=>{r(f)&&(l++,o(u)),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,u,h=()=>({prevNode:u,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,u,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 zi=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 fo(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 fo.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,u=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(u+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,u),e.value=h+y,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=u),e.nodes[O].end-=u)}),o-=u,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 u=f.index;if(s!==0)for(let h=1;h<s;h++)u+=f[h].length;d=this.wrapRangeInTextNode(d,u,u+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 u=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,u,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:u,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,u,y=>r(y,l,a.value.substring(f,u),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 u=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${u}"`),this[n](u,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=fo.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function tl(t){let e=new zi(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 bh=tl,Rf=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),vh=T`
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ad=/'/g,wd=/"/g,kd=/^(?:script|style|textarea|title)$/i,Ba=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),E=Ba(1),Fa=Ba(2),Ua=Ba(3),nt=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Rd=new WeakMap,qr=Yr.createTreeWalker(Yr,129);function Td(t,e){if(!Da(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Od!==void 0?Od.createHTML(e):e}var Md=(t,e)=>{let r=t.length-1,o=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Si;for(let l=0;l<r;l++){let d=t[l],f,u,h=-1,y=0;for(;y<d.length&&(s.lastIndex=y,u=s.exec(d),u!==null);)y=s.lastIndex,s===Si?u[1]==="!--"?s=Ed:u[1]!==void 0?s=Ld:u[2]!==void 0?(kd.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=Zr):u[3]!==void 0&&(s=Zr):s===Zr?u[0]===">"?(s=n??Si,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,f=u[1],s=u[3]===void 0?Zr:u[3]==='"'?wd:Ad):s===wd||s===Ad?s=Zr:s===Ed||s===Ld?s=Si:(s=Zr,n=void 0);let C=s===Zr&&t[l+1].startsWith("/>")?" ":"";a+=s===Si?d+Q0:h>=0?(o.push(f),d.slice(0,h)+za+d.slice(h)+hr+C):d+hr+(h===-2?l:C)}return[Td(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},Ei=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,u]=Md(e,r);if(this.el=t.createElement(f,o),qr.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=qr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(za)){let y=u[s++],C=n.getAttribute(h).split(hr),O=/([.?@])?(.*)/.exec(y);d.push({type:1,index:a,name:O[2],strings:C,ctor:O[1]==="."?On:O[1]==="?"?En:O[1]==="@"?Ln:Qr}),n.removeAttribute(h)}else h.startsWith(hr)&&(d.push({type:6,index:a}),n.removeAttribute(h));if(kd.test(n.tagName)){let h=n.textContent.split(hr),y=h.length-1;if(y>0){n.textContent=Sn?Sn.emptyScript:"";for(let C=0;C<y;C++)n.append(h[C],Ci()),qr.nextNode(),d.push({type:2,index:++a});n.append(h[y],Ci())}}}else if(n.nodeType===8)if(n.data===$a)d.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(hr,h+1))!==-1;)d.push({type:7,index:a}),h+=hr.length-1}a++}}static createElement(e,r){let o=Yr.createElement("template");return o.innerHTML=e,o}};function Xr(t,e,r=t,o){if(e===nt)return e;let n=o!==void 0?r._$Co?.[o]:r._$Cl,a=Oi(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=Xr(t,n._$AS(t,e.values),n,o)),e}var Cn=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??Yr).importNode(r,!0);qr.currentNode=n;let a=qr.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new Mo(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new An(a,this,e)),this._$AV.push(f),d=o[++l]}s!==d?.index&&(a=qr.nextNode(),s++)}return qr.currentNode=Yr,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++}},Mo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,n){this.type=2,this._$AH=$,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=Xr(this,e,r),Oi(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==nt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_d(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!==$&&Oi(this._$AH)?this._$AA.nextSibling.data=e:this.T(Yr.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=Ei.createElement(Td(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Cn(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Rd.get(e.strings);return r===void 0&&Rd.set(e.strings,r=new Ei(e)),r}k(e){Da(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(Ci()),this.O(Ci()),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))}},Qr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,n,a){this.type=1,this._$AH=$,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=$}_$AI(e,r=this,o,n){let a=this.strings,s=!1;if(a===void 0)e=Xr(this,e,r,0),s=!Oi(e)||e!==this._$AH&&e!==nt,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Xr(this,l[o+d],r,d),f===nt&&(f=this._$AH[d]),s||=!Oi(f)||f!==this._$AH[d],f===$?e=$:e!==$&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},On=class extends Qr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===$?void 0:e}},En=class extends Qr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},Ln=class extends Qr{constructor(e,r,o,n,a){super(e,r,o,n,a),this.type=5}_$AI(e,r=this){if((e=Xr(this,e,r,0)??$)===nt)return;let o=this._$AH,n=e===$&&o!==$||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==$&&(o===$||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)}},An=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){Xr(this,e)}},Ha={M:za,P:hr,A:$a,C:1,L:Md,R:Cn,D:_d,V:Xr,I:Mo,H:Qr,N:En,U:Ln,B:On,F:An},J0=Ia.litHtmlPolyfillSupport;J0?.(Ei,Mo),(Ia.litHtmlVersions??=[]).push("3.3.0");var Ga=(t,e,r)=>{let o=r?.renderBefore??e,n=o._$litPart$;if(n===void 0){let a=r?.renderBefore??null;o._$litPart$=n=new Mo(e.insertBefore(Ci(),a),a,void 0,r??{})}return n._$AI(t),n};var Wa=globalThis,Dt=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=Ga(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return nt}};Dt._$litElement$=!0,Dt.finalized=!0,Wa.litElementHydrateSupport?.({LitElement:Dt});var e4=Wa.litElementPolyfillSupport;e4?.({LitElement:Dt});var t4={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Wa.litElementVersions??=[]).push("4.2.0");var G5=!1;var qa={};ie(qa,{customElement:()=>r4,eventOptions:()=>i4,property:()=>g,query:()=>B,queryAll:()=>ja,queryAssignedElements:()=>Ka,queryAssignedNodes:()=>Za,queryAsync:()=>a4,standardProperty:()=>Nd,state:()=>H});var r4=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var o4={attribute:!0,type:String,converter:To,reflect:!1,hasChanged:xi},Nd=(t=o4,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"?Nd(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 H(t){return g({...t,state:!0,attribute:!1})}function i4(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var Bt=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function B(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 Bt(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 Bt(r,o,{get(){return a(this)}})}}var n4;function ja(t){return(e,r)=>Bt(e,r,{get(){return(this.renderRoot??(n4??=document.createDocumentFragment())).querySelectorAll(t)}})}function a4(t){return(e,r)=>Bt(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ka(t){return(e,r)=>{let{slot:o,selector:n}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return Bt(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 Za(t){return(e,r)=>{let{slot:o}=t??{},n="slot"+(o?`[name=${o}]`:":not([name])");return Bt(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var Ya={};ie(Ya,{repeat:()=>Me});var Yt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ft=t=>(...e)=>({_$litDirective$:t,values:e}),wt=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:s4}=Ha;var Id=t=>t.strings===void 0,Pd=()=>document.createComment(""),No=(t,e,r)=>{let o=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore(Pd(),n),s=o.insertBefore(Pd(),n);r=new s4(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},Ar=(t,e,r=t)=>(t._$AI(e,r),t),l4={},zd=(t,e=l4)=>t._$AH=e,$d=t=>t._$AH,wn=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 Dd=(t,e,r)=>{let o=new Map;for(let n=e;n<=r;n++)o.set(t[n],n);return o},Me=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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=$d(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,u,h=0,y=n.length-1,C=0,O=a.length-1;for(;h<=y&&C<=O;)if(n[h]===null)h++;else if(n[y]===null)y--;else if(l[h]===s[C])d[C]=Ar(n[h],a[C]),h++,C++;else if(l[y]===s[O])d[O]=Ar(n[y],a[O]),y--,O--;else if(l[h]===s[O])d[O]=Ar(n[h],a[O]),No(t,d[O+1],n[h]),h++,O--;else if(l[y]===s[C])d[C]=Ar(n[y],a[C]),No(t,n[h],n[y]),y--,C++;else if(f===void 0&&(f=Dd(s,C,O),u=Dd(l,h,y)),f.has(l[h]))if(f.has(l[y])){let R=u.get(s[C]),N=R!==void 0?n[R]:null;if(N===null){let I=No(t,n[h]);Ar(I,a[C]),d[C]=I}else d[C]=Ar(N,a[C]),No(t,n[h],N),n[R]=null;C++}else wn(n[y]),y--;else wn(n[h]),h++;for(;C<=O;){let R=No(t,d[O+1]);Ar(R,a[C]),d[C++]=R}for(;h<=y;){let R=n[h++];R!==null&&wn(R)}return this.ut=s,zd(t,d),nt}});var Xa={};ie(Xa,{classMap:()=>se});var se=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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 nt}});var Qa={};ie(Qa,{styleMap:()=>d4});var Bd="important",c4=" !"+Bd,d4=Ft(class extends wt{constructor(t){if(super(t),t.type!==Yt.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(c4);o.includes("-")||a?r.setProperty(o,a?n.slice(0,-11):n,a?Bd:""):r[o]=n}}return nt}});var Ja={};ie(Ja,{UnsafeHTMLDirective:()=>Po,unsafeHTML:()=>Li});var Po=class extends wt{constructor(e){if(super(e),this.it=$,e.type!==Yt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this._t=void 0,this.it=e;if(e===nt)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:[]}}};Po.directiveName="unsafeHTML",Po.resultType=1;var Li=Ft(Po);var cs={};ie(cs,{CacheRegistry:()=>Qt,ClearCacheEvent:()=>Ri});var ts={};ie(ts,{CancelablePromise:()=>Rn,CanceledPromiseError:()=>Jr,cancelable:()=>es});var Jr=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},Rn=class extends Promise{constructor(e){super((r,o)=>e(n=>{this.isCanceled?o(new Jr("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?o(new Jr("Promise has been canceled",void 0,n)):o(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},es=t=>new Rn((e,r)=>t.then(e).catch(r));var ls={};ie(ls,{FtNotificationEvent:()=>wi,PostResizeEvent:()=>ss,PreResizeEvent:()=>as,WithEventBus:()=>mr,withEventBus:()=>Tn});var ns={};ie(ns,{applyMixinOnce:()=>Xe,dateReviver:()=>p4,deepCopy:()=>to,deepEqual:()=>Ue,delay:()=>_n,eventPathContainsMatchingElement:()=>rs,everyDeep:()=>f4,flatDeep:()=>yt,forEachDeep:()=>Fd,getComposedPathTo:()=>is,hasChanged:()=>Ut,last:()=>os,minmax:()=>eo,parseDate:()=>Hd,randomId:()=>h4,someDeep:()=>Ud,unslotText:()=>Xt,waitFor:()=>kn,waitUntil:()=>Ai});var _n=t=>new Promise(e=>setTimeout(e,t));async function Ai(t,e=10,r=2e4){await kn(async()=>await t()||void 0,e,r)}async function kn(t,e=10,r=2e4){let o=await t(),n,a;for(n=a=performance.now();o==null&&(!r||a-n<r);)await _n(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function yt(t,e){return t.flatMap(r=>[r,...yt(e(r),e)])}function Fd(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 Ud(t,e,r){let o=!1;return Fd(t,e,(n,a,s,l)=>(o=!!r(n,a,s,l),!o)),o}function f4(t,e,r){return!Ud(t,e,(o,n,a,s)=>!r(o,n,a,s))}function p4(...t){return(e,r)=>t.includes(e)?Hd(r):r}function Hd(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 u4(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 u4(t,e)}catch{return!1}}function Ut(t,e){return!Ue(t,e)}function rs(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 eo(t,e,r){return Math.min(Math.max(t,e),r)}function os(t){return t[t.length-1]}function Xt(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Xt(e)).join(""):t?.textContent||""}function is(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 to(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function h4(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Xe(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 wi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},as=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ss=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Tn=Xe(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)}}}),mr=class extends Tn(Object){};var Ri=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Qt=class extends mr{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 Ri(o)),o}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Ri([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=es(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 hs={};ie(hs,{ClusteringHelper:()=>us,formatHierarchicalValues:()=>ps});var fs={};ie(fs,{accessBreadcrumb:()=>y4,accessResult:()=>ds,accessResultId:()=>m4,accessResultUrl:()=>g4});function ds(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 m4(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 g4(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 y4(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 ps(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var us=class t{constructor(e,r,o,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=n}static extractResultMetadata(e){let r=ds(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(ps(l)),s.push(ps(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(O=>O.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 ms={};ie(ms,{Debouncer:()=>he});var he=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 gs={};ie(gs,{customElement:()=>K,dateProperty:()=>v4,isNumber:()=>Gd,jsonProperty:()=>ke,numberProperty:()=>wr,optionalNumberProperty:()=>b4});var K=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ke(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:Ut,...e??{}})}function b4(t){return wr(t)}function wr(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 Gd(e)?eo(n,+e,a):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Gd(t){return!isNaN(parseFloat(t))}function v4(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 Ns={};ie(Ns,{designSystemVariables:()=>M});var Ms={};ie(Ms,{DesignSystemFamily:()=>He,DesignSystemSize:()=>Ke,FtCssVariableFactory:()=>i,badge:()=>L4,banner:()=>E4,button:()=>S,chart:()=>F4,checkbox:()=>q,chip:()=>X,chipChoice:()=>O4,collapsible:()=>D4,comboboxMultiSelect:()=>$4,comboboxSingleSelect:()=>z4,dateRangePicker:()=>K4,drawer:()=>T4,floatingMenu:()=>I4,foundation:()=>c,link:()=>Ie,modal:()=>k4,notice:()=>H4,notification:()=>W4,pageDesigner:()=>U4,pageFooter:()=>R4,pageHeader:()=>w4,pageLayout:()=>_4,popover:()=>ze,radio:()=>de,reorderableList:()=>j4,resolveFamilyClass:()=>ks,resolveSizeClass:()=>Ts,semantic:()=>p,setVariable:()=>v,switch_:()=>B4,table:()=>C4,tabs:()=>M4,textArea:()=>P4,textInput:()=>N4,titleBreadcrumb:()=>A4,toggle:()=>G4,tooltip:()=>V4,treeList:()=>S4,typographies:()=>Mn,typographyBody1Medium:()=>Cs,typographyBody1Regular:()=>Ss,typographyBody1Semibold:()=>Os,typographyBody2Medium:()=>ro,typographyBody2MediumUnderline:()=>Wd,typographyBody2Regular:()=>Es,typographyBody2Semibold:()=>Ls,typographyCaption1Medium:()=>As,typographyCaption1Semibold:()=>ws,typographyCaption2Bold:()=>_s,typographyCaption2Medium:()=>_r,typographyCaption2Semibold:()=>Rs,typographyDisplay:()=>ys,typographyTitle1:()=>bs,typographyTitle2:()=>vs,typographyTitle3:()=>xs,typographyVariants:()=>x4});var Rr=t=>typeof t=="string"?Zt(t):t,i=class{static create(e,r,o,n){let a=l=>Rr(l??n),s=T`var(${Rr(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=>T`var(${Rr(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,o,n){let a=l=>o.get(l??n),s=T`var(${Rr(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=>T`var(${Rr(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=T`var(${Rr(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=>T`var(${Rr(e.name)}, ${o(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function v(t,e){return Rr(`${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)")},ys={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")},bs={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")},vs={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")},xs={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")},Ss={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")},Cs={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")},Os={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")},Es={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")},ro={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")},Wd={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")},Ls={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")},As={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")},ws={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")},_r={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")},Rs={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")},_s={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")},Mn={display:ys,"title-1":bs,"title-2":vs,"title-3":xs,"body-1-regular":Ss,"body-1-medium":Cs,"body-1-semibold":Os,"body-2-regular":Es,"body-2-medium":ro,"body-2-medium-underline":Wd,"body-2-semibold":Ls,"caption-1-medium":As,"caption-1-semibold":ws,"caption-2-medium":_r,"caption-2-semibold":Rs,"caption-2-bold":_s},x4=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var p={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","",p.backgroundActionPrimary),primaryBrandColor:i.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:i.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:i.extend("--ftds-button-primary-brand-state-layer-color","",p.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","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:i.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:i.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:i.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:i.extend("--ftds-button-tertiary-brand-state-layer-color","",p.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","",p.contentInfoPrimary),tertiaryInfoIconColor:i.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:i.extend("--ftds-button-tertiary-info-state-layer-color","",p.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","",p.contentSuccessPrimary),tertiarySuccessIconColor:i.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:i.extend("--ftds-button-tertiary-success-state-layer-color","",p.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","",p.contentWarningPrimary),tertiaryWarningIconColor:i.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:i.extend("--ftds-button-tertiary-warning-state-layer-color","",p.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","",p.contentErrorPrimary),tertiaryErrorIconColor:i.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:i.extend("--ftds-button-tertiary-error-state-layer-color","",p.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","",p.contentGlobalSecondary),tertiaryNeutralColor:i.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:i.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.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","",p.contentActionPrimary),secondaryBrandIconColor:i.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:i.extend("--ftds-button-secondary-brand-state-layer-color","",p.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","",p.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","",p.contentGlobalSecondary),secondaryNeutralIconColor:i.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:i.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:i.extend("--ftds-button-secondary-neutral-border-color","",p.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","",p.borderInfoPrimary),secondaryInfoColor:i.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:i.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:i.extend("--ftds-button-secondary-info-state-layer-color","",p.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","",p.borderSuccessPrimary),secondarySuccessColor:i.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:i.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:i.extend("--ftds-button-secondary-success-state-layer-color","",p.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","",p.borderWarningPrimary),secondaryWarningColor:i.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:i.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:i.extend("--ftds-button-secondary-warning-state-layer-color","",p.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","",p.contentErrorPrimary),secondaryErrorColor:i.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:i.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:i.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var S4={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","",p.borderGlobalSubtle),loadMoreIconColor:i.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:i.extend("--ftds-tree-list-load-more-label-color","",p.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","",p.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","",p.borderGlobalSubtle),nodeUnselectedIconColor:i.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:i.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:i.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:i.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:i.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:i.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:i.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:i.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:i.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:i.extend("--ftds-tree-list-node-selected-counter-color","",p.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","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:i.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:i.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:i.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.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","",p.contentGlobalPrimary),headerSectionCounterColor:i.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:i.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:i.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:i.extend("--ftds-tree-list-list-container-border-color","",p.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","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:i.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var q={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","",p.contentGlobalPrimary),checkedBackgroundColor:i.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:i.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:i.extend("--ftds-checkbox-checked-icon-color","",p.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","",p.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","",p.borderErrorPrimary),errorStateLayerColor:i.extend("--ftds-checkbox-error-state-layer-color","",p.contentErrorPrimary),errorHelperTextColor:i.extend("--ftds-checkbox-error-helper-text-color","",p.borderErrorPrimary),errorCheckedBackgroundColor:i.extend("--ftds-checkbox-error-checked-background-color","",p.contentErrorPrimary),helperTextColor:i.extend("--ftds-checkbox-helper-text-color","",p.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","",p.contentGlobalPrimary),selectedRadioColor:i.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:i.extend("--ftds-radio-selected-state-layer-color","",p.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","",p.borderInputPrimary),unselectedBorderColor:i.extend("--ftds-radio-unselected-border-color","",p.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","",p.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 C4={headerRowBorderWidth:i.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:i.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:i.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:i.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:i.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:i.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:i.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:i.extend("--ftds-table-data-row-color","",p.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","",p.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","",p.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 O4={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","",p.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","",p.backgroundGlobalOnSurface),neutralOffBorderColor:i.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:i.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:i.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.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","",p.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","",p.backgroundGlobalOnSurface),neutralOnBorderColor:i.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:i.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:i.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:i.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.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 X={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","",p.backgroundGlobalOnSurface),neutralColor:i.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:i.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:i.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSecondary),infoBackgroundColor:i.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var Ie={brandHoverOpacity:i.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:i.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:i.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:i.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:i.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:i.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:i.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:i.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:i.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:i.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:i.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:i.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:i.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:i.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:i.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:i.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:i.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:i.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var E4={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","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var L4={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","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var A4={horizontalGap:i.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:i.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:i.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:i.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var w4={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","",p.contentGlobalPrimary),parentSubtitleColor:i.extend("--ftds-page-header-parent-subtitle-color","",p.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","",p.borderGlobalSubtle),bottomBorderWidth:i.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var R4={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","",p.borderGlobalSubtle),topBorderWidth:i.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:i.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var _4={contentHorizontalPadding:i.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:i.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var k4={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","",p.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","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:i.extend("--ftds-modal-header-leading-icon-color","",p.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 T4={overlayOpacity:i.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:i.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:i.extend("--ftds-drawer-body-color","",p.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","",p.backgroundGlobalOnSurface),headerBorderColor:i.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:i.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:i.extend("--ftds-drawer-header-trailing-icon-color","",p.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","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:i.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:i.extend("--ftds-drawer-buttons-bar-color","",p.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 M4={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","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:i.extend("--ftds-tabs-off-border-bottom-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:i.extend("--ftds-tabs-on-active-tab-indicator-color","",p.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","",p.borderActionFocusRing)};var N4={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","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:i.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:i.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-text-input-warning-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:i.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:i.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var P4={backgroundColor:i.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:i.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:i.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:i.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:i.extend("--ftds-text-area-focus-focus-ring-color","",p.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 I4={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","",p.contentGlobalPrimary),offColor:i.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:i.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:i.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:i.extend("--ftds-floating-menu-focus-focus-ring-color","",p.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","",p.backgroundGlobalOnSurface),shadow:i.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var z4={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","",p.contentGlobalSubtle),contentValueColor:i.extend("--ftds-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:i.extend("--ftds-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:i.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:i.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-single-select-focus-focus-ring-color","",p.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 $4={backgroundColor:i.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:i.extend("--ftds-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:i.extend("--ftds-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:i.extend("--ftds-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:i.extend("--ftds-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:i.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:i.extend("--ftds-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:i.extend("--ftds-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:i.extend("--ftds-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:i.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:i.extend("--ftds-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:i.extend("--ftds-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:i.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:i.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:i.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",p.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 ze={backgroundColor:i.extend("--ftds-popover-background-color","",p.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","",p.contentGlobalPrimary),bodyColor:i.extend("--ftds-popover-body-color","",p.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 D4={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","",p.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","",p.contentGlobalPrimary),stateLayerColor:i.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:i.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:i.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:i.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var B4={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","",p.backgroundGlobalSurface),groupBorderColor:i.extend("--ftds-switch-group-border-color","",p.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","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-switch-off-state-layer-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-switch-on-state-layer-color","",p.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","",p.borderActionFocusRing),optionBorderRadius:i.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var F4={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 U4={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 H4={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","",p.backgroundInfoSubtle),infoBorderColor:i.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:i.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:i.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:i.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:i.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:i.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:i.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:i.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:i.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:i.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:i.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notice-success-icon-color","",p.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 G4={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","",p.contentGlobalSubtle),offIconColor:i.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:i.extend("--ftds-toggle-off-state-layer-color","",p.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","",p.contentActionPrimary),onStateLayerColor:i.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:i.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:i.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:i.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:i.extend("--ftds-toggle-gap","",c.spacing3)};var W4={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","",p.backgroundInfoSubtle),infoColor:i.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:i.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:i.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:i.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:i.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:i.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:i.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:i.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:i.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:i.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:i.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:i.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:i.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:i.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:i.extend("--ftds-notification-error-border-color","",p.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 V4={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","",p.contentGlobalOnColor),backgroundColor:i.extend("--ftds-tooltip-background-color","",p.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 j4={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","",p.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","",p.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","",p.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","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:i.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:i.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.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","",p.borderGlobalPrimary),backgroundColor:i.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var K4={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 He;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(He||(He={}));var Ke;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ke||(Ke={}));function ks(t){return`ftds--family-${t}`}function Ts(t){return`ftds--size-${t}`}var M={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 Ps={};ie(Ps,{DynamicImporter:()=>Nn,dynamicImporter:()=>Z4});var Nn=class{async import(e){if(e)return import(e)}},Z4=new Nn;var Zs={};ie(Zs,{computeOffsetAutoPosition:()=>Ni,computeOffsetPosition:()=>Ks});var jd=["top","right","bottom","left"],Vd=["start","end"],zs=jd.reduce((t,e)=>t.concat(e,e+"-"+Vd[0],e+"-"+Vd[1]),[]),oo=Math.min,pt=Math.max,_i=Math.round;var Ht=t=>({x:t,y:t}),q4={left:"right",right:"left",bottom:"top",top:"bottom"};function $s(t,e,r){return pt(t,oo(e,r))}function Io(t,e){return typeof t=="function"?t(e):t}function kr(t){return t.split("-")[0]}function Jt(t){return t.split("-")[1]}function Ds(t){return t==="x"?"y":"x"}function Bs(t){return t==="y"?"height":"width"}function zo(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Fs(t){return Ds(zo(t))}function Kd(t,e,r){r===void 0&&(r=!1);let o=Jt(t),n=Fs(t),a=Bs(n),s=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Is(s)),[s,Is(s)]}function Zd(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Is(t){let e=kr(t);return q4[e]+t.slice(e.length)}function Y4(t){return{top:0,right:0,bottom:0,left:0,...t}}function qd(t){return typeof t!="number"?Y4(t):{top:t,right:t,bottom:t,left:t}}function io(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 Yd(t,e,r){let{reference:o,floating:n}=t,a=zo(e),s=Fs(e),l=Bs(s),d=kr(e),f=a==="y",u=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:u,y:o.y-n.height};break;case"bottom":C={x:u,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(Jt(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 Xd(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:u="viewport",elementContext:h="floating",altBoundary:y=!1,padding:C=0}=Io(e,t),O=qd(C),N=l[y?h==="floating"?"reference":"floating":h],I=io(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:u,strategy:d})),z=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=io(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:z,offsetParent:A,strategy:d}):z);return{top:(I.top-k.top+O.top)/L.y,bottom:(k.bottom-I.bottom+O.bottom)/L.y,left:(I.left-k.left+O.left)/L.x,right:(k.right-I.right+O.right)/L.x}}var X4=50,Qd=async(t,e,r)=>{let{placement:o="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Xd},d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:h}=Yd(f,o,d),y=o,C=0,O={};for(let R=0;R<a.length;R++){let N=a[R];if(!N)continue;let{name:I,fn:z}=N,{x:A,y:L,data:k,reset:U}=await z({x:u,y:h,initialPlacement:o,placement:y,strategy:n,middlewareData:O,rects:f,platform:l,elements:{reference:t,floating:e}});u=A??u,h=L??h,O[I]={...O[I],...k},U&&C<X4&&(C++,typeof U=="object"&&(U.placement&&(y=U.placement),U.rects&&(f=U.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):U.rects),{x:u,y:h}=Yd(f,y,d)),R=-1)}return{x:u,y:h,placement:y,strategy:n,middlewareData:O}};function Q4(t,e,r){return(t?[...r.filter(n=>Jt(n)===t),...r.filter(n=>Jt(n)!==t)]:r.filter(n=>kr(n)===n)).filter(n=>t?Jt(n)===t||(e?Zd(n)!==n:!1):!0)}var Jd=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:u=!1,alignment:h,allowedPlacements:y=zs,autoAlignment:C=!0,...O}=Io(t,e),R=h!==void 0||y===zs?Q4(h||null,C,y):y,N=await d.detectOverflow(e,O),I=((r=s.autoPlacement)==null?void 0:r.index)||0,z=R[I];if(z==null)return{};let A=Kd(z,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==z)return{reset:{placement:R[0]}};let L=[N[kr(z)],N[A[0]],N[A[1]]],k=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:z,overflows:L}],U=R[I+1];if(U)return{data:{index:I+1,overflows:k},reset:{placement:U}};let Y=k.map(Z=>{let x=Jt(Z.placement);return[Z.placement,x&&u?Z.overflows.slice(0,2).reduce((w,V)=>w+V,0):Z.overflows[0],Z.overflows]}).sort((Z,x)=>Z[1]-x[1]),ae=((n=Y.filter(Z=>Z[2].slice(0,Jt(Z[0])?2:3).every(x=>x<=0))[0])==null?void 0:n[0])||Y[0][0];return ae!==l?{data:{index:I+1,overflows:k},reset:{placement:ae}}:{}}}};var J4=new Set(["left","top"]);async function eh(t,e){let{placement:r,platform:o,elements:n}=t,a=await(o.isRTL==null?void 0:o.isRTL(n.floating)),s=kr(r),l=Jt(r),d=zo(r)==="y",f=J4.has(s)?-1:1,u=a&&d?-1:1,h=Io(e,t),{mainAxis:y,crossAxis:C,alignmentAxis:O}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof O=="number"&&(C=l==="end"?O*-1:O),d?{x:C*u,y:y*f}:{x:y*f,y:C*u}}var ef=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 eh(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}}}}},tf=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:z,y:A}=I;return{x:z,y:A}}},...f}=Io(t,e),u={x:r,y:o},h=await a.detectOverflow(e,f),y=zo(kr(n)),C=Ds(y),O=u[C],R=u[y];if(s){let I=C==="y"?"top":"left",z=C==="y"?"bottom":"right",A=O+h[I],L=O-h[z];O=$s(A,O,L)}if(l){let I=y==="y"?"top":"left",z=y==="y"?"bottom":"right",A=R+h[I],L=R-h[z];R=$s(A,R,L)}let N=d.fn({...e,[C]:O,[y]:R});return{...N,data:{x:N.x-r,y:N.y-o,enabled:{[C]:s,[y]:l}}}}}};var rf=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}=Io(t,e),u=await s.detectOverflow(e,f),h=kr(n),y=Jt(n),C=zo(n)==="y",{width:O,height:R}=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 z=R-u.top-u.bottom,A=O-u.left-u.right,L=oo(R-u[N],z),k=oo(O-u[I],A),U=!e.middlewareData.shift,Y=L,le=k;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(le=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(Y=z),U&&!y){let Z=pt(u.left,0),x=pt(u.right,0),w=pt(u.top,0),V=pt(u.bottom,0);C?le=O-2*(Z!==0||x!==0?Z+x:pt(u.left,u.right)):Y=R-2*(w!==0||V!==0?w+V:pt(u.top,u.bottom))}await d({...e,availableWidth:le,availableHeight:Y});let ae=await s.getDimensions(l.floating);return O!==ae.width||R!==ae.height?{reset:{rects:!0}}:{}}}};function In(){return typeof window<"u"}function ao(t){return nf(t)?(t.nodeName||"").toLowerCase():"#document"}function ut(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function er(t){var e;return(e=(nf(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function nf(t){return In()?t instanceof Node||t instanceof ut(t).Node:!1}function Rt(t){return In()?t instanceof Element||t instanceof ut(t).Element:!1}function tr(t){return In()?t instanceof HTMLElement||t instanceof ut(t).HTMLElement:!1}function of(t){return!In()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ut(t).ShadowRoot}function $o(t){let{overflow:e,overflowX:r,overflowY:o,display:n}=_t(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&n!=="inline"&&n!=="contents"}function af(t){return/^(table|td|th)$/.test(ao(t))}function ki(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var th=/transform|translate|scale|rotate|perspective|filter/,rh=/paint|layout|strict|content/,no=t=>!!t&&t!=="none",Us;function zn(t){let e=Rt(t)?_t(t):t;return no(e.transform)||no(e.translate)||no(e.scale)||no(e.rotate)||no(e.perspective)||!$n()&&(no(e.backdropFilter)||no(e.filter))||th.test(e.willChange||"")||rh.test(e.contain||"")}function sf(t){let e=gr(t);for(;tr(e)&&!so(e);){if(zn(e))return e;if(ki(e))return null;e=gr(e)}return null}function $n(){return Us==null&&(Us=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Us}function so(t){return/^(html|body|#document)$/.test(ao(t))}function _t(t){return ut(t).getComputedStyle(t)}function Ti(t){return Rt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function gr(t){if(ao(t)==="html")return t;let e=t.assignedSlot||t.parentNode||of(t)&&t.host||er(t);return of(e)?e.host:e}function lf(t){let e=gr(t);return so(e)?t.ownerDocument?t.ownerDocument.body:t.body:tr(e)&&$o(e)?e:lf(e)}function Pn(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=lf(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=ut(n);if(a){let l=Dn(s);return e.concat(s,s.visualViewport||[],$o(n)?n:[],l&&r?Pn(l):[])}else return e.concat(n,Pn(n,[],r))}function Dn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function pf(t){let e=_t(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,n=tr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=_i(r)!==a||_i(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function uf(t){return Rt(t)?t:t.contextElement}function Do(t){let e=uf(t);if(!tr(e))return Ht(1);let r=e.getBoundingClientRect(),{width:o,height:n,$:a}=pf(e),s=(a?_i(r.width):r.width)/o,l=(a?_i(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var oh=Ht(0);function hf(t){let e=ut(t);return!$n()||!e.visualViewport?oh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ih(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==ut(t)?!1:e}function Mi(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=uf(t),s=Ht(1);e&&(o?Rt(o)&&(s=Do(o)):s=Do(t));let l=ih(a,r,o)?hf(a):Ht(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,u=n.width/s.x,h=n.height/s.y;if(a){let y=ut(a),C=o&&Rt(o)?ut(o):o,O=y,R=Dn(O);for(;R&&o&&C!==O;){let N=Do(R),I=R.getBoundingClientRect(),z=_t(R),A=I.left+(R.clientLeft+parseFloat(z.paddingLeft))*N.x,L=I.top+(R.clientTop+parseFloat(z.paddingTop))*N.y;d*=N.x,f*=N.y,u*=N.x,h*=N.y,d+=A,f+=L,O=ut(R),R=Dn(O)}}return io({width:u,height:h,x:d,y:f})}function Bn(t,e){let r=Ti(t).scrollLeft;return e?e.left+r:Mi(er(t)).left+r}function mf(t,e){let r=t.getBoundingClientRect(),o=r.left+e.scrollLeft-Bn(t,r),n=r.top+e.scrollTop;return{x:o,y:n}}function nh(t){let{elements:e,rect:r,offsetParent:o,strategy:n}=t,a=n==="fixed",s=er(o),l=e?ki(e.floating):!1;if(o===s||l&&a)return r;let d={scrollLeft:0,scrollTop:0},f=Ht(1),u=Ht(0),h=tr(o);if((h||!h&&!a)&&((ao(o)!=="body"||$o(s))&&(d=Ti(o)),h)){let C=Mi(o);f=Do(o),u.x=C.x+o.clientLeft,u.y=C.y+o.clientTop}let y=s&&!h&&!a?mf(s,d):Ht(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+u.x+y.x,y:r.y*f.y-d.scrollTop*f.y+u.y+y.y}}function ah(t){return Array.from(t.getClientRects())}function sh(t){let e=er(t),r=Ti(t),o=t.ownerDocument.body,n=pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+Bn(t),l=-r.scrollTop;return _t(o).direction==="rtl"&&(s+=pt(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:l}}var cf=25;function lh(t,e){let r=ut(t),o=er(t),n=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let u=$n();(!u||u&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}let f=Bn(o);if(f<=0){let u=o.ownerDocument,h=u.body,y=getComputedStyle(h),C=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,O=Math.abs(o.clientWidth-h.clientWidth-C);O<=cf&&(a-=O)}else f<=cf&&(a+=f);return{width:a,height:s,x:l,y:d}}function ch(t,e){let r=Mi(t,!0,e==="fixed"),o=r.top+t.clientTop,n=r.left+t.clientLeft,a=tr(t)?Do(t):Ht(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 df(t,e,r){let o;if(e==="viewport")o=lh(t,r);else if(e==="document")o=sh(er(t));else if(Rt(e))o=ch(e,r);else{let n=hf(t);o={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return io(o)}function gf(t,e){let r=gr(t);return r===e||!Rt(r)||so(r)?!1:_t(r).position==="fixed"||gf(r,e)}function dh(t,e){let r=e.get(t);if(r)return r;let o=Pn(t,[],!1).filter(l=>Rt(l)&&ao(l)!=="body"),n=null,a=_t(t).position==="fixed",s=a?gr(t):t;for(;Rt(s)&&!so(s);){let l=_t(s),d=zn(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&(n.position==="absolute"||n.position==="fixed")||$o(s)&&!d&&gf(t,s))?o=o.filter(u=>u!==s):n=l,s=gr(s)}return e.set(t,o),o}function fh(t){let{element:e,boundary:r,rootBoundary:o,strategy:n}=t,s=[...r==="clippingAncestors"?ki(e)?[]:dh(e,this._c):[].concat(r),o],l=df(e,s[0],n),d=l.top,f=l.right,u=l.bottom,h=l.left;for(let y=1;y<s.length;y++){let C=df(e,s[y],n);d=pt(C.top,d),f=oo(C.right,f),u=oo(C.bottom,u),h=pt(C.left,h)}return{width:f-h,height:u-d,x:h,y:d}}function ph(t){let{width:e,height:r}=pf(t);return{width:e,height:r}}function uh(t,e,r){let o=tr(e),n=er(e),a=r==="fixed",s=Mi(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Ht(0);function f(){d.x=Bn(n)}if(o||!o&&!a)if((ao(e)!=="body"||$o(n))&&(l=Ti(e)),o){let C=Mi(e,!0,a,e);d.x=C.x+e.clientLeft,d.y=C.y+e.clientTop}else n&&f();a&&!o&&n&&f();let u=n&&!o&&!a?mf(n,l):Ht(0),h=s.left+l.scrollLeft-d.x-u.x,y=s.top+l.scrollTop-d.y-u.y;return{x:h,y,width:s.width,height:s.height}}function Hs(t){return _t(t).position==="static"}function ff(t,e){if(!tr(t)||_t(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return er(t)===r&&(r=r.ownerDocument.body),r}function yf(t,e){let r=ut(t);if(ki(t))return r;if(!tr(t)){let n=gr(t);for(;n&&!so(n);){if(Rt(n)&&!Hs(n))return n;n=gr(n)}return r}let o=ff(t,e);for(;o&&af(o)&&Hs(o);)o=ff(o,e);return o&&so(o)&&Hs(o)&&!zn(o)?r:o||sf(t)||r}var hh=async function(t){let e=this.getOffsetParent||yf,r=this.getDimensions,o=await r(t.floating);return{reference:uh(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function mh(t){return _t(t).direction==="rtl"}var Bo={convertOffsetParentRelativeRectToViewportRelativeRect:nh,getDocumentElement:er,getClippingRect:fh,getOffsetParent:yf,getElementRects:hh,getClientRects:ah,getDimensions:ph,getScale:Do,isElement:Rt,isRTL:mh};var bf=ef,Gs=Jd,vf=tf;var xf=rf;var Ws=(t,e,r)=>{let o=new Map,n={platform:Bo,...r},a={...n.platform,_c:o};return Qd(t,e,{...n,platform:a})};function js(t){return gh(t)}function Vs(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function gh(t){for(let e=t;e;e=Vs(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Vs(t);e;e=Vs(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 Ks(t,e,r){let o;return typeof r=="object"?o=r:o={placement:r},Ws(t,e,{strategy:o.strategy,platform:{...Bo,getOffsetParent:n=>Bo.getOffsetParent(n,js)},middleware:[vf({crossAxis:!0}),Gs({allowedPlacements:[o.placement]})]})}async function Ni(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,Ws(t,e,{placement:l,strategy:n,platform:{...Bo,getOffsetParent:f=>Bo.getOffsetParent(f,js)},middleware:[bf(s??4),Gs({allowedPlacements:o}),xf({apply({availableHeight:f,availableWidth:u,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,u)}px, ${d})`:h.floating.style.maxWidth=`${Math.max(0,u)}px`}})]})}var qs={};ie(qs,{isSlotEmptyOrWithoutContent:()=>Pi});var Pi=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 el={};ie(el,{FtdsBase:()=>co,toFtdsBase:()=>kt});var Js={};ie(Js,{ExportpartsUpdatedEvent:()=>lo,FtLitElement:()=>F});var Ys={};ie(Ys,{ScopedRegistryLitElement:()=>Ii});var Ii=class extends Dt{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 bi(o,e.elementStyles),o}};var Qs={};ie(Qs,{shadowQuerySelector:()=>Xs,shadowQuerySelectorAll:()=>yh});function Xs(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 yh(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 Fo=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},Ef,Sf=Symbol("constructorPrototype"),Cf=Symbol("constructorName"),Lf=Symbol("exportpartsDebouncer"),Of=Symbol("dynamicDependenciesLoaded"),lo=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};lo.eventName="exportparts-updated";var F=class extends Ii{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ef]=new he(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[Lf].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[Cf]=this.constructor.name,this[Sf]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Cf]&&Object.setPrototypeOf(this,this[Sf])}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[Of]||(r[Of]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(lo.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(lo.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 lo)})}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=Xs(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 u=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:[],O=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[],R=[...C,...O].filter(d).map(N=>N.trim());for(let N of R)u.add(N)}if(u.size===0){this.exportparts=void 0;return}let h=[...u.values()].flatMap(y=>f.map(C=>`${y}:${C}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};Ef=Lf;Fo([g()],F.prototype,"exportpartsPrefix",void 0);Fo([ke([])],F.prototype,"exportpartsPrefixes",void 0);Fo([g({reflect:!0})],F.prototype,"exportparts",void 0);Fo([g()],F.prototype,"customStylesheet",void 0);Fo([g()],F.prototype,"elementToFocus",void 0);Fo([H()],F.prototype,"useAdoptedStyleSheets",void 0);var Af=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},kt=Xe(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ke.medium,this.family=He.neutral}getDesignSystemBaseClasses(){return{[ks(this.family)]:!0,[Ts(this.size)]:!0}}}return Af([g()],e.prototype,"size",void 0),Af([g()],e.prototype,"family",void 0),e}),co=class extends kt(F){};var wf={};var ol={};ie(ol,{highlightHtml:()=>rl,highlightHtmlColorCssVariable:()=>Rf,highlightHtmlStyles:()=>vh});var fo=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,u=>{r(f)&&(l++,o(u)),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,u,h=()=>({prevNode:u,node:f}=this.getIteratorNode(s),f);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(f,u,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 zi=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 fo(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 fo.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,u=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(u+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,u),e.value=h+y,e.nodes.forEach((C,O)=>{O>=l&&(e.nodes[O].start>0&&O!==l&&(e.nodes[O].start-=u),e.nodes[O].end-=u)}),o-=u,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 u=f.index;if(s!==0)for(let h=1;h<s;h++)u+=f[h].length;d=this.wrapRangeInTextNode(d,u,u+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 u=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,u,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:u,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,f,u,y=>r(y,l,a.value.substring(f,u),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 u=new RegExp(this.createRegExp(f),`gm${l}`),h=0;this.log(`Searching with expression "${u}"`),this[n](u,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=fo.matches(o,r),a=this.matchesExclude(o);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function tl(t){let e=new zi(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 bh=tl,Rf=i.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),vh=T`
6
6
  .highlight-html-match {
7
7
  background: ${Rf};
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 _f={};var al={};ie(al,{ParametrizedLabelResolver:()=>Tr});var Tr=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 Tl={};ie(Tl,{FtCommandQueue:()=>Di,FtLitElementRedux:()=>Fi,FtReduxStore:()=>mo,FtStateManager:()=>kl,ReduxWatcher:()=>Vn,clearAllStores:()=>i3,isFtReduxStore:()=>Ho,redux:()=>Uo,reduxEventListener:()=>Sh,reduxReactive:()=>xh,watch:()=>n3,withRedux:()=>kf});var xh=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Uo=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:Ut,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})}},Sh=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Di=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 Ho(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Bi=Symbol("internalReduxEventsUnsubscribers"),Mr=Symbol("internalStoresUnsubscribers"),po=Symbol("internalStores"),kf=Xe(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[po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[po].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[po].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[po].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[po].delete(l)}setupStores(){this.unsubscribeFromStores(),this[po].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[Mr].has(s.store):this[Mr].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Mr].set(s,l.subscribe(()=>this.updateFromStores())),this[Bi].set(s,[]),Ho(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,u)=>{if(typeof this[u]=="function"&&(!f.store||l.name===f.store)){let h=y=>this[u](y);l.addEventListener(f.eventName,h),this[Bi].get(s).push(()=>l.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Mr].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Mr].has(s)&&this[Mr].get(s)(),this[Mr].delete(s),(l=this[Bi].get(s))===null||l===void 0||l.forEach(d=>d()),this[Bi].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Mr,r=po,o=Bi,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Fi=class extends kf(F){};function Tt(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 yr(t){return!!t&&!!t[Ae]}function Wt(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)===_h}(t)||Array.isArray(t)||!!t[$f]||!!(!((e=t.constructor)===null||e===void 0)&&e[$f])||ml(t)||gl(t))}function uo(t,e,r){r===void 0&&(r=!1),Vo(t)===0?(r?Object.keys:Wo)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function Vo(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ml(t)?2:gl(t)?3:0}function Go(t,e){return Vo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ch(t,e){return Vo(t)===2?t.get(e):t[e]}function Df(t,e,r){var o=Vo(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Bf(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ml(t){return wh&&t instanceof Map}function gl(t){return Rh&&t instanceof Set}function Nr(t){return t.o||t.t}function yl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Hf(t);delete e[Ae];for(var r=Wo(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 bl(t,e){return e===void 0&&(e=!1),vl(t)||yr(t)||!Wt(t)||(Vo(t)>1&&(t.set=t.add=t.clear=t.delete=Oh),Object.freeze(t),e&&uo(t,function(r,o){return bl(o,!0)},!0)),t}function Oh(){Tt(2)}function vl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function rr(t){var e=hl[t];return e||Tt(18,t),e}function Eh(t,e){hl[t]||(hl[t]=e)}function fl(){return Hi}function sl(t,e){e&&(rr("Patches"),t.u=[],t.s=[],t.v=e)}function Fn(t){pl(t),t.p.forEach(Lh),t.p=null}function pl(t){t===Hi&&(Hi=t.l)}function Tf(t){return Hi={p:[],l:Hi,h:t,m:!0,_:0}}function Lh(t){var e=t[Ae];e.i===0||e.i===1?e.j():e.g=!0}function ll(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||rr("ES5").S(e,t,o),o?(r[Ae].P&&(Fn(e),Tt(4)),Wt(t)&&(t=Un(e,t),e.l||Hn(e,t)),e.u&&rr("Patches").M(r[Ae].t,t,e.u,e.s)):t=Un(e,r,[]),Fn(e),e.u&&e.v(e.u,e.s),t!==Uf?t:void 0}function Un(t,e,r){if(vl(e))return e;var o=e[Ae];if(!o)return uo(e,function(l,d){return Mf(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Hn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=yl(o.k):o.o,a=n,s=!1;o.i===3&&(a=new Set(n),n.clear(),s=!0),uo(a,function(l,d){return Mf(t,o,n,l,d,r,s)}),Hn(t,n,!1),r&&t.u&&rr("Patches").N(o,r,t.u,t.s)}return o.o}function Mf(t,e,r,o,n,a,s){if(yr(n)){var l=Un(t,n,a&&e&&e.i!==3&&!Go(e.R,o)?a.concat(o):void 0);if(Df(r,o,l),!yr(l))return;t.m=!1}else s&&r.add(n);if(Wt(n)&&!vl(n)){if(!t.h.D&&t._<1)return;Un(t,n),e&&e.A.l||Hn(t,n)}}function Hn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&bl(e,r)}function cl(t,e){var r=t[Ae];return(r?Nr(r):t)[e]}function Nf(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 Pr(t){t.P||(t.P=!0,t.l&&Pr(t.l))}function dl(t){t.o||(t.o=yl(t.t))}function ul(t,e,r){var o=ml(e)?rr("MapSet").F(e,r):gl(e)?rr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:fl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=Gi;s&&(d=[l],f=Ui);var u=Proxy.revocable(d,f),h=u.revoke,y=u.proxy;return l.k=y,l.j=h,y}(e,r):rr("ES5").J(e,r);return(r?r.A:fl()).p.push(o),o}function Ah(t){return yr(t)||Tt(22,t),function e(r){if(!Wt(r))return r;var o,n=r[Ae],a=Vo(r);if(n){if(!n.P&&(n.i<4||!rr("ES5").K(n)))return n.t;n.I=!0,o=Pf(r,a),n.I=!1}else o=Pf(r,a);return uo(o,function(s,l){n&&Ch(n.t,s)===l||Df(o,s,e(l))}),a===3?new Set(o):o}(t)}function Pf(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return yl(t)}function Ff(){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[Ae];return Gi.get(f,s)},set:function(f){var u=this[Ae];Gi.set(u,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Ae];if(!d.P)switch(d.i){case 5:o(d)&&Pr(d);break;case 4:r(d)&&Pr(d)}}}function r(s){for(var l=s.t,d=s.k,f=Wo(d),u=f.length-1;u>=0;u--){var h=f[u];if(h!==Ae){var y=l[h];if(y===void 0&&!Go(l,h))return!0;var C=d[h],O=C&&C[Ae];if(O?O.t!==y:!Bf(C,y))return!0}}var R=!!l[Ae];return f.length!==Wo(l).length+(R?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&&Tt(3,JSON.stringify(Nr(s)))}var a={};Eh("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(h,y){if(h){for(var C=Array(y.length),O=0;O<y.length;O++)Object.defineProperty(C,""+O,t(O,!0));return C}var R=Hf(y);delete R[Ae];for(var N=Wo(R),I=0;I<N.length;I++){var z=N[I];R[z]=t(z,h||!!R[z].enumerable)}return Object.create(Object.getPrototypeOf(y),R)}(d,s),u={i:d?5:4,A:l?l.A:fl(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Ae,{value:u,writable:!0}),f},S:function(s,l,d){d?yr(l)&&l[Ae].A===s&&e(s.p):(s.u&&function f(u){if(u&&typeof u=="object"){var h=u[Ae];if(h){var y=h.t,C=h.k,O=h.R,R=h.i;if(R===4)uo(C,function(L){L!==Ae&&(y[L]!==void 0||Go(y,L)?O[L]||f(C[L]):(O[L]=!0,Pr(h)))}),uo(y,function(L){C[L]!==void 0||Go(C,L)||(O[L]=!1,Pr(h))});else if(R===5){if(o(h)&&(Pr(h),O.length=!0),C.length<y.length)for(var N=C.length;N<y.length;N++)O[N]=!1;else for(var I=y.length;I<C.length;I++)O[I]=!0;for(var z=Math.min(C.length,y.length),A=0;A<z;A++)C.hasOwnProperty(A)||(O[A]=!0),O[A]===void 0&&f(C[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var If,Hi,xl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",wh=typeof Map<"u",Rh=typeof Set<"u",zf=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Uf=xl?Symbol.for("immer-nothing"):((If={})["immer-nothing"]=!0,If),$f=xl?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=xl?Symbol.for("immer-state"):"__$immer_state";var _h=""+Object.prototype.constructor,Wo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hf=Object.getOwnPropertyDescriptors||function(t){var e={};return Wo(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},hl={},Gi={get:function(t,e){if(e===Ae)return t;var r=Nr(t);if(!Go(r,e))return function(n,a,s){var l,d=Nf(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||!Wt(o)?o:o===cl(t.t,e)?(dl(t),t.o[e]=ul(t.A.h,o,t)):o},has:function(t,e){return e in Nr(t)},ownKeys:function(t){return Reflect.ownKeys(Nr(t))},set:function(t,e,r){var o=Nf(Nr(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=cl(Nr(t),e),a=n?.[Ae];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Bf(r,n)&&(r!==void 0||Go(t.t,e)))return!0;dl(t),Pr(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 cl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,dl(t),Pr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Nr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Tt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Tt(12)}},Ui={};uo(Gi,function(t,e){Ui[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ui.deleteProperty=function(t,e){return Ui.set.call(this,t,e,void 0)},Ui.set=function(t,e,r){return Gi.set.call(this,t[0],e,r,t[0])};var kh=function(){function t(r){var o=this;this.O=zf,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(R){var N=this;R===void 0&&(R=l);for(var I=arguments.length,z=Array(I>1?I-1:0),A=1;A<I;A++)z[A-1]=arguments[A];return d.produce(R,function(L){var k;return(k=a).call.apply(k,[N,L].concat(z))})}}var f;if(typeof a!="function"&&Tt(6),s!==void 0&&typeof s!="function"&&Tt(7),Wt(n)){var u=Tf(o),h=ul(o,n,void 0),y=!0;try{f=a(h),y=!1}finally{y?Fn(u):pl(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return sl(u,s),ll(R,u)},function(R){throw Fn(u),R}):(sl(u,s),ll(f,u))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Uf&&(f=void 0),o.D&&bl(f,!0),s){var C=[],O=[];rr("Patches").M(n,f,C,O),s(C,O)}return f}Tt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),y=1;y<u;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,u){s=f,l=u});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){Wt(r)||Tt(8),yr(r)&&(r=Ah(r));var o=Tf(this),n=ul(this,r,void 0);return n[Ae].C=!0,pl(o),n},e.finishDraft=function(r,o){var n=r&&r[Ae],a=n.A;return sl(a,o),ll(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!zf&&Tt(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=rr("Patches").$;return yr(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),vt=new kh,Th=vt.produce,lC=vt.produceWithPatches.bind(vt),cC=vt.setAutoFreeze.bind(vt),dC=vt.setUseProxies.bind(vt),fC=vt.applyPatches.bind(vt),pC=vt.createDraft.bind(vt),uC=vt.finishDraft.bind(vt),Gn=Th;function ho(t){"@babel/helpers - typeof";return ho=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},ho(t)}function Gf(t,e){if(ho(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ho(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Wf(t){var e=Gf(t,"string");return ho(e)=="symbol"?e:e+""}function Vf(t,e,r){return(e=Wf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function jf(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 Sl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jf(Object(r),!0).forEach(function(o){Vf(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jf(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function at(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 Kf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Cl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wn={INIT:"@@redux/INIT"+Cl(),REPLACE:"@@redux/REPLACE"+Cl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Cl()}};function Mh(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 Ol(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(at(1));return r(Ol)(t,e)}if(typeof t!="function")throw new Error(at(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function u(){if(d)throw new Error(at(3));return a}function h(R){if(typeof R!="function")throw new Error(at(4));if(d)throw new Error(at(5));var N=!0;return f(),l.push(R),function(){if(N){if(d)throw new Error(at(6));N=!1,f();var z=l.indexOf(R);l.splice(z,1),s=null}}}function y(R){if(!Mh(R))throw new Error(at(7));if(typeof R.type>"u")throw new Error(at(8));if(d)throw new Error(at(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var N=s=l,I=0;I<N.length;I++){var z=N[I];z()}return R}function C(R){if(typeof R!="function")throw new Error(at(10));n=R,y({type:Wn.REPLACE})}function O(){var R,N=h;return R={subscribe:function(z){if(typeof z!="object"||z===null)throw new Error(at(11));function A(){z.next&&z.next(u())}A();var L=N(A);return{unsubscribe:L}}},R[Kf]=function(){return this},R}return y({type:Wn.INIT}),o={dispatch:y,subscribe:h,getState:u,replaceReducer:C},o[Kf]=O,o}function Nh(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Wn.INIT});if(typeof o>"u")throw new Error(at(12));if(typeof r(void 0,{type:Wn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function Zf(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{Nh(r)}catch(d){l=d}return function(f,u){if(f===void 0&&(f={}),l)throw l;if(0)var h;for(var y=!1,C={},O=0;O<a.length;O++){var R=a[O],N=r[R],I=f[R],z=N(I,u);if(typeof z>"u"){var A=u&&u.type;throw new Error(at(14))}C[R]=z,y=y||z!==I}return y=y||a.length!==Object.keys(f).length,y?C:f}}function jo(){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 qf(){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(at(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=jo.apply(void 0,l)(n.dispatch),Sl(Sl({},n),{},{dispatch:a})}}}function Yf(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 Xf=Yf();Xf.withExtraArgument=Yf;var El=Xf;var r1=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)}}(),Ph=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(u){return d([f,u])}}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(u){f=[6,u],n=0}finally{o=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ko=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},Ih=Object.defineProperty,zh=Object.defineProperties,$h=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,Dh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,Jf=function(t,e,r){return e in t?Ih(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ir=function(t,e){for(var r in e||(e={}))Dh.call(e,r)&&Jf(t,r,e[r]);if(Qf)for(var o=0,n=Qf(e);o<n.length;o++){var r=n[o];Bh.call(e,r)&&Jf(t,r,e[r])}return t},Ll=function(t,e){return zh(t,$h(e))},Fh=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 Uh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jo:jo.apply(null,arguments)},TC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Hh(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 Gh=function(t){r1(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,Ko([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ko([void 0],r.concat(this))))},e}(Array),Wh=function(t){r1(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,Ko([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ko([void 0],r.concat(this))))},e}(Array);function Rl(t){return Wt(t)?Gn(t,function(){}):t}function Vh(t){return typeof t=="boolean"}function jh(){return function(e){return Kh(e)}}function Kh(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 Gh;if(r&&(Vh(r)?l.push(El):l.push(El.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var Al=!0;function o1(t){var e=jh(),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,u=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(Hh(n))C=Zf(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 O=s;if(typeof O=="function"&&(O=O(e),!Al&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Al&&O.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=qf.apply(void 0,O),N=jo;d&&(N=Uh(Ir({trace:!Al},typeof d=="object"&&d)));var I=new Wh(R),z=I;Array.isArray(y)?z=Ko([R],y):typeof y=="function"&&(z=y(I));var A=N.apply(void 0,z);return Ol(C,u,A)}function zr(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 Ir(Ir({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 i1(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 Zh(t){return typeof t=="function"}function qh(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?i1(e):[e,r,o],a=n[0],s=n[1],l=n[2],d;if(Zh(t))d=function(){return Rl(t())};else{var f=Rl(t);d=function(){return f}}function u(h,y){h===void 0&&(h=d());var C=Ko([a[y.type]],s.filter(function(O){var R=O.matcher;return R(y)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(yr(O)){var N=O,I=R(N,y);return I===void 0?O:I}else{if(Wt(O))return Gn(O,function(z){return R(z,y)});var I=R(O,y);if(I===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return O},h)}return u.getInitialState=d,u}function Yh(t,e){return t+"/"+e}function n1(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:Rl(t.initialState),o=t.reducers||{},n=Object.keys(o),a={},s={},l={};n.forEach(function(u){var h=o[u],y=Yh(e,u),C,O;"reducer"in h?(C=h.reducer,O=h.prepare):C=h,a[u]=C,s[y]=C,l[u]=O?zr(y,O):zr(y)});function d(){var u=typeof t.extraReducers=="function"?i1(t.extraReducers):[t.extraReducers],h=u[0],y=h===void 0?{}:h,C=u[1],O=C===void 0?[]:C,R=u[2],N=R===void 0?void 0:R,I=Ir(Ir({},y),s);return qh(r,function(z){for(var A in I)z.addCase(A,I[A]);for(var L=0,k=O;L<k.length;L++){var U=k[L];z.addMatcher(U.matcher,U.reducer)}N&&z.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=d()),f(u,h)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Xh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qh=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Xh[Math.random()*64|0];return e},Jh=["name","message","stack","code"],wl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),e1=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),e3=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Jh;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},IC=function(){function t(e,r,o){var n=zr(e+"/fulfilled",function(u,h,y,C){return{payload:u,meta:Ll(Ir({},C||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=zr(e+"/pending",function(u,h,y){return{payload:void 0,meta:Ll(Ir({},y||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),s=zr(e+"/rejected",function(u,h,y,C,O){return{payload:C,error:(o&&o.serializeError||e3)(u||"Rejected"),meta:Ll(Ir({},O||{}),{arg:y,requestId:h,rejectedWithValue:!!C,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,y,C){var O=o?.idGenerator?o.idGenerator(u):Qh(),R=new d,N,I=!1;function z(L){N=L,R.abort()}var A=function(){return Fh(this,null,function(){var L,k,U,Y,le,ae,Z;return Ph(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Y=(L=o?.condition)==null?void 0:L.call(o,u,{getState:y,extra:C}),r3(Y)?[4,Y]:[3,2];case 1:Y=x.sent(),x.label=2;case 2:if(Y===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,le=new Promise(function(w,V){return R.signal.addEventListener("abort",function(){return V({name:"AbortError",message:N||"Aborted"})})}),h(a(O,u,(k=o?.getPendingMeta)==null?void 0:k.call(o,{requestId:O,arg:u},{getState:y,extra:C}))),[4,Promise.race([le,Promise.resolve(r(u,{dispatch:h,getState:y,extra:C,requestId:O,signal:R.signal,abort:z,rejectWithValue:function(w,V){return new wl(w,V)},fulfillWithValue:function(w,V){return new e1(w,V)}})).then(function(w){if(w instanceof wl)throw w;return w instanceof e1?n(w.payload,O,u,w.meta):n(w,O,u)})])];case 3:return U=x.sent(),[3,5];case 4:return ae=x.sent(),U=ae instanceof wl?s(null,O,u,ae.payload,ae.meta):s(ae,O,u),[3,5];case 5:return Z=o&&!o.dispatchConditionRejection&&s.match(U)&&U.meta.condition,Z||h(U),[2,U]}})})}();return Object.assign(A,{abort:z,requestId:O,arg:u,unwrap:function(){return A.then(t3)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function t3(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function r3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var a1="listener",s1="completed",l1="cancelled",zC="task-"+l1,$C="task-"+s1,DC=a1+"-"+l1,BC=a1+"-"+s1;var _l="listenerMiddleware";var FC=zr(_l+"/add"),UC=zr(_l+"/removeAll"),HC=zr(_l+"/remove");var t1,GC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(t1||(t1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},o3=function(t){return function(e){setTimeout(e,t)}},WC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:o3(10);Ff();window.ftReduxStores||(window.ftReduxStores={});var mo=class t extends mr{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(Ho(a))return a;if(n==null)return;let s=n1({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=o1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let u=to(s.getInitialState());for(let h of f.keeping)u[h]=(d??u)[h];return u}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 Di;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?(...u)=>{let h=f(...u.map(n));return this.reduxStore.dispatch(h),h}:u=>{this.setState({[d]:n(u)})}}}),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 i3(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ho(e)&&e.clear()}var Vn=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);Ut(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 n3(t,e,r){return new Vn(t,e,r).watch()}var kl=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 Pl={};ie(Pl,{scrollHelper:()=>a3});var Ml,jn=new Map,Nl=class{lock(e,r){if(r){let o=jn.get(r);if(o==null||o===e)return jn.set(r,e),r}}release(e,r){r&&jn.get(r)===e&&jn.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of is(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=eo(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=(Ml=window.FluidTopicsScrollHelper)!==null&&Ml!==void 0?Ml:new Nl;var a3=window.FluidTopicsScrollHelper;var zl={};ie(zl,{SearchPlaceConverter:()=>Dr,SearchPlaceQueryParams:()=>ue,isSearchPlaceQueryParams:()=>K1,serializeRequest:()=>d3});var l3=G0(d1(),1);var f1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(f1||(f1={}));var p1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(p1||(p1={}));var u1;(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"})(u1||(u1={}));var h1;(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"})(h1||(h1={}));var m1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(m1||(m1={}));var g1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(g1||(g1={}));var y1;(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"})(y1||(y1={}));var b1;(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"})(b1||(b1={}));var v1;(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"})(v1||(v1={}));var x1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(x1||(x1={}));var S1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(S1||(S1={}));var C1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(C1||(C1={}));var O1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(O1||(O1={}));var E1;(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"})(E1||(E1={}));var qo;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(qo||(qo={}));var L1;(function(t){t.ASC="ASC",t.DESC="DESC"})(L1||(L1={}));var A1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(A1||(A1={}));var Il;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Il||(Il={}));var P1=t=>Object.keys(Il).includes(t);var w1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(w1||(w1={}));var R1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(R1||(R1={}));var _1;(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"})(_1||(_1={}));var Yo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Yo||(Yo={}));var I1=t=>Object.keys(Yo).includes(t);var k1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(k1||(k1={}));var T1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(T1||(T1={}));var M1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(M1||(M1={}));var ze;(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"})(ze||(ze={}));var Mt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Mt||(Mt={}));var N1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(N1||(N1={}));var z1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(z1||(z1={}));var $1;(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"})($1||($1={}));var D1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(D1||(D1={}));var B1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(B1||(B1={}));var F1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(F1||(F1={}));var U1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(U1||(U1={}));var H1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(H1||(H1={}));var G1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(G1||(G1={}));var s3={[ze.PERSONAL_BOOK_SHARE_USER]:[ze.PERSONAL_BOOK_USER],[ze.HTML_EXPORT_USER]:[ze.PERSONAL_BOOK_USER],[ze.PDF_EXPORT_USER]:[ze.PERSONAL_BOOK_USER],[ze.KHUB_ADMIN]:[ze.CONTENT_PUBLISHER],[ze.ADMIN]:[ze.KHUB_ADMIN,ze.USERS_ADMIN,ze.PORTAL_ADMIN,ze.BEHAVIOR_DATA_USER],[ze.GENERATIVE_AI_EXPORT_USER]:[ze.GENERATIVE_AI_USER]};function W1(t,e){return t===e||(s3[t]??[]).some(r=>W1(r,e))}function V1(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=>W1(o,e))}function c3(t){return`"${t}"`}function j1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function d3(t,e){return new Dr(t).serialize(e)}var ue;(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"})(ue||(ue={}));var f3=new Set(Object.values(ue));function K1(t){return f3.has(t)}var Dr=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,u,h,y,C;let O=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&O.append(ue.LOCALE,e.contentLocale):O.append(ue.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&O.append(ue.QUERY,e.query);let R=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(L=>L.valueFilter&&!L.valueFilter.negative))!==null&&a!==void 0?a:[];if(R.length>0){let L=R.map(k=>{var U,Y;let le=((Y=(U=k.valueFilter)===null||U===void 0?void 0:U.values)!==null&&Y!==void 0?Y:[]).map(ae=>this.escapeFilters(ae)).map(ae=>c3(j1(ae))).join("_");return`${k.key}~${le}`}).join("*");O.append(ue.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 U;return`${k.key}~${(U=k.dateFilter)===null||U===void 0?void 0:U.type.toLowerCase()}`}).join("*");O.append(ue.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 U,Y;return`${k.key}~${(U=k.rangeFilter)===null||U===void 0?void 0:U.from}_${(Y=k.rangeFilter)===null||Y===void 0?void 0:Y.to}`}).join("*");O.append(ue.RANGE_FILTERS,L)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&O.append(ue.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&O.append(ue.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&O.append(ue.SORT,e.sortId),!((u=e.paging)===null||u===void 0)&&u.perPage&&((y=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&O.append(ue.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&O.append(ue.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(C=e.otherQueryParams)!==null&&C!==void 0?C:{};for(let L in z)O.append(L,z[L]);let A=new Array;return O.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(ue.LOCALE)==="all"?void 0:d.get(ue.LOCALE),u=((r=d.get(ue.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(ue.SORT))===null||o===void 0?void 0:o.toLowerCase(),y=(n=d.get(ue.SCOPE))!==null&&n!==void 0?n:"default",C=+((a=d.get(ue.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),O=d.get(ue.KEYWORD_MATCH),R=O?O.toUpperCase()===qo.MANDATORY?qo.MANDATORY:qo.OPTIONAL:void 0,N={};for(let I of d.keys())K1(I)||(N[I]=d.get(I));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ue.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:P1(u)?u:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:eo(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:R,otherQueryParams:N}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(ue.FILTERS)&&(d=this.parseValueFilters((r=e.get(ue.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ue.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ue.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ue.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ue.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ue.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(j1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Yo[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(I1(e))return[{key:"ft:lastEdition",dateFilter:{type:Yo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}};var Bl={};ie(Bl,{toFtFormComponent:()=>Dl});var $l=Symbol("elementInternals"),Dl=Xe(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[$l].form}constructor(...o){super(o),this[$l]=this.attachInternals()}setFormValue(o){this[$l].setFormValue(o)}}return e});var Fl={};ie(Fl,{DateFormatter:()=>go});var go=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 Hl={};ie(Hl,{ALL_KEYS_VALUE:()=>Ul,SameWindowStorageEvent:()=>Xo});var Ul="__all__",Xo=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==Ul}};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 Xo(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 Xo(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Xo(Ul))}});var Wl={};ie(Wl,{FocusMainContentEvent:()=>Gl});var Gl=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Z1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function p3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function u3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",p3);document.addEventListener("click",u3);var qn=T`
48
+ `;var _f={};var al={};ie(al,{ParametrizedLabelResolver:()=>Tr});var Tr=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 Tl={};ie(Tl,{FtCommandQueue:()=>Di,FtLitElementRedux:()=>Fi,FtReduxStore:()=>mo,FtStateManager:()=>kl,ReduxWatcher:()=>Vn,clearAllStores:()=>i3,isFtReduxStore:()=>Ho,redux:()=>Uo,reduxEventListener:()=>Sh,reduxReactive:()=>xh,watch:()=>n3,withRedux:()=>kf});var xh=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},Uo=t=>{let e=t??{};return(r,o)=>{var n;let a={hasChanged:Ut,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})}},Sh=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var Di=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 Ho(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Bi=Symbol("internalReduxEventsUnsubscribers"),Mr=Symbol("internalStoresUnsubscribers"),po=Symbol("internalStores"),kf=Xe(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[po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[po].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[po].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[po].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[po].delete(l)}setupStores(){this.unsubscribeFromStores(),this[po].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[Mr].has(s.store):this[Mr].size>0)&&(this[l]=s.selector(f.getState(),this))}})}subscribeToStore(s,l){var d;this[Mr].set(s,l.subscribe(()=>this.updateFromStores())),this[Bi].set(s,[]),Ho(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((f,u)=>{if(typeof this[u]=="function"&&(!f.store||l.name===f.store)){let h=y=>this[u](y);l.addEventListener(f.eventName,h),this[Bi].get(s).push(()=>l.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Mr].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Mr].has(s)&&this[Mr].get(s)(),this[Mr].delete(s),(l=this[Bi].get(s))===null||l===void 0||l.forEach(d=>d()),this[Bi].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Mr,r=po,o=Bi,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}),Fi=class extends kf(F){};function Tt(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 yr(t){return!!t&&!!t[Ae]}function Wt(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)===_h}(t)||Array.isArray(t)||!!t[$f]||!!(!((e=t.constructor)===null||e===void 0)&&e[$f])||ml(t)||gl(t))}function uo(t,e,r){r===void 0&&(r=!1),Vo(t)===0?(r?Object.keys:Wo)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,n){return e(n,o,t)})}function Vo(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ml(t)?2:gl(t)?3:0}function Go(t,e){return Vo(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ch(t,e){return Vo(t)===2?t.get(e):t[e]}function Df(t,e,r){var o=Vo(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Bf(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ml(t){return wh&&t instanceof Map}function gl(t){return Rh&&t instanceof Set}function Nr(t){return t.o||t.t}function yl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Hf(t);delete e[Ae];for(var r=Wo(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 bl(t,e){return e===void 0&&(e=!1),vl(t)||yr(t)||!Wt(t)||(Vo(t)>1&&(t.set=t.add=t.clear=t.delete=Oh),Object.freeze(t),e&&uo(t,function(r,o){return bl(o,!0)},!0)),t}function Oh(){Tt(2)}function vl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function rr(t){var e=hl[t];return e||Tt(18,t),e}function Eh(t,e){hl[t]||(hl[t]=e)}function fl(){return Hi}function sl(t,e){e&&(rr("Patches"),t.u=[],t.s=[],t.v=e)}function Fn(t){pl(t),t.p.forEach(Lh),t.p=null}function pl(t){t===Hi&&(Hi=t.l)}function Tf(t){return Hi={p:[],l:Hi,h:t,m:!0,_:0}}function Lh(t){var e=t[Ae];e.i===0||e.i===1?e.j():e.g=!0}function ll(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||rr("ES5").S(e,t,o),o?(r[Ae].P&&(Fn(e),Tt(4)),Wt(t)&&(t=Un(e,t),e.l||Hn(e,t)),e.u&&rr("Patches").M(r[Ae].t,t,e.u,e.s)):t=Un(e,r,[]),Fn(e),e.u&&e.v(e.u,e.s),t!==Uf?t:void 0}function Un(t,e,r){if(vl(e))return e;var o=e[Ae];if(!o)return uo(e,function(l,d){return Mf(t,o,e,l,d,r)},!0),e;if(o.A!==t)return e;if(!o.P)return Hn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var n=o.i===4||o.i===5?o.o=yl(o.k):o.o,a=n,s=!1;o.i===3&&(a=new Set(n),n.clear(),s=!0),uo(a,function(l,d){return Mf(t,o,n,l,d,r,s)}),Hn(t,n,!1),r&&t.u&&rr("Patches").N(o,r,t.u,t.s)}return o.o}function Mf(t,e,r,o,n,a,s){if(yr(n)){var l=Un(t,n,a&&e&&e.i!==3&&!Go(e.R,o)?a.concat(o):void 0);if(Df(r,o,l),!yr(l))return;t.m=!1}else s&&r.add(n);if(Wt(n)&&!vl(n)){if(!t.h.D&&t._<1)return;Un(t,n),e&&e.A.l||Hn(t,n)}}function Hn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&bl(e,r)}function cl(t,e){var r=t[Ae];return(r?Nr(r):t)[e]}function Nf(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 Pr(t){t.P||(t.P=!0,t.l&&Pr(t.l))}function dl(t){t.o||(t.o=yl(t.t))}function ul(t,e,r){var o=ml(e)?rr("MapSet").F(e,r):gl(e)?rr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:fl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=Gi;s&&(d=[l],f=Ui);var u=Proxy.revocable(d,f),h=u.revoke,y=u.proxy;return l.k=y,l.j=h,y}(e,r):rr("ES5").J(e,r);return(r?r.A:fl()).p.push(o),o}function Ah(t){return yr(t)||Tt(22,t),function e(r){if(!Wt(r))return r;var o,n=r[Ae],a=Vo(r);if(n){if(!n.P&&(n.i<4||!rr("ES5").K(n)))return n.t;n.I=!0,o=Pf(r,a),n.I=!1}else o=Pf(r,a);return uo(o,function(s,l){n&&Ch(n.t,s)===l||Df(o,s,e(l))}),a===3?new Set(o):o}(t)}function Pf(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return yl(t)}function Ff(){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[Ae];return Gi.get(f,s)},set:function(f){var u=this[Ae];Gi.set(u,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Ae];if(!d.P)switch(d.i){case 5:o(d)&&Pr(d);break;case 4:r(d)&&Pr(d)}}}function r(s){for(var l=s.t,d=s.k,f=Wo(d),u=f.length-1;u>=0;u--){var h=f[u];if(h!==Ae){var y=l[h];if(y===void 0&&!Go(l,h))return!0;var C=d[h],O=C&&C[Ae];if(O?O.t!==y:!Bf(C,y))return!0}}var R=!!l[Ae];return f.length!==Wo(l).length+(R?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&&Tt(3,JSON.stringify(Nr(s)))}var a={};Eh("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(h,y){if(h){for(var C=Array(y.length),O=0;O<y.length;O++)Object.defineProperty(C,""+O,t(O,!0));return C}var R=Hf(y);delete R[Ae];for(var N=Wo(R),I=0;I<N.length;I++){var z=N[I];R[z]=t(z,h||!!R[z].enumerable)}return Object.create(Object.getPrototypeOf(y),R)}(d,s),u={i:d?5:4,A:l?l.A:fl(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,Ae,{value:u,writable:!0}),f},S:function(s,l,d){d?yr(l)&&l[Ae].A===s&&e(s.p):(s.u&&function f(u){if(u&&typeof u=="object"){var h=u[Ae];if(h){var y=h.t,C=h.k,O=h.R,R=h.i;if(R===4)uo(C,function(L){L!==Ae&&(y[L]!==void 0||Go(y,L)?O[L]||f(C[L]):(O[L]=!0,Pr(h)))}),uo(y,function(L){C[L]!==void 0||Go(C,L)||(O[L]=!1,Pr(h))});else if(R===5){if(o(h)&&(Pr(h),O.length=!0),C.length<y.length)for(var N=C.length;N<y.length;N++)O[N]=!1;else for(var I=y.length;I<C.length;I++)O[I]=!0;for(var z=Math.min(C.length,y.length),A=0;A<z;A++)C.hasOwnProperty(A)||(O[A]=!0),O[A]===void 0&&f(C[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var If,Hi,xl=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",wh=typeof Map<"u",Rh=typeof Set<"u",zf=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Uf=xl?Symbol.for("immer-nothing"):((If={})["immer-nothing"]=!0,If),$f=xl?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=xl?Symbol.for("immer-state"):"__$immer_state";var _h=""+Object.prototype.constructor,Wo=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Hf=Object.getOwnPropertyDescriptors||function(t){var e={};return Wo(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},hl={},Gi={get:function(t,e){if(e===Ae)return t;var r=Nr(t);if(!Go(r,e))return function(n,a,s){var l,d=Nf(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||!Wt(o)?o:o===cl(t.t,e)?(dl(t),t.o[e]=ul(t.A.h,o,t)):o},has:function(t,e){return e in Nr(t)},ownKeys:function(t){return Reflect.ownKeys(Nr(t))},set:function(t,e,r){var o=Nf(Nr(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var n=cl(Nr(t),e),a=n?.[Ae];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Bf(r,n)&&(r!==void 0||Go(t.t,e)))return!0;dl(t),Pr(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 cl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,dl(t),Pr(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Nr(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Tt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Tt(12)}},Ui={};uo(Gi,function(t,e){Ui[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ui.deleteProperty=function(t,e){return Ui.set.call(this,t,e,void 0)},Ui.set=function(t,e,r){return Gi.set.call(this,t[0],e,r,t[0])};var kh=function(){function t(r){var o=this;this.O=zf,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(R){var N=this;R===void 0&&(R=l);for(var I=arguments.length,z=Array(I>1?I-1:0),A=1;A<I;A++)z[A-1]=arguments[A];return d.produce(R,function(L){var k;return(k=a).call.apply(k,[N,L].concat(z))})}}var f;if(typeof a!="function"&&Tt(6),s!==void 0&&typeof s!="function"&&Tt(7),Wt(n)){var u=Tf(o),h=ul(o,n,void 0),y=!0;try{f=a(h),y=!1}finally{y?Fn(u):pl(u)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(R){return sl(u,s),ll(R,u)},function(R){throw Fn(u),R}):(sl(u,s),ll(f,u))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===Uf&&(f=void 0),o.D&&bl(f,!0),s){var C=[],O=[];rr("Patches").M(n,f,C,O),s(C,O)}return f}Tt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var u=arguments.length,h=Array(u>1?u-1:0),y=1;y<u;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,u){s=f,l=u});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){Wt(r)||Tt(8),yr(r)&&(r=Ah(r));var o=Tf(this),n=ul(this,r,void 0);return n[Ae].C=!0,pl(o),n},e.finishDraft=function(r,o){var n=r&&r[Ae],a=n.A;return sl(a,o),ll(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!zf&&Tt(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=rr("Patches").$;return yr(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),vt=new kh,Th=vt.produce,lC=vt.produceWithPatches.bind(vt),cC=vt.setAutoFreeze.bind(vt),dC=vt.setUseProxies.bind(vt),fC=vt.applyPatches.bind(vt),pC=vt.createDraft.bind(vt),uC=vt.finishDraft.bind(vt),Gn=Th;function ho(t){"@babel/helpers - typeof";return ho=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},ho(t)}function Gf(t,e){if(ho(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(ho(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Wf(t){var e=Gf(t,"string");return ho(e)=="symbol"?e:e+""}function Vf(t,e,r){return(e=Wf(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function jf(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 Sl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?jf(Object(r),!0).forEach(function(o){Vf(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jf(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function at(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 Kf=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Cl=function(){return Math.random().toString(36).substring(7).split("").join(".")},Wn={INIT:"@@redux/INIT"+Cl(),REPLACE:"@@redux/REPLACE"+Cl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Cl()}};function Mh(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 Ol(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(at(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(at(1));return r(Ol)(t,e)}if(typeof t!="function")throw new Error(at(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function u(){if(d)throw new Error(at(3));return a}function h(R){if(typeof R!="function")throw new Error(at(4));if(d)throw new Error(at(5));var N=!0;return f(),l.push(R),function(){if(N){if(d)throw new Error(at(6));N=!1,f();var z=l.indexOf(R);l.splice(z,1),s=null}}}function y(R){if(!Mh(R))throw new Error(at(7));if(typeof R.type>"u")throw new Error(at(8));if(d)throw new Error(at(9));try{d=!0,a=n(a,R)}finally{d=!1}for(var N=s=l,I=0;I<N.length;I++){var z=N[I];z()}return R}function C(R){if(typeof R!="function")throw new Error(at(10));n=R,y({type:Wn.REPLACE})}function O(){var R,N=h;return R={subscribe:function(z){if(typeof z!="object"||z===null)throw new Error(at(11));function A(){z.next&&z.next(u())}A();var L=N(A);return{unsubscribe:L}}},R[Kf]=function(){return this},R}return y({type:Wn.INIT}),o={dispatch:y,subscribe:h,getState:u,replaceReducer:C},o[Kf]=O,o}function Nh(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:Wn.INIT});if(typeof o>"u")throw new Error(at(12));if(typeof r(void 0,{type:Wn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(at(13))})}function Zf(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{Nh(r)}catch(d){l=d}return function(f,u){if(f===void 0&&(f={}),l)throw l;if(0)var h;for(var y=!1,C={},O=0;O<a.length;O++){var R=a[O],N=r[R],I=f[R],z=N(I,u);if(typeof z>"u"){var A=u&&u.type;throw new Error(at(14))}C[R]=z,y=y||z!==I}return y=y||a.length!==Object.keys(f).length,y?C:f}}function jo(){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 qf(){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(at(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=jo.apply(void 0,l)(n.dispatch),Sl(Sl({},n),{},{dispatch:a})}}}function Yf(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 Xf=Yf();Xf.withExtraArgument=Yf;var El=Xf;var r1=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)}}(),Ph=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(u){return d([f,u])}}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(u){f=[6,u],n=0}finally{o=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Ko=function(t,e){for(var r=0,o=e.length,n=t.length;r<o;r++,n++)t[n]=e[r];return t},Ih=Object.defineProperty,zh=Object.defineProperties,$h=Object.getOwnPropertyDescriptors,Qf=Object.getOwnPropertySymbols,Dh=Object.prototype.hasOwnProperty,Bh=Object.prototype.propertyIsEnumerable,Jf=function(t,e,r){return e in t?Ih(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Ir=function(t,e){for(var r in e||(e={}))Dh.call(e,r)&&Jf(t,r,e[r]);if(Qf)for(var o=0,n=Qf(e);o<n.length;o++){var r=n[o];Bh.call(e,r)&&Jf(t,r,e[r])}return t},Ll=function(t,e){return zh(t,$h(e))},Fh=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 Uh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jo:jo.apply(null,arguments)},TC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Hh(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 Gh=function(t){r1(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,Ko([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ko([void 0],r.concat(this))))},e}(Array),Wh=function(t){r1(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,Ko([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ko([void 0],r.concat(this))))},e}(Array);function Rl(t){return Wt(t)?Gn(t,function(){}):t}function Vh(t){return typeof t=="boolean"}function jh(){return function(e){return Kh(e)}}function Kh(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 Gh;if(r&&(Vh(r)?l.push(El):l.push(El.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var Al=!0;function o1(t){var e=jh(),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,u=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(Hh(n))C=Zf(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 O=s;if(typeof O=="function"&&(O=O(e),!Al&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Al&&O.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=qf.apply(void 0,O),N=jo;d&&(N=Uh(Ir({trace:!Al},typeof d=="object"&&d)));var I=new Wh(R),z=I;Array.isArray(y)?z=Ko([R],y):typeof y=="function"&&(z=y(I));var A=N.apply(void 0,z);return Ol(C,u,A)}function zr(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 Ir(Ir({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 i1(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 Zh(t){return typeof t=="function"}function qh(t,e,r,o){r===void 0&&(r=[]);var n=typeof e=="function"?i1(e):[e,r,o],a=n[0],s=n[1],l=n[2],d;if(Zh(t))d=function(){return Rl(t())};else{var f=Rl(t);d=function(){return f}}function u(h,y){h===void 0&&(h=d());var C=Ko([a[y.type]],s.filter(function(O){var R=O.matcher;return R(y)}).map(function(O){var R=O.reducer;return R}));return C.filter(function(O){return!!O}).length===0&&(C=[l]),C.reduce(function(O,R){if(R)if(yr(O)){var N=O,I=R(N,y);return I===void 0?O:I}else{if(Wt(O))return Gn(O,function(z){return R(z,y)});var I=R(O,y);if(I===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return O},h)}return u.getInitialState=d,u}function Yh(t,e){return t+"/"+e}function n1(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:Rl(t.initialState),o=t.reducers||{},n=Object.keys(o),a={},s={},l={};n.forEach(function(u){var h=o[u],y=Yh(e,u),C,O;"reducer"in h?(C=h.reducer,O=h.prepare):C=h,a[u]=C,s[y]=C,l[u]=O?zr(y,O):zr(y)});function d(){var u=typeof t.extraReducers=="function"?i1(t.extraReducers):[t.extraReducers],h=u[0],y=h===void 0?{}:h,C=u[1],O=C===void 0?[]:C,R=u[2],N=R===void 0?void 0:R,I=Ir(Ir({},y),s);return qh(r,function(z){for(var A in I)z.addCase(A,I[A]);for(var L=0,k=O;L<k.length;L++){var U=k[L];z.addMatcher(U.matcher,U.reducer)}N&&z.addDefaultCase(N)})}var f;return{name:e,reducer:function(u,h){return f||(f=d()),f(u,h)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var Xh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qh=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Xh[Math.random()*64|0];return e},Jh=["name","message","stack","code"],wl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),e1=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),e3=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=Jh;r<o.length;r++){var n=o[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},IC=function(){function t(e,r,o){var n=zr(e+"/fulfilled",function(u,h,y,C){return{payload:u,meta:Ll(Ir({},C||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=zr(e+"/pending",function(u,h,y){return{payload:void 0,meta:Ll(Ir({},y||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),s=zr(e+"/rejected",function(u,h,y,C,O){return{payload:C,error:(o&&o.serializeError||e3)(u||"Rejected"),meta:Ll(Ir({},O||{}),{arg:y,requestId:h,rejectedWithValue:!!C,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function f(u){return function(h,y,C){var O=o?.idGenerator?o.idGenerator(u):Qh(),R=new d,N,I=!1;function z(L){N=L,R.abort()}var A=function(){return Fh(this,null,function(){var L,k,U,Y,le,ae,Z;return Ph(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Y=(L=o?.condition)==null?void 0:L.call(o,u,{getState:y,extra:C}),r3(Y)?[4,Y]:[3,2];case 1:Y=x.sent(),x.label=2;case 2:if(Y===!1||R.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,le=new Promise(function(w,V){return R.signal.addEventListener("abort",function(){return V({name:"AbortError",message:N||"Aborted"})})}),h(a(O,u,(k=o?.getPendingMeta)==null?void 0:k.call(o,{requestId:O,arg:u},{getState:y,extra:C}))),[4,Promise.race([le,Promise.resolve(r(u,{dispatch:h,getState:y,extra:C,requestId:O,signal:R.signal,abort:z,rejectWithValue:function(w,V){return new wl(w,V)},fulfillWithValue:function(w,V){return new e1(w,V)}})).then(function(w){if(w instanceof wl)throw w;return w instanceof e1?n(w.payload,O,u,w.meta):n(w,O,u)})])];case 3:return U=x.sent(),[3,5];case 4:return ae=x.sent(),U=ae instanceof wl?s(null,O,u,ae.payload,ae.meta):s(ae,O,u),[3,5];case 5:return Z=o&&!o.dispatchConditionRejection&&s.match(U)&&U.meta.condition,Z||h(U),[2,U]}})})}();return Object.assign(A,{abort:z,requestId:O,arg:u,unwrap:function(){return A.then(t3)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function t3(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function r3(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var a1="listener",s1="completed",l1="cancelled",zC="task-"+l1,$C="task-"+s1,DC=a1+"-"+l1,BC=a1+"-"+s1;var _l="listenerMiddleware";var FC=zr(_l+"/add"),UC=zr(_l+"/removeAll"),HC=zr(_l+"/remove");var t1,GC=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(t1||(t1=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},o3=function(t){return function(e){setTimeout(e,t)}},WC=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:o3(10);Ff();window.ftReduxStores||(window.ftReduxStores={});var mo=class t extends mr{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(Ho(a))return a;if(n==null)return;let s=n1({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=o1({reducer:(d,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let u=to(s.getInitialState());for(let h of f.keeping)u[h]=(d??u)[h];return u}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 Di;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?(...u)=>{let h=f(...u.map(n));return this.reduxStore.dispatch(h),h}:u=>{this.setState({[d]:n(u)})}}}),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 i3(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ho(e)&&e.clear()}var Vn=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);Ut(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 n3(t,e,r){return new Vn(t,e,r).watch()}var kl=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 Pl={};ie(Pl,{scrollHelper:()=>a3});var Ml,jn=new Map,Nl=class{lock(e,r){if(r){let o=jn.get(r);if(o==null||o===e)return jn.set(r,e),r}}release(e,r){r&&jn.get(r)===e&&jn.delete(r)}findFirstScrollableParent(e){var r;let o,n;for(let a of is(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=eo(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=(Ml=window.FluidTopicsScrollHelper)!==null&&Ml!==void 0?Ml:new Nl;var a3=window.FluidTopicsScrollHelper;var zl={};ie(zl,{SearchPlaceConverter:()=>Dr,SearchPlaceQueryParams:()=>ue,isSearchPlaceQueryParams:()=>K1,serializeRequest:()=>d3});var l3=G0(d1(),1);var f1;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(f1||(f1={}));var p1;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(p1||(p1={}));var u1;(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"})(u1||(u1={}));var h1;(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"})(h1||(h1={}));var m1;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(m1||(m1={}));var g1;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(g1||(g1={}));var y1;(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"})(y1||(y1={}));var b1;(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"})(b1||(b1={}));var v1;(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"})(v1||(v1={}));var x1;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(x1||(x1={}));var S1;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(S1||(S1={}));var C1;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(C1||(C1={}));var O1;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(O1||(O1={}));var E1;(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"})(E1||(E1={}));var qo;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(qo||(qo={}));var L1;(function(t){t.ASC="ASC",t.DESC="DESC"})(L1||(L1={}));var A1;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(A1||(A1={}));var Il;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Il||(Il={}));var P1=t=>Object.keys(Il).includes(t);var w1;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(w1||(w1={}));var R1;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(R1||(R1={}));var _1;(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"})(_1||(_1={}));var Yo;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Yo||(Yo={}));var I1=t=>Object.keys(Yo).includes(t);var k1;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(k1||(k1={}));var T1;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(T1||(T1={}));var M1;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(M1||(M1={}));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 Mt;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Mt||(Mt={}));var N1;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(N1||(N1={}));var z1;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(z1||(z1={}));var $1;(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"})($1||($1={}));var D1;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(D1||(D1={}));var B1;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(B1||(B1={}));var F1;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(F1||(F1={}));var U1;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(U1||(U1={}));var H1;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(H1||(H1={}));var G1;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(G1||(G1={}));var s3={[$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 W1(t,e){return t===e||(s3[t]??[]).some(r=>W1(r,e))}function V1(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=>W1(o,e))}function c3(t){return`"${t}"`}function j1(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function d3(t,e){return new Dr(t).serialize(e)}var ue;(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"})(ue||(ue={}));var f3=new Set(Object.values(ue));function K1(t){return f3.has(t)}var Dr=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,u,h,y,C;let O=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&O.append(ue.LOCALE,e.contentLocale):O.append(ue.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((o=e.query)===null||o===void 0?void 0:o.length)>0&&O.append(ue.QUERY,e.query);let R=(a=(n=e.metadataFilters)===null||n===void 0?void 0:n.filter(L=>L.valueFilter&&!L.valueFilter.negative))!==null&&a!==void 0?a:[];if(R.length>0){let L=R.map(k=>{var U,Y;let le=((Y=(U=k.valueFilter)===null||U===void 0?void 0:U.values)!==null&&Y!==void 0?Y:[]).map(ae=>this.escapeFilters(ae)).map(ae=>c3(j1(ae))).join("_");return`${k.key}~${le}`}).join("*");O.append(ue.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 U;return`${k.key}~${(U=k.dateFilter)===null||U===void 0?void 0:U.type.toLowerCase()}`}).join("*");O.append(ue.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 U,Y;return`${k.key}~${(U=k.rangeFilter)===null||U===void 0?void 0:U.from}_${(Y=k.rangeFilter)===null||Y===void 0?void 0:Y.to}`}).join("*");O.append(ue.RANGE_FILTERS,L)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&O.append(ue.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&O.append(ue.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&O.append(ue.SORT,e.sortId),!((u=e.paging)===null||u===void 0)&&u.perPage&&((y=(h=e.paging)===null||h===void 0?void 0:h.perPage)!==null&&y!==void 0?y:this.defaultPerPage)!=this.defaultPerPage&&O.append(ue.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&O.append(ue.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let z=(C=e.otherQueryParams)!==null&&C!==void 0?C:{};for(let L in z)O.append(L,z[L]);let A=new Array;return O.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(ue.LOCALE)==="all"?void 0:d.get(ue.LOCALE),u=((r=d.get(ue.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),h=(o=d.get(ue.SORT))===null||o===void 0?void 0:o.toLowerCase(),y=(n=d.get(ue.SCOPE))!==null&&n!==void 0?n:"default",C=+((a=d.get(ue.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),O=d.get(ue.KEYWORD_MATCH),R=O?O.toUpperCase()===qo.MANDATORY?qo.MANDATORY:qo.OPTIONAL:void 0,N={};for(let I of d.keys())K1(I)||(N[I]=d.get(I));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(ue.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:P1(u)?u:"EVERYWHERE",sortId:h,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:eo(1,isNaN(C)?this.defaultPerPage:C,1e3)},keywordMatch:R,otherQueryParams:N}}parseCompatFilters(e){var r,o,n,a,s,l;let d=[];return e.has(ue.FILTERS)&&(d=this.parseValueFilters((r=e.get(ue.FILTERS))!==null&&r!==void 0?r:"")),(o=e.has(ue.PERIOD))!==null&&o!==void 0&&o&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(ue.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(ue.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(ue.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(ue.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(j1).map(o=>this.unescapeFilterValue(o)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Yo[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(I1(e))return[{key:"ft:lastEdition",dateFilter:{type:Yo[e]}}];if(e.startsWith("CUSTOM_")){let[r,o,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:o,to:n}}]}return[]}};var Bl={};ie(Bl,{toFtFormComponent:()=>Dl});var $l=Symbol("elementInternals"),Dl=Xe(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[$l].form}constructor(...o){super(o),this[$l]=this.attachInternals()}setFormValue(o){this[$l].setFormValue(o)}}return e});var Fl={};ie(Fl,{DateFormatter:()=>go});var go=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 Hl={};ie(Hl,{ALL_KEYS_VALUE:()=>Ul,SameWindowStorageEvent:()=>Xo});var Ul="__all__",Xo=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==Ul}};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 Xo(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 Xo(r[0],o))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Xo(Ul))}});var Wl={};ie(Wl,{FocusMainContentEvent:()=>Gl});var Gl=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Z1={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function p3(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function u3(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",p3);document.addEventListener("click",u3);var qn=T`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -105,7 +105,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
105
105
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
106
106
  <div class="ft-size-watcher--watcher"></div>
107
107
  </div>
108
- `}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=Nt.S:this.size<976?this.category=Nt.M:this.size<1024?this.category=Nt.L:this.size<1440?this.category=Nt.XL:this.category=Nt.XXL,this.dispatchEvent(new ec(this.size,this.category)))},this.debounceTimeout)}};xt.elementDefinitions={};xt.styles=X1;Vi([g({type:Number})],xt.prototype,"debounceTimeout",void 0);Vi([g({type:Boolean})],xt.prototype,"local",void 0);Vi([g({type:Number,reflect:!0})],xt.prototype,"size",void 0);Vi([g({type:String,reflect:!0})],xt.prototype,"category",void 0);Vi([B(".ft-size-watcher--watcher")],xt.prototype,"watcher",void 0);K("ft-size-watcher")(xt);var J1=Symbol.for(""),v3=t=>{if(t?.r===J1)return t?._$litStatic$},Qo=t=>({_$litStatic$:t,r:J1});var Q1=new Map,tc=t=>(e,...r)=>{let o=r.length,n,a,s=[],l=[],d,f=0,u=!1;for(;f<o;){for(d=e[f];f<o&&(a=r[f],(n=v3(a))!==void 0);)d+=n+e[++f],u=!0;f!==o&&l.push(a),s.push(d),f++}if(f===o&&s.push(e[o]),u){let h=s.join("$$lit$$");(e=Q1.get(h))===void 0&&(s.raw=s,Q1.set(h,e=s)),r=l}return t(e,...r)},Jo=tc(E),sL=tc(Fa),lL=tc(Ua);var Te;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(Te||(Te={}));var ep=i.extend("--ft-typography-font-family","",M.titleFont),xr=i.extend("--ft-typography-font-family","",M.contentFont),G={fontFamily:xr,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")},ei={fontFamily:i.extend("--ft-typography-title-font-family","",ep),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")},ti={fontFamily:i.extend("--ft-typography-title-dense-font-family","",ep),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")},ri={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",xr),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")},oi={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",xr),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")},vr={fontFamily:i.extend("--ft-typography-body1-font-family","",xr),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")},He={fontFamily:i.extend("--ft-typography-body2-font-family","",xr),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")},Ze={fontFamily:i.extend("--ft-typography-caption-font-family","",xr),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")},ii={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",xr),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")},ni={fontFamily:i.extend("--ft-typography-overline-font-family","",xr),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")},or={fontFamily:i.extend("--ft-typography-button-font-family","",xr),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")},tp=T`
108
+ `}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=Nt.S:this.size<976?this.category=Nt.M:this.size<1024?this.category=Nt.L:this.size<1440?this.category=Nt.XL:this.category=Nt.XXL,this.dispatchEvent(new ec(this.size,this.category)))},this.debounceTimeout)}};xt.elementDefinitions={};xt.styles=X1;Vi([g({type:Number})],xt.prototype,"debounceTimeout",void 0);Vi([g({type:Boolean})],xt.prototype,"local",void 0);Vi([g({type:Number,reflect:!0})],xt.prototype,"size",void 0);Vi([g({type:String,reflect:!0})],xt.prototype,"category",void 0);Vi([B(".ft-size-watcher--watcher")],xt.prototype,"watcher",void 0);K("ft-size-watcher")(xt);var J1=Symbol.for(""),v3=t=>{if(t?.r===J1)return t?._$litStatic$},Qo=t=>({_$litStatic$:t,r:J1});var Q1=new Map,tc=t=>(e,...r)=>{let o=r.length,n,a,s=[],l=[],d,f=0,u=!1;for(;f<o;){for(d=e[f];f<o&&(a=r[f],(n=v3(a))!==void 0);)d+=n+e[++f],u=!0;f!==o&&l.push(a),s.push(d),f++}if(f===o&&s.push(e[o]),u){let h=s.join("$$lit$$");(e=Q1.get(h))===void 0&&(s.raw=s,Q1.set(h,e=s)),r=l}return t(e,...r)},Jo=tc(E),sL=tc(Fa),lL=tc(Ua);var Te;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(Te||(Te={}));var ep=i.extend("--ft-typography-font-family","",M.titleFont),xr=i.extend("--ft-typography-font-family","",M.contentFont),G={fontFamily:xr,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")},ei={fontFamily:i.extend("--ft-typography-title-font-family","",ep),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")},ti={fontFamily:i.extend("--ft-typography-title-dense-font-family","",ep),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")},ri={fontFamily:i.extend("--ft-typography-subtitle1-font-family","",xr),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")},oi={fontFamily:i.extend("--ft-typography-subtitle2-font-family","",xr),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")},vr={fontFamily:i.extend("--ft-typography-body1-font-family","",xr),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")},Ge={fontFamily:i.extend("--ft-typography-body2-font-family","",xr),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")},Ze={fontFamily:i.extend("--ft-typography-caption-font-family","",xr),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")},ii={fontFamily:i.extend("--ft-typography-breadcrumb-font-family","",xr),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")},ni={fontFamily:i.extend("--ft-typography-overline-font-family","",xr),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")},or={fontFamily:i.extend("--ft-typography-button-font-family","",xr),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")},tp=T`
109
109
  .ft-typography--title {
110
110
  font-family: ${ei.fontFamily};
111
111
  font-size: ${ei.fontSize};
@@ -153,12 +153,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
153
153
  }
154
154
  `,ai=T`
155
155
  .ft-typography--body2 {
156
- font-family: ${He.fontFamily};
157
- font-size: ${He.fontSize};
158
- font-weight: ${He.fontWeight};
159
- letter-spacing: ${He.letterSpacing};
160
- line-height: ${He.lineHeight};
161
- text-transform: ${He.textTransform};
156
+ font-family: ${Ge.fontFamily};
157
+ font-size: ${Ge.fontSize};
158
+ font-weight: ${Ge.fontWeight};
159
+ letter-spacing: ${Ge.letterSpacing};
160
+ line-height: ${Ge.lineHeight};
161
+ text-transform: ${Ge.textTransform};
162
162
  }
163
163
  `,ir=T`
164
164
  .ft-typography--caption {
@@ -218,7 +218,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
218
218
  text-decoration: ${r.textDecoration};
219
219
  text-transform: ${r.textCase};
220
220
  }
221
- `}var fp=[Object.keys(Mn).map(t=>x3(t))];var pp=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},Ge=class extends F{constructor(){super(...arguments),this.variant=xe.body2medium}render(){return this.element?Jo`
221
+ `}var fp=[Object.keys(Mn).map(t=>x3(t))];var pp=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},We=class extends F{constructor(){super(...arguments),this.variant=xe.body2medium}render(){return this.element?Jo`
222
222
  <${Qo(this.element)}
223
223
  part="text"
224
224
  class="ftds-typography ftds-typography--${this.variant}">
@@ -226,7 +226,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
226
226
  </${Qo(this.element)}>
227
227
  `:Jo`
228
228
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
229
- `}};Ge.styles=[...fp];pp([g()],Ge.prototype,"element",void 0);pp([g()],Ge.prototype,"variant",void 0);K("ft-typography")(me);K("ftds-typography")(Ge);function Qn(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function up(t){return Qn(t).split("|").pop()}function hp(t){return Qn(t).split("|").join(" > ")}function mp(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>mp(r,t.selected)),value:t.value}}function gp(t){return yt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function rc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>mp(e,!1))}}function yp(t){return yt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var bp=i.extend("--ft-ripple-color","",M.colorContent),_={color:bp,backgroundColor:i.extend("--ft-ripple-background-color","",bp),opacityContentOnSurfacePressed:i.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},vp=i.extend("--ft-ripple-color","",M.colorPrimary),xp={color:vp,backgroundColor:i.extend("--ft-ripple-background-color","",vp)},Sp=i.extend("--ft-ripple-color","",M.colorSecondary),Cp={color:Sp,backgroundColor:i.extend("--ft-ripple-background-color","",Sp)},Op=T`
229
+ `}};We.styles=[...fp];pp([g()],We.prototype,"element",void 0);pp([g()],We.prototype,"variant",void 0);K("ft-typography")(me);K("ftds-typography")(We);function Qn(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function up(t){return Qn(t).split("|").pop()}function hp(t){return Qn(t).split("|").join(" > ")}function mp(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>mp(r,t.selected)),value:t.value}}function gp(t){return yt(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function rc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>mp(e,!1))}}function yp(t){return yt(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var bp=i.extend("--ft-ripple-color","",M.colorContent),_={color:bp,backgroundColor:i.extend("--ft-ripple-background-color","",bp),opacityContentOnSurfacePressed:i.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.create("--ft-ripple-border-radius","","SIZE","0px")},vp=i.extend("--ft-ripple-color","",M.colorPrimary),xp={color:vp,backgroundColor:i.extend("--ft-ripple-background-color","",vp)},Sp=i.extend("--ft-ripple-color","",M.colorSecondary),Cp={color:Sp,backgroundColor:i.extend("--ft-ripple-background-color","",Sp)},Op=T`
230
230
  :host {
231
231
  display: contents;
232
232
  }
@@ -592,7 +592,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
592
592
  ${v(we.size,ne.iconSize)};
593
593
  ${v(we.color,"var(--button-internal-color)")};
594
594
  }
595
- `,Gt];var ji={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",M.colorOnSurface),borderRadiusM:i.external(M.borderRadiusM,"Design system"),colorOutline:i.external(M.colorOutline,"Design system"),colorOnSurface:i.external(M.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(M.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(M.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(M.colorPrimary,"Design system"),colorOnPrimary:i.external(M.colorOnPrimary,"Design system"),fontFamily:i.external(He.fontFamily,"Body2 typography"),fontSize:i.external(He.fontSize,"Body2 typography"),fontWeight:i.external(He.fontWeight,"Body2 typography"),letterSpacing:i.external(He.letterSpacing,"Body2 typography"),lineHeight:i.external(He.lineHeight,"Body2 typography"),textTransform:i.external(He.textTransform,"Body2 typography")},_p=T`
595
+ `,Gt];var ji={buttonMoreColor:i.extend("--ft-filter-level-button-more-color","",M.colorOnSurface),borderRadiusM:i.external(M.borderRadiusM,"Design system"),colorOutline:i.external(M.colorOutline,"Design system"),colorOnSurface:i.external(M.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(M.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:i.external(M.colorOnSurfaceDisabled,"Design system"),colorPrimary:i.external(M.colorPrimary,"Design system"),colorOnPrimary:i.external(M.colorOnPrimary,"Design system"),fontFamily:i.external(Ge.fontFamily,"Body2 typography"),fontSize:i.external(Ge.fontSize,"Body2 typography"),fontWeight:i.external(Ge.fontWeight,"Body2 typography"),letterSpacing:i.external(Ge.letterSpacing,"Body2 typography"),lineHeight:i.external(Ge.lineHeight,"Body2 typography"),textTransform:i.external(Ge.textTransform,"Body2 typography")},_p=T`
596
596
  .ft-filter-level--container {
597
597
  display: flex;
598
598
  flex-direction: column;
@@ -704,10 +704,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:i.extend("--ftds-con
704
704
  position: relative;
705
705
  word-break: break-word;
706
706
  }
707
- `;var S3="ft-app-info",xo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};xo.eventName="authentication-change";var C3={session:(t,e)=>{Fe(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new xo(e.payload)),0))}},W=mo.get({name:S3,reducers:C3,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 Jn=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},YA=Xe(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=>go.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Jn([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Jn([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Jn([Uo({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),Jn([Uo({store:W.name})],e.prototype,"uiLocale",void 0),e});var So=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 ea=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:So.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):So.await()}};var St=class extends ea{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 Qt,this.cache=e?n.commonCache:new Qt}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 ta=class extends St{async listMySearches(){let{session:e}=W.getState();return V1(e,ze.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ra=class extends St{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 oa=class extends St{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 ia=class extends St{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 O3="ft-user-assets",E3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(Mt).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;nc(t,r,[...ic(t,r),n]),Tp(t,r,1,o),Mp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;nc(t,r,ic(t,r).map(n=>n.id===o.id?o:n)),Mp(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;nc(t,r,ic(t,r).filter(a=>a.id!==n)),Tp(t,r,-1,o)}},Np={[Mt.SEARCHES]:"savedSearches",[Mt.BOOKMARKS]:"bookmarks",[Mt.BOOKS]:void 0,[Mt.COLLECTIONS]:void 0},ic=(t,e)=>{var r;let o=Np[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},nc=(t,e,r)=>{let o=Np[e];o&&(t[o]=r)},Tp=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===Mt.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Mp=(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)},Ct=mo.get({name:O3,reducers:E3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Mt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ac=class{constructor(e=new oa,r=new ia){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ra,this.savedSearchesService=new ta,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Fe((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(),Ct.actions.clearAssetCount(),Ct.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ct.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ct.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ct.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Ct.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Ct.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Ct.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Ct.getState().assetCounts.bookmarkByMap).length!==0;e===Mt.BOOKMARKS&&r&&Ct.actions.clearBookmarkCountByMap(),Ct.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;Ct.actions.bookmarks(r)}}},L3=new ac;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=L3);var sc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new sc;var Pp,si=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},A3=Symbol("clearAfterUnitTest"),na=class extends Tn(St){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pp]=()=>{this.defaultMessages={},this.cache=new Qt,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};Fe(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 Tr((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 Jr)&&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 si({loadedContexts:e})),this.dispatchEvent(new si({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new si({loadedContexts:[e]})),this.dispatchEvent(new si({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>_n(0).then(()=>o()).catch(()=>null)))}};Pp=A3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Zi=window.FluidTopicsI18nService,lc=window.FluidTopicsCustomI18nService;var cc=class{highlightHtml(e,r,o){rl(e,r,o)}};window.FluidTopicsHighlightHtmlService=new cc;var dc=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 go.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 dc;var qi=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 Dr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var fc=class{urlToSearchRequest(e){return qi.get().parse(e)}searchRequestToUrl(e){return qi.get().serialize(e)}};window.FluidTopicsUrlService=new fc;var Co=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Co.eventName="change";var pc=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))}},Ip=new pc;var aa=class t extends mr{static build(){return new t(window.history,Ip,()=>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),Fe(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Co(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(Co.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Co.eventName,e)}currentItem(){return to(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 to(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 to(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=aa.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 zp=T`
708
- `;function $p(t,e){let{authenticationRequired:r,session:o}=W.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var We=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},Oe=class extends F{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=()=>So.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Qt,this.cleanSessionDebouncer=new he,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return E`
707
+ `;var S3="ft-app-info",xo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};xo.eventName="authentication-change";var C3={session:(t,e)=>{Ue(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.dispatchEvent(new xo(e.payload)),0))}},W=mo.get({name:S3,reducers:C3,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 Jn=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},YA=Xe(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=>go.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Jn([g({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Jn([g({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Jn([Uo({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),Jn([Uo({store:W.name})],e.prototype,"uiLocale",void 0),e});var So=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 ea=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:So.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):So.await()}};var St=class extends ea{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 Qt,this.cache=e?n.commonCache:new Qt}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 ta=class extends St{async listMySearches(){let{session:e}=W.getState();return V1(e,$e.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var ra=class extends St{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 oa=class extends St{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 ia=class extends St{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 O3="ft-user-assets",E3={setAssetCount:(t,e)=>{let{userAssetType:r,count:o}=e.payload.assetCount;t.assetCounts.allAsset[r]=o},clearAssetCount:t=>{Object.values(Mt).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;nc(t,r,[...ic(t,r),n]),Tp(t,r,1,o),Mp(t,n)},editAsset:(t,e)=>{let{assetType:r,asset:o}=e.payload;nc(t,r,ic(t,r).map(n=>n.id===o.id?o:n)),Mp(t,o)},removeAsset:(t,e)=>{let{assetType:r,mapId:o,assetId:n}=e.payload;nc(t,r,ic(t,r).filter(a=>a.id!==n)),Tp(t,r,-1,o)}},Np={[Mt.SEARCHES]:"savedSearches",[Mt.BOOKMARKS]:"bookmarks",[Mt.BOOKS]:void 0,[Mt.COLLECTIONS]:void 0},ic=(t,e)=>{var r;let o=Np[e];return o?(r=t[o])!==null&&r!==void 0?r:[]:[]},nc=(t,e,r)=>{let o=Np[e];o&&(t[o]=r)},Tp=(t,e,r,o)=>{let n=t.assetCounts.allAsset[e];if(n!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,n+r),e===Mt.BOOKMARKS&&o)){let a=t.assetCounts.bookmarkByMap[o];t.assetCounts.bookmarkByMap[o]=Math.max(0,a+r)}},Mp=(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)},Ct=mo.get({name:O3,reducers:E3,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Mt).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ac=class{constructor(e=new oa,r=new ia){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ra,this.savedSearchesService=new ta,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(),Ct.actions.clearAssetCount(),Ct.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ct.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ct.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ct.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Ct.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Ct.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Ct.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Ct.getState().assetCounts.bookmarkByMap).length!==0;e===Mt.BOOKMARKS&&r&&Ct.actions.clearBookmarkCountByMap(),Ct.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;Ct.actions.bookmarks(r)}}},L3=new ac;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=L3);var sc=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new sc;var Pp,si=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},A3=Symbol("clearAfterUnitTest"),na=class extends Tn(St){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pp]=()=>{this.defaultMessages={},this.cache=new Qt,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 Tr((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 Jr)&&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 si({loadedContexts:e})),this.dispatchEvent(new si({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new si({loadedContexts:[e]})),this.dispatchEvent(new si({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>_n(0).then(()=>o()).catch(()=>null)))}};Pp=A3;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends na{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Zi=window.FluidTopicsI18nService,lc=window.FluidTopicsCustomI18nService;var cc=class{highlightHtml(e,r,o){rl(e,r,o)}};window.FluidTopicsHighlightHtmlService=new cc;var dc=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 go.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 dc;var qi=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 Dr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var fc=class{urlToSearchRequest(e){return qi.get().parse(e)}searchRequestToUrl(e){return qi.get().serialize(e)}};window.FluidTopicsUrlService=new fc;var Co=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Co.eventName="change";var pc=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))}},Ip=new pc;var aa=class t extends mr{static build(){return new t(window.history,Ip,()=>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 Co(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(Co.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Co.eventName,e)}currentItem(){return to(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 to(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 to(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=aa.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 zp=T`
708
+ `;function $p(t,e){let{authenticationRequired:r,session:o}=W.getState();return r&&!o?.sessionAuthenticated?Promise.resolve(e):t()}var Ve=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},Oe=class extends F{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=()=>So.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Qt,this.cleanSessionDebouncer=new he,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return E`
709
709
  <slot></slot>
710
- `}connectedCallback(){super.connectedCallback(),W.addEventListener(xo.eventName,this.reloadConfiguration)}disconnectedCallback(){W.addEventListener(xo.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=>Zi.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",()=>$p(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Oe.elementDefinitions={};Oe.styles=zp;We([g()],Oe.prototype,"baseUrl",void 0);We([g()],Oe.prototype,"apiIntegrationIdentifier",void 0);We([g()],Oe.prototype,"apiIntegrationAppVersion",void 0);We([g()],Oe.prototype,"uiLocale",void 0);We([ke(null)],Oe.prototype,"availableUiLocales",void 0);We([ke(null)],Oe.prototype,"metadataConfiguration",void 0);We([g({type:Boolean})],Oe.prototype,"editorMode",void 0);We([g({type:Boolean})],Oe.prototype,"noCustom",void 0);We([g({type:Boolean})],Oe.prototype,"openExternalDocumentInNewTab",void 0);We([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Oe.prototype,"noCustomComponent",void 0);We([g({type:Boolean})],Oe.prototype,"withManualResources",void 0);We([g({type:Boolean})],Oe.prototype,"navigatorOnline",void 0);We([g({type:Boolean})],Oe.prototype,"forcedOffline",void 0);We([g({type:Object})],Oe.prototype,"apiProvider",void 0);We([g({type:Boolean})],Oe.prototype,"authenticationRequired",void 0);We([ke([])],Oe.prototype,"messageContexts",void 0);We([ke(void 0)],Oe.prototype,"session",void 0);We([H()],Oe.prototype,"localesConfiguration",void 0);We([H()],Oe.prototype,"availableContentLocales",void 0);K("ft-app-context")(Oe);var uc=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-]+$/)}},li=new uc;var w3=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},Xi=Symbol("i18nAttributes"),Dp=Symbol("i18nListAttributes"),Bp=Symbol("i18nProperties"),sa=Symbol("i18nContexts"),Yi=Symbol("i18nUnsubs"),da=Xe(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?lc:Zi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:u,argsProvider:h}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let y=u??(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(li.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=(u,h,y)=>y?.context&&y.key&&a(u,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...u})}:y;(s=this[Xi])===null||s===void 0||s.forEach((u,h)=>d[h]=f(u,h,d[h])),(l=this[Dp])===null||l===void 0||l.forEach((u,h)=>{var y;return d[h]=(y=d[h])===null||y===void 0?void 0:y.map(C=>f(u,h,C))})}updateI18nProperties(a){var s;(s=this[Bp])===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[sa].set(d,{isCustomContext:l}),this[Yi].has(d)||this[Yi].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[sa].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[sa].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Yi].forEach(a=>a()),this[Yi].clear()}}return e=sa,r=Yi,w3([g({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),la=class extends da(F){},ca=class extends da(Fi){};var hc=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?li.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},R3=new hc;var Fp=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:Ut,converter:li,...e}),r[Xi]=(n=r[Xi])!==null&&n!==void 0?n:new Map,r[Xi].set(o,t??{})};var Up=T`
710
+ `}connectedCallback(){super.connectedCallback(),W.addEventListener(xo.eventName,this.reloadConfiguration)}disconnectedCallback(){W.addEventListener(xo.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=>Zi.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",()=>$p(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};Oe.elementDefinitions={};Oe.styles=zp;Ve([g()],Oe.prototype,"baseUrl",void 0);Ve([g()],Oe.prototype,"apiIntegrationIdentifier",void 0);Ve([g()],Oe.prototype,"apiIntegrationAppVersion",void 0);Ve([g()],Oe.prototype,"uiLocale",void 0);Ve([ke(null)],Oe.prototype,"availableUiLocales",void 0);Ve([ke(null)],Oe.prototype,"metadataConfiguration",void 0);Ve([g({type:Boolean})],Oe.prototype,"editorMode",void 0);Ve([g({type:Boolean})],Oe.prototype,"noCustom",void 0);Ve([g({type:Boolean})],Oe.prototype,"openExternalDocumentInNewTab",void 0);Ve([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Oe.prototype,"noCustomComponent",void 0);Ve([g({type:Boolean})],Oe.prototype,"withManualResources",void 0);Ve([g({type:Boolean})],Oe.prototype,"navigatorOnline",void 0);Ve([g({type:Boolean})],Oe.prototype,"forcedOffline",void 0);Ve([g({type:Object})],Oe.prototype,"apiProvider",void 0);Ve([g({type:Boolean})],Oe.prototype,"authenticationRequired",void 0);Ve([ke([])],Oe.prototype,"messageContexts",void 0);Ve([ke(void 0)],Oe.prototype,"session",void 0);Ve([H()],Oe.prototype,"localesConfiguration",void 0);Ve([H()],Oe.prototype,"availableContentLocales",void 0);K("ft-app-context")(Oe);var uc=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-]+$/)}},li=new uc;var w3=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},Xi=Symbol("i18nAttributes"),Dp=Symbol("i18nListAttributes"),Bp=Symbol("i18nProperties"),sa=Symbol("i18nContexts"),Yi=Symbol("i18nUnsubs"),da=Xe(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?lc:Zi}i18n(a){let{context:s,key:l,message:d}=a,{custom:f,args:u,argsProvider:h}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,f);let y=u??(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(li.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=(u,h,y)=>y?.context&&y.key&&a(u,h,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...u})}:y;(s=this[Xi])===null||s===void 0||s.forEach((u,h)=>d[h]=f(u,h,d[h])),(l=this[Dp])===null||l===void 0||l.forEach((u,h)=>{var y;return d[h]=(y=d[h])===null||y===void 0?void 0:y.map(C=>f(u,h,C))})}updateI18nProperties(a){var s;(s=this[Bp])===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[sa].set(d,{isCustomContext:l}),this[Yi].has(d)||this[Yi].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[sa].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[sa].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Yi].forEach(a=>a()),this[Yi].clear()}}return e=sa,r=Yi,w3([g({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}),la=class extends da(F){},ca=class extends da(Fi){};var hc=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(o=>typeof o=="string"?li.fromAttribute(o):o):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},R3=new hc;var Fp=(t,e)=>(r,o)=>{var n;r.constructor.createProperty(o,{type:Object,hasChanged:Ut,converter:li,...e}),r[Xi]=(n=r[Xi])!==null&&n!==void 0?n:new Map,r[Xi].set(o,t??{})};var Up=T`
711
711
  `;var Qi=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},Vt=class extends ca{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":$:E`
712
712
  <span class="ft-i18n">
713
713
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
@@ -1312,7 +1312,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1312
1312
  <div></div>
1313
1313
  <div></div>
1314
1314
  </div>
1315
- `}};Ao.styles=Ep;K("ft-loader")(Ao);var Gr=t=>t??$;var Ve=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 Dl(F){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=E`
1315
+ `}};Ao.styles=Ep;K("ft-loader")(Ao);var Gr=t=>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},be=class extends Dl(F){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=E`
1316
1316
  <ft-ripple part="ripple"
1317
1317
  ?disabled=${this.isDisabled()}
1318
1318
  ?activated=${this.activated}
@@ -1354,7 +1354,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1354
1354
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1355
1355
  `:E`
1356
1356
  <slot part="icon" name="icon"></slot>
1357
- `}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 Xt(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":Ne,"ft-icon":ye,"ft-loader":Ao};Ve([g()],be.prototype,"href",void 0);Ve([g()],be.prototype,"target",void 0);Ve([g()],be.prototype,"type",void 0);Ve([g({type:Boolean})],be.prototype,"disabled",void 0);Ve([g()],be.prototype,"label",void 0);Ve([g()],be.prototype,"icon",void 0);Ve([g()],be.prototype,"iconVariant",void 0);Ve([g({type:Boolean})],be.prototype,"trailingIcon",void 0);Ve([g({type:Boolean})],be.prototype,"loading",void 0);Ve([g({attribute:"aria-label"})],be.prototype,"ariaLabel",void 0);Ve([g()],be.prototype,"ariaHasPopup",void 0);Ve([g({attribute:"aria-pressed"})],be.prototype,"ariaPressed",void 0);Ve([g()],be.prototype,"tooltipPosition",void 0);Ve([g({type:Boolean})],be.prototype,"hideTooltip",void 0);Ve([g({type:Boolean})],be.prototype,"forceTooltip",void 0);Ve([g({type:Boolean})],be.prototype,"activated",void 0);Ve([B(".ft-button")],be.prototype,"button",void 0);Ve([B(".ft-button--label slot")],be.prototype,"slottedContent",void 0);Ve([B("[part=tooltip]")],be.prototype,"tooltip",void 0);var Ea=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},$e=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 Te.button}};$e.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":me};$e.styles=[bt,Rp];Ea([g({type:Boolean})],$e.prototype,"primary",void 0);Ea([g({type:Boolean})],$e.prototype,"outlined",void 0);Ea([g({type:Boolean})],$e.prototype,"dense",void 0);Ea([g({type:Boolean})],$e.prototype,"round",void 0);var cd={...S,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},s0=[T`
1357
+ `}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 Xt(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":Ne,"ft-icon":ye,"ft-loader":Ao};je([g()],be.prototype,"href",void 0);je([g()],be.prototype,"target",void 0);je([g()],be.prototype,"type",void 0);je([g({type:Boolean})],be.prototype,"disabled",void 0);je([g()],be.prototype,"label",void 0);je([g()],be.prototype,"icon",void 0);je([g()],be.prototype,"iconVariant",void 0);je([g({type:Boolean})],be.prototype,"trailingIcon",void 0);je([g({type:Boolean})],be.prototype,"loading",void 0);je([g({attribute:"aria-label"})],be.prototype,"ariaLabel",void 0);je([g()],be.prototype,"ariaHasPopup",void 0);je([g({attribute:"aria-pressed"})],be.prototype,"ariaPressed",void 0);je([g()],be.prototype,"tooltipPosition",void 0);je([g({type:Boolean})],be.prototype,"hideTooltip",void 0);je([g({type:Boolean})],be.prototype,"forceTooltip",void 0);je([g({type:Boolean})],be.prototype,"activated",void 0);je([B(".ft-button")],be.prototype,"button",void 0);je([B(".ft-button--label slot")],be.prototype,"slottedContent",void 0);je([B("[part=tooltip]")],be.prototype,"tooltip",void 0);var Ea=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},De=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 Te.button}};De.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":me};De.styles=[bt,Rp];Ea([g({type:Boolean})],De.prototype,"primary",void 0);Ea([g({type:Boolean})],De.prototype,"outlined",void 0);Ea([g({type:Boolean})],De.prototype,"dense",void 0);Ea([g({type:Boolean})],De.prototype,"round",void 0);var cd={...S,iconOnlyScale:i.create("--ft-button-icon-only-scale","","NUMBER","1")},s0=[T`
1358
1358
  :host {
1359
1359
  display: inline-block;
1360
1360
  max-width: 100%;
@@ -1824,7 +1824,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1824
1824
  .ftds--size-small.ft-button--icon-only {
1825
1825
  width: ${S.smallIconOnlyWidth};
1826
1826
  }
1827
- `,Gt];var La=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},mt=class extends kt(be){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ue.brand,this.iconVariant=Je.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 Ke.large:return xe.body2medium;case Ke.medium:return xe.caption1medium;case Ke.small:return xe.caption2medium}}};mt.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":Ge};mt.styles=[bt,s0];La([g({type:Boolean})],mt.prototype,"primary",void 0);La([g({type:Boolean})],mt.prototype,"secondary",void 0);La([g({type:Boolean})],mt.prototype,"tertiary",void 0);La([g({type:Boolean})],mt.prototype,"round",void 0);K("ft-button")($e);K("ftds-button")(mt);var Pt=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},dd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},De=class extends F{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 Te.body2}renderBoxContainer(){return E`
1827
+ `,Gt];var La=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},mt=class extends kt(be){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=He.brand,this.iconVariant=Je.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 Ke.large:return xe.body2medium;case Ke.medium:return xe.caption1medium;case Ke.small:return xe.caption2medium}}};mt.elementDefinitions={...be.elementDefinitions,"ft-or-ftds-typography":We};mt.styles=[bt,s0];La([g({type:Boolean})],mt.prototype,"primary",void 0);La([g({type:Boolean})],mt.prototype,"secondary",void 0);La([g({type:Boolean})],mt.prototype,"tertiary",void 0);La([g({type:Boolean})],mt.prototype,"round",void 0);K("ft-button")(De);K("ftds-button")(mt);var Pt=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},dd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},Be=class extends F{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 Te.body2}renderBoxContainer(){return E`
1828
1828
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1829
1829
  <ft-ripple part="checkbox-ripple"
1830
1830
  ?disabled=${this.disabled}
@@ -1860,7 +1860,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1860
1860
  <ft-typography variant="${this.typographyVariant}" part="checkbox-body">
1861
1861
  <slot @slotchange=${this.onSlotchange}></slot>
1862
1862
  </ft-typography>
1863
- `}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 dd(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)}};De.elementDefinitions={"ft-ripple":re,"ft-typography":me};Pt([g()],De.prototype,"name",void 0);Pt([g()],De.prototype,"value",void 0);Pt([g()],De.prototype,"label",void 0);Pt([g()],De.prototype,"helper",void 0);Pt([g({type:Boolean,reflect:!0})],De.prototype,"checked",void 0);Pt([g({type:Boolean})],De.prototype,"indeterminate",void 0);Pt([g({type:Boolean})],De.prototype,"disabled",void 0);Pt([g({type:Boolean})],De.prototype,"error",void 0);Pt([g()],De.prototype,"legendColor",void 0);Pt([B(".ft-checkbox")],De.prototype,"container",void 0);Pt([B("ft-ripple")],De.prototype,"ripple",void 0);Pt([B("input")],De.prototype,"input",void 0);var Et={textColor:i.extend("--ft-checkbox-text-color","",M.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",G.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",M.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",M.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",M.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",M.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",M.colorError)},l0=T`
1863
+ `}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 dd(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":me};Pt([g()],Be.prototype,"name",void 0);Pt([g()],Be.prototype,"value",void 0);Pt([g()],Be.prototype,"label",void 0);Pt([g()],Be.prototype,"helper",void 0);Pt([g({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);Pt([g({type:Boolean})],Be.prototype,"indeterminate",void 0);Pt([g({type:Boolean})],Be.prototype,"disabled",void 0);Pt([g({type:Boolean})],Be.prototype,"error",void 0);Pt([g()],Be.prototype,"legendColor",void 0);Pt([B(".ft-checkbox")],Be.prototype,"container",void 0);Pt([B("ft-ripple")],Be.prototype,"ripple",void 0);Pt([B("input")],Be.prototype,"input",void 0);var Et={textColor:i.extend("--ft-checkbox-text-color","",M.colorOnSurfaceHigh),fontSize:i.extend("--ft-checkbox-font-size","",G.fontSize),activeColor:i.extend("--ft-checkbox-active-color","",M.colorPrimary),checkColor:i.extend("--ft-checkbox-check-color","",M.colorOnPrimary),borderColor:i.extend("--ft-checkbox-border-color","",M.colorOnSurfaceMedium),disabledColor:i.extend("--ft-checkbox-disabled-color","",M.colorOnSurfaceDisabled),errorColor:i.extend("--ft-checkbox-error-color","",M.colorError)},l0=T`
1864
1864
  * {
1865
1865
  box-sizing: border-box;
1866
1866
  }
@@ -1953,7 +1953,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
1953
1953
  }
1954
1954
  }
1955
1955
  }
1956
- `;var wo=class extends De{get typographyVariant(){return Te.body2}};wo.styles=l0;var c0=T`
1956
+ `;var wo=class extends Be{get typographyVariant(){return Te.body2}};wo.styles=l0;var c0=T`
1957
1957
  * {
1958
1958
  box-sizing: border-box;
1959
1959
  --input-size: calc(${q.boxSize} + 2 * (${q.focusOutlineOffset} + ${q.focusOutlineWidth}));
@@ -2146,18 +2146,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2146
2146
  display: flex;
2147
2147
  flex-direction: column;
2148
2148
 
2149
- max-width: ${je.maxWidth};
2149
+ max-width: ${ze.maxWidth};
2150
2150
  width: max-content;
2151
2151
 
2152
- padding-left: ${je.horizontalPadding};
2153
- padding-right: ${je.horizontalPadding};
2154
- padding-top: ${je.verticalPadding};
2155
- padding-bottom: ${je.verticalPadding};
2156
- gap: ${je.gap};
2152
+ padding-left: ${ze.horizontalPadding};
2153
+ padding-right: ${ze.horizontalPadding};
2154
+ padding-top: ${ze.verticalPadding};
2155
+ padding-bottom: ${ze.verticalPadding};
2156
+ gap: ${ze.gap};
2157
2157
 
2158
- background-color: ${je.backgroundColor};
2159
- border-radius: ${je.borderRadius};
2160
- box-shadow: ${je.shadow};
2158
+ background-color: ${ze.backgroundColor};
2159
+ border-radius: ${ze.borderRadius};
2160
+ box-shadow: ${ze.shadow};
2161
2161
 
2162
2162
  &.positioned {
2163
2163
  visibility: visible;
@@ -2169,9 +2169,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2169
2169
 
2170
2170
  display: flex;
2171
2171
  align-items: center;
2172
- gap: ${je.gap};
2172
+ gap: ${ze.gap};
2173
2173
 
2174
- color: ${je.titleColor};
2174
+ color: ${ze.titleColor};
2175
2175
  }
2176
2176
 
2177
2177
  [part="heading"] ftds-typography {
@@ -2183,19 +2183,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2183
2183
  }
2184
2184
 
2185
2185
  [part="content"] {
2186
- color: ${je.bodyColor};
2186
+ color: ${ze.bodyColor};
2187
2187
  }
2188
2188
 
2189
2189
  [part="popover-sections"] {
2190
2190
  display: flex;
2191
2191
  flex-direction: column;
2192
- gap: ${je.multiSectionVerticalGap};
2192
+ gap: ${ze.multiSectionVerticalGap};
2193
2193
  }
2194
2194
 
2195
2195
  .hidden {
2196
2196
  display: none;
2197
2197
  }
2198
- `;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},Se=class extends F{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Pe.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Ke.medium,this.openButtonFamily=Ue.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?$:E`
2198
+ `;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},Se=class extends F{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=Pe.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=Ke.medium,this.openButtonFamily=He.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?$:E`
2199
2199
  <div part="root-container" class="${se(e)}">
2200
2200
  <ftds-button @focusin=${this.close}
2201
2201
  part="opening-button"
@@ -2217,7 +2217,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2217
2217
  <ftds-button part="closing-button"
2218
2218
  icon="${Pe.CLOSE}"
2219
2219
  size="${Ke.small}"
2220
- family="${Ue.neutral}"
2220
+ family="${He.neutral}"
2221
2221
  label="${this.closeButtonLabel}"
2222
2222
  @click=${this.closeAndFocusOpeningButton}></ftds-button>
2223
2223
  </div>
@@ -2246,7 +2246,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2246
2246
  </div>
2247
2247
  </div>
2248
2248
  </div>
2249
- `:$}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 Xt(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 Ni(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))}};Se.elementDefinitions={"ftds-typography":Ge,"ftds-button":mt};Se.styles=d0;qe([g()],Se.prototype,"heading",void 0);qe([g()],Se.prototype,"closeButtonLabel",void 0);qe([g()],Se.prototype,"openButtonIcon",void 0);qe([g()],Se.prototype,"openButtonLabel",void 0);qe([g()],Se.prototype,"openButtonTooltipPosition",void 0);qe([g({type:Boolean})],Se.prototype,"opened",void 0);qe([g({type:Boolean})],Se.prototype,"hidden",void 0);qe([g({type:Ke})],Se.prototype,"openButtonSize",void 0);qe([g({type:Ue})],Se.prototype,"openButtonFamily",void 0);qe([B('[part="opening-button"]')],Se.prototype,"openingButton",void 0);qe([B('[part="closing-button"]')],Se.prototype,"closingButton",void 0);qe([B('[part="wrapper"]')],Se.prototype,"popoverWrapper",void 0);qe([B('[part="content"]')],Se.prototype,"popoverContentDiv",void 0);qe([B('[part="popover-content-slot"]')],Se.prototype,"popoverContentSlot",void 0);qe([B('[part="popover-link"]')],Se.prototype,"slottedLinkContent",void 0);qe([B('[part="popover-link-typography"]')],Se.prototype,"popoverLinkTypography",void 0);qe([B('[part="popover-sections"]')],Se.prototype,"popoverSectionsDiv",void 0);qe([B('[part="popover-sections-slot"]')],Se.prototype,"popoverSectionsSlot",void 0);var f0=T`
2249
+ `:$}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 Xt(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:ze.maxWidth},{x:s,y:l}=await Ni(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))}};Se.elementDefinitions={"ftds-typography":We,"ftds-button":mt};Se.styles=d0;qe([g()],Se.prototype,"heading",void 0);qe([g()],Se.prototype,"closeButtonLabel",void 0);qe([g()],Se.prototype,"openButtonIcon",void 0);qe([g()],Se.prototype,"openButtonLabel",void 0);qe([g()],Se.prototype,"openButtonTooltipPosition",void 0);qe([g({type:Boolean})],Se.prototype,"opened",void 0);qe([g({type:Boolean})],Se.prototype,"hidden",void 0);qe([g({type:Ke})],Se.prototype,"openButtonSize",void 0);qe([g({type:He})],Se.prototype,"openButtonFamily",void 0);qe([B('[part="opening-button"]')],Se.prototype,"openingButton",void 0);qe([B('[part="closing-button"]')],Se.prototype,"closingButton",void 0);qe([B('[part="wrapper"]')],Se.prototype,"popoverWrapper",void 0);qe([B('[part="content"]')],Se.prototype,"popoverContentDiv",void 0);qe([B('[part="popover-content-slot"]')],Se.prototype,"popoverContentSlot",void 0);qe([B('[part="popover-link"]')],Se.prototype,"slottedLinkContent",void 0);qe([B('[part="popover-link-typography"]')],Se.prototype,"popoverLinkTypography",void 0);qe([B('[part="popover-sections"]')],Se.prototype,"popoverSectionsDiv",void 0);qe([B('[part="popover-sections-slot"]')],Se.prototype,"popoverSectionsSlot",void 0);var f0=T`
2250
2250
  .ftds-popover-section--heading ftds-typography {
2251
2251
  flex-grow: 1;
2252
2252
  flex-shrink: 1;
@@ -2256,13 +2256,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2256
2256
  }
2257
2257
 
2258
2258
  .ftds-popover-section--content {
2259
- color: ${je.bodyColor};
2259
+ color: ${ze.bodyColor};
2260
2260
  }
2261
2261
 
2262
2262
  .ftds-popover-section--container {
2263
2263
  display: flex;
2264
2264
  flex-direction: column;
2265
- gap: ${je.contentSectionVerticalGap};
2265
+ gap: ${ze.contentSectionVerticalGap};
2266
2266
  }
2267
2267
  `;var fd=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},Er=class extends F{constructor(){super(...arguments),this.heading=""}render(){return E`
2268
2268
  <div class="ftds-popover-section--container">
@@ -2285,7 +2285,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2285
2285
  <div class="ftds-popover-section--heading" part="heading" id="ftds-popover-section-heading">
2286
2286
  <ftds-typography element="span" variant="${xe.body2semibold}">${this.heading}</ftds-typography>
2287
2287
  </div>
2288
- `:$}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=Xt(this.popoverSectionLinkSlot).trim().length===0}};Er.elementDefinitions={"ftds-typography":Ge};Er.styles=f0;fd([g()],Er.prototype,"heading",void 0);fd([B("[part=popover-section-link-typography]")],Er.prototype,"popoverSectionLinkTypography",void 0);fd([B("[part=popover-section-link]")],Er.prototype,"popoverSectionLinkSlot",void 0);K("ftds-popover")(Se);K("ftds-popover-section")(Er);var p0=T`
2288
+ `:$}updated(e){super.updated(e),this.popoverSectionLinkTypography.hidden=Xt(this.popoverSectionLinkSlot).trim().length===0}};Er.elementDefinitions={"ftds-typography":We};Er.styles=f0;fd([g()],Er.prototype,"heading",void 0);fd([B("[part=popover-section-link-typography]")],Er.prototype,"popoverSectionLinkTypography",void 0);fd([B("[part=popover-section-link]")],Er.prototype,"popoverSectionLinkSlot",void 0);K("ftds-popover")(Se);K("ftds-popover-section")(Er);var p0=T`
2289
2289
 
2290
2290
  .ftds-link {
2291
2291
  display: inline-flex;
@@ -2392,7 +2392,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2392
2392
  `}resolveIcon(){return this.target===Aa.BLANK?E`
2393
2393
  <ft-icon aria-label="${this.openInNewTabLabel}" part="icon" .variant=${Je.fluid_topics} .value=${this.icon}>
2394
2394
  </ft-icon>
2395
- `:E``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Lt.elementDefinitions={"ftds-typography":Ge,"ft-icon":ye};Lt.styles=[bt,p0];fn([g()],Lt.prototype,"href",void 0);fn([g()],Lt.prototype,"variant",void 0);fn([g({type:Boolean})],Lt.prototype,"underlined",void 0);fn([g()],Lt.prototype,"openInNewTabLabel",void 0);fn([g()],Lt.prototype,"target",void 0);K("ftds-link")(Lt);var pd=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ui=class extends kt(De){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=Ue.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return E`
2395
+ `:E``}get resolveVariantClasses(){return{["ftds-link--variant-"+this.variant]:!0}}onSlotchange(){this.requestUpdate()}};Lt.elementDefinitions={"ftds-typography":We,"ft-icon":ye};Lt.styles=[bt,p0];fn([g()],Lt.prototype,"href",void 0);fn([g()],Lt.prototype,"variant",void 0);fn([g({type:Boolean})],Lt.prototype,"underlined",void 0);fn([g()],Lt.prototype,"openInNewTabLabel",void 0);fn([g()],Lt.prototype,"target",void 0);K("ftds-link")(Lt);var pd=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ui=class extends kt(Be){constructor(){super(...arguments),this.rippleUnbounded=!1,this.family=He.brand}get checkboxClasses(){return{...super.checkboxClasses,...this.getDesignSystemBaseClasses()}}render(){return E`
2396
2396
  <div part="checkbox-and-popover">
2397
2397
  <div part="checkbox-label-and-helper">
2398
2398
  <label class="${se(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
@@ -2421,7 +2421,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2421
2421
  <div part="checkbox-popover-wrapper">
2422
2422
  <slot @slotchange=${this.onSlotchange}></slot>
2423
2423
  </div>
2424
- </div>`}get typographyVariant(){return xe.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new pd(this.value,this.checked))}};ui.elementDefinitions={...De.elementDefinitions,"ftds-popover":Se,"ftds-link":Lt,"ftds-typography":Ge,"ft-icon":ye};ui.styles=[bt,c0];K("ft-checkbox")(wo);K("ftds-checkbox")(ui);var Wr=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=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},et=class extends F{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 E`
2424
+ </div>`}get typographyVariant(){return xe.body2medium}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new pd(this.value,this.checked))}};ui.elementDefinitions={...Be.elementDefinitions,"ftds-popover":Se,"ftds-link":Lt,"ftds-typography":We,"ft-icon":ye};ui.styles=[bt,c0];K("ft-checkbox")(wo);K("ftds-checkbox")(ui);var Wr=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=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},et=class extends F{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 E`
2425
2425
  <div class="${se(this.radioClasses)}"
2426
2426
  @click=${this.onClick}>
2427
2427
  <div class="ft-radio--box-container">
@@ -2644,7 +2644,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2644
2644
  .ft-radio ft-or-ftds-typography {
2645
2645
  padding-right: 2px;
2646
2646
  }
2647
- `;var hi=class extends kt(et){constructor(){super(...arguments),this.family=Ue.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return xe.body2medium}};hi.elementDefinitions={...et.elementDefinitions,"ft-or-ftds-typography":me};hi.styles=[bt,h0];var pn=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},It=class extends F{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 E`
2647
+ `;var hi=class extends kt(et){constructor(){super(...arguments),this.family=He.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return xe.body2medium}};hi.elementDefinitions={...et.elementDefinitions,"ft-or-ftds-typography":me};hi.styles=[bt,h0];var pn=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},It=class extends F{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 E`
2648
2648
  <slot @slotchange=${this.onSlotChange}
2649
2649
  @change=${this.onChange}
2650
2650
  @keydown=${this.onKeyDown}
@@ -2667,7 +2667,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2667
2667
  :host(:focus-visible) {
2668
2668
  outline: none;
2669
2669
  }
2670
- `;var un=class extends kt(It){constructor(){super(...arguments),this.family=Ue.brand}};un.styles=[bt,g0];K("ft-radio")(cr);K("ftds-radio")(hi);K("ft-radio-group")(Ro);K("ftds-radio-group")(un);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},Re=class extends da(Vl(F)){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 he(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 E`
2670
+ `;var un=class extends kt(It){constructor(){super(...arguments),this.family=He.brand}};un.styles=[bt,g0];K("ft-radio")(cr);K("ftds-radio")(hi);K("ft-radio-group")(Ro);K("ftds-radio-group")(un);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},Re=class extends da(Vl(F)){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 he(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 E`
2671
2671
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
2672
2672
  ${this.parent==null?null:E`
2673
2673
  <div tabindex="0"
@@ -2735,7 +2735,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2735
2735
  @change=${r=>this.optionsChanged(r,e)}>
2736
2736
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
2737
2737
  </ft-radio>
2738
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Re.elementDefinitions={"ft-button":$e,"ft-ripple":re,"ft-typography":me,"ft-checkbox":wo,"ft-icon":ye,"ft-radio":cr};Re.styles=_p;tt([g({type:String})],Re.prototype,"filterId",void 0);tt([g({type:Object})],Re.prototype,"parent",void 0);tt([g({type:Array,hasChanged:Ut})],Re.prototype,"options",void 0);tt([g({type:Boolean})],Re.prototype,"multivalued",void 0);tt([g({type:Boolean})],Re.prototype,"disabled",void 0);tt([g({type:Boolean})],Re.prototype,"hideSelectedOptions",void 0);tt([g({type:Boolean})],Re.prototype,"displayCount",void 0);tt([g({type:Boolean})],Re.prototype,"preventNavigation",void 0);tt([g({type:String})],Re.prototype,"filter",void 0);tt([g({type:String})],Re.prototype,"moreValuesButtonLabel",void 0);tt([g({type:String})],Re.prototype,"noValuesLabel",void 0);tt([g()],Re.prototype,"filteredOptionsNumberAriaNotification",void 0);tt([wr()],Re.prototype,"displayedValuesLimit",void 0);tt([B(".ft-filter-level--container")],Re.prototype,"container",void 0);tt([H()],Re.prototype,"radios",void 0);tt([H()],Re.prototype,"displayedPages",void 0);tt([H()],Re.prototype,"filteredOptions",void 0);var ct={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",M.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(M.colorSurface,"Design system")},y0=T`
2738
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Re.elementDefinitions={"ft-button":De,"ft-ripple":re,"ft-typography":me,"ft-checkbox":wo,"ft-icon":ye,"ft-radio":cr};Re.styles=_p;tt([g({type:String})],Re.prototype,"filterId",void 0);tt([g({type:Object})],Re.prototype,"parent",void 0);tt([g({type:Array,hasChanged:Ut})],Re.prototype,"options",void 0);tt([g({type:Boolean})],Re.prototype,"multivalued",void 0);tt([g({type:Boolean})],Re.prototype,"disabled",void 0);tt([g({type:Boolean})],Re.prototype,"hideSelectedOptions",void 0);tt([g({type:Boolean})],Re.prototype,"displayCount",void 0);tt([g({type:Boolean})],Re.prototype,"preventNavigation",void 0);tt([g({type:String})],Re.prototype,"filter",void 0);tt([g({type:String})],Re.prototype,"moreValuesButtonLabel",void 0);tt([g({type:String})],Re.prototype,"noValuesLabel",void 0);tt([g()],Re.prototype,"filteredOptionsNumberAriaNotification",void 0);tt([wr()],Re.prototype,"displayedValuesLimit",void 0);tt([B(".ft-filter-level--container")],Re.prototype,"container",void 0);tt([H()],Re.prototype,"radios",void 0);tt([H()],Re.prototype,"displayedPages",void 0);tt([H()],Re.prototype,"filteredOptions",void 0);var ct={buttonsColor:i.extend("--ft-snap-scroll-buttons-color","",M.colorPrimary),buttonsZIndex:i.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:i.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:i.external(M.colorSurface,"Design system")},y0=T`
2739
2739
  .ft-snap-scroll {
2740
2740
  box-sizing: border-box;
2741
2741
  position: relative;
@@ -2860,7 +2860,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2860
2860
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
2861
2861
  background-color: ${ct.colorSurface};
2862
2862
  }
2863
- `;var dr=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},ud=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Be=class extends F{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 he(200),this.updateScrollDebouncer=new he(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=se({"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":br}),r=this.controls&&this.withScroll;return E`
2863
+ `;var dr=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},ud=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},Fe=class extends F{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 he(200),this.updateScrollDebouncer=new he(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=se({"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":br}),r=this.controls&&this.withScroll;return E`
2864
2864
  <div part="container" class="${e}">
2865
2865
  <ft-button
2866
2866
  class="ft-snap-scroll--previous"
@@ -2884,7 +2884,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
2884
2884
  @click=${this.next}
2885
2885
  ></ft-button>
2886
2886
  </div>
2887
- `}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 ud(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)}};Be.elementDefinitions={"ft-button":$e};Be.styles=y0;dr([g({type:Boolean})],Be.prototype,"horizontal",void 0);dr([g({type:Boolean})],Be.prototype,"hideScrollbar",void 0);dr([g({type:Boolean})],Be.prototype,"controls",void 0);dr([g({type:Boolean})],Be.prototype,"limitSize",void 0);dr([H()],Be.prototype,"elements",void 0);dr([H()],Be.prototype,"currentElement",void 0);dr([H()],Be.prototype,"withScroll",void 0);dr([H()],Be.prototype,"startReached",void 0);dr([H()],Be.prototype,"endReached",void 0);dr([B(".ft-snap-scroll--content")],Be.prototype,"contentSlot",void 0);K("ft-snap-scroll")(Be);var gt={colorOutline:i.external(M.colorOutline,"Design system"),colorOnSurface:i.external(M.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(M.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(M.colorPrimary,"Design system"),colorSurface:i.external(M.colorSurface,"Design system"),transitionDuration:i.external(M.transitionDuration,"Design system"),transitionTimingFunction:i.external(M.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",M.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",G.fontSize,"16px")},b0=[ir,$i,T`
2887
+ `}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 ud(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":De};Fe.styles=y0;dr([g({type:Boolean})],Fe.prototype,"horizontal",void 0);dr([g({type:Boolean})],Fe.prototype,"hideScrollbar",void 0);dr([g({type:Boolean})],Fe.prototype,"controls",void 0);dr([g({type:Boolean})],Fe.prototype,"limitSize",void 0);dr([H()],Fe.prototype,"elements",void 0);dr([H()],Fe.prototype,"currentElement",void 0);dr([H()],Fe.prototype,"withScroll",void 0);dr([H()],Fe.prototype,"startReached",void 0);dr([H()],Fe.prototype,"endReached",void 0);dr([B(".ft-snap-scroll--content")],Fe.prototype,"contentSlot",void 0);K("ft-snap-scroll")(Fe);var gt={colorOutline:i.external(M.colorOutline,"Design system"),colorOnSurface:i.external(M.colorOnSurface,"Design system"),colorOnSurfaceMedium:i.external(M.colorOnSurfaceMedium,"Design system"),colorPrimary:i.external(M.colorPrimary,"Design system"),colorSurface:i.external(M.colorSurface,"Design system"),transitionDuration:i.external(M.transitionDuration,"Design system"),transitionTimingFunction:i.external(M.transitionTimingFunction,"Design system"),labelColor:i.extend("--ft-filter-label-color","",M.colorOnSurface),labelFontSize:i.extend("--ft-filter-label-font-size","",G.fontSize,"16px")},b0=[ir,$i,T`
2888
2888
  :host {
2889
2889
  display: flex;
2890
2890
  max-height: 100%;
@@ -3084,7 +3084,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3084
3084
  noValuesLabel="${this.noValuesLabel}"
3085
3085
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
3086
3086
  ></ft-filter-level>
3087
- `}goBack(e){this.slideOut=e.detail.value,Ai(()=>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,Ai(()=>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(){Ai(()=>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;Fe(this.lastDispatchedValues,e)||(this.dispatchEvent(new hd(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":$e,"ft-filter-level":Re,"ft-snap-scroll":Be,"ft-typography":me};fe.styles=b0;Le([g({type:String})],fe.prototype,"id",void 0);Le([g({type:String})],fe.prototype,"label",void 0);Le([g({type:String})],fe.prototype,"filterPlaceHolder",void 0);Le([g({type:String})],fe.prototype,"clearButtonLabel",void 0);Le([g({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Le([g({type:String})],fe.prototype,"noValuesLabel",void 0);Le([ke([])],fe.prototype,"options",void 0);Le([g({type:Boolean})],fe.prototype,"multivalued",void 0);Le([g({type:Boolean})],fe.prototype,"disabled",void 0);Le([g({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);Le([g({type:Boolean})],fe.prototype,"displayCount",void 0);Le([wr()],fe.prototype,"displayedValuesLimit",void 0);Le([ke(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Le([g({type:Boolean})],fe.prototype,"hideClearButton",void 0);Le([B(".ft-filter--slot")],fe.prototype,"slotElement",void 0);Le([B(".ft-filter--container")],fe.prototype,"container",void 0);Le([B(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);Le([B(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);Le([H()],fe.prototype,"lastLevelHasHiddenvalues",void 0);Le([B(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);Le([ja(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);Le([H()],fe.prototype,"withScroll",void 0);Le([H()],fe.prototype,"filter",void 0);Le([H()],fe.prototype,"slideIn",void 0);Le([H()],fe.prototype,"slideOut",void 0);var mi=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},At=class extends F{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return E`
3087
+ `}goBack(e){this.slideOut=e.detail.value,Ai(()=>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,Ai(()=>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(){Ai(()=>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 hd(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":De,"ft-filter-level":Re,"ft-snap-scroll":Fe,"ft-typography":me};fe.styles=b0;Le([g({type:String})],fe.prototype,"id",void 0);Le([g({type:String})],fe.prototype,"label",void 0);Le([g({type:String})],fe.prototype,"filterPlaceHolder",void 0);Le([g({type:String})],fe.prototype,"clearButtonLabel",void 0);Le([g({type:String})],fe.prototype,"moreValuesButtonLabel",void 0);Le([g({type:String})],fe.prototype,"noValuesLabel",void 0);Le([ke([])],fe.prototype,"options",void 0);Le([g({type:Boolean})],fe.prototype,"multivalued",void 0);Le([g({type:Boolean})],fe.prototype,"disabled",void 0);Le([g({type:Boolean})],fe.prototype,"raiseSelectedOptions",void 0);Le([g({type:Boolean})],fe.prototype,"displayCount",void 0);Le([wr()],fe.prototype,"displayedValuesLimit",void 0);Le([ke(void 0)],fe.prototype,"filteredOptionsNumberAriaNotification",void 0);Le([g({type:Boolean})],fe.prototype,"hideClearButton",void 0);Le([B(".ft-filter--slot")],fe.prototype,"slotElement",void 0);Le([B(".ft-filter--container")],fe.prototype,"container",void 0);Le([B(".ft-filter--values")],fe.prototype,"valuesContainer",void 0);Le([B(".ft-filter--levels")],fe.prototype,"levelsContainer",void 0);Le([H()],fe.prototype,"lastLevelHasHiddenvalues",void 0);Le([B(".ft-filter--filter input")],fe.prototype,"filterInput",void 0);Le([ja(".ft-filter--levels ft-filter-level")],fe.prototype,"levels",void 0);Le([H()],fe.prototype,"withScroll",void 0);Le([H()],fe.prototype,"filter",void 0);Le([H()],fe.prototype,"slideIn",void 0);Le([H()],fe.prototype,"slideOut",void 0);var mi=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},At=class extends F{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return E`
3088
3088
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
3089
3089
  `}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}))}};At.elementDefinitions={};mi([g({type:String})],At.prototype,"label",void 0);mi([g({type:Object,converter:t=>t})],At.prototype,"value",void 0);mi([g({type:Boolean,reflect:!0})],At.prototype,"selected",void 0);mi([g({type:Object})],At.prototype,"subOptions",void 0);mi([ke({})],At.prototype,"renderOption",void 0);mi([B(".ft-filter-option--slot")],At.prototype,"slotElement",void 0);K("ft-filter")(fe);K("ft-filter-option")(At);var v0=T`
3090
3090
  .ft-accordion {
@@ -3170,7 +3170,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3170
3170
  </div>
3171
3171
  <div class="ft-accordion-item--separator" part="separator"></div>
3172
3172
  </div>
3173
- `}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)}};zt.elementDefinitions={"ft-ripple":re,"ft-typography":me,"ft-icon":ye};zt.styles=S0;Ra([g()],zt.prototype,"icon",void 0);Ra([g()],zt.prototype,"iconVariant",void 0);Ra([g()],zt.prototype,"label",void 0);Ra([g({type:Boolean,reflect:!0})],zt.prototype,"active",void 0);K("ft-accordion")(fr);K("ft-accordion-item")(zt);var C0=i.extend("--ft-chip-color","",M.colorOnSurface),rt={backgroundColor:i.extend("--ft-chip-background-color","",M.colorSurface),color:C0,fontSize:i.extend("--ft-chip-font-size","",He.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",He.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","",C0),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","",M.colorOutline),opacityDisabled:i.external(M.colorOpacityDisabled,"Design system")},O0=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",M.colorOnPrimary)),md={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",M.colorPrimary)),color:O0,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",O0)},E0={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},L0=[Gt,T`
3173
+ `}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)}};zt.elementDefinitions={"ft-ripple":re,"ft-typography":me,"ft-icon":ye};zt.styles=S0;Ra([g()],zt.prototype,"icon",void 0);Ra([g()],zt.prototype,"iconVariant",void 0);Ra([g()],zt.prototype,"label",void 0);Ra([g({type:Boolean,reflect:!0})],zt.prototype,"active",void 0);K("ft-accordion")(fr);K("ft-accordion-item")(zt);var C0=i.extend("--ft-chip-color","",M.colorOnSurface),rt={backgroundColor:i.extend("--ft-chip-background-color","",M.colorSurface),color:C0,fontSize:i.extend("--ft-chip-font-size","",Ge.fontSize),fontWeight:i.extend("--ft-chip-font-weight","",Ge.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","",C0),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","",M.colorOutline),opacityDisabled:i.external(M.colorOpacityDisabled,"Design system")},O0=i.extend("--ft-chip-highlighted-color","",i.extend("--ft-chip-color","",M.colorOnPrimary)),md={backgroundColor:i.extend("--ft-chip-highlighted-background-color","",i.extend("--ft-chip-background-color","",M.colorPrimary)),color:O0,rippleColor:i.extend("--ft-chip-highlighted-ripple-color","",O0)},E0={horizontalPadding:i.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:i.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},L0=[Gt,T`
3174
3174
  :host {
3175
3175
  display: inline-block;
3176
3176
  max-width: 100%;
@@ -3272,9 +3272,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3272
3272
  vertical-align: bottom;
3273
3273
  display: block;
3274
3274
  margin: 0 var(--chip-internal-horizontal-padding);
3275
- ${v(He.fontSize,"var(--chip-internal-font-size)")};
3276
- ${v(He.fontWeight,"var(--chip-internal-font-weight)")};
3277
- ${v(He.lineHeight,"var(--chip-internal-content-height)")};
3275
+ ${v(Ge.fontSize,"var(--chip-internal-font-size)")};
3276
+ ${v(Ge.fontWeight,"var(--chip-internal-font-weight)")};
3277
+ ${v(Ge.lineHeight,"var(--chip-internal-content-height)")};
3278
3278
  }
3279
3279
 
3280
3280
  .ft-chip--safari-fix .ft-chip--label {
@@ -3337,7 +3337,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3337
3337
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
3338
3338
  <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
3339
3339
  </div>
3340
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new _a))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new _a))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Xt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};_e.elementDefinitions={"ft-ripple":re,"ft-typography":me,"ft-icon":ye,"ft-button":$e};_e.styles=L0;dt([g({type:Boolean})],_e.prototype,"highlighted",void 0);dt([g({type:Boolean})],_e.prototype,"removable",void 0);dt([g({type:Boolean})],_e.prototype,"disabled",void 0);dt([g({type:Boolean})],_e.prototype,"clickable",void 0);dt([g({type:Boolean})],_e.prototype,"iconClickable",void 0);dt([g({type:Boolean})],_e.prototype,"dense",void 0);dt([g({type:Boolean})],_e.prototype,"multiLine",void 0);dt([g()],_e.prototype,"label",void 0);dt([g()],_e.prototype,"iconLabel",void 0);dt([g({type:Boolean})],_e.prototype,"hideIconTooltip",void 0);dt([g()],_e.prototype,"icon",void 0);dt([g()],_e.prototype,"iconVariant",void 0);dt([g({type:Boolean})],_e.prototype,"trailingIcon",void 0);dt([g()],_e.prototype,"typographyVariant",void 0);dt([B("ft-typography slot")],_e.prototype,"slottedContent",void 0);var A0=[T`
3340
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new _a))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new _a))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return Xt(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};_e.elementDefinitions={"ft-ripple":re,"ft-typography":me,"ft-icon":ye,"ft-button":De};_e.styles=L0;dt([g({type:Boolean})],_e.prototype,"highlighted",void 0);dt([g({type:Boolean})],_e.prototype,"removable",void 0);dt([g({type:Boolean})],_e.prototype,"disabled",void 0);dt([g({type:Boolean})],_e.prototype,"clickable",void 0);dt([g({type:Boolean})],_e.prototype,"iconClickable",void 0);dt([g({type:Boolean})],_e.prototype,"dense",void 0);dt([g({type:Boolean})],_e.prototype,"multiLine",void 0);dt([g()],_e.prototype,"label",void 0);dt([g()],_e.prototype,"iconLabel",void 0);dt([g({type:Boolean})],_e.prototype,"hideIconTooltip",void 0);dt([g()],_e.prototype,"icon",void 0);dt([g()],_e.prototype,"iconVariant",void 0);dt([g({type:Boolean})],_e.prototype,"trailingIcon",void 0);dt([g()],_e.prototype,"typographyVariant",void 0);dt([B("ft-typography slot")],_e.prototype,"slottedContent",void 0);var A0=[T`
3341
3341
  :host {
3342
3342
  display: inline-block;
3343
3343
  max-width: 100%;
@@ -3524,13 +3524,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3524
3524
  @click=${this.dispatchRemoveEvent}
3525
3525
  icon="${Pe.X_MARK}"
3526
3526
  label="${this.removeButtonLabel}"
3527
- family="${Ue.neutral}"
3527
+ family="${He.neutral}"
3528
3528
  size="${this.resolveButtonSize()}"
3529
3529
  part="icon-button"
3530
3530
  ></ftds-button>
3531
3531
  `:this.withAction?E`
3532
3532
  <slot name="action"></slot>
3533
- `:$}resolveButtonSize(){switch(this.size){case Ke.large:return Ke.medium;default:return Ke.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 gd)}typographyVariant(){switch(this.size){case Ke.large:return xe.body2medium;default:return xe.caption1medium}}};$t.elementDefinitions={"ftds-typography":Ge,"ft-icon":ye,"ftds-button":mt};$t.styles=A0;gi([g({type:Boolean})],$t.prototype,"withAction",void 0);gi([g({type:Boolean})],$t.prototype,"removable",void 0);gi([g()],$t.prototype,"removeButtonLabel",void 0);gi([g()],$t.prototype,"label",void 0);gi([g()],$t.prototype,"icon",void 0);gi([B("ftds-typography slot")],$t.prototype,"slottedContent",void 0);K("ft-chip")(_e);K("ftds-chip")($t);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","",M.colorOutline),textColor:i.extend("--ft-input-label-text-color","",M.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",M.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",M.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",M.borderRadiusS),colorError:i.external(M.colorError,"Design system")},w0=T`
3533
+ `:$}resolveButtonSize(){switch(this.size){case Ke.large:return Ke.medium;default:return Ke.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 gd)}typographyVariant(){switch(this.size){case Ke.large:return xe.body2medium;default:return xe.caption1medium}}};$t.elementDefinitions={"ftds-typography":We,"ft-icon":ye,"ftds-button":mt};$t.styles=A0;gi([g({type:Boolean})],$t.prototype,"withAction",void 0);gi([g({type:Boolean})],$t.prototype,"removable",void 0);gi([g()],$t.prototype,"removeButtonLabel",void 0);gi([g()],$t.prototype,"label",void 0);gi([g()],$t.prototype,"icon",void 0);gi([B("ftds-typography slot")],$t.prototype,"slottedContent",void 0);K("ft-chip")(_e);K("ftds-chip")($t);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","",M.colorOutline),textColor:i.extend("--ft-input-label-text-color","",M.colorOnSurfaceMedium),disabledTextColor:i.extend("--ft-input-label-disabled-text-color","",M.colorOnSurfaceDisabled),backgroundColor:i.extend("--ft-input-label-background-color","",M.colorSurface),borderRadius:i.extend("--ft-input-label-border-radius","",M.borderRadiusS),colorError:i.external(M.colorError,"Design system")},w0=T`
3534
3534
  .ft-input-label {
3535
3535
  position: absolute;
3536
3536
  inset: 0;
@@ -3974,7 +3974,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
3974
3974
  label="${e.label}"
3975
3975
  .value=${e.value}
3976
3976
  ></ft-select-option>
3977
- `}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"];Ni(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",te.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=Pi(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=>Fe(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=>Fe(n.value,e));o&&this.selectOption(o,r)}selectOption(e,r=!0){var o,n;if(!Fe((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)}};Ce.elementDefinitions={"ft-input-label":Kt,"ft-typography":me,"ft-ripple":re,"ft-icon":ye,"ft-select-option":ft};Ce.searchTimeoutMilliseconds=2e3;Ce.styles=[ir,k0];ot([g({type:String})],Ce.prototype,"label",void 0);ot([g({type:String})],Ce.prototype,"ariaLabel",void 0);ot([g({type:String})],Ce.prototype,"helper",void 0);ot([g({type:Boolean})],Ce.prototype,"outlined",void 0);ot([g({type:Boolean})],Ce.prototype,"disabled",void 0);ot([g({type:Boolean})],Ce.prototype,"error",void 0);ot([g({type:Boolean})],Ce.prototype,"fixedMenuPosition",void 0);ot([g({type:Array})],Ce.prototype,"options",void 0);ot([H()],Ce.prototype,"selectedOption",void 0);ot([H()],Ce.prototype,"optionsDisplayed",void 0);ot([H()],Ce.prototype,"focusOptions",void 0);ot([H()],Ce.prototype,"currentSearch",void 0);ot([H()],Ce.prototype,"lastSearchInputDate",void 0);ot([B(".ft-select")],Ce.prototype,"container",void 0);ot([B(".ft-select--options")],Ce.prototype,"optionsMenu",void 0);ot([B(".ft-select--input-panel")],Ce.prototype,"mainPanel",void 0);ot([B("slot:not([name])")],Ce.prototype,"optionsSlot",void 0);K("ft-select")(Ce);K("ft-select-option")(ft);var it={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(M.borderRadiusM,"Design system")},M0=T`
3977
+ `}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"];Ni(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",te.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=Pi(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)}};Ce.elementDefinitions={"ft-input-label":Kt,"ft-typography":me,"ft-ripple":re,"ft-icon":ye,"ft-select-option":ft};Ce.searchTimeoutMilliseconds=2e3;Ce.styles=[ir,k0];ot([g({type:String})],Ce.prototype,"label",void 0);ot([g({type:String})],Ce.prototype,"ariaLabel",void 0);ot([g({type:String})],Ce.prototype,"helper",void 0);ot([g({type:Boolean})],Ce.prototype,"outlined",void 0);ot([g({type:Boolean})],Ce.prototype,"disabled",void 0);ot([g({type:Boolean})],Ce.prototype,"error",void 0);ot([g({type:Boolean})],Ce.prototype,"fixedMenuPosition",void 0);ot([g({type:Array})],Ce.prototype,"options",void 0);ot([H()],Ce.prototype,"selectedOption",void 0);ot([H()],Ce.prototype,"optionsDisplayed",void 0);ot([H()],Ce.prototype,"focusOptions",void 0);ot([H()],Ce.prototype,"currentSearch",void 0);ot([H()],Ce.prototype,"lastSearchInputDate",void 0);ot([B(".ft-select")],Ce.prototype,"container",void 0);ot([B(".ft-select--options")],Ce.prototype,"optionsMenu",void 0);ot([B(".ft-select--input-panel")],Ce.prototype,"mainPanel",void 0);ot([B("slot:not([name])")],Ce.prototype,"optionsSlot",void 0);K("ft-select")(Ce);K("ft-select-option")(ft);var it={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(M.borderRadiusM,"Design system")},M0=T`
3978
3978
  :host {
3979
3979
  width: ${it.width};
3980
3980
  height: ${it.height};
@@ -4866,7 +4866,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
4866
4866
  part="floating-panel"
4867
4867
  tabindex="-1">
4868
4868
  ${this.renderDesktopMenu()}
4869
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};J.elementDefinitions={"ft-accordion":fr,"ft-accordion-item":zt,"ft-button":$e,"ft-chip":_e,"ft-filter":fe,"ft-filter-option":At,"ft-icon":ye,"ft-ripple":re,"ft-select":Ce,"ft-select-option":ft,"ft-size-watcher":xt,"ft-skeleton":jr,"ft-snap-scroll":Be,"ft-tooltip":Ne,"ft-typography":me,"ft-radio-group":Ro,"ft-radio":cr};J.styles=[ai,$i,N0,P0,ur.styles,pr.styles,qn];oe([g({type:Boolean})],J.prototype,"dense",void 0);oe([g()],J.prototype,"mode",void 0);oe([g({type:Boolean})],J.prototype,"forceMobileMenuOpen",void 0);oe([g({type:Boolean})],J.prototype,"forceMenuOpen",void 0);oe([g()],J.prototype,"baseUrl",void 0);oe([g()],J.prototype,"apiIntegrationIdentifier",void 0);oe([g()],J.prototype,"contentLocale",void 0);oe([H()],J.prototype,"availableContentLocales",void 0);oe([H()],J.prototype,"availableContentLocalesInitialized",void 0);oe([g()],J.prototype,"uiLocale",void 0);oe([ke({})],J.prototype,"labels",void 0);oe([ke([])],J.prototype,"displayedFilters",void 0);oe([ke([])],J.prototype,"presets",void 0);oe([g({type:String,reflect:!0})],J.prototype,"selectedPreset",void 0);oe([ke([])],J.prototype,"priors",void 0);oe([g()],J.prototype,"searchRequestSerializer",void 0);oe([g({type:Boolean})],J.prototype,"focusOnDisplay",void 0);oe([H()],J.prototype,"metadataFilters",void 0);oe([H()],J.prototype,"sizeCategory",void 0);oe([H()],J.prototype,"displayFacets",void 0);oe([H()],J.prototype,"mobileMenuOpen",void 0);oe([H()],J.prototype,"facets",void 0);oe([H()],J.prototype,"facetsInitialized",void 0);oe([B(".ft-search-bar--container")],J.prototype,"container",void 0);oe([B(".ft-search-bar--filters-opener")],J.prototype,"filtersOpener",void 0);oe([B(".ft-search-bar--floating-panel")],J.prototype,"floatingContainer",void 0);oe([B("ft-snap-scroll.ft-search-bar--filters-container")],J.prototype,"scrollingFiltersContainer",void 0);oe([B(".ft-search-bar--input")],J.prototype,"input",void 0);oe([B(".ft-search-bar--launch-search")],J.prototype,"launchSearchButton",void 0);oe([H()],J.prototype,"query",void 0);oe([H()],J.prototype,"suggestions",void 0);oe([H()],J.prototype,"recentSearches",void 0);oe([H()],J.prototype,"scrollToFacet",void 0);oe([H()],J.prototype,"api",void 0);oe([H()],J.prototype,"displaySuggestListbox",void 0);oe([H()],J.prototype,"selectedSuggestOptionId",void 0);oe([H()],J.prototype,"selectedSuggestRemoveRecent",void 0);oe([H()],J.prototype,"facetsLoaded",void 0);K("ft-search-bar")(J);})();
4869
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};J.elementDefinitions={"ft-accordion":fr,"ft-accordion-item":zt,"ft-button":De,"ft-chip":_e,"ft-filter":fe,"ft-filter-option":At,"ft-icon":ye,"ft-ripple":re,"ft-select":Ce,"ft-select-option":ft,"ft-size-watcher":xt,"ft-skeleton":jr,"ft-snap-scroll":Fe,"ft-tooltip":Ne,"ft-typography":me,"ft-radio-group":Ro,"ft-radio":cr};J.styles=[ai,$i,N0,P0,ur.styles,pr.styles,qn];oe([g({type:Boolean})],J.prototype,"dense",void 0);oe([g()],J.prototype,"mode",void 0);oe([g({type:Boolean})],J.prototype,"forceMobileMenuOpen",void 0);oe([g({type:Boolean})],J.prototype,"forceMenuOpen",void 0);oe([g()],J.prototype,"baseUrl",void 0);oe([g()],J.prototype,"apiIntegrationIdentifier",void 0);oe([g()],J.prototype,"contentLocale",void 0);oe([H()],J.prototype,"availableContentLocales",void 0);oe([H()],J.prototype,"availableContentLocalesInitialized",void 0);oe([g()],J.prototype,"uiLocale",void 0);oe([ke({})],J.prototype,"labels",void 0);oe([ke([])],J.prototype,"displayedFilters",void 0);oe([ke([])],J.prototype,"presets",void 0);oe([g({type:String,reflect:!0})],J.prototype,"selectedPreset",void 0);oe([ke([])],J.prototype,"priors",void 0);oe([g()],J.prototype,"searchRequestSerializer",void 0);oe([g({type:Boolean})],J.prototype,"focusOnDisplay",void 0);oe([H()],J.prototype,"metadataFilters",void 0);oe([H()],J.prototype,"sizeCategory",void 0);oe([H()],J.prototype,"displayFacets",void 0);oe([H()],J.prototype,"mobileMenuOpen",void 0);oe([H()],J.prototype,"facets",void 0);oe([H()],J.prototype,"facetsInitialized",void 0);oe([B(".ft-search-bar--container")],J.prototype,"container",void 0);oe([B(".ft-search-bar--filters-opener")],J.prototype,"filtersOpener",void 0);oe([B(".ft-search-bar--floating-panel")],J.prototype,"floatingContainer",void 0);oe([B("ft-snap-scroll.ft-search-bar--filters-container")],J.prototype,"scrollingFiltersContainer",void 0);oe([B(".ft-search-bar--input")],J.prototype,"input",void 0);oe([B(".ft-search-bar--launch-search")],J.prototype,"launchSearchButton",void 0);oe([H()],J.prototype,"query",void 0);oe([H()],J.prototype,"suggestions",void 0);oe([H()],J.prototype,"recentSearches",void 0);oe([H()],J.prototype,"scrollToFacet",void 0);oe([H()],J.prototype,"api",void 0);oe([H()],J.prototype,"displaySuggestListbox",void 0);oe([H()],J.prototype,"selectedSuggestOptionId",void 0);oe([H()],J.prototype,"selectedSuggestRemoveRecent",void 0);oe([H()],J.prototype,"facetsLoaded",void 0);K("ft-search-bar")(J);})();
4870
4870
  /*! Bundled license information:
4871
4871
 
4872
4872
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: