@fluid-topics/ft-tree-selector 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.
- package/build/ft-tree-selector.light.js +31 -31
- package/build/ft-tree-selector.min.js +41 -41
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";(()=>{var b4=Object.create;var ca=Object.defineProperty;var x4=Object.getOwnPropertyDescriptor;var v4=Object.getOwnPropertyNames;var S4=Object.getPrototypeOf,C4=Object.prototype.hasOwnProperty;var tr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),la=(e,t)=>{for(var r in t)ca(e,r,{get:t[r],enumerable:!0})},E4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of v4(t))!C4.call(e,a)&&a!==r&&ca(e,a,{get:()=>t[a],enumerable:!(n=x4(t,a))||n.enumerable});return e};var S=(e,t,r)=>(r=e!=null?b4(S4(e)):{},E4(t||!e||!e.__esModule?ca(r,"default",{value:e,enumerable:!0}):r,e));var D=tr((Zm,Ls)=>{Ls.exports=ftGlobals.wcUtils});var W=tr((qm,As)=>{As.exports=ftGlobals.lit});var Lt=tr((Ym,Os)=>{Os.exports=ftGlobals.litClassMap});var oe=tr((Xm,Rs)=>{Rs.exports=ftGlobals.litDecorators});var f1=tr((Ft,d1)=>{var Ln=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,An=function(){function e(){this.fetch=!1,this.DOMException=Ln.DOMException}return e.prototype=Ln,new e}();(function(e){var t=function(r){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(x){return x&&DataView.prototype.isPrototypeOf(x)}if(a.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 f(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 u(x){return typeof x!="string"&&(x=String(x)),x}function m(x){var E={next:function(){var $=x.shift();return{done:$===void 0,value:$}}};return a.iterable&&(E[Symbol.iterator]=function(){return E}),E}function g(x){this.map={},x instanceof g?x.forEach(function(E,$){this.append($,E)},this):Array.isArray(x)?x.forEach(function(E){if(E.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+E.length);this.append(E[0],E[1])},this):x&&Object.getOwnPropertyNames(x).forEach(function(E){this.append(E,x[E])},this)}g.prototype.append=function(x,E){x=f(x),E=u(E);var $=this.map[x];this.map[x]=$?$+", "+E:E},g.prototype.delete=function(x){delete this.map[f(x)]},g.prototype.get=function(x){return x=f(x),this.has(x)?this.map[x]:null},g.prototype.has=function(x){return this.map.hasOwnProperty(f(x))},g.prototype.set=function(x,E){this.map[f(x)]=u(E)},g.prototype.forEach=function(x,E){for(var $ in this.map)this.map.hasOwnProperty($)&&x.call(E,this.map[$],$,this)},g.prototype.keys=function(){var x=[];return this.forEach(function(E,$){x.push($)}),m(x)},g.prototype.values=function(){var x=[];return this.forEach(function(E){x.push(E)}),m(x)},g.prototype.entries=function(){var x=[];return this.forEach(function(E,$){x.push([$,E])}),m(x)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function y(x){if(!x._noBody){if(x.bodyUsed)return Promise.reject(new TypeError("Already read"));x.bodyUsed=!0}}function v(x){return new Promise(function(E,$){x.onload=function(){E(x.result)},x.onerror=function(){$(x.error)}})}function C(x){var E=new FileReader,$=v(E);return E.readAsArrayBuffer(x),$}function L(x){var E=new FileReader,$=v(E),V=/charset=([A-Za-z0-9_-]+)/.exec(x.type),re=V?V[1]:"utf-8";return E.readAsText(x,re),$}function _(x){for(var E=new Uint8Array(x),$=new Array(E.length),V=0;V<E.length;V++)$[V]=String.fromCharCode(E[V]);return $.join("")}function k(x){if(x.slice)return x.slice(0);var E=new Uint8Array(x.byteLength);return E.set(new Uint8Array(x)),E.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(x){this.bodyUsed=this.bodyUsed,this._bodyInit=x,x?typeof x=="string"?this._bodyText=x:a.blob&&Blob.prototype.isPrototypeOf(x)?this._bodyBlob=x:a.formData&&FormData.prototype.isPrototypeOf(x)?this._bodyFormData=x:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)?this._bodyText=x.toString():a.arrayBuffer&&a.blob&&i(x)?(this._bodyArrayBuffer=k(x.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(x)||l(x))?this._bodyArrayBuffer=k(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):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(x)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.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(a.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var x=y(this);if(x)return x;if(this._bodyBlob)return L(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(x){var E=x.toUpperCase();return I.indexOf(E)>-1?E:x}function G(x,E){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');E=E||{};var $=E.body;if(x instanceof G){if(x.bodyUsed)throw new TypeError("Already read");this.url=x.url,this.credentials=x.credentials,E.headers||(this.headers=new g(x.headers)),this.method=x.method,this.mode=x.mode,this.signal=x.signal,!$&&x._bodyInit!=null&&($=x._bodyInit,x.bodyUsed=!0)}else this.url=String(x);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new g(E.headers)),this.method=U(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal||function(){if("AbortController"in n){var F=new AbortController;return F.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&$)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody($),(this.method==="GET"||this.method==="HEAD")&&(E.cache==="no-store"||E.cache==="no-cache")){var V=/([?&])_=[^&]*/;if(V.test(this.url))this.url=this.url.replace(V,"$1_="+new Date().getTime());else{var re=/\?/;this.url+=(re.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function X(x){var E=new FormData;return x.trim().split("&").forEach(function($){if($){var V=$.split("="),re=V.shift().replace(/\+/g," "),F=V.join("=").replace(/\+/g," ");E.append(decodeURIComponent(re),decodeURIComponent(F))}}),E}function Me(x){var E=new g,$=x.replace(/\r?\n[\t ]+/g," ");return $.split("\r").map(function(V){return V.indexOf(`
|
|
2
|
-
`)===0?V.substr(1,V.length):V}).forEach(function(V){var re=V.split(":"),F=re.shift().trim();if(F){var Zo=re.join(":").trim();try{E.append(F,Zo)}catch(sa){console.warn("Response "+sa.message)}}}),E}N.call(G.prototype);function
|
|
2
|
+
`)===0?V.substr(1,V.length):V}).forEach(function(V){var re=V.split(":"),F=re.shift().trim();if(F){var Zo=re.join(":").trim();try{E.append(F,Zo)}catch(sa){console.warn("Response "+sa.message)}}}),E}N.call(G.prototype);function ve(x,E){if(!(this instanceof ve))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(E||(E={}),this.type="default",this.status=E.status===void 0?200:E.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=E.statusText===void 0?"":""+E.statusText,this.headers=new g(E.headers),this.url=E.url||"",this._initBody(x)}N.call(ve.prototype),ve.prototype.clone=function(){return new ve(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},ve.error=function(){var x=new ve(null,{status:200,statusText:""});return x.ok=!1,x.status=0,x.type="error",x};var ft=[301,302,303,307,308];ve.redirect=function(x,E){if(ft.indexOf(E)===-1)throw new RangeError("Invalid status code");return new ve(null,{status:E,headers:{location:x}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(E,$){this.message=E,this.name=$;var V=Error(E);this.stack=V.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Se(x,E){return new Promise(function($,V){var re=new G(x,E);if(re.signal&&re.signal.aborted)return V(new r.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function Zo(){F.abort()}F.onload=function(){var Ce={statusText:F.statusText,headers:Me(F.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(F.status<200||F.status>599)?Ce.status=200:Ce.status=F.status,Ce.url="responseURL"in F?F.responseURL:Ce.headers.get("X-Request-URL");var er="response"in F?F.response:F.responseText;setTimeout(function(){$(new ve(er,Ce))},0)},F.onerror=function(){setTimeout(function(){V(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){V(new TypeError("Network request timed out"))},0)},F.onabort=function(){setTimeout(function(){V(new r.DOMException("Aborted","AbortError"))},0)};function sa(Ce){try{return Ce===""&&n.location.href?n.location.href:Ce}catch{return Ce}}if(F.open(re.method,sa(re.url),!0),re.credentials==="include"?F.withCredentials=!0:re.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(a.blob?F.responseType="blob":a.arrayBuffer&&(F.responseType="arraybuffer")),E&&typeof E.headers=="object"&&!(E.headers instanceof g||n.Headers&&E.headers instanceof n.Headers)){var Es=[];Object.getOwnPropertyNames(E.headers).forEach(function(Ce){Es.push(f(Ce)),F.setRequestHeader(Ce,u(E.headers[Ce]))}),re.headers.forEach(function(Ce,er){Es.indexOf(er)===-1&&F.setRequestHeader(er,Ce)})}else re.headers.forEach(function(Ce,er){F.setRequestHeader(er,Ce)});re.signal&&(re.signal.addEventListener("abort",Zo),F.onreadystatechange=function(){F.readyState===4&&re.signal.removeEventListener("abort",Zo)}),F.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return Se.polyfill=!0,n.fetch||(n.fetch=Se,n.Headers=g,n.Request=G,n.Response=ve),r.Headers=g,r.Request=G,r.Response=ve,r.fetch=Se,r}({})})(An);An.fetch.ponyfill=!0;delete An.fetch.polyfill;var jr=Ln.fetch?Ln:An;Ft=jr.fetch;Ft.default=jr.fetch;Ft.fetch=jr.fetch;Ft.Headers=jr.Headers;Ft.Request=jr.Request;Ft.Response=jr.Response;d1.exports=Ft});var yi=tr((IC,b2)=>{b2.exports=ftGlobals.litUnsafeHTML});var h4=tr((TA,p4)=>{p4.exports=ftGlobals.litRepeat});var y4=S(D());var Be=S(W()),g4=S(Lt()),Te=S(D());var Y0=S(W()),te=S(D());var Ho=S(oe()),K0=S(D());var Js=S(W()),H=S(D());var Ms=S(W()),ce=S(D()),ws=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorContent),O={color:ws,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",ws),opacityContentOnSurfacePressed:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ce.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_s=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorPrimary),Ns={color:_s,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",_s)},Ts=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorSecondary),ks={color:Ts,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ts)},Ps=Ms.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: contents;
|
|
5
5
|
}
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
${(0,H.setVariable)(Q.size,Z.iconSize)};
|
|
461
461
|
${(0,H.setVariable)(Q.color,"var(--button-internal-color)")};
|
|
462
462
|
}
|
|
463
|
-
`,H.noTextSelect];var Xt=S(D());var tc=S(W()),
|
|
463
|
+
`,H.noTextSelect];var Xt=S(D());var tc=S(W()),Ee=S(oe()),rc=S(Lt()),ao=S(D());var Pe=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},J=class extends ao.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ao.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ao.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:a,y:i}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return tc.html`
|
|
464
464
|
<style>
|
|
465
465
|
.ft-ripple .ft-ripple--effect {
|
|
466
466
|
left: ${this.originX}px;
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
<div class="ft-ripple--background"></div>
|
|
472
472
|
<div class="ft-ripple--effect"></div>
|
|
473
473
|
</div>
|
|
474
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>f=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=Ps;Pe([(0,
|
|
474
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>f=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",a,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",i,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",a,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",i,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=Ps;Pe([(0,Ee.property)({type:Boolean})],J.prototype,"primary",void 0);Pe([(0,Ee.property)({type:Boolean})],J.prototype,"secondary",void 0);Pe([(0,Ee.property)({type:Boolean})],J.prototype,"unbounded",void 0);Pe([(0,Ee.property)({type:Boolean})],J.prototype,"activated",void 0);Pe([(0,Ee.property)({type:Boolean})],J.prototype,"selected",void 0);Pe([(0,Ee.property)({type:Boolean})],J.prototype,"disabled",void 0);Pe([(0,Ee.state)()],J.prototype,"hovered",void 0);Pe([(0,Ee.state)()],J.prototype,"focused",void 0);Pe([(0,Ee.state)()],J.prototype,"pressed",void 0);Pe([(0,Ee.state)()],J.prototype,"rippling",void 0);Pe([(0,Ee.state)()],J.prototype,"originX",void 0);Pe([(0,Ee.state)()],J.prototype,"originY",void 0);Pe([(0,Ee.query)(".ft-ripple")],J.prototype,"ripple",void 0);Pe([(0,Ee.query)(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);var oc=S(D());(0,oc.customElement)("ft-ripple")(J);var g2=S(W()),Je=S(oe()),Qe=S(D());var ya=globalThis,qo=ya.trustedTypes,nc=qo?qo.createPolicy("lit-html",{createHTML:e=>e}):void 0,dc="$lit$",Mt=`lit$${Math.random().toFixed(9).slice(2)}$`,fc="?"+Mt,L4=`<${fc}>`,nr=document,Yo=()=>nr.createComment(""),so=e=>e===null||typeof e!="object"&&typeof e!="function",ba=Array.isArray,A4=e=>ba(e)||typeof e?.[Symbol.iterator]=="function",fa=`[
|
|
475
475
|
\f\r]`,io=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ac=/-->/g,ic=/>/g,rr=RegExp(`>|${fa}(?:([^\\s"'>=/]+)(${fa}*=${fa}*(?:[^
|
|
476
476
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),sc=/'/g,cc=/"/g,uc=/^(?:script|style|textarea|title)$/i,xa=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),pc=xa(1),hc=xa(2),mc=xa(3),co=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),lc=new WeakMap,or=nr.createTreeWalker(nr,129);function gc(e,t){if(!ba(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return nc!==void 0?nc.createHTML(t):t}var O4=(e,t)=>{let r=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",s=io;for(let l=0;l<r;l++){let f=e[l],u,m,g=-1,y=0;for(;y<f.length&&(s.lastIndex=y,m=s.exec(f),m!==null);)y=s.lastIndex,s===io?m[1]==="!--"?s=ac:m[1]!==void 0?s=ic:m[2]!==void 0?(uc.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=rr):m[3]!==void 0&&(s=rr):s===rr?m[0]===">"?(s=a??io,g=-1):m[1]===void 0?g=-2:(g=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?rr:m[3]==='"'?cc:sc):s===cc||s===sc?s=rr:s===ac||s===ic?s=io:(s=rr,a=void 0);let v=s===rr&&e[l+1].startsWith("/>")?" ":"";i+=s===io?f+L4:g>=0?(n.push(u),f.slice(0,g)+dc+f.slice(g)+Mt+v):f+Mt+(g===-2?l:v)}return[gc(e,i+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},lo=class e{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,f=this.parts,[u,m]=O4(t,r);if(this.el=e.createElement(u,n),or.currentNode=this.el.content,r===2||r===3){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=or.nextNode())!==null&&f.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(dc)){let y=m[s++],v=a.getAttribute(g).split(Mt),C=/([.?@])?(.*)/.exec(y);f.push({type:1,index:i,name:C[2],strings:v,ctor:C[1]==="."?pa:C[1]==="?"?ha:C[1]==="@"?ma:Tr}),a.removeAttribute(g)}else g.startsWith(Mt)&&(f.push({type:6,index:i}),a.removeAttribute(g));if(uc.test(a.tagName)){let g=a.textContent.split(Mt),y=g.length-1;if(y>0){a.textContent=qo?qo.emptyScript:"";for(let v=0;v<y;v++)a.append(g[v],Yo()),or.nextNode(),f.push({type:2,index:++i});a.append(g[y],Yo())}}}else if(a.nodeType===8)if(a.data===fc)f.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(Mt,g+1))!==-1;)f.push({type:7,index:i}),g+=Mt.length-1}i++}}static createElement(t,r){let n=nr.createElement("template");return n.innerHTML=t,n}};function Nr(e,t,r=e,n){if(t===co)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=so(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=Nr(e,a._$AS(e,t.values),a,n)),t}var ua=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??nr).importNode(r,!0);or.currentNode=a;let i=or.nextNode(),s=0,l=0,f=n[0];for(;f!==void 0;){if(s===f.index){let u;f.type===2?u=new Xo(i,i.nextSibling,this,t):f.type===1?u=new f.ctor(i,f.name,f.strings,this,t):f.type===6&&(u=new ga(i,this,t)),this._$AV.push(u),f=n[++l]}s!==f?.index&&(i=or.nextNode(),s++)}return or.currentNode=nr,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Xo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Nr(this,t,r),so(t)?t===le||t==null||t===""?(this._$AH!==le&&this._$AR(),this._$AH=le):t!==this._$AH&&t!==co&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):A4(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==le&&so(this._$AH)?this._$AA.nextSibling.data=t:this.T(nr.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=lo.createElement(gc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new ua(a,this),s=i.u(this.options);i.p(r),this.T(s),this._$AH=i}}_$AC(t){let r=lc.get(t.strings);return r===void 0&&lc.set(t.strings,r=new lo(t)),r}k(t){ba(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new e(this.O(Yo()),this.O(Yo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Tr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=le,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(t,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=Nr(this,t,r,0),s=!so(t)||t!==this._$AH&&t!==co,s&&(this._$AH=t);else{let l=t,f,u;for(t=i[0],f=0;f<i.length-1;f++)u=Nr(this,l[n+f],r,f),u===co&&(u=this._$AH[f]),s||=!so(u)||u!==this._$AH[f],u===le?t=le:t!==le&&(t+=(u??"")+i[f+1]),this._$AH[f]=u}s&&!a&&this.j(t)}j(t){t===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pa=class extends Tr{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===le?void 0:t}},ha=class extends Tr{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==le)}},ma=class extends Tr{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=Nr(this,t,r,0)??le)===co)return;let n=this._$AH,a=t===le&&n!==le||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==le&&(n===le||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ga=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Nr(this,t)}};var R4=ya.litHtmlPolyfillSupport;R4?.(lo,Xo),(ya.litHtmlVersions??=[]).push("3.3.0");var bc=Symbol.for(""),w4=e=>{if(e?.r===bc)return e?._$litStatic$},kr=e=>({_$litStatic$:e,r:bc});var yc=new Map,va=e=>(t,...r)=>{let n=r.length,a,i,s=[],l=[],f,u=0,m=!1;for(;u<n;){for(f=t[u];u<n&&(i=r[u],(a=w4(i))!==void 0);)f+=a+t[++u],m=!0;u!==n&&l.push(i),s.push(f),u++}if(u===n&&s.push(t[n]),m){let g=s.join("$$lit$$");(t=yc.get(g))===void 0&&(s.raw=s,yc.set(g,t=s)),r=l}return e(t,...r)},Mr=va(pc),y5=va(hc),b5=va(mc);var Sa=S(oe()),vc=S(D());var ze;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(ze||(ze={}));var xc=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ne=class extends vc.FtLitElement{constructor(){super(...arguments),this.variant=ze.body1}render(){return this.element?Mr`
|
|
477
477
|
<${kr(this.element)}
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
`:Mr`
|
|
483
483
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
484
484
|
`}};Ne.styles=[Is,Ds,Bs,Us,$s,Hs,Gs,Fs,Ws,js,Vs];xc([(0,Sa.property)()],Ne.prototype,"element",void 0);xc([(0,Sa.property)()],Ne.prototype,"variant",void 0);var Ea=S(oe()),Uc=S(D());var ae;(function(e){e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ae||(ae={}));var Ot=S(W(),1),Pt=e=>typeof e=="string"?(0,Ot.unsafeCSS)(e):e,o=class{static create(t,r,n,a){let i=l=>Pt(l??a),s=Ot.css`var(${Pt(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Sc(s,l??i(a)),s.get=l=>Ot.css`var(${Pt(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,r,n,a){let i=l=>n.get(l??a),s=Ot.css`var(${Pt(t)}, ${i(a)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.set=l=>Sc(s,l??i(a)),s.get=l=>Ot.css`var(${Pt(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,r){let n=i=>t.defaultCssValue(i),a=Ot.css`var(${Pt(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>Ot.css`var(${Pt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Sc(e,t){return Pt(`${e.name}: ${t}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Cc={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Ec={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Lc={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Ac={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Oc={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Rc={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},wc={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},_c={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Nc={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},_4={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Tc={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},kc={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Mc={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Pc={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},zc={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Ic={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ca={display:Cc,"title-1":Ec,"title-2":Lc,"title-3":Ac,"body-1-regular":Oc,"body-1-medium":Rc,"body-1-semibold":wc,"body-2-regular":_c,"body-2-medium":Nc,"body-2-medium-underline":_4,"body-2-semibold":Tc,"caption-1-medium":kc,"caption-1-semibold":Mc,"caption-2-medium":Pc,"caption-2-semibold":zc,"caption-2-bold":Ic};var d={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
485
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var H5={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var V5={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var X5={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var r7={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var s7={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var u7={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var pe={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var S7={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var O7={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var T7={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var I7={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var H7={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var j7={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Y7={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var tg={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var ig={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var fg={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var gg={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Sg={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Og={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Tg={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Ee={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var $g={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var jg={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var qg={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Jg={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var ny={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var ly={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var hy={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var xy={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Ly={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var wy={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var ht;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(ht||(ht={}));var mt;(function(e){e.large="large",e.medium="medium",e.small="small"})(mt||(mt={}));var Pr=S(W());function N4(e,t){let r=Ca[e];return Pr.css`
|
|
485
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var b={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var H5={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var V5={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing1),color:o.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var X5={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var r7={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var s7={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var u7={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var pe={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var S7={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var O7={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var T7={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var I7={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var H7={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var j7={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Y7={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var tg={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var ig={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var fg={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var gg={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Sg={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var Og={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Tg={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var he={backgroundColor:o.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var $g={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var jg={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var qg={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Jg={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var ny={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var ly={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var hy={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var xy={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Ly={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var wy={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var ht;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(ht||(ht={}));var mt;(function(e){e.large="large",e.medium="medium",e.small="small"})(mt||(mt={}));var Pr=S(W());function N4(e,t){let r=Ca[e];return Pr.css`
|
|
486
486
|
${t?(0,Pr.unsafeCSS)(t):Pr.css`.ftds-typography--${(0,Pr.unsafeCSS)(e)}`} {
|
|
487
487
|
font-family: ${r.fontFamily};
|
|
488
488
|
font-size: ${r.fontSize};
|
|
@@ -531,15 +531,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
531
531
|
position: relative;
|
|
532
532
|
word-break: break-word;
|
|
533
533
|
}
|
|
534
|
-
`;var Fc=["top","right","bottom","left"],Gc=["start","end"],Oa=Fc.reduce((e,t)=>e.concat(t,t+"-"+Gc[0],t+"-"+Gc[1]),[]),uo=Math.min,It=Math.max,po=Math.round;var it=e=>({x:e,y:e}),T4={left:"right",right:"left",bottom:"top",top:"bottom"};function Ra(e,t,r){return It(e,uo(t,r))}function Qo(e,t){return typeof e=="function"?e(t):e}function zr(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function wa(e){return e==="x"?"y":"x"}function _a(e){return e==="y"?"height":"width"}function Jo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Na(e){return wa(Jo(e))}function Wc(e,t,r){r===void 0&&(r=!1);let n=Dt(e),a=Na(e),i=_a(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Aa(s)),[s,Aa(s)]}function jc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Aa(e){let t=zr(e);return T4[t]+e.slice(t.length)}function k4(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vc(e){return typeof e!="number"?k4(e):{top:e,right:e,bottom:e,left:e}}function ar(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Kc(e,t,r){let{reference:n,floating:a}=e,i=Jo(t),s=Na(t),l=_a(s),f=zr(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,v;switch(f){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}switch(Dt(t)){case"start":v[s]-=y*(r&&u?-1:1);break;case"end":v[s]+=y*(r&&u?-1:1);break}return v}async function Zc(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=Qo(t,e),C=Vc(v),_=l[y?g==="floating"?"reference":"floating":g],k=ar(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,I=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(I))?await(i.getScale==null?void 0:i.getScale(I))||{x:1,y:1}:{x:1,y:1},G=ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:I,strategy:f}):N);return{top:(k.top-G.top+C.top)/U.y,bottom:(G.bottom-k.bottom+C.bottom)/U.y,left:(k.left-G.left+C.left)/U.x,right:(G.right-k.right+C.right)/U.x}}var M4=50,qc=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Zc},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Kc(u,n,f),y=n,v=0,C={};for(let L=0;L<i.length;L++){let _=i[L];if(!_)continue;let{name:k,fn:N}=_,{x:I,y:U,data:G,reset:X}=await N({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:C,rects:u,platform:l,elements:{reference:e,floating:t}});m=I??m,g=U??g,C[k]={...C[k],...G},X&&v<M4&&(v++,typeof X=="object"&&(X.placement&&(y=X.placement),X.rects&&(u=X.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):X.rects),{x:m,y:g}=Kc(u,y,f)),L=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:C}};function P4(e,t,r){return(e?[...r.filter(a=>Dt(a)===e),...r.filter(a=>Dt(a)!==e)]:r.filter(a=>zr(a)===a)).filter(a=>e?Dt(a)===e||(t?jc(a)!==a:!1):!0)}var Yc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=Oa,autoAlignment:v=!0,...C}=Qo(e,t),L=g!==void 0||y===Oa?P4(g||null,v,y):y,_=await f.detectOverflow(t,C),k=((r=s.autoPlacement)==null?void 0:r.index)||0,N=L[k];if(N==null)return{};let I=Wc(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==N)return{reset:{placement:L[0]}};let U=[_[zr(N)],_[I[0]],_[I[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],X=L[k+1];if(X)return{data:{index:k+1,overflows:G},reset:{placement:X}};let Me=G.map(ve=>{let x=Dt(ve.placement);return[ve.placement,x&&m?ve.overflows.slice(0,2).reduce((E,$)=>E+$,0):ve.overflows[0],ve.overflows]}).sort((ve,x)=>ve[1]-x[1]),ft=((a=Me.filter(ve=>ve[2].slice(0,Dt(ve[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Me[0][0];return ft!==l?{data:{index:k+1,overflows:G},reset:{placement:ft}}:{}}}};var Xc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:f={fn:k=>{let{x:N,y:I}=k;return{x:N,y:I}}},...u}=Qo(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),y=Jo(zr(a)),v=wa(y),C=m[v],L=m[y];if(s){let k=v==="y"?"top":"left",N=v==="y"?"bottom":"right",I=C+g[k],U=C-g[N];C=Ra(I,C,U)}if(l){let k=y==="y"?"top":"left",N=y==="y"?"bottom":"right",I=L+g[k],U=L-g[N];L=Ra(I,L,U)}let _=f.fn({...t,[v]:C,[y]:L});return{..._,data:{x:_.x-r,y:_.y-n,enabled:{[v]:s,[y]:l}}}}}};function tn(){return typeof window<"u"}function sr(e){return Jc(e)?(e.nodeName||"").toLowerCase():"#document"}function Ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(Jc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jc(e){return tn()?e instanceof Node||e instanceof Ie(e).Node:!1}function Ke(e){return tn()?e instanceof Element||e instanceof Ie(e).Element:!1}function yt(e){return tn()?e instanceof HTMLElement||e instanceof Ie(e).HTMLElement:!1}function Qc(e){return!tn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ie(e).ShadowRoot}function Ir(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=Ze(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function el(e){return/^(table|td|th)$/.test(sr(e))}function ho(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var z4=/transform|translate|scale|rotate|perspective|filter/,I4=/paint|layout|strict|content/,ir=e=>!!e&&e!=="none",Ta;function rn(e){let t=Ke(e)?Ze(e):e;return ir(t.transform)||ir(t.translate)||ir(t.scale)||ir(t.rotate)||ir(t.perspective)||!on()&&(ir(t.backdropFilter)||ir(t.filter))||z4.test(t.willChange||"")||I4.test(t.contain||"")}function tl(e){let t=Rt(e);for(;yt(t)&&!cr(t);){if(rn(t))return t;if(ho(t))return null;t=Rt(t)}return null}function on(){return Ta==null&&(Ta=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ta}function cr(e){return/^(html|body|#document)$/.test(sr(e))}function Ze(e){return Ie(e).getComputedStyle(e)}function mo(e){return Ke(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(sr(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Qc(e)&&e.host||gt(e);return Qc(t)?t.host:t}function rl(e){let t=Rt(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:yt(t)&&Ir(t)?t:rl(t)}function en(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=rl(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ie(a);if(i){let l=nn(s);return t.concat(s,s.visualViewport||[],Ir(a)?a:[],l&&r?en(l):[])}else return t.concat(a,en(a,[],r))}function nn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function il(e){let t=Ze(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=yt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=po(r)!==i||po(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function sl(e){return Ke(e)?e:e.contextElement}function Dr(e){let t=sl(e);if(!yt(t))return it(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=il(t),s=(i?po(r.width):r.width)/n,l=(i?po(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var D4=it(0);function cl(e){let t=Ie(e);return!on()||!t.visualViewport?D4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function B4(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ie(e)?!1:t}function go(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=sl(e),s=it(1);t&&(n?Ke(n)&&(s=Dr(n)):s=Dr(e));let l=B4(i,r,n)?cl(i):it(0),f=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let y=Ie(i),v=n&&Ke(n)?Ie(n):n,C=y,L=nn(C);for(;L&&n&&v!==C;){let _=Dr(L),k=L.getBoundingClientRect(),N=Ze(L),I=k.left+(L.clientLeft+parseFloat(N.paddingLeft))*_.x,U=k.top+(L.clientTop+parseFloat(N.paddingTop))*_.y;f*=_.x,u*=_.y,m*=_.x,g*=_.y,f+=I,u+=U,C=Ie(L),L=nn(C)}}return ar({width:m,height:g,x:f,y:u})}function an(e,t){let r=mo(e).scrollLeft;return t?t.left+r:go(gt(e)).left+r}function ll(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-an(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function U4(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=gt(n),l=t?ho(t.floating):!1;if(n===s||l&&i)return r;let f={scrollLeft:0,scrollTop:0},u=it(1),m=it(0),g=yt(n);if((g||!g&&!i)&&((sr(n)!=="body"||Ir(s))&&(f=mo(n)),g)){let v=go(n);u=Dr(n),m.x=v.x+n.clientLeft,m.y=v.y+n.clientTop}let y=s&&!g&&!i?ll(s,f):it(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:r.y*u.y-f.scrollTop*u.y+m.y+y.y}}function $4(e){return Array.from(e.getClientRects())}function H4(e){let t=gt(e),r=mo(e),n=e.ownerDocument.body,a=It(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=It(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+an(e),l=-r.scrollTop;return Ze(n).direction==="rtl"&&(s+=It(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var ol=25;function G4(e,t){let r=Ie(e),n=gt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=on();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=an(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),v=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-v);C<=ol&&(i-=C)}else u<=ol&&(i+=u);return{width:i,height:s,x:l,y:f}}function F4(e,t){let r=go(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=yt(e)?Dr(e):it(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:l,x:f,y:u}}function nl(e,t,r){let n;if(t==="viewport")n=G4(e,r);else if(t==="document")n=H4(gt(e));else if(Ke(t))n=F4(t,r);else{let a=cl(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ar(n)}function dl(e,t){let r=Rt(e);return r===t||!Ke(r)||cr(r)?!1:Ze(r).position==="fixed"||dl(r,t)}function W4(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(l=>Ke(l)&&sr(l)!=="body"),a=null,i=Ze(e).position==="fixed",s=i?Rt(e):e;for(;Ke(s)&&!cr(s);){let l=Ze(s),f=rn(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Ir(s)&&!f&&dl(e,s))?n=n.filter(m=>m!==s):a=l,s=Rt(s)}return t.set(e,n),n}function j4(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?ho(t)?[]:W4(t,this._c):[].concat(r),n],l=nl(t,s[0],a),f=l.top,u=l.right,m=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=nl(t,s[y],a);f=It(v.top,f),u=uo(v.right,u),m=uo(v.bottom,m),g=It(v.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function V4(e){let{width:t,height:r}=il(e);return{width:t,height:r}}function K4(e,t,r){let n=yt(t),a=gt(t),i=r==="fixed",s=go(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=it(0);function u(){f.x=an(a)}if(n||!n&&!i)if((sr(t)!=="body"||Ir(a))&&(l=mo(t)),n){let v=go(t,!0,i,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?ll(a,l):it(0),g=s.left+l.scrollLeft-f.x-m.x,y=s.top+l.scrollTop-f.y-m.y;return{x:g,y,width:s.width,height:s.height}}function ka(e){return Ze(e).position==="static"}function al(e,t){if(!yt(e)||Ze(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return gt(e)===r&&(r=r.ownerDocument.body),r}function fl(e,t){let r=Ie(e);if(ho(e))return r;if(!yt(e)){let a=Rt(e);for(;a&&!cr(a);){if(Ke(a)&&!ka(a))return a;a=Rt(a)}return r}let n=al(e,t);for(;n&&el(n)&&ka(n);)n=al(n,t);return n&&cr(n)&&ka(n)&&!rn(n)?r:n||tl(e)||r}var Z4=async function(e){let t=this.getOffsetParent||fl,r=this.getDimensions,n=await r(e.floating);return{reference:K4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function q4(e){return Ze(e).direction==="rtl"}var sn={convertOffsetParentRelativeRectToViewportRelativeRect:U4,getDocumentElement:gt,getClippingRect:j4,getOffsetParent:fl,getElementRects:Z4,getClientRects:$4,getDimensions:V4,getScale:Dr,isElement:Ke,isRTL:q4};var ul=Yc,pl=Xc;var hl=(e,t,r)=>{let n=new Map,a={platform:sn,...r},i={...a.platform,_c:n};return qc(e,t,{...a,platform:i})};function ml(e){return Y4(e)}function Ma(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Y4(e){for(let t=e;t;t=Ma(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ma(e);t;t=Ma(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function gl(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},hl(e,t,{strategy:n.strategy,platform:{...sn,getOffsetParent:a=>sn.getOffsetParent(a,ml)},middleware:[pl({crossAxis:!0}),ul({allowedPlacements:[n.placement]})]})}var Zr=S(D());var ni=S(oe());function X4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!cn(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!cn(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!cn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function cn(e,t){try{return X4(e,t)}catch{return!1}}function yo(e,t){return!cn(e,t)}function yl(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function ln(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}var bl=S(oe(),1);var Pa=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:yo,attribute:!1,...t};(0,bl.property)(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var dn=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var lr=S(oe(),1);var xl=S(oe(),1);function vl(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,xl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:yo,...t??{}})}var fn=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Cl=S(W(),1);var un=globalThis,Q4=un.ShadowRoot&&(un.ShadyCSS===void 0||un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wb=Symbol();var Sl=(e,t)=>{if(Q4)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=un.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var pn=class extends Cl.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Sl(n,t.elementStyles),n}};function El(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Ur=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Rl,Ll=Symbol("constructorPrototype"),Al=Symbol("constructorName"),wl=Symbol("exportpartsDebouncer"),Ol=Symbol("dynamicDependenciesLoaded"),Br=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Br.eventName="exportparts-updated";var bt=class extends pn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rl]=new fn(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[wl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Al]=this.constructor.name,this[Ll]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Al]&&Object.setPrototypeOf(this,this[Ll])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Ol]||(r[Ol]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Br.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Br.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Br)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=El(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],L=[...v,...C].filter(f).map(_=>_.trim());for(let _ of L)m.add(_)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Rl=wl;Ur([(0,lr.property)()],bt.prototype,"exportpartsPrefix",void 0);Ur([vl([])],bt.prototype,"exportpartsPrefixes",void 0);Ur([(0,lr.property)({reflect:!0})],bt.prototype,"exportparts",void 0);Ur([(0,lr.property)()],bt.prototype,"customStylesheet",void 0);Ur([(0,lr.property)()],bt.prototype,"elementToFocus",void 0);Ur([(0,lr.state)()],bt.prototype,"useAdoptedStyleSheets",void 0);function hn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var bo=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),dr=Symbol("internalStores"),J4=ln(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=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[dr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[dr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[dr].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[dr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[dr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[dr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[Bt].has(s.store):this[Bt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[Bt].set(s,l.subscribe(()=>this.updateFromStores())),this[bo].set(s,[]),hn(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[bo].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Bt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Bt].has(s)&&this[Bt].get(s)(),this[Bt].delete(s),(l=this[bo].get(s))===null||l===void 0||l.forEach(f=>f()),this[bo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Bt,r=dr,n=bo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),_l=class extends J4(bt){};function qe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function wt(e){return!!e&&!!e[ee]}function st(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===cf}(e)||Array.isArray(e)||!!e[Il]||!!(!((t=e.constructor)===null||t===void 0)&&t[Il])||Fa(e)||Wa(e))}function fr(e,t,r){r===void 0&&(r=!1),Gr(e)===0?(r?Object.keys:Hr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Gr(e){var t=e[ee];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fa(e)?2:Wa(e)?3:0}function $r(e,t){return Gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ef(e,t){return Gr(e)===2?e.get(t):e[t]}function Dl(e,t,r){var n=Gr(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Bl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fa(e){return af&&e instanceof Map}function Wa(e){return sf&&e instanceof Set}function Ut(e){return e.o||e.t}function ja(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Hl(e);delete t[ee];for(var r=Hr(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Va(e,t){return t===void 0&&(t=!1),Ka(e)||wt(e)||!st(e)||(Gr(e)>1&&(e.set=e.add=e.clear=e.delete=tf),Object.freeze(e),t&&fr(e,function(r,n){return Va(n,!0)},!0)),e}function tf(){qe(2)}function Ka(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function xt(e){var t=Ga[e];return t||qe(18,e),t}function rf(e,t){Ga[e]||(Ga[e]=t)}function Ua(){return vo}function za(e,t){t&&(xt("Patches"),e.u=[],e.s=[],e.v=t)}function mn(e){$a(e),e.p.forEach(of),e.p=null}function $a(e){e===vo&&(vo=e.l)}function Nl(e){return vo={p:[],l:vo,h:e,m:!0,_:0}}function of(e){var t=e[ee];t.i===0||t.i===1?t.j():t.g=!0}function Ia(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||xt("ES5").S(t,e,n),n?(r[ee].P&&(mn(t),qe(4)),st(e)&&(e=gn(t,e),t.l||yn(t,e)),t.u&&xt("Patches").M(r[ee].t,e,t.u,t.s)):e=gn(t,r,[]),mn(t),t.u&&t.v(t.u,t.s),e!==$l?e:void 0}function gn(e,t,r){if(Ka(t))return t;var n=t[ee];if(!n)return fr(t,function(l,f){return Tl(e,n,t,l,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return yn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ja(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),fr(i,function(l,f){return Tl(e,n,a,l,f,r,s)}),yn(e,a,!1),r&&e.u&&xt("Patches").N(n,r,e.u,e.s)}return n.o}function Tl(e,t,r,n,a,i,s){if(wt(a)){var l=gn(e,a,i&&t&&t.i!==3&&!$r(t.R,n)?i.concat(n):void 0);if(Dl(r,n,l),!wt(l))return;e.m=!1}else s&&r.add(a);if(st(a)&&!Ka(a)){if(!e.h.D&&e._<1)return;gn(e,a),t&&t.A.l||yn(e,a)}}function yn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Va(t,r)}function Da(e,t){var r=e[ee];return(r?Ut(r):e)[t]}function kl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function $t(e){e.P||(e.P=!0,e.l&&$t(e.l))}function Ba(e){e.o||(e.o=ja(e.t))}function Ha(e,t,r){var n=Fa(t)?xt("MapSet").F(t,r):Wa(t)?xt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ua(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=So;s&&(f=[l],u=xo);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,r):xt("ES5").J(t,r);return(r?r.A:Ua()).p.push(n),n}function nf(e){return wt(e)||qe(22,e),function t(r){if(!st(r))return r;var n,a=r[ee],i=Gr(r);if(a){if(!a.P&&(a.i<4||!xt("ES5").K(a)))return a.t;a.I=!0,n=Ml(r,i),a.I=!1}else n=Ml(r,i);return fr(n,function(s,l){a&&ef(a.t,s)===l||Dl(n,s,t(l))}),i===3?new Set(n):n}(e)}function Ml(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ja(e)}function Ul(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[ee];return So.get(u,s)},set:function(u){var m=this[ee];So.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][ee];if(!f.P)switch(f.i){case 5:n(f)&&$t(f);break;case 4:r(f)&&$t(f)}}}function r(s){for(var l=s.t,f=s.k,u=Hr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==ee){var y=l[g];if(y===void 0&&!$r(l,g))return!0;var v=f[g],C=v&&v[ee];if(C?C.t!==y:!Bl(v,y))return!0}}var L=!!l[ee];return u.length!==Hr(l).length+(L?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&qe(3,JSON.stringify(Ut(s)))}var i={};rf("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var v=Array(y.length),C=0;C<y.length;C++)Object.defineProperty(v,""+C,e(C,!0));return v}var L=Hl(y);delete L[ee];for(var _=Hr(L),k=0;k<_.length;k++){var N=_[k];L[N]=e(N,g||!!L[N].enumerable)}return Object.create(Object.getPrototypeOf(y),L)}(f,s),m={i:f?5:4,A:l?l.A:Ua(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ee,{value:m,writable:!0}),u},S:function(s,l,f){f?wt(l)&&l[ee].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[ee];if(g){var y=g.t,v=g.k,C=g.R,L=g.i;if(L===4)fr(v,function(U){U!==ee&&(y[U]!==void 0||$r(y,U)?C[U]||u(v[U]):(C[U]=!0,$t(g)))}),fr(y,function(U){v[U]!==void 0||$r(v,U)||(C[U]=!1,$t(g))});else if(L===5){if(n(g)&&($t(g),C.length=!0),v.length<y.length)for(var _=v.length;_<y.length;_++)C[_]=!1;else for(var k=y.length;k<v.length;k++)C[k]=!0;for(var N=Math.min(v.length,y.length),I=0;I<N;I++)v.hasOwnProperty(I)||(C[I]=!0),C[I]===void 0&&u(v[I])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Pl,vo,Za=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",af=typeof Map<"u",sf=typeof Set<"u",zl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$l=Za?Symbol.for("immer-nothing"):((Pl={})["immer-nothing"]=!0,Pl),Il=Za?Symbol.for("immer-draftable"):"__$immer_draftable",ee=Za?Symbol.for("immer-state"):"__$immer_state";var cf=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Hl=Object.getOwnPropertyDescriptors||function(e){var t={};return Hr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ga={},So={get:function(e,t){if(t===ee)return e;var r=Ut(e);if(!$r(r,t))return function(a,i,s){var l,f=kl(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!st(n)?n:n===Da(e.t,t)?(Ba(e),e.o[t]=Ha(e.A.h,n,e)):n},has:function(e,t){return t in Ut(e)},ownKeys:function(e){return Reflect.ownKeys(Ut(e))},set:function(e,t,r){var n=kl(Ut(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Da(Ut(e),t),i=a?.[ee];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Bl(r,a)&&(r!==void 0||$r(e.t,t)))return!0;Ba(e),$t(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Da(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ba(e),$t(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){qe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){qe(12)}},xo={};fr(So,function(e,t){xo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),xo.deleteProperty=function(e,t){return xo.set.call(this,e,t,void 0)},xo.set=function(e,t,r){return So.set.call(this,e[0],t,r,e[0])};var lf=function(){function e(r){var n=this;this.O=zl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(L){var _=this;L===void 0&&(L=l);for(var k=arguments.length,N=Array(k>1?k-1:0),I=1;I<k;I++)N[I-1]=arguments[I];return f.produce(L,function(U){var G;return(G=i).call.apply(G,[_,U].concat(N))})}}var u;if(typeof i!="function"&&qe(6),s!==void 0&&typeof s!="function"&&qe(7),st(a)){var m=Nl(n),g=Ha(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?mn(m):$a(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(L){return za(m,s),Ia(L,m)},function(L){throw mn(m),L}):(za(m,s),Ia(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===$l&&(u=void 0),n.D&&Va(u,!0),s){var v=[],C=[];xt("Patches").M(a,u,v,C),s(v,C)}return u}qe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(v){return a.apply(void 0,[v].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){st(r)||qe(8),wt(r)&&(r=nf(r));var n=Nl(this),a=Ha(this,r,void 0);return a[ee].C=!0,$a(n),a},t.finishDraft=function(r,n){var a=r&&r[ee],i=a.A;return za(i,n),Ia(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!zl&&qe(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=xt("Patches").$;return wt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Ue=new lf,df=Ue.produce,Fb=Ue.produceWithPatches.bind(Ue),Wb=Ue.setAutoFreeze.bind(Ue),jb=Ue.setUseProxies.bind(Ue),Vb=Ue.applyPatches.bind(Ue),Kb=Ue.createDraft.bind(Ue),Zb=Ue.finishDraft.bind(Ue),bn=df;function ur(e){"@babel/helpers - typeof";return ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ur(e)}function Gl(e,t){if(ur(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fl(e){var t=Gl(e,"string");return ur(t)=="symbol"?t:t+""}function Wl(e,t,r){return(t=Fl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jl(Object(r),!0).forEach(function(n){Wl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function we(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Vl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},xn={INIT:"@@redux/INIT"+Ya(),REPLACE:"@@redux/REPLACE"+Ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ya()}};function ff(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Xa(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(we(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(we(1));return r(Xa)(e,t)}if(typeof e!="function")throw new Error(we(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error(we(3));return i}function g(L){if(typeof L!="function")throw new Error(we(4));if(f)throw new Error(we(5));var _=!0;return u(),l.push(L),function(){if(_){if(f)throw new Error(we(6));_=!1,u();var N=l.indexOf(L);l.splice(N,1),s=null}}}function y(L){if(!ff(L))throw new Error(we(7));if(typeof L.type>"u")throw new Error(we(8));if(f)throw new Error(we(9));try{f=!0,i=a(i,L)}finally{f=!1}for(var _=s=l,k=0;k<_.length;k++){var N=_[k];N()}return L}function v(L){if(typeof L!="function")throw new Error(we(10));a=L,y({type:xn.REPLACE})}function C(){var L,_=g;return L={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(we(11));function I(){N.next&&N.next(m())}I();var U=_(I);return{unsubscribe:U}}},L[Vl]=function(){return this},L}return y({type:xn.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:v},n[Vl]=C,n}function uf(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xn.INIT});if(typeof n>"u")throw new Error(we(12));if(typeof r(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(we(13))})}function Kl(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{uf(r)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,v={},C=0;C<i.length;C++){var L=i[C],_=r[L],k=u[L],N=_(k,m);if(typeof N>"u"){var I=m&&m.type;throw new Error(we(14))}v[L]=N,y=y||N!==k}return y=y||i.length!==Object.keys(u).length,y?v:u}}function Fr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Zl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(we(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=Fr.apply(void 0,l)(a.dispatch),qa(qa({},a),{},{dispatch:i})}}}function ql(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Yl=ql();Yl.withExtraArgument=ql;var Qa=Yl;var t1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pf=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wr=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},hf=Object.defineProperty,mf=Object.defineProperties,gf=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,yf=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable,Ql=function(e,t,r){return t in e?hf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Ht=function(e,t){for(var r in t||(t={}))yf.call(t,r)&&Ql(e,r,t[r]);if(Xl)for(var n=0,a=Xl(t);n<a.length;n++){var r=a[n];bf.call(t,r)&&Ql(e,r,t[r])}return e},Ja=function(e,t){return mf(e,gf(t))},xf=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{l(r.next(f))}catch(u){a(u)}},s=function(f){try{l(r.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((r=r.apply(e,t)).next())})};var vf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)},ux=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Sf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Cf=function(e){t1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Wr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Wr([void 0],r.concat(this))))},t}(Array),Ef=function(e){t1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Wr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Wr([void 0],r.concat(this))))},t}(Array);function ri(e){return st(e)?bn(e,function(){}):e}function Lf(e){return typeof e=="boolean"}function Af(){return function(t){return Of(t)}}function Of(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new Cf;if(r&&(Lf(r)?l.push(Qa):l.push(Qa.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return l}var ei=!0;function r1(e){var t=Af(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,f=l===void 0?!0:l,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(Sf(a))v=Kl(a);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 C=s;if(typeof C=="function"&&(C=C(t),!ei&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ei&&C.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var L=Zl.apply(void 0,C),_=Fr;f&&(_=vf(Ht({trace:!ei},typeof f=="object"&&f)));var k=new Ef(L),N=k;Array.isArray(y)?N=Wr([L],y):typeof y=="function"&&(N=y(k));var I=_.apply(void 0,N);return Xa(v,m,I)}function Gt(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ht(Ht({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function o1(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Rf(e){return typeof e=="function"}function wf(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?o1(t):[t,r,n],i=a[0],s=a[1],l=a[2],f;if(Rf(e))f=function(){return ri(e())};else{var u=ri(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var v=Wr([i[y.type]],s.filter(function(C){var L=C.matcher;return L(y)}).map(function(C){var L=C.reducer;return L}));return v.filter(function(C){return!!C}).length===0&&(v=[l]),v.reduce(function(C,L){if(L)if(wt(C)){var _=C,k=L(_,y);return k===void 0?C:k}else{if(st(C))return bn(C,function(N){return L(N,y)});var k=L(C,y);if(k===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return C},g)}return m.getInitialState=f,m}function _f(e,t){return e+"/"+t}function n1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ri(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=_f(t,m),v,C;"reducer"in g?(v=g.reducer,C=g.prepare):v=g,i[m]=v,s[y]=v,l[m]=C?Gt(y,C):Gt(y)});function f(){var m=typeof e.extraReducers=="function"?o1(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,v=m[1],C=v===void 0?[]:v,L=m[2],_=L===void 0?void 0:L,k=Ht(Ht({},y),s);return wf(r,function(N){for(var I in k)N.addCase(I,k[I]);for(var U=0,G=C;U<G.length;U++){var X=G[U];N.addMatcher(X.matcher,X.reducer)}_&&N.addDefaultCase(_)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Nf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tf=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Nf[Math.random()*64|0];return t},kf=["name","message","stack","code"],ti=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Jl=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Mf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=kf;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},gx=function(){function e(t,r,n){var a=Gt(t+"/fulfilled",function(m,g,y,v){return{payload:m,meta:Ja(Ht({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=Gt(t+"/pending",function(m,g,y){return{payload:void 0,meta:Ja(Ht({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=Gt(t+"/rejected",function(m,g,y,v,C){return{payload:v,error:(n&&n.serializeError||Mf)(m||"Rejected"),meta:Ja(Ht({},C||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,y,v){var C=n?.idGenerator?n.idGenerator(m):Tf(),L=new f,_,k=!1;function N(U){_=U,L.abort()}var I=function(){return xf(this,null,function(){var U,G,X,Me,xe,ft,ve;return pf(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Me=(U=n?.condition)==null?void 0:U.call(n,m,{getState:y,extra:v}),zf(Me)?[4,Me]:[3,2];case 1:Me=x.sent(),x.label=2;case 2:if(Me===!1||L.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,xe=new Promise(function(E,$){return L.signal.addEventListener("abort",function(){return $({name:"AbortError",message:_||"Aborted"})})}),g(i(C,m,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:C,arg:m},{getState:y,extra:v}))),[4,Promise.race([xe,Promise.resolve(r(m,{dispatch:g,getState:y,extra:v,requestId:C,signal:L.signal,abort:N,rejectWithValue:function(E,$){return new ti(E,$)},fulfillWithValue:function(E,$){return new Jl(E,$)}})).then(function(E){if(E instanceof ti)throw E;return E instanceof Jl?a(E.payload,C,m,E.meta):a(E,C,m)})])];case 3:return X=x.sent(),[3,5];case 4:return ft=x.sent(),X=ft instanceof ti?s(null,C,m,ft.payload,ft.meta):s(ft,C,m),[3,5];case 5:return ve=n&&!n.dispatchConditionRejection&&s.match(X)&&X.meta.condition,ve||g(X),[2,X]}})})}();return Object.assign(I,{abort:N,requestId:C,arg:m,unwrap:function(){return I.then(Pf)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Pf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function zf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a1="listener",i1="completed",s1="cancelled",yx="task-"+s1,bx="task-"+i1,xx=a1+"-"+s1,vx=a1+"-"+i1;var oi="listenerMiddleware";var Sx=Gt(oi+"/add"),Cx=Gt(oi+"/removeAll"),Ex=Gt(oi+"/remove");var e1,Lx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(e1||(e1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},If=function(e){return function(t){setTimeout(t,e)}},Ax=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:If(10);Ul();var Df=ln(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),vn=class extends Df(Object){};window.ftReduxStores||(window.ftReduxStores={});var c1=class e extends vn{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(hn(i))return i;if(a==null)return;let s=n1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=r1({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=yl(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new dn;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Sn=class{static format(t,r,n,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,r,n,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Cn=S(D()),Bf="ft-app-info",pr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};pr.eventName="authentication-change";var Uf={session:(e,t)=>{(0,Cn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>P.dispatchEvent(new pr(t.payload)),0))}},P=Cn.FtReduxStore.get({name:Bf,reducers:Uf,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 l1=S(D()),En=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Jx=(0,l1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(P)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Sn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return En([(0,ni.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),En([(0,ni.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),En([Pa({store:P.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),En([Pa({store:P.name})],t.prototype,"uiLocale",void 0),t});var Hf=S(f1(),1);var u1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(u1||(u1={}));var p1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(p1||(p1={}));var h1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(h1||(h1={}));var m1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(m1||(m1={}));var g1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(g1||(g1={}));var y1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(y1||(y1={}));var b1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(b1||(b1={}));var x1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(x1||(x1={}));var v1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(v1||(v1={}));var S1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(S1||(S1={}));var C1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(C1||(C1={}));var E1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(E1||(E1={}));var L1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(L1||(L1={}));var A1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(A1||(A1={}));var O1;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(O1||(O1={}));var R1;(function(e){e.ASC="ASC",e.DESC="DESC"})(R1||(R1={}));var w1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(w1||(w1={}));var _1;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(_1||(_1={}));var N1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(N1||(N1={}));var T1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(T1||(T1={}));var k1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(k1||(k1={}));var M1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(M1||(M1={}));var P1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(P1||(P1={}));var z1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(z1||(z1={}));var I1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(I1||(I1={}));var de;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(de||(de={}));var Ye;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ye||(Ye={}));var D1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var B1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B1||(B1={}));var U1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(U1||(U1={}));var $1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})($1||($1={}));var H1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H1||(H1={}));var G1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(G1||(G1={}));var F1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(F1||(F1={}));var W1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(W1||(W1={}));var j1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(j1||(j1={}));var $f={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN,de.BEHAVIOR_DATA_USER],[de.GENERATIVE_AI_EXPORT_USER]:[de.GENERATIVE_AI_USER]};function V1(e,t){return e===t||($f[e]??[]).some(r=>V1(r,t))}function K1(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>V1(n,t))}var Tn=S(D());var ai=S(D());var hr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let a=P.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var On=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:hr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):hr.await()}};var $e=class extends On{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[f])=>l.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ai.CacheRegistry,this.cache=t?a.commonCache:new ai.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Rn=class extends $e{async listMySearches(){let{session:t}=P.getState();return K1(t,de.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var wn=class extends $e{async listMyBookmarks(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var _n=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=P.getState().session;return!!t?.sessionAuthenticated}};var Nn=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=P.getState().session;return!!t?.sessionAuthenticated}};var Gf="ft-user-assets",Ff={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(Ye).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:n,asset:a}=t.payload;si(e,r,[...ii(e,r),a]),Z1(e,r,1,n),q1(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;si(e,r,ii(e,r).map(a=>a.id===n.id?n:a)),q1(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;si(e,r,ii(e,r).filter(i=>i.id!==a)),Z1(e,r,-1,n)}},Y1={[Ye.SEARCHES]:"savedSearches",[Ye.BOOKMARKS]:"bookmarks",[Ye.BOOKS]:void 0,[Ye.COLLECTIONS]:void 0},ii=(e,t)=>{var r;let n=Y1[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},si=(e,t,r)=>{let n=Y1[t];n&&(e[n]=r)},Z1=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===Ye.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},q1=(e,t)=>{let r=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},He=Tn.FtReduxStore.get({name:Gf,reducers:Ff,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ye).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ci=class{constructor(t=new _n,r=new Nn){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new Rn,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,Tn.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),He.actions.clearAssetCount(),He.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),He.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),He.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();He.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();He.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&He.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&He.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(He.getState().assetCounts.bookmarkByMap).length!==0;t===Ye.BOOKMARKS&&r&&He.actions.clearBookmarkCountByMap(),He.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;He.actions.bookmarks(r)}}},Wf=new ci;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Wf);var li=class{addCommand(t,r=!1){P.commands.add(t,r)}consumeCommand(t){return P.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new li;var Xe=S(D());var X1,Vr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},jf=Symbol("clearAfterUnitTest"),kn=class extends(0,Xe.withEventBus)($e){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[X1]=()=>{this.defaultMessages={},this.cache=new Xe.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=P.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,Xe.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Xe.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(t){let r=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof Xe.CanceledPromiseError)&&r&&console.error(a)}return n}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Vr({loadedContexts:t})),this.dispatchEvent(new Vr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Vr({loadedContexts:[t]})),this.dispatchEvent(new Vr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Xe.delay)(0).then(()=>n()).catch(()=>null)))}};X1=jf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends kn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends kn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Co=window.FluidTopicsI18nService,di=window.FluidTopicsCustomI18nService;var Q1=S(D()),fi=class{highlightHtml(t,r,n){(0,Q1.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new fi;var J1=S(D());var ui=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;if(t==null)return"";try{return J1.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new ui;var e2=S(D());var Eo=class{static get(t,r){var n,a;let i=P.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new e2.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var pi=class{urlToSearchRequest(t){return Eo.get().parse(t)}searchRequestToUrl(t){return Eo.get().serialize(t)}};window.FluidTopicsUrlService=new pi;var Wt=S(D());var mr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};mr.eventName="change";var hi=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},t2=new hi;var Mn=class e extends Wt.WithEventBus{static build(){return new e(window.history,t2,()=>window.location,!1)}constructor(t,r,n,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let n=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Wt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new mr(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,l])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(mr.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(mr.eventName,t)}currentItem(){return(0,Wt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Wt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Wt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let n=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var n;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Mn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var r2=S(W());var o2=r2.css`
|
|
535
|
-
`;var a2=S(W()),Ae=S(oe()),ct=S(D());function n2(e,t){let{authenticationRequired:r,session:n}=P.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var
|
|
534
|
+
`;var Fc=["top","right","bottom","left"],Gc=["start","end"],Oa=Fc.reduce((e,t)=>e.concat(t,t+"-"+Gc[0],t+"-"+Gc[1]),[]),uo=Math.min,It=Math.max,po=Math.round;var it=e=>({x:e,y:e}),T4={left:"right",right:"left",bottom:"top",top:"bottom"};function Ra(e,t,r){return It(e,uo(t,r))}function Qo(e,t){return typeof e=="function"?e(t):e}function zr(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function wa(e){return e==="x"?"y":"x"}function _a(e){return e==="y"?"height":"width"}function Jo(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Na(e){return wa(Jo(e))}function Wc(e,t,r){r===void 0&&(r=!1);let n=Dt(e),a=Na(e),i=_a(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Aa(s)),[s,Aa(s)]}function jc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Aa(e){let t=zr(e);return T4[t]+e.slice(t.length)}function k4(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vc(e){return typeof e!="number"?k4(e):{top:e,right:e,bottom:e,left:e}}function ar(e){let{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Kc(e,t,r){let{reference:n,floating:a}=e,i=Jo(t),s=Na(t),l=_a(s),f=zr(t),u=i==="y",m=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,y=n[l]/2-a[l]/2,v;switch(f){case"top":v={x:m,y:n.y-a.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-a.width,y:g};break;default:v={x:n.x,y:n.y}}switch(Dt(t)){case"start":v[s]-=y*(r&&u?-1:1);break;case"end":v[s]+=y*(r&&u?-1:1);break}return v}async function Zc(e,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:g="floating",altBoundary:y=!1,padding:v=0}=Qo(t,e),C=Vc(v),_=l[y?g==="floating"?"reference":"floating":g],k=ar(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(_)))==null||r?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:f})),N=g==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,I=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(I))?await(i.getScale==null?void 0:i.getScale(I))||{x:1,y:1}:{x:1,y:1},G=ar(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:I,strategy:f}):N);return{top:(k.top-G.top+C.top)/U.y,bottom:(G.bottom-k.bottom+C.bottom)/U.y,left:(k.left-G.left+C.left)/U.x,right:(G.right-k.right+C.right)/U.x}}var M4=50,qc=async(e,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=s.detectOverflow?s:{...s,detectOverflow:Zc},f=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:g}=Kc(u,n,f),y=n,v=0,C={};for(let L=0;L<i.length;L++){let _=i[L];if(!_)continue;let{name:k,fn:N}=_,{x:I,y:U,data:G,reset:X}=await N({x:m,y:g,initialPlacement:n,placement:y,strategy:a,middlewareData:C,rects:u,platform:l,elements:{reference:e,floating:t}});m=I??m,g=U??g,C[k]={...C[k],...G},X&&v<M4&&(v++,typeof X=="object"&&(X.placement&&(y=X.placement),X.rects&&(u=X.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):X.rects),{x:m,y:g}=Kc(u,y,f)),L=-1)}return{x:m,y:g,placement:y,strategy:a,middlewareData:C}};function P4(e,t,r){return(e?[...r.filter(a=>Dt(a)===e),...r.filter(a=>Dt(a)!==e)]:r.filter(a=>zr(a)===a)).filter(a=>e?Dt(a)===e||(t?jc(a)!==a:!1):!0)}var Yc=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:f,elements:u}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:y=Oa,autoAlignment:v=!0,...C}=Qo(e,t),L=g!==void 0||y===Oa?P4(g||null,v,y):y,_=await f.detectOverflow(t,C),k=((r=s.autoPlacement)==null?void 0:r.index)||0,N=L[k];if(N==null)return{};let I=Wc(N,i,await(f.isRTL==null?void 0:f.isRTL(u.floating)));if(l!==N)return{reset:{placement:L[0]}};let U=[_[zr(N)],_[I[0]],_[I[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:U}],X=L[k+1];if(X)return{data:{index:k+1,overflows:G},reset:{placement:X}};let Me=G.map(Se=>{let x=Dt(Se.placement);return[Se.placement,x&&m?Se.overflows.slice(0,2).reduce((E,$)=>E+$,0):Se.overflows[0],Se.overflows]}).sort((Se,x)=>Se[1]-x[1]),ft=((a=Me.filter(Se=>Se[2].slice(0,Dt(Se[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||Me[0][0];return ft!==l?{data:{index:k+1,overflows:G},reset:{placement:ft}}:{}}}};var Xc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:a,platform:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:f={fn:k=>{let{x:N,y:I}=k;return{x:N,y:I}}},...u}=Qo(e,t),m={x:r,y:n},g=await i.detectOverflow(t,u),y=Jo(zr(a)),v=wa(y),C=m[v],L=m[y];if(s){let k=v==="y"?"top":"left",N=v==="y"?"bottom":"right",I=C+g[k],U=C-g[N];C=Ra(I,C,U)}if(l){let k=y==="y"?"top":"left",N=y==="y"?"bottom":"right",I=L+g[k],U=L-g[N];L=Ra(I,L,U)}let _=f.fn({...t,[v]:C,[y]:L});return{..._,data:{x:_.x-r,y:_.y-n,enabled:{[v]:s,[y]:l}}}}}};function tn(){return typeof window<"u"}function sr(e){return Jc(e)?(e.nodeName||"").toLowerCase():"#document"}function Ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(Jc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Jc(e){return tn()?e instanceof Node||e instanceof Ie(e).Node:!1}function Ke(e){return tn()?e instanceof Element||e instanceof Ie(e).Element:!1}function yt(e){return tn()?e instanceof HTMLElement||e instanceof Ie(e).HTMLElement:!1}function Qc(e){return!tn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ie(e).ShadowRoot}function Ir(e){let{overflow:t,overflowX:r,overflowY:n,display:a}=Ze(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&a!=="inline"&&a!=="contents"}function el(e){return/^(table|td|th)$/.test(sr(e))}function ho(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var z4=/transform|translate|scale|rotate|perspective|filter/,I4=/paint|layout|strict|content/,ir=e=>!!e&&e!=="none",Ta;function rn(e){let t=Ke(e)?Ze(e):e;return ir(t.transform)||ir(t.translate)||ir(t.scale)||ir(t.rotate)||ir(t.perspective)||!on()&&(ir(t.backdropFilter)||ir(t.filter))||z4.test(t.willChange||"")||I4.test(t.contain||"")}function tl(e){let t=Rt(e);for(;yt(t)&&!cr(t);){if(rn(t))return t;if(ho(t))return null;t=Rt(t)}return null}function on(){return Ta==null&&(Ta=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ta}function cr(e){return/^(html|body|#document)$/.test(sr(e))}function Ze(e){return Ie(e).getComputedStyle(e)}function mo(e){return Ke(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rt(e){if(sr(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Qc(e)&&e.host||gt(e);return Qc(t)?t.host:t}function rl(e){let t=Rt(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:yt(t)&&Ir(t)?t:rl(t)}function en(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=rl(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=Ie(a);if(i){let l=nn(s);return t.concat(s,s.visualViewport||[],Ir(a)?a:[],l&&r?en(l):[])}else return t.concat(a,en(a,[],r))}function nn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function il(e){let t=Ze(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=yt(e),i=a?e.offsetWidth:r,s=a?e.offsetHeight:n,l=po(r)!==i||po(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function sl(e){return Ke(e)?e:e.contextElement}function Dr(e){let t=sl(e);if(!yt(t))return it(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=il(t),s=(i?po(r.width):r.width)/n,l=(i?po(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var D4=it(0);function cl(e){let t=Ie(e);return!on()||!t.visualViewport?D4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function B4(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ie(e)?!1:t}function go(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=sl(e),s=it(1);t&&(n?Ke(n)&&(s=Dr(n)):s=Dr(e));let l=B4(i,r,n)?cl(i):it(0),f=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,g=a.height/s.y;if(i){let y=Ie(i),v=n&&Ke(n)?Ie(n):n,C=y,L=nn(C);for(;L&&n&&v!==C;){let _=Dr(L),k=L.getBoundingClientRect(),N=Ze(L),I=k.left+(L.clientLeft+parseFloat(N.paddingLeft))*_.x,U=k.top+(L.clientTop+parseFloat(N.paddingTop))*_.y;f*=_.x,u*=_.y,m*=_.x,g*=_.y,f+=I,u+=U,C=Ie(L),L=nn(C)}}return ar({width:m,height:g,x:f,y:u})}function an(e,t){let r=mo(e).scrollLeft;return t?t.left+r:go(gt(e)).left+r}function ll(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-an(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function U4(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e,i=a==="fixed",s=gt(n),l=t?ho(t.floating):!1;if(n===s||l&&i)return r;let f={scrollLeft:0,scrollTop:0},u=it(1),m=it(0),g=yt(n);if((g||!g&&!i)&&((sr(n)!=="body"||Ir(s))&&(f=mo(n)),g)){let v=go(n);u=Dr(n),m.x=v.x+n.clientLeft,m.y=v.y+n.clientTop}let y=s&&!g&&!i?ll(s,f):it(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-f.scrollLeft*u.x+m.x+y.x,y:r.y*u.y-f.scrollTop*u.y+m.y+y.y}}function $4(e){return Array.from(e.getClientRects())}function H4(e){let t=gt(e),r=mo(e),n=e.ownerDocument.body,a=It(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=It(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+an(e),l=-r.scrollTop;return Ze(n).direction==="rtl"&&(s+=It(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}var ol=25;function G4(e,t){let r=Ie(e),n=gt(e),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,f=0;if(a){i=a.width,s=a.height;let m=on();(!m||m&&t==="fixed")&&(l=a.offsetLeft,f=a.offsetTop)}let u=an(n);if(u<=0){let m=n.ownerDocument,g=m.body,y=getComputedStyle(g),v=m.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,C=Math.abs(n.clientWidth-g.clientWidth-v);C<=ol&&(i-=C)}else u<=ol&&(i+=u);return{width:i,height:s,x:l,y:f}}function F4(e,t){let r=go(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=yt(e)?Dr(e):it(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,f=a*i.x,u=n*i.y;return{width:s,height:l,x:f,y:u}}function nl(e,t,r){let n;if(t==="viewport")n=G4(e,r);else if(t==="document")n=H4(gt(e));else if(Ke(t))n=F4(t,r);else{let a=cl(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ar(n)}function dl(e,t){let r=Rt(e);return r===t||!Ke(r)||cr(r)?!1:Ze(r).position==="fixed"||dl(r,t)}function W4(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(l=>Ke(l)&&sr(l)!=="body"),a=null,i=Ze(e).position==="fixed",s=i?Rt(e):e;for(;Ke(s)&&!cr(s);){let l=Ze(s),f=rn(s);!f&&l.position==="fixed"&&(a=null),(i?!f&&!a:!f&&l.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||Ir(s)&&!f&&dl(e,s))?n=n.filter(m=>m!==s):a=l,s=Rt(s)}return t.set(e,n),n}function j4(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e,s=[...r==="clippingAncestors"?ho(t)?[]:W4(t,this._c):[].concat(r),n],l=nl(t,s[0],a),f=l.top,u=l.right,m=l.bottom,g=l.left;for(let y=1;y<s.length;y++){let v=nl(t,s[y],a);f=It(v.top,f),u=uo(v.right,u),m=uo(v.bottom,m),g=It(v.left,g)}return{width:u-g,height:m-f,x:g,y:f}}function V4(e){let{width:t,height:r}=il(e);return{width:t,height:r}}function K4(e,t,r){let n=yt(t),a=gt(t),i=r==="fixed",s=go(e,!0,i,t),l={scrollLeft:0,scrollTop:0},f=it(0);function u(){f.x=an(a)}if(n||!n&&!i)if((sr(t)!=="body"||Ir(a))&&(l=mo(t)),n){let v=go(t,!0,i,t);f.x=v.x+t.clientLeft,f.y=v.y+t.clientTop}else a&&u();i&&!n&&a&&u();let m=a&&!n&&!i?ll(a,l):it(0),g=s.left+l.scrollLeft-f.x-m.x,y=s.top+l.scrollTop-f.y-m.y;return{x:g,y,width:s.width,height:s.height}}function ka(e){return Ze(e).position==="static"}function al(e,t){if(!yt(e)||Ze(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return gt(e)===r&&(r=r.ownerDocument.body),r}function fl(e,t){let r=Ie(e);if(ho(e))return r;if(!yt(e)){let a=Rt(e);for(;a&&!cr(a);){if(Ke(a)&&!ka(a))return a;a=Rt(a)}return r}let n=al(e,t);for(;n&&el(n)&&ka(n);)n=al(n,t);return n&&cr(n)&&ka(n)&&!rn(n)?r:n||tl(e)||r}var Z4=async function(e){let t=this.getOffsetParent||fl,r=this.getDimensions,n=await r(e.floating);return{reference:K4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function q4(e){return Ze(e).direction==="rtl"}var sn={convertOffsetParentRelativeRectToViewportRelativeRect:U4,getDocumentElement:gt,getClippingRect:j4,getOffsetParent:fl,getElementRects:Z4,getClientRects:$4,getDimensions:V4,getScale:Dr,isElement:Ke,isRTL:q4};var ul=Yc,pl=Xc;var hl=(e,t,r)=>{let n=new Map,a={platform:sn,...r},i={...a.platform,_c:n};return qc(e,t,{...a,platform:i})};function ml(e){return Y4(e)}function Ma(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Y4(e){for(let t=e;t;t=Ma(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ma(e);t;t=Ma(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function gl(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},hl(e,t,{strategy:n.strategy,platform:{...sn,getOffsetParent:a=>sn.getOffsetParent(a,ml)},middleware:[pl({crossAxis:!0}),ul({allowedPlacements:[n.placement]})]})}var Zr=S(D());var ni=S(oe());function X4(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!cn(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!cn(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(e),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let s=a[n];if(!cn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function cn(e,t){try{return X4(e,t)}catch{return!1}}function yo(e,t){return!cn(e,t)}function yl(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function ln(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let a=t(n);return a[e]=!0,a}}var bl=S(oe(),1);var Pa=e=>{let t=e??{};return(r,n)=>{var a;let i={hasChanged:yo,attribute:!1,...t};(0,bl.property)(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}};var dn=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var lr=S(oe(),1);var xl=S(oe(),1);function vl(e,t){let r=()=>JSON.parse(JSON.stringify(e));return(0,xl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:yo,...t??{}})}var fn=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Cl=S(W(),1);var un=globalThis,Q4=un.ShadowRoot&&(un.ShadyCSS===void 0||un.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wb=Symbol();var Sl=(e,t)=>{if(Q4)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=un.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)}};var pn=class extends Cl.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Sl(n,t.elementStyles),n}};function El(e,t,...r){var n;let a=e.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Ur=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Rl,Ll=Symbol("constructorPrototype"),Al=Symbol("constructorName"),wl=Symbol("exportpartsDebouncer"),Ol=Symbol("dynamicDependenciesLoaded"),Br=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Br.eventName="exportparts-updated";var bt=class extends pn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rl]=new fn(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[wl].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Al]=this.constructor.name,this[Ll]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Al]&&Object.setPrototypeOf(this,this[Ll])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Ol]||(r[Ol]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Br.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Br.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Br)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=El(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}setExportpartsAttribute(t){var r,n,a,i,s,l;let f=y=>y!=null&&y.trim().length>0,u=t.filter(f).map(y=>y.trim());if(u.length===0){this.exportparts=void 0;return}let m=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(i=(a=y.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],C=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(_=>_.split(":")[1]))!==null&&l!==void 0?l:[],L=[...v,...C].filter(f).map(_=>_.trim());for(let _ of L)m.add(_)}if(m.size===0){this.exportparts=void 0;return}let g=[...m.values()].flatMap(y=>u.map(v=>`${y}:${v}--${y}`));this.exportparts=[...this.part,...g].join(", ")}};Rl=wl;Ur([(0,lr.property)()],bt.prototype,"exportpartsPrefix",void 0);Ur([vl([])],bt.prototype,"exportpartsPrefixes",void 0);Ur([(0,lr.property)({reflect:!0})],bt.prototype,"exportparts",void 0);Ur([(0,lr.property)()],bt.prototype,"customStylesheet",void 0);Ur([(0,lr.property)()],bt.prototype,"elementToFocus",void 0);Ur([(0,lr.state)()],bt.prototype,"useAdoptedStyleSheets",void 0);function hn(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var bo=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),dr=Symbol("internalStores"),J4=ln(Symbol("withRedux"),function(e){var t,r,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=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[dr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[dr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[dr].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[dr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[dr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[dr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[Bt].has(s.store):this[Bt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var f;this[Bt].set(s,l.subscribe(()=>this.updateFromStores())),this[bo].set(s,[]),hn(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((u,m)=>{if(typeof this[m]=="function"&&(!u.store||l.name===u.store)){let g=y=>this[m](y);l.addEventListener(u.eventName,g),this[bo].get(s).push(()=>l.removeEventListener(u.eventName,g))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Bt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Bt].has(s)&&this[Bt].get(s)(),this[Bt].delete(s),(l=this[bo].get(s))===null||l===void 0||l.forEach(f=>f()),this[bo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Bt,r=dr,n=bo,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),_l=class extends J4(bt){};function qe(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function wt(e){return!!e&&!!e[ee]}function st(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===cf}(e)||Array.isArray(e)||!!e[Il]||!!(!((t=e.constructor)===null||t===void 0)&&t[Il])||Fa(e)||Wa(e))}function fr(e,t,r){r===void 0&&(r=!1),Gr(e)===0?(r?Object.keys:Hr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Gr(e){var t=e[ee];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fa(e)?2:Wa(e)?3:0}function $r(e,t){return Gr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ef(e,t){return Gr(e)===2?e.get(t):e[t]}function Dl(e,t,r){var n=Gr(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function Bl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fa(e){return af&&e instanceof Map}function Wa(e){return sf&&e instanceof Set}function Ut(e){return e.o||e.t}function ja(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Hl(e);delete t[ee];for(var r=Hr(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Va(e,t){return t===void 0&&(t=!1),Ka(e)||wt(e)||!st(e)||(Gr(e)>1&&(e.set=e.add=e.clear=e.delete=tf),Object.freeze(e),t&&fr(e,function(r,n){return Va(n,!0)},!0)),e}function tf(){qe(2)}function Ka(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function xt(e){var t=Ga[e];return t||qe(18,e),t}function rf(e,t){Ga[e]||(Ga[e]=t)}function Ua(){return vo}function za(e,t){t&&(xt("Patches"),e.u=[],e.s=[],e.v=t)}function mn(e){$a(e),e.p.forEach(of),e.p=null}function $a(e){e===vo&&(vo=e.l)}function Nl(e){return vo={p:[],l:vo,h:e,m:!0,_:0}}function of(e){var t=e[ee];t.i===0||t.i===1?t.j():t.g=!0}function Ia(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||xt("ES5").S(t,e,n),n?(r[ee].P&&(mn(t),qe(4)),st(e)&&(e=gn(t,e),t.l||yn(t,e)),t.u&&xt("Patches").M(r[ee].t,e,t.u,t.s)):e=gn(t,r,[]),mn(t),t.u&&t.v(t.u,t.s),e!==$l?e:void 0}function gn(e,t,r){if(Ka(t))return t;var n=t[ee];if(!n)return fr(t,function(l,f){return Tl(e,n,t,l,f,r)},!0),t;if(n.A!==e)return t;if(!n.P)return yn(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ja(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),fr(i,function(l,f){return Tl(e,n,a,l,f,r,s)}),yn(e,a,!1),r&&e.u&&xt("Patches").N(n,r,e.u,e.s)}return n.o}function Tl(e,t,r,n,a,i,s){if(wt(a)){var l=gn(e,a,i&&t&&t.i!==3&&!$r(t.R,n)?i.concat(n):void 0);if(Dl(r,n,l),!wt(l))return;e.m=!1}else s&&r.add(a);if(st(a)&&!Ka(a)){if(!e.h.D&&e._<1)return;gn(e,a),t&&t.A.l||yn(e,a)}}function yn(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Va(t,r)}function Da(e,t){var r=e[ee];return(r?Ut(r):e)[t]}function kl(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function $t(e){e.P||(e.P=!0,e.l&&$t(e.l))}function Ba(e){e.o||(e.o=ja(e.t))}function Ha(e,t,r){var n=Fa(t)?xt("MapSet").F(t,r):Wa(t)?xt("MapSet").T(t,r):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ua(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=l,u=So;s&&(f=[l],u=xo);var m=Proxy.revocable(f,u),g=m.revoke,y=m.proxy;return l.k=y,l.j=g,y}(t,r):xt("ES5").J(t,r);return(r?r.A:Ua()).p.push(n),n}function nf(e){return wt(e)||qe(22,e),function t(r){if(!st(r))return r;var n,a=r[ee],i=Gr(r);if(a){if(!a.P&&(a.i<4||!xt("ES5").K(a)))return a.t;a.I=!0,n=Ml(r,i),a.I=!1}else n=Ml(r,i);return fr(n,function(s,l){a&&ef(a.t,s)===l||Dl(n,s,t(l))}),i===3?new Set(n):n}(e)}function Ml(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ja(e)}function Ul(){function e(s,l){var f=i[s];return f?f.enumerable=l:i[s]=f={configurable:!0,enumerable:l,get:function(){var u=this[ee];return So.get(u,s)},set:function(u){var m=this[ee];So.set(m,s,u)}},f}function t(s){for(var l=s.length-1;l>=0;l--){var f=s[l][ee];if(!f.P)switch(f.i){case 5:n(f)&&$t(f);break;case 4:r(f)&&$t(f)}}}function r(s){for(var l=s.t,f=s.k,u=Hr(f),m=u.length-1;m>=0;m--){var g=u[m];if(g!==ee){var y=l[g];if(y===void 0&&!$r(l,g))return!0;var v=f[g],C=v&&v[ee];if(C?C.t!==y:!Bl(v,y))return!0}}var L=!!l[ee];return u.length!==Hr(l).length+(L?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&qe(3,JSON.stringify(Ut(s)))}var i={};rf("ES5",{J:function(s,l){var f=Array.isArray(s),u=function(g,y){if(g){for(var v=Array(y.length),C=0;C<y.length;C++)Object.defineProperty(v,""+C,e(C,!0));return v}var L=Hl(y);delete L[ee];for(var _=Hr(L),k=0;k<_.length;k++){var N=_[k];L[N]=e(N,g||!!L[N].enumerable)}return Object.create(Object.getPrototypeOf(y),L)}(f,s),m={i:f?5:4,A:l?l.A:Ua(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ee,{value:m,writable:!0}),u},S:function(s,l,f){f?wt(l)&&l[ee].A===s&&t(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var g=m[ee];if(g){var y=g.t,v=g.k,C=g.R,L=g.i;if(L===4)fr(v,function(U){U!==ee&&(y[U]!==void 0||$r(y,U)?C[U]||u(v[U]):(C[U]=!0,$t(g)))}),fr(y,function(U){v[U]!==void 0||$r(v,U)||(C[U]=!1,$t(g))});else if(L===5){if(n(g)&&($t(g),C.length=!0),v.length<y.length)for(var _=v.length;_<y.length;_++)C[_]=!1;else for(var k=y.length;k<v.length;k++)C[k]=!0;for(var N=Math.min(v.length,y.length),I=0;I<N;I++)v.hasOwnProperty(I)||(C[I]=!0),C[I]===void 0&&u(v[I])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Pl,vo,Za=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",af=typeof Map<"u",sf=typeof Set<"u",zl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$l=Za?Symbol.for("immer-nothing"):((Pl={})["immer-nothing"]=!0,Pl),Il=Za?Symbol.for("immer-draftable"):"__$immer_draftable",ee=Za?Symbol.for("immer-state"):"__$immer_state";var cf=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Hl=Object.getOwnPropertyDescriptors||function(e){var t={};return Hr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ga={},So={get:function(e,t){if(t===ee)return e;var r=Ut(e);if(!$r(r,t))return function(a,i,s){var l,f=kl(i,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,r,t);var n=r[t];return e.I||!st(n)?n:n===Da(e.t,t)?(Ba(e),e.o[t]=Ha(e.A.h,n,e)):n},has:function(e,t){return t in Ut(e)},ownKeys:function(e){return Reflect.ownKeys(Ut(e))},set:function(e,t,r){var n=kl(Ut(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Da(Ut(e),t),i=a?.[ee];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(Bl(r,a)&&(r!==void 0||$r(e.t,t)))return!0;Ba(e),$t(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Da(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ba(e),$t(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ut(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){qe(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){qe(12)}},xo={};fr(So,function(e,t){xo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),xo.deleteProperty=function(e,t){return xo.set.call(this,e,t,void 0)},xo.set=function(e,t,r){return So.set.call(this,e[0],t,r,e[0])};var lf=function(){function e(r){var n=this;this.O=zl,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var f=n;return function(L){var _=this;L===void 0&&(L=l);for(var k=arguments.length,N=Array(k>1?k-1:0),I=1;I<k;I++)N[I-1]=arguments[I];return f.produce(L,function(U){var G;return(G=i).call.apply(G,[_,U].concat(N))})}}var u;if(typeof i!="function"&&qe(6),s!==void 0&&typeof s!="function"&&qe(7),st(a)){var m=Nl(n),g=Ha(n,a,void 0),y=!0;try{u=i(g),y=!1}finally{y?mn(m):$a(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(L){return za(m,s),Ia(L,m)},function(L){throw mn(m),L}):(za(m,s),Ia(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===$l&&(u=void 0),n.D&&Va(u,!0),s){var v=[],C=[];xt("Patches").M(a,u,v,C),s(v,C)}return u}qe(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,g=Array(m>1?m-1:0),y=1;y<m;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(v){return a.apply(void 0,[v].concat(g))})};var s,l,f=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&f instanceof Promise?f.then(function(u){return[u,s,l]}):[f,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){st(r)||qe(8),wt(r)&&(r=nf(r));var n=Nl(this),a=Ha(this,r,void 0);return a[ee].C=!0,$a(n),a},t.finishDraft=function(r,n){var a=r&&r[ee],i=a.A;return za(i,n),Ia(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!zl&&qe(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=xt("Patches").$;return wt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Ue=new lf,df=Ue.produce,Fb=Ue.produceWithPatches.bind(Ue),Wb=Ue.setAutoFreeze.bind(Ue),jb=Ue.setUseProxies.bind(Ue),Vb=Ue.applyPatches.bind(Ue),Kb=Ue.createDraft.bind(Ue),Zb=Ue.finishDraft.bind(Ue),bn=df;function ur(e){"@babel/helpers - typeof";return ur=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ur(e)}function Gl(e,t){if(ur(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ur(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fl(e){var t=Gl(e,"string");return ur(t)=="symbol"?t:t+""}function Wl(e,t,r){return(t=Fl(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qa(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jl(Object(r),!0).forEach(function(n){Wl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function we(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Vl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},xn={INIT:"@@redux/INIT"+Ya(),REPLACE:"@@redux/REPLACE"+Ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ya()}};function ff(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Xa(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(we(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(we(1));return r(Xa)(e,t)}if(typeof e!="function")throw new Error(we(2));var a=e,i=t,s=[],l=s,f=!1;function u(){l===s&&(l=s.slice())}function m(){if(f)throw new Error(we(3));return i}function g(L){if(typeof L!="function")throw new Error(we(4));if(f)throw new Error(we(5));var _=!0;return u(),l.push(L),function(){if(_){if(f)throw new Error(we(6));_=!1,u();var N=l.indexOf(L);l.splice(N,1),s=null}}}function y(L){if(!ff(L))throw new Error(we(7));if(typeof L.type>"u")throw new Error(we(8));if(f)throw new Error(we(9));try{f=!0,i=a(i,L)}finally{f=!1}for(var _=s=l,k=0;k<_.length;k++){var N=_[k];N()}return L}function v(L){if(typeof L!="function")throw new Error(we(10));a=L,y({type:xn.REPLACE})}function C(){var L,_=g;return L={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(we(11));function I(){N.next&&N.next(m())}I();var U=_(I);return{unsubscribe:U}}},L[Vl]=function(){return this},L}return y({type:xn.INIT}),n={dispatch:y,subscribe:g,getState:m,replaceReducer:v},n[Vl]=C,n}function uf(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xn.INIT});if(typeof n>"u")throw new Error(we(12));if(typeof r(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(we(13))})}function Kl(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),s,l;try{uf(r)}catch(f){l=f}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var y=!1,v={},C=0;C<i.length;C++){var L=i[C],_=r[L],k=u[L],N=_(k,m);if(typeof N>"u"){var I=m&&m.type;throw new Error(we(14))}v[L]=N,y=y||N!==k}return y=y||i.length!==Object.keys(u).length,y?v:u}}function Fr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Zl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(we(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(f){return f(s)});return i=Fr.apply(void 0,l)(a.dispatch),qa(qa({},a),{},{dispatch:i})}}}function ql(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var Yl=ql();Yl.withExtraArgument=ql;var Qa=Yl;var t1=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),pf=function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return f([u,m])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Wr=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},hf=Object.defineProperty,mf=Object.defineProperties,gf=Object.getOwnPropertyDescriptors,Xl=Object.getOwnPropertySymbols,yf=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable,Ql=function(e,t,r){return t in e?hf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Ht=function(e,t){for(var r in t||(t={}))yf.call(t,r)&&Ql(e,r,t[r]);if(Xl)for(var n=0,a=Xl(t);n<a.length;n++){var r=a[n];bf.call(t,r)&&Ql(e,r,t[r])}return e},Ja=function(e,t){return mf(e,gf(t))},xf=function(e,t,r){return new Promise(function(n,a){var i=function(f){try{l(r.next(f))}catch(u){a(u)}},s=function(f){try{l(r.throw(f))}catch(u){a(u)}},l=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,s)};l((r=r.apply(e,t)).next())})};var vf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fr:Fr.apply(null,arguments)},ux=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Sf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Cf=function(e){t1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Wr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Wr([void 0],r.concat(this))))},t}(Array),Ef=function(e){t1(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Wr([void 0],r[0].concat(this)))):new(t.bind.apply(t,Wr([void 0],r.concat(this))))},t}(Array);function ri(e){return st(e)?bn(e,function(){}):e}function Lf(e){return typeof e=="boolean"}function Af(){return function(t){return Of(t)}}function Of(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new Cf;if(r&&(Lf(r)?l.push(Qa):l.push(Qa.withExtraArgument(r.extraArgument))),0){if(a)var f;if(s)var u}return l}var ei=!0;function r1(e){var t=Af(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?t():i,l=r.devTools,f=l===void 0?!0:l,u=r.preloadedState,m=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,v;if(typeof a=="function")v=a;else if(Sf(a))v=Kl(a);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 C=s;if(typeof C=="function"&&(C=C(t),!ei&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ei&&C.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var L=Zl.apply(void 0,C),_=Fr;f&&(_=vf(Ht({trace:!ei},typeof f=="object"&&f)));var k=new Ef(L),N=k;Array.isArray(y)?N=Wr([L],y):typeof y=="function"&&(N=y(k));var I=_.apply(void 0,N);return Xa(v,m,I)}function Gt(e,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ht(Ht({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function o1(e){var t={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,r,n]}function Rf(e){return typeof e=="function"}function wf(e,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?o1(t):[t,r,n],i=a[0],s=a[1],l=a[2],f;if(Rf(e))f=function(){return ri(e())};else{var u=ri(e);f=function(){return u}}function m(g,y){g===void 0&&(g=f());var v=Wr([i[y.type]],s.filter(function(C){var L=C.matcher;return L(y)}).map(function(C){var L=C.reducer;return L}));return v.filter(function(C){return!!C}).length===0&&(v=[l]),v.reduce(function(C,L){if(L)if(wt(C)){var _=C,k=L(_,y);return k===void 0?C:k}else{if(st(C))return bn(C,function(N){return L(N,y)});var k=L(C,y);if(k===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return k}return C},g)}return m.getInitialState=f,m}function _f(e,t){return e+"/"+t}function n1(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ri(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var g=n[m],y=_f(t,m),v,C;"reducer"in g?(v=g.reducer,C=g.prepare):v=g,i[m]=v,s[y]=v,l[m]=C?Gt(y,C):Gt(y)});function f(){var m=typeof e.extraReducers=="function"?o1(e.extraReducers):[e.extraReducers],g=m[0],y=g===void 0?{}:g,v=m[1],C=v===void 0?[]:v,L=m[2],_=L===void 0?void 0:L,k=Ht(Ht({},y),s);return wf(r,function(N){for(var I in k)N.addCase(I,k[I]);for(var U=0,G=C;U<G.length;U++){var X=G[U];N.addMatcher(X.matcher,X.reducer)}_&&N.addDefaultCase(_)})}var u;return{name:t,reducer:function(m,g){return u||(u=f()),u(m,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=f()),u.getInitialState()}}}var Nf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tf=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=Nf[Math.random()*64|0];return t},kf=["name","message","stack","code"],ti=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Jl=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Mf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=kf;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},gx=function(){function e(t,r,n){var a=Gt(t+"/fulfilled",function(m,g,y,v){return{payload:m,meta:Ja(Ht({},v||{}),{arg:y,requestId:g,requestStatus:"fulfilled"})}}),i=Gt(t+"/pending",function(m,g,y){return{payload:void 0,meta:Ja(Ht({},y||{}),{arg:g,requestId:m,requestStatus:"pending"})}}),s=Gt(t+"/rejected",function(m,g,y,v,C){return{payload:v,error:(n&&n.serializeError||Mf)(m||"Rejected"),meta:Ja(Ht({},C||{}),{arg:y,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(g,y,v){var C=n?.idGenerator?n.idGenerator(m):Tf(),L=new f,_,k=!1;function N(U){_=U,L.abort()}var I=function(){return xf(this,null,function(){var U,G,X,Me,ve,ft,Se;return pf(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),Me=(U=n?.condition)==null?void 0:U.call(n,m,{getState:y,extra:v}),zf(Me)?[4,Me]:[3,2];case 1:Me=x.sent(),x.label=2;case 2:if(Me===!1||L.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return k=!0,ve=new Promise(function(E,$){return L.signal.addEventListener("abort",function(){return $({name:"AbortError",message:_||"Aborted"})})}),g(i(C,m,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:C,arg:m},{getState:y,extra:v}))),[4,Promise.race([ve,Promise.resolve(r(m,{dispatch:g,getState:y,extra:v,requestId:C,signal:L.signal,abort:N,rejectWithValue:function(E,$){return new ti(E,$)},fulfillWithValue:function(E,$){return new Jl(E,$)}})).then(function(E){if(E instanceof ti)throw E;return E instanceof Jl?a(E.payload,C,m,E.meta):a(E,C,m)})])];case 3:return X=x.sent(),[3,5];case 4:return ft=x.sent(),X=ft instanceof ti?s(null,C,m,ft.payload,ft.meta):s(ft,C,m),[3,5];case 5:return Se=n&&!n.dispatchConditionRejection&&s.match(X)&&X.meta.condition,Se||g(X),[2,X]}})})}();return Object.assign(I,{abort:N,requestId:C,arg:m,unwrap:function(){return I.then(Pf)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Pf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function zf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var a1="listener",i1="completed",s1="cancelled",yx="task-"+s1,bx="task-"+i1,xx=a1+"-"+s1,vx=a1+"-"+i1;var oi="listenerMiddleware";var Sx=Gt(oi+"/add"),Cx=Gt(oi+"/removeAll"),Ex=Gt(oi+"/remove");var e1,Lx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(e1||(e1=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},If=function(e){return function(t){setTimeout(t,e)}},Ax=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:If(10);Ul();var Df=ln(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}),vn=class extends Df(Object){};window.ftReduxStores||(window.ftReduxStores={});var c1=class e extends vn{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(hn(i))return i;if(a==null)return;let s=n1({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=r1({reducer:(f,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let m=yl(s.getInitialState());for(let g of u.keeping)m[g]=(f??m)[g];return m}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...f,...u.overwrites};return s.reducer(f,u)}});return window.ftReduxStores[a.name]=new e(s,l,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new dn;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let f=s,u=i[f];return u?(...m)=>{let g=u(...m.map(a));return this.reduxStore.dispatch(g),g}:m=>{this.setState({[f]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Sn=class{static format(t,r,n,a){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,a)):this.getIntlDateTime(t,r,n,a)}static getMomentDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,a){let i=typeof t=="string"?new Date(t):t,s=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(i);if(!a)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(i);return`${s} ${l}`}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Cn=S(D()),Bf="ft-app-info",pr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};pr.eventName="authentication-change";var Uf={session:(e,t)=>{(0,Cn.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>P.dispatchEvent(new pr(t.payload)),0))}},P=Cn.FtReduxStore.get({name:Bf,reducers:Uf,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 l1=S(D()),En=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Jx=(0,l1.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(P)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,i;return((i=(a=this.metadataDescriptors.find(l=>l.key===n))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1)?l=>Sn.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return En([(0,ni.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),En([(0,ni.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),En([Pa({store:P.name,selector:r=>{var n,a;return(a=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),En([Pa({store:P.name})],t.prototype,"uiLocale",void 0),t});var Hf=S(f1(),1);var u1;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(u1||(u1={}));var p1;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(p1||(p1={}));var h1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(h1||(h1={}));var m1;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(m1||(m1={}));var g1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(g1||(g1={}));var y1;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(y1||(y1={}));var b1;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(b1||(b1={}));var x1;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(x1||(x1={}));var v1;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(v1||(v1={}));var S1;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(S1||(S1={}));var C1;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(C1||(C1={}));var E1;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(E1||(E1={}));var L1;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(L1||(L1={}));var A1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(A1||(A1={}));var O1;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(O1||(O1={}));var R1;(function(e){e.ASC="ASC",e.DESC="DESC"})(R1||(R1={}));var w1;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(w1||(w1={}));var _1;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(_1||(_1={}));var N1;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(N1||(N1={}));var T1;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(T1||(T1={}));var k1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(k1||(k1={}));var M1;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(M1||(M1={}));var P1;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(P1||(P1={}));var z1;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(z1||(z1={}));var I1;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(I1||(I1={}));var de;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(de||(de={}));var Ye;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Ye||(Ye={}));var D1;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(D1||(D1={}));var B1;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(B1||(B1={}));var U1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(U1||(U1={}));var $1;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})($1||($1={}));var H1;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(H1||(H1={}));var G1;(function(e){e.USER="USER",e.ASSISTANT="ASSISTANT"})(G1||(G1={}));var F1;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(F1||(F1={}));var W1;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(W1||(W1={}));var j1;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(j1||(j1={}));var $f={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN,de.BEHAVIOR_DATA_USER],[de.GENERATIVE_AI_EXPORT_USER]:[de.GENERATIVE_AI_USER]};function V1(e,t){return e===t||($f[e]??[]).some(r=>V1(r,t))}function K1(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>V1(n,t))}var Tn=S(D());var ai=S(D());var hr=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let a=P.subscribe(()=>{n=e.get(t),n&&(a(),r(n))})}})}};var On=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:hr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):hr.await()}};var $e=class extends On{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(i,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[f])=>l.localeCompare(f)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ai.CacheRegistry,this.cache=t?a.commonCache:new ai.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Rn=class extends $e{async listMySearches(){let{session:t}=P.getState();return K1(t,de.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var wn=class extends $e{async listMyBookmarks(){let t=P.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var _n=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=P.getState().session;return!!t?.sessionAuthenticated}};var Nn=class extends $e{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=P.getState().session;return!!t?.sessionAuthenticated}};var Gf="ft-user-assets",Ff={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(Ye).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:n,asset:a}=t.payload;si(e,r,[...ii(e,r),a]),Z1(e,r,1,n),q1(e,a)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;si(e,r,ii(e,r).map(a=>a.id===n.id?n:a)),q1(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:a}=t.payload;si(e,r,ii(e,r).filter(i=>i.id!==a)),Z1(e,r,-1,n)}},Y1={[Ye.SEARCHES]:"savedSearches",[Ye.BOOKMARKS]:"bookmarks",[Ye.BOOKS]:void 0,[Ye.COLLECTIONS]:void 0},ii=(e,t)=>{var r;let n=Y1[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},si=(e,t,r)=>{let n=Y1[t];n&&(e[n]=r)},Z1=(e,t,r,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+r),t===Ye.BOOKMARKS&&n)){let i=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,i+r)}},q1=(e,t)=>{let r=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!r.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},He=Tn.FtReduxStore.get({name:Gf,reducers:Ff,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ye).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ci=class{constructor(t=new _n,r=new Nn){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new Rn,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=P.getState();(0,Tn.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),He.actions.clearAssetCount(),He.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),He.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),He.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();He.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();He.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&He.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&He.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(He.getState().assetCounts.bookmarkByMap).length!==0;t===Ye.BOOKMARKS&&r&&He.actions.clearBookmarkCountByMap(),He.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;He.actions.bookmarks(r)}}},Wf=new ci;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Wf);var li=class{addCommand(t,r=!1){P.commands.add(t,r)}consumeCommand(t){return P.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new li;var Xe=S(D());var X1,Vr=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},jf=Symbol("clearAfterUnitTest"),kn=class extends(0,Xe.withEventBus)($e){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[X1]=()=>{this.defaultMessages={},this.cache=new Xe.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=P.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,Xe.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),s=this.resolveContext(i);return new Xe.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(r,...n)}async fetchContext(t){let r=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(a){!(a instanceof Xe.CanceledPromiseError)&&r&&console.error(a)}return n}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Vr({loadedContexts:t})),this.dispatchEvent(new Vr({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Vr({loadedContexts:[t]})),this.dispatchEvent(new Vr({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,Xe.delay)(0).then(()=>n()).catch(()=>null)))}};X1=jf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends kn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends kn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Co=window.FluidTopicsI18nService,di=window.FluidTopicsCustomI18nService;var Q1=S(D()),fi=class{highlightHtml(t,r,n){(0,Q1.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new fi;var J1=S(D());var ui=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;if(t==null)return"";try{return J1.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}catch(s){throw console.error(`Date ${JSON.stringify(t)} is not valid`,s),s}}};window.FluidTopicsDateService=new ui;var e2=S(D());var Eo=class{static get(t,r){var n,a;let i=P.getState(),{lang:s,region:l}=(a=(n=i.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new e2.SearchPlaceConverter(i.baseUrl,t??20,i.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var pi=class{urlToSearchRequest(t){return Eo.get().parse(t)}searchRequestToUrl(t){return Eo.get().serialize(t)}};window.FluidTopicsUrlService=new pi;var Wt=S(D());var mr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};mr.eventName="change";var hi=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},t2=new hi;var Mn=class e extends Wt.WithEventBus{static build(){return new e(window.history,t2,()=>window.location,!1)}constructor(t,r,n,a){var i,s;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(s=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&s!==void 0?s:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,r=!1){let n=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Wt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new mr(this.currentItem())),0)}installProxies(){let t=r=>(n,a,[i,s,l])=>{let f=r(),u={...f===this.currentIndex?this.currentState:void 0,...i,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(a,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(mr.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(mr.eventName,t)}currentItem(){return(0,Wt.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Wt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Wt.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let n=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var n;if(!this.hasState(t))return!1;let a=r??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Mn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var r2=S(W());var o2=r2.css`
|
|
535
|
+
`;var a2=S(W()),Ae=S(oe()),ct=S(D());function n2(e,t){let{authenticationRequired:r,session:n}=P.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var me=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},q=class extends ct.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>hr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ct.CacheRegistry,this.cleanSessionDebouncer=new ct.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return a2.html`
|
|
536
536
|
<slot></slot>
|
|
537
|
-
`}connectedCallback(){super.connectedCallback(),P.addEventListener(pr.eventName,this.reloadConfiguration)}disconnectedCallback(){P.addEventListener(pr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&P.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&P.actions.noCustom(this.noCustom),t.has("editorMode")&&P.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&P.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Co.addContext(u)),t.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&P.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&P.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>n2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};q.elementDefinitions={};q.styles=o2;
|
|
537
|
+
`}connectedCallback(){super.connectedCallback(),P.addEventListener(pr.eventName,this.reloadConfiguration)}disconnectedCallback(){P.addEventListener(pr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var r,n,a,i,s,l,f;super.update(t),t.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&P.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&P.actions.noCustom(this.noCustom),t.has("editorMode")&&P.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&P.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Co.addContext(u)),t.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(P.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),t.has("authenticationRequired")&&P.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&P.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>n2(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};q.elementDefinitions={};q.styles=o2;me([(0,Ae.property)()],q.prototype,"baseUrl",void 0);me([(0,Ae.property)()],q.prototype,"apiIntegrationIdentifier",void 0);me([(0,Ae.property)()],q.prototype,"apiIntegrationAppVersion",void 0);me([(0,Ae.property)()],q.prototype,"uiLocale",void 0);me([(0,ct.jsonProperty)(null)],q.prototype,"availableUiLocales",void 0);me([(0,ct.jsonProperty)(null)],q.prototype,"metadataConfiguration",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"editorMode",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"noCustom",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"openExternalDocumentInNewTab",void 0);me([(0,Ae.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],q.prototype,"noCustomComponent",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"withManualResources",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"navigatorOnline",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"forcedOffline",void 0);me([(0,Ae.property)({type:Object})],q.prototype,"apiProvider",void 0);me([(0,Ae.property)({type:Boolean})],q.prototype,"authenticationRequired",void 0);me([(0,ct.jsonProperty)([])],q.prototype,"messageContexts",void 0);me([(0,ct.jsonProperty)(void 0)],q.prototype,"session",void 0);me([(0,Ae.state)()],q.prototype,"localesConfiguration",void 0);me([(0,Ae.state)()],q.prototype,"availableContentLocales",void 0);var i2=S(D());(0,i2.customElement)("ft-app-context")(q);var s2=S(oe());var mi=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,n]=t.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Kr=new mi;var Vf=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ao=Symbol("i18nAttributes"),c2=Symbol("i18nListAttributes"),l2=Symbol("i18nProperties"),Pn=Symbol("i18nContexts"),Lo=Symbol("i18nUnsubs"),d2=(0,Zr.applyMixinOnce)(Symbol("withI18n"),function(e){var t,r;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?di:Co}i18n(i){let{context:s,key:l,message:f}=i,{custom:u,args:m,argsProvider:g}=i;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let y=m??(g?g(this):[]);return this.getI18nService(u).resolveMessage(s,l,...y)}return f}async awaitI18n(i){let{context:s,custom:l}=i;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(i)}customI18n(i,s){if(Kr.isI18nKey(i)){let[l,f]=i.split(".");return this.i18n({custom:!0,context:l,key:f,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,f)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,f)=>{var u;return((u=f?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,l;let f=this,u=(m,g,y)=>y?.context&&y.key&&i(m,g,y)?{...y,message:this.i18n({context:y.context,key:y.key,custom:y.custom,...m})}:y;(s=this[Ao])===null||s===void 0||s.forEach((m,g)=>f[g]=u(m,g,f[g])),(l=this[c2])===null||l===void 0||l.forEach((m,g)=>{var y;return f[g]=(y=f[g])===null||y===void 0?void 0:y.map(v=>u(m,g,v))})}updateI18nProperties(i){var s;(s=this[l2])===null||s===void 0||s.forEach((l,f)=>{i(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let f=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[Pn].set(f,{isCustomContext:l}),this[Lo].has(f)||this[Lo].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(i){return this[Pn].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Pn].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Lo].forEach(i=>i()),this[Lo].clear()}}return t=Pn,r=Lo,Vf([(0,s2.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),zn=class extends d2(Zr.FtLitElement){},In=class extends d2(Zr.FtLitElementRedux){};var f2=S(D());var gi=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Kr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},Kf=new gi;var u2=(e,t)=>(r,n)=>{var a;r.constructor.createProperty(n,{type:Object,hasChanged:f2.hasChanged,converter:Kr,...t}),r[Ao]=(a=r[Ao])!==null&&a!==void 0?a:new Map,r[Ao].set(n,e??{})};var p2=S(W());var h2=p2.css`
|
|
538
538
|
`;var Dn=S(W()),Bn=S(oe()),Un=S(D());var Oo=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},lt=class extends In{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Dn.nothing:Dn.html`
|
|
539
539
|
<span class="ft-i18n">
|
|
540
540
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
541
541
|
</span>
|
|
542
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};lt.elementDefinitions={};lt.styles=h2;Oo([(0,Un.redux)()],lt.prototype,"editorMode",void 0);Oo([(0,Bn.property)()],lt.prototype,"context",void 0);Oo([(0,Bn.property)()],lt.prototype,"key",void 0);Oo([(0,Un.jsonProperty)([])],lt.prototype,"args",void 0);Oo([(0,Bn.property)()],lt.prototype,"defaultMessage",void 0);var m2=S(D());(0,m2.customElement)("ft-i18n")(lt);var dt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},
|
|
542
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};lt.elementDefinitions={};lt.styles=h2;Oo([(0,Un.redux)()],lt.prototype,"editorMode",void 0);Oo([(0,Bn.property)()],lt.prototype,"context",void 0);Oo([(0,Bn.property)()],lt.prototype,"key",void 0);Oo([(0,Un.jsonProperty)([])],lt.prototype,"args",void 0);Oo([(0,Bn.property)()],lt.prototype,"defaultMessage",void 0);var m2=S(D());(0,m2.customElement)("ft-i18n")(lt);var dt=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},ge=class extends zn{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Qe.Debouncer,this.revealDebouncer=new Qe.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)||this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,r;return g2.html`
|
|
543
543
|
<div part="container"
|
|
544
544
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
545
545
|
<slot part="slot"></slot>
|
|
@@ -554,7 +554,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
|
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
</div>
|
|
557
|
-
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var r,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(r),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&gl(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Qe.designSystemVariables.transitionDuration}, left ${Qe.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Qe.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":Ne};me.styles=Hc;dt([u2()],me.prototype,"text",void 0);dt([(0,Je.property)({type:Boolean})],me.prototype,"manual",void 0);dt([(0,Je.property)({type:Boolean})],me.prototype,"inline",void 0);dt([(0,Qe.numberProperty)()],me.prototype,"delay",void 0);dt([(0,Je.property)()],me.prototype,"position",void 0);dt([(0,Qe.jsonProperty)([])],me.prototype,"ignoreMatchingElements",void 0);dt([(0,Je.queryAssignedNodes)()],me.prototype,"slotNodes",void 0);dt([(0,Je.query)(".ft-tooltip--container")],me.prototype,"container",void 0);dt([(0,Je.query)(".ft-tooltip")],me.prototype,"tooltip",void 0);dt([(0,Je.query)(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);dt([(0,Je.state)()],me.prototype,"visible",void 0);var y2=S(D());(0,y2.customElement)("ft-tooltip")(me);var et;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(et||(et={}));var Ro=S(W()),jt=S(oe()),x2=S(D()),v2=S(yi());var vt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM_REGULAR="",e.HYPHEN_SOLID="",e.CROSSHAIRS_REGULAR="",e.PERSON_CHALKBOARD_REGULAR=""})(vt||(vt={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var DC=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var BC={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var wo=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Oe=class extends x2.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Ro.nothing}render(){let t=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,r=t!==et.material||!!this.value;return Ro.html`
|
|
557
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var r,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(r),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&gl(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${Qe.designSystemVariables.transitionDuration}, left ${Qe.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Qe.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};ge.elementDefinitions={"ft-typography":Ne};ge.styles=Hc;dt([u2()],ge.prototype,"text",void 0);dt([(0,Je.property)({type:Boolean})],ge.prototype,"manual",void 0);dt([(0,Je.property)({type:Boolean})],ge.prototype,"inline",void 0);dt([(0,Qe.numberProperty)()],ge.prototype,"delay",void 0);dt([(0,Je.property)()],ge.prototype,"position",void 0);dt([(0,Qe.jsonProperty)([])],ge.prototype,"ignoreMatchingElements",void 0);dt([(0,Je.queryAssignedNodes)()],ge.prototype,"slotNodes",void 0);dt([(0,Je.query)(".ft-tooltip--container")],ge.prototype,"container",void 0);dt([(0,Je.query)(".ft-tooltip")],ge.prototype,"tooltip",void 0);dt([(0,Je.query)(".ft-tooltip--content")],ge.prototype,"tooltipContent",void 0);dt([(0,Je.state)()],ge.prototype,"visible",void 0);var y2=S(D());(0,y2.customElement)("ft-tooltip")(ge);var et;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(et||(et={}));var Ro=S(W()),jt=S(oe()),x2=S(D()),v2=S(yi());var vt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CLOUD_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM_REGULAR="",e.HYPHEN_SOLID="",e.CROSSHAIRS_REGULAR="",e.PERSON_CHALKBOARD_REGULAR=""})(vt||(vt={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var DC=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var BC={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var wo=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Oe=class extends x2.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Ro.nothing}render(){let t=this.variant&&Object.values(et).includes(this.variant)?this.variant:et.fluid_topics,r=t!==et.material||!!this.value;return Ro.html`
|
|
558
558
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
559
559
|
${(0,v2.unsafeHTML)(this.resolvedIcon)}
|
|
560
560
|
<slot ?hidden=${r}></slot>
|
|
@@ -1129,7 +1129,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1129
1129
|
.svg-inline--fa mask .fa-secondary {
|
|
1130
1130
|
fill: black;
|
|
1131
1131
|
}`;function x0(){let e=u0,t=p0,r=M.cssPrefix,n=M.replacementClass,a=I8;if(r!==e||n!==t){let i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(l,".".concat(n))}return a}var Ud=!1;function Mi(){M.autoAddCss&&!Ud&&(T8(x0()),Ud=!0)}var D8={mixout(){return{dom:{css:x0,insertCss:Mi}}},hooks(){return{beforeDOMElementCreation(){Mi()},beforeI2svg(){Mi()}}}},Nt=Kt||{};Nt[_t]||(Nt[_t]={});Nt[_t].styles||(Nt[_t].styles={});Nt[_t].hooks||(Nt[_t].hooks={});Nt[_t].shims||(Nt[_t].shims=[]);var Ct=Nt[_t],v0=[],S0=function(){Y.removeEventListener("DOMContentLoaded",S0),Vn=1,v0.map(e=>e())},Vn=!1;Tt&&(Vn=(Y.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Y.readyState),Vn||Y.addEventListener("DOMContentLoaded",S0));function B8(e){Tt&&(Vn?setTimeout(e,0):v0.push(e))}function Bo(e){let{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?b0(e):"<".concat(t," ").concat(M8(r),">").concat(n.map(Bo).join(""),"</").concat(t,">")}function $d(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var U8=function(t,r){return function(n,a,i,s){return t.call(r,n,a,i,s)}},Pi=function(t,r,n,a){var i=Object.keys(t),s=i.length,l=a!==void 0?U8(r,a):r,f,u,m;for(n===void 0?(f=1,m=t[i[0]]):(f=0,m=n);f<s;f++)u=i[f],m=l(m,t[u],u,t);return m};function $8(e){let t=[],r=0,n=e.length;for(;r<n;){let a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){let i=e.charCodeAt(r++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function Wi(e){let t=$8(e);return t.length===1?t[0].toString(16):null}function H8(e,t){let r=e.length,n=e.charCodeAt(t),a;return n>=55296&&n<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(n-55296)*1024+a-56320+65536:n}function Hd(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return!!n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function ji(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{skipHooks:n=!1}=r,a=Hd(t);typeof Ct.hooks.addPack=="function"&&!n?Ct.hooks.addPack(e,Hd(t)):Ct.styles[e]=A(A({},Ct.styles[e]||{}),a),e==="fas"&&ji("fa",t)}var{styles:Io,shims:G8}=Ct,C0=Object.keys(os),F8=C0.reduce((e,t)=>(e[t]=Object.keys(os[t]),e),{}),is=null,E0={},L0={},A0={},O0={},R0={};function W8(e){return~R8.indexOf(e)}function j8(e,t){let r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!W8(a)?a:null}var w0=()=>{let e=n=>Pi(Io,(a,i,s)=>(a[s]=Pi(i,n,{}),a),{});E0=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(l=>typeof l=="number").forEach(l=>{n[l.toString(16)]=i}),n)),L0=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(l=>typeof l=="string").forEach(l=>{n[l]=i}),n)),R0=e((n,a,i)=>{let s=a[2];return n[i]=i,s.forEach(l=>{n[l]=i}),n});let t="far"in Io||M.autoFetchSvg,r=Pi(G8,(n,a)=>{let i=a[0],s=a[1],l=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:l}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:l}),n},{names:{},unicodes:{}});A0=r.names,O0=r.unicodes,is=Yn(M.styleDefault,{family:M.familyDefault})};N8(e=>{is=Yn(e.styleDefault,{family:M.familyDefault})});w0();function ss(e,t){return(E0[e]||{})[t]}function V8(e,t){return(L0[e]||{})[t]}function gr(e,t){return(R0[e]||{})[t]}function _0(e){return A0[e]||{prefix:null,iconName:null}}function K8(e){let t=O0[e],r=ss("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Zt(){return is}var N0=()=>({prefix:null,iconName:null,rest:[]});function Z8(e){let t=_e,r=C0.reduce((n,a)=>(n[a]="".concat(M.cssPrefix,"-").concat(a),n),{});return d0.forEach(n=>{(e.includes(r[n])||e.some(a=>F8[n].includes(a)))&&(t=n)}),t}function Yn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{family:r=_e}=t,n=C8[r][e];if(r===Zn&&!e)return"fad";let a=Bd[r][e]||Bd[r][n],i=e in Ct.styles?e:null;return a||i||null}function q8(e){let t=[],r=null;return e.forEach(n=>{let a=j8(M.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function Gd(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function Xn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{skipLookups:r=!1}=t,n=null,a=Bi.concat(d8),i=Gd(e.filter(g=>a.includes(g))),s=Gd(e.filter(g=>!Bi.includes(g))),l=i.filter(g=>(n=g,!l0.includes(g))),[f=null]=l,u=Z8(i),m=A(A({},q8(s)),{},{prefix:Yn(f,{family:u})});return A(A(A({},m),J8({values:e,family:u,styles:Io,config:M,canonical:m,givenPrefix:n})),Y8(r,n,m))}function Y8(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};let i=t==="fa"?_0(a):{},s=gr(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Io.far&&Io.fas&&!M.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}var X8=d0.filter(e=>e!==_e||e!==Zn),Q8=Object.keys(Di).filter(e=>e!==_e).map(e=>Object.keys(Di[e])).flat();function J8(e){let{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,l=r===Zn,f=t.includes("fa-duotone")||t.includes("fad"),u=s.familyDefault==="duotone",m=n.prefix==="fad"||n.prefix==="fa-duotone";if(!l&&(f||u||m)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&X8.includes(r)&&(Object.keys(i).find(y=>Q8.includes(y))||s.autoFetchSvg)){let y=r8.get(r).defaultShortPrefixId;n.prefix=y,n.iconName=gr(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Zt()||"fas"),n}var Vi=class{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];let a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(i=>{this.definitions[i]=A(A({},this.definitions[i]||{}),a[i]),ji(i,a[i]);let s=os[_e][i];s&&ji(s,a[i]),w0()})}reset(){this.definitions={}}_pullDefinitions(t,r){let n=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(n).map(a=>{let{prefix:i,iconName:s,icon:l}=n[a],f=l[2];t[i]||(t[i]={}),f.length>0&&f.forEach(u=>{typeof u=="string"&&(t[i][u]=l)}),t[i][s]=l}),t}},Fd=[],qr={},Yr={},em=Object.keys(Yr);function tm(e,t){let{mixoutsTo:r}=t;return Fd=e,qr={},Object.keys(Yr).forEach(n=>{em.indexOf(n)===-1&&delete Yr[n]}),Fd.forEach(n=>{let a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(i=>{typeof a[i]=="function"&&(r[i]=a[i]),typeof a[i]=="object"&&Object.keys(a[i]).forEach(s=>{r[i]||(r[i]={}),r[i][s]=a[i][s]})}),n.hooks){let i=n.hooks();Object.keys(i).forEach(s=>{qr[s]||(qr[s]=[]),qr[s].push(i[s])})}n.provides&&n.provides(Yr)}),r}function Ki(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return(qr[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function br(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(qr[e]||[]).forEach(i=>{i.apply(null,r)})}function qt(){let e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yr[e]?Yr[e].apply(null,t):void 0}function Zi(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e,r=e.prefix||Zt();if(t)return t=gr(r,t)||t,$d(T0.definitions,r,t)||$d(Ct.styles,r,t)}var T0=new Vi,rm=()=>{M.autoReplaceSvg=!1,M.observeMutations=!1,br("noAuto")},om={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Tt?(br("beforeI2svg",e),qt("pseudoElements2svg",e),qt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t}=e;M.autoReplaceSvg===!1&&(M.autoReplaceSvg=!0),M.observeMutations=!0,B8(()=>{am({autoReplaceSvgRoot:t}),br("watch",e)})}},nm={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:gr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){let t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=Yn(e[0]);return{prefix:r,iconName:gr(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(M.cssPrefix,"-"))>-1||e.match(E8))){let t=Xn(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Zt(),iconName:gr(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){let t=Zt();return{prefix:t,iconName:gr(t,e)||e}}}},Ge={noAuto:rm,config:M,dom:om,parse:nm,library:T0,findIconDefinition:Zi,toHtml:Bo},am=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{autoReplaceSvgRoot:t=Y}=e;(Object.keys(Ct.styles).length>0||M.autoFetchSvg)&&Tt&&M.autoReplaceSvg&&Ge.dom.i2svg({node:t})};function Qn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Bo(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Tt)return;let r=Y.createElement("div");return r.innerHTML=e.html,r.children}}),e}function im(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(as(s)&&r.found&&!n.found){let{width:l,height:f}=r,u={x:l/f/2,y:.5};a.style=qn(A(A({},i),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function sm(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e,s=i===!0?"".concat(t,"-").concat(M.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:A(A({},a),{},{id:s}),children:n}]}]}function cs(e){let{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:l,maskId:f,titleId:u,extra:m,watchable:g=!1}=e,{width:y,height:v}=r.found?r:t,C=s8.includes(n),L=[M.replacementClass,a?"".concat(M.cssPrefix,"-").concat(a):""].filter(G=>m.classes.indexOf(G)===-1).filter(G=>G!==""||!!G).concat(m.classes).join(" "),_={children:[],attributes:A(A({},m.attributes),{},{"data-prefix":n,"data-icon":a,class:L,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(y," ").concat(v)})},k=C&&!~m.classes.indexOf("fa-fw")?{width:"".concat(y/v*16*.0625,"em")}:{};g&&(_.attributes[yr]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||zo())},children:[l]}),delete _.attributes.title);let N=A(A({},_),{},{prefix:n,iconName:a,main:t,mask:r,maskId:f,transform:i,symbol:s,styles:A(A({},k),m.styles)}),{children:I,attributes:U}=r.found&&t.found?qt("generateAbstractMask",N)||{children:[],attributes:{}}:qt("generateAbstractIcon",N)||{children:[],attributes:{}};return N.children=I,N.attributes=U,s?sm(N):im(N)}function Wd(e){let{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:l=!1}=e,f=A(A(A({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});l&&(f[yr]="");let u=A({},s.styles);as(a)&&(u.transform=z8({transform:a,startCentered:!0,width:r,height:n}),u["-webkit-transform"]=u.transform);let m=qn(u);m.length>0&&(f.style=m);let g=[];return g.push({tag:"span",attributes:f,children:[t]}),i&&g.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),g}function cm(e){let{content:t,title:r,extra:n}=e,a=A(A(A({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=qn(n.styles);i.length>0&&(a.style=i);let s=[];return s.push({tag:"span",attributes:a,children:[t]}),r&&s.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),s}var{styles:zi}=Ct;function qi(e){let t=e[0],r=e[1],[n]=e.slice(4),a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(M.cssPrefix,"-").concat(ki.GROUP)},children:[{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(ki.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(M.cssPrefix,"-").concat(ki.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}var lm={found:!1,width:512,height:512};function dm(e,t){!h0&&!M.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Yi(e,t){let r=t;return t==="fa"&&M.styleDefault!==null&&(t=Zt()),new Promise((n,a)=>{if(r==="fa"){let i=_0(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&zi[t]&&zi[t][e]){let i=zi[t][e];return n(qi(i))}dm(e,t),n(A(A({},lm),{},{icon:M.showMissingIcons&&e?qt("missingIconAbstract")||{}:{}}))})}var jd=()=>{},Xi=M.measurePerformance&&Gn&&Gn.mark&&Gn.measure?Gn:{mark:jd,measure:jd},ko='FA "6.7.2"',fm=e=>(Xi.mark("".concat(ko," ").concat(e," begins")),()=>k0(e)),k0=e=>{Xi.mark("".concat(ko," ").concat(e," ends")),Xi.measure("".concat(ko," ").concat(e),"".concat(ko," ").concat(e," begins"),"".concat(ko," ").concat(e," ends"))},ls={begin:fm,end:k0},Wn=()=>{};function Vd(e){return typeof(e.getAttribute?e.getAttribute(yr):null)=="string"}function um(e){let t=e.getAttribute?e.getAttribute(ts):null,r=e.getAttribute?e.getAttribute(rs):null;return t&&r}function pm(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(M.replacementClass)}function hm(){return M.autoReplaceSvg===!0?jn.replace:jn[M.autoReplaceSvg]||jn.replace}function mm(e){return Y.createElementNS("http://www.w3.org/2000/svg",e)}function gm(e){return Y.createElement(e)}function M0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{ceFn:r=e.tag==="svg"?mm:gm}=t;if(typeof e=="string")return Y.createTextNode(e);let n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(M0(i,{ceFn:r}))}),n}function ym(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var jn={replace:function(e){let t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(M0(r),t)}),t.getAttribute(yr)===null&&M.keepOriginalSource){let r=Y.createComment(ym(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){let t=e[0],r=e[1];if(~ns(t).indexOf(M.replacementClass))return jn.replace(e);let n=new RegExp("".concat(M.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){let i=r[0].attributes.class.split(" ").reduce((s,l)=>(l===M.replacementClass||l.match(n)?s.toSvg.push(l):s.toNode.push(l),s),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}let a=r.map(i=>Bo(i)).join(`
|
|
1132
|
-
`);t.setAttribute(yr,""),t.innerHTML=a}};function Kd(e){e()}function P0(e,t){let r=typeof t=="function"?t:Wn;if(e.length===0)r();else{let n=Kd;M.mutateApproach===v8&&(n=Kt.requestAnimationFrame||Kd),n(()=>{let a=hm(),i=ls.begin("mutate");e.map(a),i(),r()})}}var ds=!1;function z0(){ds=!0}function Qi(){ds=!1}var Kn=null;function Zd(e){if(!Pd||!M.observeMutations)return;let{treeCallback:t=Wn,nodeCallback:r=Wn,pseudoElementsCallback:n=Wn,observeMutationsRoot:a=Y}=e;Kn=new Pd(i=>{if(ds)return;let s=Zt();Qr(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!Vd(l.addedNodes[0])&&(M.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&M.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&Vd(l.target)&&~O8.indexOf(l.attributeName))if(l.attributeName==="class"&&um(l.target)){let{prefix:f,iconName:u}=Xn(ns(l.target));l.target.setAttribute(ts,f||s),u&&l.target.setAttribute(rs,u)}else pm(l.target)&&r(l.target)})}),Tt&&Kn.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function bm(){Kn&&Kn.disconnect()}function xm(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),r}function vm(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Xn(ns(e));return a.prefix||(a.prefix=Zt()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=V8(a.prefix,e.innerText)||ss(a.prefix,Wi(e.innerText))),!a.iconName&&M.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Sm(e){let t=Qr(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return M.autoA11y&&(r?t["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(n||zo()):(t["aria-hidden"]="true",t.focusable="false")),t}function Cm(){return{iconName:null,title:null,titleId:null,prefix:null,transform:St,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function qd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=vm(e),i=Sm(e),s=Ki("parseNodeAttributes",{},e),l=t.styleParser?xm(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:St,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:Em}=Ct;function I0(e){let t=M.autoReplaceSvg==="nest"?qd(e,{styleParser:!1}):qd(e);return~t.extra.classes.indexOf(g0)?qt("generateLayersText",e,t):qt("generateSvgReplacementMutation",e,t)}function Lm(){return[...n8,...Bi]}function Yd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Tt)return Promise.resolve();let r=Y.documentElement.classList,n=m=>r.add("".concat(Dd,"-").concat(m)),a=m=>r.remove("".concat(Dd,"-").concat(m)),i=M.autoFetchSvg?Lm():l0.concat(Object.keys(Em));i.includes("fa")||i.push("fa");let s=[".".concat(g0,":not([").concat(yr,"])")].concat(i.map(m=>".".concat(m,":not([").concat(yr,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=Qr(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=ls.begin("onTree"),u=l.reduce((m,g)=>{try{let y=I0(g);y&&m.push(y)}catch(y){h0||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{P0(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function Am(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;I0(e).then(r=>{r&&P0([r],t)})}function Om(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Zi(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:Zi(a||{})),e(n,A(A({},r),{},{mask:a}))}}var Rm=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=St,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:l=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:y,icon:v}=e;return Qn(A({type:"icon"},e),()=>(br("beforeDOMElementCreation",{iconDefinition:e,params:t}),M.autoA11y&&(s?u["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(l||zo()):(u["aria-hidden"]="true",u.focusable="false")),cs({icons:{main:qi(v),mask:a?qi(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:A(A({},St),r),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},wm={mixout(){return{icon:Om(Rm)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Yd,e.nodeCallback=Am,e}}},provides(e){e.i2svg=function(t){let{node:r=Y,callback:n=()=>{}}=t;return Yd(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((y,v)=>{Promise.all([Yi(n,s),u.iconName?Yi(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[L,_]=C;y([t,cs({icons:{main:L,mask:_},prefix:s,iconName:n,transform:l,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t,l=qn(s);l.length>0&&(n.style=l);let f;return as(i)&&(f=qt("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},_m={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return Qn({type:"layer"},()=>{br("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(M.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Nm={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return Qn({type:"counter",content:e},()=>(br("beforeDOMElementCreation",{content:e,params:t}),cm({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(M.cssPrefix,"-layers-counter"),...n]}})))}}}},Tm={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=St,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Qn({type:"text",content:e},()=>(br("beforeDOMElementCreation",{content:e,params:t}),Wd({content:e,transform:A(A({},St),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(M.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,l=null;if(s0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return M.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Wd({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},km=new RegExp('"',"ug"),Xd=[1105920,1112319],Qd=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),t8),b8),f8),Ji=Object.keys(Qd).reduce((e,t)=>(e[t.toLowerCase()]=Qd[t],e),{}),Mm=Object.keys(Ji).reduce((e,t)=>{let r=Ji[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function Pm(e){let t=e.replace(km,""),r=H8(t,0),n=r>=Xd[0]&&r<=Xd[1],a=t.length===2?t[0]===t[1]:!1;return{value:Wi(a?t[0]:t),isSecondary:n||a}}function zm(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Ji[r]||{})[a]||Mm[r]}function Jd(e,t){let r="".concat(x8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=Qr(e.children).filter(y=>y.getAttribute($i)===t)[0],l=Kt.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(L8),m=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let y=l.getPropertyValue("content"),v=zm(f,m),{value:C,isSecondary:L}=Pm(y),_=u[0].startsWith("FontAwesome"),k=ss(v,C),N=k;if(_){let I=K8(C);I.iconName&&I.prefix&&(k=I.iconName,v=I.prefix)}if(k&&!L&&(!s||s.getAttribute(ts)!==v||s.getAttribute(rs)!==N)){e.setAttribute(r,N),s&&e.removeChild(s);let I=Cm(),{extra:U}=I;U.attributes[$i]=t,Yi(k,v).then(G=>{let X=cs(A(A({},I),{},{icons:{main:G,mask:N0()},prefix:v,iconName:N,extra:U,watchable:!0})),Me=Y.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Me,e.firstChild):e.appendChild(Me),Me.outerHTML=X.map(
|
|
1132
|
+
`);t.setAttribute(yr,""),t.innerHTML=a}};function Kd(e){e()}function P0(e,t){let r=typeof t=="function"?t:Wn;if(e.length===0)r();else{let n=Kd;M.mutateApproach===v8&&(n=Kt.requestAnimationFrame||Kd),n(()=>{let a=hm(),i=ls.begin("mutate");e.map(a),i(),r()})}}var ds=!1;function z0(){ds=!0}function Qi(){ds=!1}var Kn=null;function Zd(e){if(!Pd||!M.observeMutations)return;let{treeCallback:t=Wn,nodeCallback:r=Wn,pseudoElementsCallback:n=Wn,observeMutationsRoot:a=Y}=e;Kn=new Pd(i=>{if(ds)return;let s=Zt();Qr(i).forEach(l=>{if(l.type==="childList"&&l.addedNodes.length>0&&!Vd(l.addedNodes[0])&&(M.searchPseudoElements&&n(l.target),t(l.target)),l.type==="attributes"&&l.target.parentNode&&M.searchPseudoElements&&n(l.target.parentNode),l.type==="attributes"&&Vd(l.target)&&~O8.indexOf(l.attributeName))if(l.attributeName==="class"&&um(l.target)){let{prefix:f,iconName:u}=Xn(ns(l.target));l.target.setAttribute(ts,f||s),u&&l.target.setAttribute(rs,u)}else pm(l.target)&&r(l.target)})}),Tt&&Kn.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function bm(){Kn&&Kn.disconnect()}function xm(e){let t=e.getAttribute("style"),r=[];return t&&(r=t.split(";").reduce((n,a)=>{let i=a.split(":"),s=i[0],l=i.slice(1);return s&&l.length>0&&(n[s]=l.join(":").trim()),n},{})),r}function vm(e){let t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"",a=Xn(ns(e));return a.prefix||(a.prefix=Zt()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=V8(a.prefix,e.innerText)||ss(a.prefix,Wi(e.innerText))),!a.iconName&&M.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Sm(e){let t=Qr(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return M.autoA11y&&(r?t["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(n||zo()):(t["aria-hidden"]="true",t.focusable="false")),t}function Cm(){return{iconName:null,title:null,titleId:null,prefix:null,transform:St,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function qd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},{iconName:r,prefix:n,rest:a}=vm(e),i=Sm(e),s=Ki("parseNodeAttributes",{},e),l=t.styleParser?xm(e):[];return A({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:St,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:i}},s)}var{styles:Em}=Ct;function I0(e){let t=M.autoReplaceSvg==="nest"?qd(e,{styleParser:!1}):qd(e);return~t.extra.classes.indexOf(g0)?qt("generateLayersText",e,t):qt("generateSvgReplacementMutation",e,t)}function Lm(){return[...n8,...Bi]}function Yd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Tt)return Promise.resolve();let r=Y.documentElement.classList,n=m=>r.add("".concat(Dd,"-").concat(m)),a=m=>r.remove("".concat(Dd,"-").concat(m)),i=M.autoFetchSvg?Lm():l0.concat(Object.keys(Em));i.includes("fa")||i.push("fa");let s=[".".concat(g0,":not([").concat(yr,"])")].concat(i.map(m=>".".concat(m,":not([").concat(yr,"])"))).join(", ");if(s.length===0)return Promise.resolve();let l=[];try{l=Qr(e.querySelectorAll(s))}catch{}if(l.length>0)n("pending"),a("complete");else return Promise.resolve();let f=ls.begin("onTree"),u=l.reduce((m,g)=>{try{let y=I0(g);y&&m.push(y)}catch(y){h0||y.name==="MissingIcon"&&console.error(y)}return m},[]);return new Promise((m,g)=>{Promise.all(u).then(y=>{P0(y,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),f(),m()})}).catch(y=>{f(),g(y)})})}function Am(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;I0(e).then(r=>{r&&P0([r],t)})}function Om(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(t||{}).icon?t:Zi(t||{}),{mask:a}=r;return a&&(a=(a||{}).icon?a:Zi(a||{})),e(n,A(A({},r),{},{mask:a}))}}var Rm=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=St,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:l=null,classes:f=[],attributes:u={},styles:m={}}=t;if(!e)return;let{prefix:g,iconName:y,icon:v}=e;return Qn(A({type:"icon"},e),()=>(br("beforeDOMElementCreation",{iconDefinition:e,params:t}),M.autoA11y&&(s?u["aria-labelledby"]="".concat(M.replacementClass,"-title-").concat(l||zo()):(u["aria-hidden"]="true",u.focusable="false")),cs({icons:{main:qi(v),mask:a?qi(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:y,transform:A(A({},St),r),symbol:n,title:s,maskId:i,titleId:l,extra:{attributes:u,styles:m,classes:f}})))},wm={mixout(){return{icon:Om(Rm)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Yd,e.nodeCallback=Am,e}}},provides(e){e.i2svg=function(t){let{node:r=Y,callback:n=()=>{}}=t;return Yd(r,n)},e.generateSvgReplacementMutation=function(t,r){let{iconName:n,title:a,titleId:i,prefix:s,transform:l,symbol:f,mask:u,maskId:m,extra:g}=r;return new Promise((y,v)=>{Promise.all([Yi(n,s),u.iconName?Yi(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(C=>{let[L,_]=C;y([t,cs({icons:{main:L,mask:_},prefix:s,iconName:n,transform:l,symbol:f,maskId:m,title:a,titleId:i,extra:g,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t,l=qn(s);l.length>0&&(n.style=l);let f;return as(i)&&(f=qt("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(f||a.icon),{children:r,attributes:n}}}},_m={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{classes:r=[]}=t;return Qn({type:"layer"},()=>{br("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(M.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Nm={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return Qn({type:"counter",content:e},()=>(br("beforeDOMElementCreation",{content:e,params:t}),cm({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(M.cssPrefix,"-layers-counter"),...n]}})))}}}},Tm={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{transform:r=St,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return Qn({type:"text",content:e},()=>(br("beforeDOMElementCreation",{content:e,params:t}),Wd({content:e,transform:A(A({},St),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(M.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){let{title:n,transform:a,extra:i}=r,s=null,l=null;if(s0){let f=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/f,l=u.height/f}return M.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Wd({content:t.innerHTML,width:s,height:l,transform:a,title:n,extra:i,watchable:!0})])}}},km=new RegExp('"',"ug"),Xd=[1105920,1112319],Qd=A(A(A(A({},{FontAwesome:{normal:"fas",400:"fas"}}),t8),b8),f8),Ji=Object.keys(Qd).reduce((e,t)=>(e[t.toLowerCase()]=Qd[t],e),{}),Mm=Object.keys(Ji).reduce((e,t)=>{let r=Ji[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function Pm(e){let t=e.replace(km,""),r=H8(t,0),n=r>=Xd[0]&&r<=Xd[1],a=t.length===2?t[0]===t[1]:!1;return{value:Wi(a?t[0]:t),isSecondary:n||a}}function zm(e,t){let r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Ji[r]||{})[a]||Mm[r]}function Jd(e,t){let r="".concat(x8).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();let s=Qr(e.children).filter(y=>y.getAttribute($i)===t)[0],l=Kt.getComputedStyle(e,t),f=l.getPropertyValue("font-family"),u=f.match(L8),m=l.getPropertyValue("font-weight"),g=l.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&g!=="none"&&g!==""){let y=l.getPropertyValue("content"),v=zm(f,m),{value:C,isSecondary:L}=Pm(y),_=u[0].startsWith("FontAwesome"),k=ss(v,C),N=k;if(_){let I=K8(C);I.iconName&&I.prefix&&(k=I.iconName,v=I.prefix)}if(k&&!L&&(!s||s.getAttribute(ts)!==v||s.getAttribute(rs)!==N)){e.setAttribute(r,N),s&&e.removeChild(s);let I=Cm(),{extra:U}=I;U.attributes[$i]=t,Yi(k,v).then(G=>{let X=cs(A(A({},I),{},{icons:{main:G,mask:N0()},prefix:v,iconName:N,extra:U,watchable:!0})),Me=Y.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(Me,e.firstChild):e.appendChild(Me),Me.outerHTML=X.map(ve=>Bo(ve)).join(`
|
|
1133
1133
|
`),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function Im(e){return Promise.all([Jd(e,"::before"),Jd(e,"::after")])}function Dm(e){return e.parentNode!==document.head&&!~S8.indexOf(e.tagName.toUpperCase())&&!e.getAttribute($i)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function e0(e){if(Tt)return new Promise((t,r)=>{let n=Qr(e.querySelectorAll("*")).filter(Dm).map(Im),a=ls.begin("searchPseudoElements");z0(),Promise.all(n).then(()=>{a(),Qi(),t()}).catch(()=>{a(),Qi(),r()})})}var Bm={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=e0,e}}},provides(e){e.pseudoElements2svg=function(t){let{node:r=Y}=t;M.searchPseudoElements&&e0(r)}}},t0=!1,Um={mixout(){return{dom:{unwatch(){z0(),t0=!0}}}},hooks(){return{bootstrap(){Zd(Ki("mutationObserverCallbacks",{}))},noAuto(){bm()},watch(e){let{observeMutationsRoot:t}=e;t0?Qi():Zd(Ki("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},r0=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,n)=>{let a=n.toLowerCase().split("-"),i=a[0],s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)},$m={mixout(){return{parse:{transform:e=>r0(e)}}},hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-transform");return r&&(e.transform=r0(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:n,containerWidth:a,iconWidth:i}=t,s={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(n.x*32,", ").concat(n.y*32,") "),f="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),m={transform:"".concat(l," ").concat(f," ").concat(u)},g={transform:"translate(".concat(i/2*-1," -256)")},y={outer:s,inner:m,path:g};return{tag:"g",attributes:A({},y.outer),children:[{tag:"g",attributes:A({},y.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:A(A({},r.icon.attributes),y.path)}]}]}}}},Ii={x:0,y:0,width:"100%",height:"100%"};function o0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Hm(e){return e.tag==="g"?e.children:[e]}var Gm={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-mask"),n=r?Xn(r.split(" ").map(a=>a.trim())):N0();return n.prefix||(n.prefix=Zt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:n,main:a,mask:i,maskId:s,transform:l}=t,{width:f,icon:u}=a,{width:m,icon:g}=i,y=P8({transform:l,containerWidth:m,iconWidth:f}),v={tag:"rect",attributes:A(A({},Ii),{},{fill:"white"})},C=u.children?{children:u.children.map(o0)}:{},L={tag:"g",attributes:A({},y.inner),children:[o0(A({tag:u.tag,attributes:A(A({},u.attributes),y.path)},C))]},_={tag:"g",attributes:A({},y.outer),children:[L]},k="mask-".concat(s||zo()),N="clip-".concat(s||zo()),I={tag:"mask",attributes:A(A({},Ii),{},{id:k,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,_]},U={tag:"defs",children:[{tag:"clipPath",attributes:{id:N},children:Hm(g)},I]};return r.push(U,{tag:"rect",attributes:A({fill:"currentColor","clip-path":"url(#".concat(N,")"),mask:"url(#".concat(k,")")},Ii)}),{children:r,attributes:n}}}},Fm={provides(e){let t=!1;Kt.matchMedia&&(t=Kt.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){let r=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:A(A({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});let i=A(A({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:A(A({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:A(A({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:A(A({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:A(A({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:A(A({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:A(A({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:A(A({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Wm={hooks(){return{parseNodeAttributes(e,t){let r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},jm=[D8,wm,_m,Nm,Tm,Bm,Um,$m,Gm,Fm,Wm];tm(jm,{mixoutsTo:Ge});var YC=Ge.noAuto,XC=Ge.config,D0=Ge.library,QC=Ge.dom,JC=Ge.parse,eE=Ge.findIconDefinition,tE=Ge.toHtml,B0=Ge.icon,rE=Ge.layer,oE=Ge.text,nE=Ge.counter;var h;(function(e){e.LOCK_KEYHOLE="lock-keyhole",e.LINK_SIMPLE_SLASH="link-simple-slash",e.TABLE_LAYOUT="table-layout",e.LAYER_GROUP="layer-group",e.CIRCLE_INFO="circle-info",e.BARS_PROGRESS="bars-progress",e.CODE_COMPARE="code-compare",e.HOURGLASS_END="hourglass-end",e.BOX_ARCHIVE="box-archive",e.ARROWS_ROTATE="arrows-rotate",e.CIRCLE_DOT="circle-dot",e.ANGLES_LEFT="angles-left",e.ROUTE="route",e.BARS="bars",e.ARROW_DOWN="arrow-down",e.LOCK_KEYHOLE_OPEN="lock-keyhole-open",e.DESKTOP="desktop",e.ANGLES_RIGHT="angles-right",e.PIGGY_BANK="piggy-bank",e.ANGLE_UP="angle-up",e.PEN_NIB="pen-nib",e.ARROW_UP_RIGHT_FROM_SQUARE="arrow-up-right-from-square",e.GRID_2="grid-2",e.BOOKS="books",e.TAG="tag",e.ANGLES_UP_DOWN="angles-up-down",e.ARROW_ROTATE_LEFT="arrow-rotate-left",e.EYE_SLASH="eye-slash",e.CIRCLE_DOLLAR="circle-dollar",e.COMPRESS="compress",e.RADAR="radar",e.ARROW_ROTATE_RIGHT="arrow-rotate-right",e.CHART_NETWORK="chart-network",e.PLUS="plus",e.UNDERLINE="underline",e.ARROW_LEFT="arrow-left",e.UPLOAD="upload",e.GLOBE="globe",e.LANGUAGE="language",e.TOGGLE_ON="toggle-on",e.DOWNLOAD="download",e.MESSAGE_QUOTE="message-quote",e.TRIANGLE_EXCLAMATION="triangle-exclamation",e.STAR="star",e.BELL_SLASH="bell-slash",e.HOURGLASS_HALF="hourglass-half",e.INBOX="inbox",e.COMMENT_DOTS="comment-dots",e.ANGLE_DOWN="angle-down",e.CLOUD_ARROW_DOWN="cloud-arrow-down",e.BOOKMARK_SLASH="bookmark-slash",e.LINK_SIMPLE="link-simple",e.CLOCK_ROTATE_LEFT="clock-rotate-left",e.SPINNER_THIRD="spinner-third",e.PLUG="plug",e.CHART_SIMPLE="chart-simple",e.CIRCLE_PLAY="circle-play",e.FILE_MAGNIFYING_GLASS="file-magnifying-glass",e.PEN="pen",e.TABLET="tablet",e.CIRCLE_CHECK="circle-check",e.FILE_INVOICE="file-invoice",e.XMARK="xmark",e.ARROW_RIGHT="arrow-right",e.BOOKMARK="bookmark",e.EXPAND_WIDE="expand-wide",e.USER="user",e.SERVER="server",e.CALENDAR_RANGE="calendar-range",e.BROOM_WIDE="broom-wide",e.ARROWS_UP_DOWN_LEFT_RIGHT="arrows-up-down-left-right",e.WIFI_SLASH="wifi-slash",e.CHECK="check",e.ITALIC="italic",e.LIFE_RING="life-ring",e.TABLE_CELLS="table-cells",e.TRASH_CAN="trash-can",e.WRENCH="wrench",e.PAPERCLIP="paperclip",e.CABINET_FILING="cabinet-filing",e.ARROW_UP="arrow-up",e.FILE="file",e.CIRCLE_QUESTION="circle-question",e.COLUMNS_3="columns-3",e.GEAR="gear",e.CHART_LINE="chart-line",e.THUMBS_UP="thumbs-up",e.HAND="hand",e.CIRCLE="circle",e.CALENDAR_DAY="calendar-day",e.CLOUD="cloud",e.LIST_TREE="list-tree",e.ANGLE_RIGHT="angle-right",e.CODE="code",e.ALIGN_CENTER="align-center",e.COMMENT_QUESTION="comment-question",e.IMAGE="image",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="arrow-up-right-and-arrow-down-left-from-center",e.THUMBS_DOWN="thumbs-down",e.DIAGRAM_SANKEY="diagram-sankey",e.MESSAGE_CHECK="message-check",e.BOLD="bold",e.CIRCLE_STOP="circle-stop",e.ARROW_RIGHT_TO_BRACKET="arrow-right-to-bracket",e.USERS="users",e.ARROW_TURN_DOWN_RIGHT="arrow-turn-down-right",e.PRINT="print",e.ALIGN_RIGHT="align-right",e.FLASK="flask",e.MAGNIFYING_GLASS_PLUS="magnifying-glass-plus",e.SHIELD_CHECK="shield-check",e.STRIKETHROUGH="strikethrough",e.FOLDER_OPEN="folder-open",e.CLONE="clone",e.HEART="heart",e.PAPER_PLANE="paper-plane",e.MAGNIFYING_GLASS_MINUS="magnifying-glass-minus",e.BOOK="book",e.CLOCK="clock",e.ELLIPSIS_VERTICAL="ellipsis-vertical",e.ARROW_RIGHT_TO_LINE="arrow-right-to-line",e.ANGLE_LEFT="angle-left",e.CALENDAR_CIRCLE_EXCLAMATION="calendar-circle-exclamation",e.EXPAND="expand",e.EQUALS="equals",e.RECEIPT="receipt",e.EYE="eye",e.ALIGN_LEFT="align-left",e.PAINTBRUSH="paintbrush",e.KEY="key",e.PALETTE="palette",e.FLOPPY_DISK="floppy-disk",e.MAGNIFYING_GLASS="magnifying-glass",e.ELLIPSIS="ellipsis",e.SHARE_NODES="share-nodes",e.ARROWS_FROM_LINE="arrows-from-line",e.POWER_OFF="power-off",e.ENVELOPE_OPEN_TEXT="envelope-open-text",e.CIRCLE_PAUSE="circle-pause",e.MOBILE="mobile",e.BELL="bell",e.FILTER="filter",e.MEDAL="medal",e.CLOUD_SLASH="cloud-slash",e.MINUS="minus",e.PASTE="paste",e.CALENDAR_CHECK="calendar-check",e.HEXAGON_XMARK="hexagon-xmark",e.PAUSE="pause",e.CHART_MIXED="chart-mixed",e.ROBOT="robot",e.WAND_MAGIC_SPARKLES="wand-magic-sparkles",e.HEXAGON_EXCLAMATION="hexagon-exclamation",e.CUBES="cubes",e.TURN_RIGHT="turn-right",e.SQUARE_INFO="square-info",e.MESSAGE_BOT="message-bot",e.PLAY="play",e.TURN_LEFT="turn-left",e.ADDRESS_CARD="address-card",e.CROWN="crown",e.GRIP_LINES="grip-lines",e.CHART_AREA="chart-area",e.TRASH="trash",e.USER_TIE="user-tie",e.CIRCLE_SMALL="circle-small",e.REGULAR_FOLDER_OPEN_LOCK="regular-folder-open-lock",e.REGULAR_USER_CIRCLE_CHECK="regular-user-circle-check",e.SOLID_LEFT_PANEL="solid-left-panel",e.REGULAR_BINDER_OPEN="regular-binder-open",e.REGULAR_BOOKMARK_CIRCLE_PLUS="regular-bookmark-circle-plus",e.REGULAR_DIAGRAM_SUNBURST="regular-diagram-sunburst",e.REGULAR_PREVIEW="regular-preview",e.REGULAR_CONTEXT="regular-context",e.REGULAR_MOBILE_LANDSCAPE="regular-mobile-landscape",e.SOLID_FILE_ROTATE_RIGHT="solid-file-rotate-right",e.REGULAR_PIP_WIDE="regular-pip-wide",e.REGULAR_CLONE_LINK_SIMPLE="regular-clone-link-simple",e.REGULAR_LEFT_PANEL="regular-left-panel",e.LIGHT_FILE_LINES_GEAR="light-file-lines-gear",e.REGULAR_FILE_LINES_GEAR="regular-file-lines-gear",e.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION="regular-circle-dashed-dollar-question",e.REGULAR_TABLE_CELLS_SLASH="regular-table-cells-slash",e.REGULAR_BOOK_OPEN_GEAR_SLASH="regular-book-open-gear-slash",e.REGULAR_TABLET_LANDSCAPE="regular-tablet-landscape",e.REGULAR_CHART_BAR_STACKED="regular-chart-bar-stacked",e.SOLID_CIRCLE_USER_CIRCLE_CHECK="solid-circle-user-circle-check",e.REGULAR_BULLETS_LINE="regular-bullets-line",e.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION="regular-language-circle-exclamation",e.SOLID_CODE_COMPARE="solid-code-compare",e.REGULAR_FORMAT_CLEAR="regular-format-clear",e.REGULAR_MAGNIFYING_GLASS_BACK="regular-magnifying-glass-back",e.LIGHT_RECEIPT_GEAR="light-receipt-gear",e.REGULAR_BINDER_OPEN_ARROW_LEFT="regular-binder-open-arrow-left",e.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK="regular-hourglass-half-circle-check",e.REGULAR_THRESHOLD="regular-threshold",e.REGULAR_PIP="regular-pip",e.REGULAR_USER_GEAR="regular-user-gear",e.REGULAR_BELL_CIRCLE_PLUS="regular-bell-circle-plus",e.REGULAR_CLOUD_SLASH_GEAR="regular-cloud-slash-gear",e.REGULAR_HOUSE_MAGNIFYING_GLASS="regular-house-magnifying-glass",e.SOLID_CIRCLE_USER_SLASH="solid-circle-user-slash",e.REGULAR_LIST_MAGNIFYING_GLASS="regular-list-magnifying-glass",e.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS="regular-computer-mouse-magnifying-glass",e.REGULAR_LANGUAGE_SLASH="regular-language-slash",e.REGULAR_CHART_BAR_GROUPED="regular-chart-bar-grouped",e.REGULAR_CONSUMER="regular-consumer",e.REGULAR_CHART_BAR_NORMALIZED="regular-chart-bar-normalized",e.REGULAR_USER_LOCK="regular-user-lock",e.REGULAR_CIRCLE_DOLLAR_SLASH="regular-circle-dollar-slash",e.REGULAR_BINDER_OPEN_ARROW_RIGHT="regular-binder-open-arrow-right",e.REGULAR_BULLETS_LINES="regular-bullets-lines",e.REGULAR_BINDER_OPEN_PEN="regular-binder-open-pen",e.REGULAR_BOOKMARK_CIRCLE_MINUS="regular-bookmark-circle-minus",e.REGULAR_MAGNIFYING_GLASS_ONE="regular-magnifying-glass-one",e.REGULAR_BOOK_OPEN_GEAR="regular-book-open-gear",e.LIGHT_BOOK_OPEN_GEAR="light-book-open-gear"})(h||(h={}));var sE={[h.LOCK_KEYHOLE]:[p.regular,p.solid],[h.LINK_SIMPLE_SLASH]:[p.regular],[h.TABLE_LAYOUT]:[p.regular],[h.LAYER_GROUP]:[p.regular],[h.CIRCLE_INFO]:[p.regular],[h.BARS_PROGRESS]:[p.regular],[h.CODE_COMPARE]:[p.regular,p.solid],[h.HOURGLASS_END]:[p.regular],[h.BOX_ARCHIVE]:[p.regular,p.solid],[h.ARROWS_ROTATE]:[p.regular],[h.CIRCLE_DOT]:[p.regular],[h.ANGLES_LEFT]:[p.regular],[h.ROUTE]:[p.regular],[h.BARS]:[p.regular],[h.ARROW_DOWN]:[p.regular],[h.LOCK_KEYHOLE_OPEN]:[p.regular,p.solid],[h.DESKTOP]:[p.regular],[h.ANGLES_RIGHT]:[p.regular],[h.PIGGY_BANK]:[p.regular],[h.ANGLE_UP]:[p.regular],[h.PEN_NIB]:[p.regular],[h.ARROW_UP_RIGHT_FROM_SQUARE]:[p.regular],[h.GRID_2]:[p.regular],[h.BOOKS]:[p.regular],[h.TAG]:[p.regular,p.solid],[h.ANGLES_UP_DOWN]:[p.regular],[h.ARROW_ROTATE_LEFT]:[p.regular],[h.EYE_SLASH]:[p.regular],[h.CIRCLE_DOLLAR]:[p.regular,p.solid],[h.COMPRESS]:[p.regular],[h.RADAR]:[p.regular],[h.ARROW_ROTATE_RIGHT]:[p.regular],[h.CHART_NETWORK]:[p.regular],[h.PLUS]:[p.regular],[h.UNDERLINE]:[p.regular],[h.ARROW_LEFT]:[p.regular],[h.UPLOAD]:[p.regular],[h.GLOBE]:[p.regular],[h.LANGUAGE]:[p.regular],[h.TOGGLE_ON]:[p.regular],[h.DOWNLOAD]:[p.regular],[h.MESSAGE_QUOTE]:[p.regular,p.solid],[h.TRIANGLE_EXCLAMATION]:[p.regular,p.solid],[h.STAR]:[p.regular,p.solid],[h.BELL_SLASH]:[p.regular,p.solid],[h.HOURGLASS_HALF]:[p.regular],[h.INBOX]:[p.regular],[h.COMMENT_DOTS]:[p.regular],[h.ANGLE_DOWN]:[p.regular],[h.CLOUD_ARROW_DOWN]:[p.regular],[h.BOOKMARK_SLASH]:[p.regular],[h.LINK_SIMPLE]:[p.regular],[h.CLOCK_ROTATE_LEFT]:[p.regular],[h.SPINNER_THIRD]:[p.regular],[h.PLUG]:[p.regular],[h.CHART_SIMPLE]:[p.regular],[h.CIRCLE_PLAY]:[p.regular],[h.FILE_MAGNIFYING_GLASS]:[p.regular],[h.PEN]:[p.regular],[h.TABLET]:[p.regular],[h.CIRCLE_CHECK]:[p.regular,p.solid],[h.FILE_INVOICE]:[p.regular],[h.XMARK]:[p.regular,p.solid],[h.ARROW_RIGHT]:[p.regular],[h.BOOKMARK]:[p.regular,p.solid],[h.EXPAND_WIDE]:[p.regular],[h.USER]:[p.regular,p.solid],[h.SERVER]:[p.regular,p.solid],[h.CALENDAR_RANGE]:[p.regular],[h.BROOM_WIDE]:[p.regular],[h.ARROWS_UP_DOWN_LEFT_RIGHT]:[p.regular],[h.WIFI_SLASH]:[p.regular],[h.CHECK]:[p.regular,p.solid],[h.ITALIC]:[p.regular],[h.LIFE_RING]:[p.regular],[h.TABLE_CELLS]:[p.regular],[h.TRASH_CAN]:[p.regular],[h.WRENCH]:[p.regular],[h.PAPERCLIP]:[p.regular],[h.CABINET_FILING]:[p.regular],[h.ARROW_UP]:[p.regular],[h.FILE]:[p.regular],[h.CIRCLE_QUESTION]:[p.regular,p.solid],[h.COLUMNS_3]:[p.regular],[h.GEAR]:[p.regular,p.solid],[h.CHART_LINE]:[p.regular],[h.THUMBS_UP]:[p.regular,p.solid],[h.HAND]:[p.regular],[h.CIRCLE]:[p.regular,p.solid],[h.CALENDAR_DAY]:[p.regular],[h.CLOUD]:[p.regular],[h.LIST_TREE]:[p.regular],[h.ANGLE_RIGHT]:[p.regular],[h.CODE]:[p.regular],[h.ALIGN_CENTER]:[p.regular],[h.COMMENT_QUESTION]:[p.regular,p.solid],[h.IMAGE]:[p.regular],[h.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER]:[p.regular],[h.THUMBS_DOWN]:[p.regular,p.solid],[h.DIAGRAM_SANKEY]:[p.regular],[h.MESSAGE_CHECK]:[p.regular,p.solid],[h.BOLD]:[p.regular],[h.CIRCLE_STOP]:[p.regular,p.solid],[h.ARROW_RIGHT_TO_BRACKET]:[p.regular],[h.USERS]:[p.regular,p.solid],[h.ARROW_TURN_DOWN_RIGHT]:[p.regular],[h.PRINT]:[p.regular],[h.ALIGN_RIGHT]:[p.regular],[h.FLASK]:[p.regular],[h.MAGNIFYING_GLASS_PLUS]:[p.regular],[h.SHIELD_CHECK]:[p.regular],[h.STRIKETHROUGH]:[p.regular],[h.FOLDER_OPEN]:[p.regular],[h.CLONE]:[p.regular],[h.HEART]:[p.regular,p.solid],[h.PAPER_PLANE]:[p.regular],[h.MAGNIFYING_GLASS_MINUS]:[p.regular],[h.BOOK]:[p.regular],[h.CLOCK]:[p.regular,p.solid],[h.ELLIPSIS_VERTICAL]:[p.regular],[h.ARROW_RIGHT_TO_LINE]:[p.regular],[h.ANGLE_LEFT]:[p.regular],[h.CALENDAR_CIRCLE_EXCLAMATION]:[p.regular],[h.EXPAND]:[p.regular],[h.EQUALS]:[p.regular],[h.RECEIPT]:[p.regular],[h.EYE]:[p.regular],[h.ALIGN_LEFT]:[p.regular],[h.PAINTBRUSH]:[p.regular],[h.KEY]:[p.regular],[h.PALETTE]:[p.regular],[h.FLOPPY_DISK]:[p.regular],[h.MAGNIFYING_GLASS]:[p.regular],[h.ELLIPSIS]:[p.regular],[h.SHARE_NODES]:[p.regular],[h.ARROWS_FROM_LINE]:[p.regular],[h.POWER_OFF]:[p.regular],[h.ENVELOPE_OPEN_TEXT]:[p.regular],[h.CIRCLE_PAUSE]:[p.regular,p.solid],[h.MOBILE]:[p.regular],[h.BELL]:[p.regular,p.solid],[h.FILTER]:[p.regular,p.solid],[h.MEDAL]:[p.regular],[h.CLOUD_SLASH]:[p.regular],[h.MINUS]:[p.regular,p.solid],[h.PASTE]:[p.regular],[h.CALENDAR_CHECK]:[p.regular],[h.HEXAGON_XMARK]:[p.solid],[h.PAUSE]:[p.solid],[h.CHART_MIXED]:[p.solid],[h.ROBOT]:[p.solid],[h.WAND_MAGIC_SPARKLES]:[p.solid],[h.HEXAGON_EXCLAMATION]:[p.solid],[h.CUBES]:[p.solid],[h.TURN_RIGHT]:[p.solid],[h.SQUARE_INFO]:[p.solid],[h.MESSAGE_BOT]:[p.solid],[h.PLAY]:[p.solid],[h.TURN_LEFT]:[p.solid],[h.ADDRESS_CARD]:[p.solid],[h.CROWN]:[p.solid],[h.GRIP_LINES]:[p.solid],[h.CHART_AREA]:[p.solid],[h.TRASH]:[p.solid],[h.USER_TIE]:[p.solid],[h.CIRCLE_SMALL]:[p.solid],[h.REGULAR_FOLDER_OPEN_LOCK]:[p.custom],[h.REGULAR_USER_CIRCLE_CHECK]:[p.custom],[h.SOLID_LEFT_PANEL]:[p.custom],[h.REGULAR_BINDER_OPEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_PLUS]:[p.custom],[h.REGULAR_DIAGRAM_SUNBURST]:[p.custom],[h.REGULAR_PREVIEW]:[p.custom],[h.REGULAR_CONTEXT]:[p.custom],[h.REGULAR_MOBILE_LANDSCAPE]:[p.custom],[h.SOLID_FILE_ROTATE_RIGHT]:[p.custom],[h.REGULAR_PIP_WIDE]:[p.custom],[h.REGULAR_CLONE_LINK_SIMPLE]:[p.custom],[h.REGULAR_LEFT_PANEL]:[p.custom],[h.LIGHT_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_FILE_LINES_GEAR]:[p.custom],[h.REGULAR_CIRCLE_DASHED_DOLLAR_QUESTION]:[p.custom],[h.REGULAR_TABLE_CELLS_SLASH]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR_SLASH]:[p.custom],[h.REGULAR_TABLET_LANDSCAPE]:[p.custom],[h.REGULAR_CHART_BAR_STACKED]:[p.custom],[h.SOLID_CIRCLE_USER_CIRCLE_CHECK]:[p.custom],[h.REGULAR_BULLETS_LINE]:[p.custom],[h.REGULAR_LANGUAGE_CIRCLE_EXCLAMATION]:[p.custom],[h.SOLID_CODE_COMPARE]:[p.custom],[h.REGULAR_FORMAT_CLEAR]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_BACK]:[p.custom],[h.LIGHT_RECEIPT_GEAR]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_LEFT]:[p.custom],[h.REGULAR_HOURGLASS_HALF_CIRCLE_CHECK]:[p.custom],[h.REGULAR_THRESHOLD]:[p.custom],[h.REGULAR_PIP]:[p.custom],[h.REGULAR_USER_GEAR]:[p.custom],[h.REGULAR_BELL_CIRCLE_PLUS]:[p.custom],[h.REGULAR_CLOUD_SLASH_GEAR]:[p.custom],[h.REGULAR_HOUSE_MAGNIFYING_GLASS]:[p.custom],[h.SOLID_CIRCLE_USER_SLASH]:[p.custom],[h.REGULAR_LIST_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_COMPUTER_MOUSE_MAGNIFYING_GLASS]:[p.custom],[h.REGULAR_LANGUAGE_SLASH]:[p.custom],[h.REGULAR_CHART_BAR_GROUPED]:[p.custom],[h.REGULAR_CONSUMER]:[p.custom],[h.REGULAR_CHART_BAR_NORMALIZED]:[p.custom],[h.REGULAR_USER_LOCK]:[p.custom],[h.REGULAR_CIRCLE_DOLLAR_SLASH]:[p.custom],[h.REGULAR_BINDER_OPEN_ARROW_RIGHT]:[p.custom],[h.REGULAR_BULLETS_LINES]:[p.custom],[h.REGULAR_BINDER_OPEN_PEN]:[p.custom],[h.REGULAR_BOOKMARK_CIRCLE_MINUS]:[p.custom],[h.REGULAR_MAGNIFYING_GLASS_ONE]:[p.custom],[h.REGULAR_BOOK_OPEN_GEAR]:[p.custom],[h.LIGHT_BOOK_OPEN_GEAR]:[p.custom]},U0={[p.regular]:"far",[p.solid]:"fas",[p.custom]:"fak"};var Jn=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Et=class extends H0.FtLitElement{constructor(){super(...arguments),this.monospace=!1,this.ariaHidden="true"}render(){let t={"ftds-icon":!0,"ftds-icon--monospace":this.monospace};return $0.html`
|
|
1134
1134
|
<div class="${(0,F0.classMap)(t)}">${(0,G0.unsafeHTML)(this.buildIcon())}</div>
|
|
1135
1135
|
`}buildIcon(){let t=this.variant?U0[this.variant]:void 0,r=Ni.find(n=>n.iconName===this.icon&&(t?n.prefix===t:!0));return r?(D0.add(r),B0(r).html[0]):(console.log(`Attempted usage of unknown ftds-icon : ${this.icon}/${this.variant}`),"")}};Et.elementDefinitions={};Et.styles=E2;Jn([(0,Uo.property)()],Et.prototype,"variant",void 0);Jn([(0,Uo.property)()],Et.prototype,"icon",void 0);Jn([(0,Uo.property)({type:Boolean})],Et.prototype,"monospace",void 0);Jn([(0,Uo.property)({reflect:!0,attribute:"aria-hidden"})],Et.prototype,"ariaHidden",void 0);var fs=S(D());(0,fs.customElement)("ft-icon")(Oe);(0,fs.customElement)("ftds-icon")(Et);var W0=S(W()),j0=S(D());var xr=class extends j0.FtLitElement{render(){return W0.html`
|
|
@@ -1139,7 +1139,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1139
1139
|
<div></div>
|
|
1140
1140
|
<div></div>
|
|
1141
1141
|
</div>
|
|
1142
|
-
`}};xr.styles=Zs;var V0=S(D());(0,V0.customElement)("ft-loader")(xr);var Yt=S(W()),us=S(Lt()),ie=S(oe());var $o=e=>e??le;var
|
|
1142
|
+
`}};xr.styles=Zs;var V0=S(D());(0,V0.customElement)("ft-loader")(xr);var Yt=S(W()),us=S(Lt()),ie=S(oe());var $o=e=>e??le;var ye=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends(0,Xt.toFtFormComponent)(Xt.FtLitElement){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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let a=Yt.html`
|
|
1143
1143
|
<ft-ripple part="ripple"
|
|
1144
1144
|
?disabled=${this.isDisabled()}
|
|
1145
1145
|
?activated=${this.activated}
|
|
@@ -1181,7 +1181,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1181
1181
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
1182
1182
|
`:Yt.html`
|
|
1183
1183
|
<slot part="icon" name="icon"></slot>
|
|
1184
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Xt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":J,"ft-tooltip":
|
|
1184
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,Xt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};j.elementDefinitions={"ft-ripple":J,"ft-tooltip":ge,"ft-icon":Oe,"ft-loader":xr};ye([(0,ie.property)()],j.prototype,"href",void 0);ye([(0,ie.property)()],j.prototype,"target",void 0);ye([(0,ie.property)()],j.prototype,"type",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"disabled",void 0);ye([(0,ie.property)()],j.prototype,"label",void 0);ye([(0,ie.property)()],j.prototype,"icon",void 0);ye([(0,ie.property)()],j.prototype,"iconVariant",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"trailingIcon",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"loading",void 0);ye([(0,ie.property)({attribute:"aria-label"})],j.prototype,"ariaLabel",void 0);ye([(0,ie.property)()],j.prototype,"ariaHasPopup",void 0);ye([(0,ie.property)({attribute:"aria-pressed"})],j.prototype,"ariaPressed",void 0);ye([(0,ie.property)()],j.prototype,"tooltipPosition",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"hideTooltip",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"forceTooltip",void 0);ye([(0,ie.property)({type:Boolean})],j.prototype,"activated",void 0);ye([(0,ie.query)(".ft-button")],j.prototype,"button",void 0);ye([(0,ie.query)(".ft-button--label slot")],j.prototype,"slottedContent",void 0);ye([(0,ie.query)("[part=tooltip]")],j.prototype,"tooltip",void 0);var ea=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},tt=class extends j{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 ze.button}};tt.elementDefinitions={...j.elementDefinitions,"ft-or-ftds-typography":Ne};tt.styles=[K0.safariEllipsisFix,ec];ea([(0,Ho.property)({type:Boolean})],tt.prototype,"primary",void 0);ea([(0,Ho.property)({type:Boolean})],tt.prototype,"outlined",void 0);ea([(0,Ho.property)({type:Boolean})],tt.prototype,"dense",void 0);ea([(0,Ho.property)({type:Boolean})],tt.prototype,"round",void 0);var Go=S(oe()),ra=S(D());var Z0=S(W()),R=S(D());var Vm={...b,iconOnlyScale:R.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},q0=[Z0.css`
|
|
1185
1185
|
:host {
|
|
1186
1186
|
display: inline-block;
|
|
1187
1187
|
max-width: 100%;
|
|
@@ -2094,18 +2094,18 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2094
2094
|
display: flex;
|
|
2095
2095
|
flex-direction: column;
|
|
2096
2096
|
|
|
2097
|
-
max-width: ${
|
|
2097
|
+
max-width: ${he.maxWidth};
|
|
2098
2098
|
width: max-content;
|
|
2099
2099
|
|
|
2100
|
-
padding-left: ${
|
|
2101
|
-
padding-right: ${
|
|
2102
|
-
padding-top: ${
|
|
2103
|
-
padding-bottom: ${
|
|
2104
|
-
gap: ${
|
|
2100
|
+
padding-left: ${he.horizontalPadding};
|
|
2101
|
+
padding-right: ${he.horizontalPadding};
|
|
2102
|
+
padding-top: ${he.verticalPadding};
|
|
2103
|
+
padding-bottom: ${he.verticalPadding};
|
|
2104
|
+
gap: ${he.gap};
|
|
2105
2105
|
|
|
2106
|
-
background-color: ${
|
|
2107
|
-
border-radius: ${
|
|
2108
|
-
box-shadow: ${
|
|
2106
|
+
background-color: ${he.backgroundColor};
|
|
2107
|
+
border-radius: ${he.borderRadius};
|
|
2108
|
+
box-shadow: ${he.shadow};
|
|
2109
2109
|
|
|
2110
2110
|
&.positioned {
|
|
2111
2111
|
visibility: visible;
|
|
@@ -2117,9 +2117,9 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2117
2117
|
|
|
2118
2118
|
display: flex;
|
|
2119
2119
|
align-items: center;
|
|
2120
|
-
gap: ${
|
|
2120
|
+
gap: ${he.gap};
|
|
2121
2121
|
|
|
2122
|
-
color: ${
|
|
2122
|
+
color: ${he.titleColor};
|
|
2123
2123
|
}
|
|
2124
2124
|
|
|
2125
2125
|
[part="heading"] ftds-typography {
|
|
@@ -2131,19 +2131,19 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2131
2131
|
}
|
|
2132
2132
|
|
|
2133
2133
|
[part="content"] {
|
|
2134
|
-
color: ${
|
|
2134
|
+
color: ${he.bodyColor};
|
|
2135
2135
|
}
|
|
2136
2136
|
|
|
2137
2137
|
[part="popover-sections"] {
|
|
2138
2138
|
display: flex;
|
|
2139
2139
|
flex-direction: column;
|
|
2140
|
-
gap: ${
|
|
2140
|
+
gap: ${he.multiSectionVerticalGap};
|
|
2141
2141
|
}
|
|
2142
2142
|
|
|
2143
2143
|
.hidden {
|
|
2144
2144
|
display: none;
|
|
2145
2145
|
}
|
|
2146
|
-
`;var i4=S(Lt());var
|
|
2146
|
+
`;var i4=S(Lt());var be=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},K=class extends Jr.FtLitElement{constructor(){super(...arguments),this.heading="",this.closeButtonLabel="close info",this.openButtonIcon=vt.CIRCLE_QUESTION,this.openButtonLabel="more info",this.openButtonTooltipPosition="bottom",this.opened=!1,this.hidden=!1,this.openButtonSize=mt.medium,this.openButtonFamily=ht.info,this.watchFocusIn=t=>{this.popoverWrapper&&!t.composedPath().includes(this.popoverWrapper)&&this.close()},this.watchEscapeKey=t=>{var r;t.key==="Escape"&&(this.close(),(r=this.openingButton)===null||r===void 0||r.focus())}}render(){let t={opened:this.opened};return this.hidden?Qt.nothing:Qt.html`
|
|
2147
2147
|
<div part="root-container" class="${(0,i4.classMap)(t)}">
|
|
2148
2148
|
<ftds-button @focusin=${this.close}
|
|
2149
2149
|
part="opening-button"
|
|
@@ -2194,7 +2194,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2194
2194
|
</div>
|
|
2195
2195
|
</div>
|
|
2196
2196
|
</div>
|
|
2197
|
-
`:Qt.nothing}updated(t){super.updated(t),t.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(t){return(0,Jr.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let
|
|
2197
|
+
`:Qt.nothing}updated(t){super.updated(t),t.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(t){return(0,Jr.unslotText)(t).trim().length===0}closeAndFocusOpeningButton(){var t,r;this.close(),(t=this.openingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.openingButton)===null||r===void 0||r.showTooltip())}async positionWrapper(){var t,r;if(this.popoverWrapper){if(this.popoverWrapper.classList.remove("positioned"),this.popoverWrapper.style.left="",this.popoverWrapper.style.top="",this.openingButton){let i={placement:"bottom-start",allowedPlacements:["bottom-start","right-start","bottom-end","right-end","left-start","left-end","top-start","top-end"],maxWidthCssVariable:he.maxWidth},{x:s,y:l}=await(0,Jr.computeOffsetAutoPosition)(this.openingButton,this.popoverWrapper,i);this.popoverWrapper.style.left=`${s}px`,this.popoverWrapper.style.top=`${l}px`}this.popoverWrapper.classList.add("positioned")}this.hideUnusedSlots(),(t=this.closingButton)===null||t===void 0||t.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation&&((r=this.closingButton)===null||r===void 0||r.showTooltip())}hideUnusedSlots(){var t,r,n;(t=this.popoverLinkTypography)===null||t===void 0||t.classList.toggle("hidden",this.hasEmptySlot(this.slottedLinkContent)),(r=this.popoverContentDiv)===null||r===void 0||r.classList.toggle("hidden",this.hasEmptySlot(this.popoverContentSlot)),(n=this.popoverSectionsDiv)===null||n===void 0||n.classList.toggle("hidden",this.hasEmptySlot(this.popoverSectionsSlot))}};K.elementDefinitions={"ftds-typography":Le,"ftds-button":rt};K.styles=a4;be([(0,ue.property)()],K.prototype,"heading",void 0);be([(0,ue.property)()],K.prototype,"closeButtonLabel",void 0);be([(0,ue.property)()],K.prototype,"openButtonIcon",void 0);be([(0,ue.property)()],K.prototype,"openButtonLabel",void 0);be([(0,ue.property)()],K.prototype,"openButtonTooltipPosition",void 0);be([(0,ue.property)({type:Boolean})],K.prototype,"opened",void 0);be([(0,ue.property)({type:Boolean})],K.prototype,"hidden",void 0);be([(0,ue.property)({type:mt})],K.prototype,"openButtonSize",void 0);be([(0,ue.property)({type:ht})],K.prototype,"openButtonFamily",void 0);be([(0,ue.query)('[part="opening-button"]')],K.prototype,"openingButton",void 0);be([(0,ue.query)('[part="closing-button"]')],K.prototype,"closingButton",void 0);be([(0,ue.query)('[part="wrapper"]')],K.prototype,"popoverWrapper",void 0);be([(0,ue.query)('[part="content"]')],K.prototype,"popoverContentDiv",void 0);be([(0,ue.query)('[part="popover-content-slot"]')],K.prototype,"popoverContentSlot",void 0);be([(0,ue.query)('[part="popover-link"]')],K.prototype,"slottedLinkContent",void 0);be([(0,ue.query)('[part="popover-link-typography"]')],K.prototype,"popoverLinkTypography",void 0);be([(0,ue.query)('[part="popover-sections"]')],K.prototype,"popoverSectionsDiv",void 0);be([(0,ue.query)('[part="popover-sections-slot"]')],K.prototype,"popoverSectionsSlot",void 0);var Wo=S(W()),jo=S(oe()),oa=S(D());var s4=S(W());var c4=s4.css`
|
|
2198
2198
|
.ftds-popover-section--heading ftds-typography {
|
|
2199
2199
|
flex-grow: 1;
|
|
2200
2200
|
flex-shrink: 1;
|
|
@@ -2204,13 +2204,13 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2204
2204
|
}
|
|
2205
2205
|
|
|
2206
2206
|
.ftds-popover-section--content {
|
|
2207
|
-
color: ${
|
|
2207
|
+
color: ${he.bodyColor};
|
|
2208
2208
|
}
|
|
2209
2209
|
|
|
2210
2210
|
.ftds-popover-section--container {
|
|
2211
2211
|
display: flex;
|
|
2212
2212
|
flex-direction: column;
|
|
2213
|
-
gap: ${
|
|
2213
|
+
gap: ${he.contentSectionVerticalGap};
|
|
2214
2214
|
}
|
|
2215
2215
|
`;var ms=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},kt=class extends oa.FtLitElement{constructor(){super(...arguments),this.heading=""}render(){return Wo.html`
|
|
2216
2216
|
<div class="ftds-popover-section--container">
|
|
@@ -2369,7 +2369,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2369
2369
|
<div part="checkbox-popover-wrapper">
|
|
2370
2370
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
2371
2371
|
</div>
|
|
2372
|
-
</div>`}get typographyVariant(){return ae.body2medium}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new bs(this.value,this.checked))}};oo.elementDefinitions={...fe.elementDefinitions,"ftds-popover":K,"ftds-link":We,"ftds-typography":Le,"ft-icon":Oe};oo.styles=[ia.safariEllipsisFix,o4];var xs=S(D());(0,xs.customElement)("ft-checkbox")(vr);(0,xs.customElement)("ftds-checkbox")(oo);var vs=S(h4()),
|
|
2372
|
+
</div>`}get typographyVariant(){return ae.body2medium}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new bs(this.value,this.checked))}};oo.elementDefinitions={...fe.elementDefinitions,"ftds-popover":K,"ftds-link":We,"ftds-typography":Le,"ft-icon":Oe};oo.styles=[ia.safariEllipsisFix,o4];var xs=S(D());(0,xs.customElement)("ft-checkbox")(vr);(0,xs.customElement)("ftds-checkbox")(oo);var vs=S(h4()),xe=S(oe());var Jt;(function(e){e.manual="manual",e.auto="auto",e.downward="downward"})(Jt||(Jt={}));function m4(e,t,r){return e?t(e):r?.(e)}var ke=function(e,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,r,i):s(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ko=class extends CustomEvent{constructor(t){super("tree-change",{detail:(0,Te.deepCopy)(t)})}},Ss=class extends CustomEvent{constructor(t){super("treenode-change",{detail:t})}},Cs=class extends CustomEvent{constructor(){super("treenode-clear-all")}},se=class extends Te.FtLitElement{constructor(){super(...arguments),this.mode=Jt.auto,this.userOpenedNodes=new Set,this.userClosedNodes=new Set,this.currentExpandButtonFocusedIndex=0,this.label="",this.expandLabel="Expand",this.collapseLabel="Collapse",this.expandParametrizedLabel="Expand {0}",this.collapseParametrizedLabel="Collapse {0}",this.expandAllLabel="Expand all",this.collapseAllLabel="Collapse all",this.clearLabel="Clear"}willUpdate(t){super.willUpdate(t),this.data&&this.isTreeSelectorCollapsed==null&&(this.isTreeSelectorCollapsed=this.data.rootNodes.every(r=>!this.isNodeExpanded(r)))}render(){var t;let r=this.data.rootNodes.some(n=>n.children.length>0);return Be.html`
|
|
2373
2373
|
<div class="ft-tree-selector ${r?"with-expandable":""}">
|
|
2374
2374
|
<div part="header">
|
|
2375
2375
|
${this.label.length>0?Be.html`
|
|
@@ -2427,7 +2427,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
2427
2427
|
@keydown=${n=>this.onKeydown(n,t)}
|
|
2428
2428
|
@click=${()=>this.userChangeNodeExpandStatus(!r,t.value)}>
|
|
2429
2429
|
</ft-button>
|
|
2430
|
-
`}userChangeNodeExpandStatus(t,r){t?this.userClosedNodes.has(r)?this.userClosedNodes.delete(r):this.userOpenedNodes.add(r):this.userOpenedNodes.has(r)?this.userOpenedNodes.delete(r):this.userClosedNodes.add(r),this.requestUpdate()}onKeydown(t,r){let n=!1;switch(t.key){case"ArrowDown":this.focusNextButton(t.target),n=!0;break;case"ArrowUp":this.focusPreviousButton(t.target),n=!0;break;case"ArrowRight":this.isNodeExpanded(r)||this.userChangeNodeExpandStatus(!0,r.value),n=!0;break;case"ArrowLeft":this.isNodeExpanded(r)&&this.userChangeNodeExpandStatus(!1,r.value),n=!0;break}n&&(t.stopPropagation(),t.preventDefault())}focusPreviousButton(t){let r=this.currentLevelExpandButtons.indexOf(t);this.currentLevelExpandButtons[r==0?this.currentLevelExpandButtons.length-1:r-1].focus()}focusNextButton(t){let r=[...this.currentLevelExpandButtons],n=r.indexOf(t);r[n==r.length-1?0:n+1].focus()}isNodeExpanded(t){return!this.userClosedNodes.has(t.value)&&(t.expanded||this.userOpenedNodes.has(t.value))}hasExpandableChildren(t){return t.children.some(r=>r.children.length>0)}toggleExpandAll(){this.isTreeSelectorCollapsed?this.expandAll():this.collapseAll()}expandAll(){this.userClosedNodes=new Set,this.userOpenedNodes=new Set(this.getAllClosedNodes()),this.isTreeSelectorCollapsed=!1}getAllClosedNodes(){return(0,Te.flatDeep)(this.data.rootNodes,t=>t.children).filter(t=>!t.expanded).map(t=>t.value)}collapseAll(){this.userOpenedNodes=new Set,this.userClosedNodes=new Set(this.data.rootNodes.filter(t=>t.expanded).map(t=>t.value)),this.isTreeSelectorCollapsed=!0}getAriaControlId(t){return t.value.replace(" ","").replace("|","-")+"-children"}};se.elementDefinitions={"ft-checkbox":vr,"ft-typography":Ne,"ft-button":tt};se.styles=X0;ke([(0,
|
|
2430
|
+
`}userChangeNodeExpandStatus(t,r){t?this.userClosedNodes.has(r)?this.userClosedNodes.delete(r):this.userOpenedNodes.add(r):this.userOpenedNodes.has(r)?this.userOpenedNodes.delete(r):this.userClosedNodes.add(r),this.requestUpdate()}onKeydown(t,r){let n=!1;switch(t.key){case"ArrowDown":this.focusNextButton(t.target),n=!0;break;case"ArrowUp":this.focusPreviousButton(t.target),n=!0;break;case"ArrowRight":this.isNodeExpanded(r)||this.userChangeNodeExpandStatus(!0,r.value),n=!0;break;case"ArrowLeft":this.isNodeExpanded(r)&&this.userChangeNodeExpandStatus(!1,r.value),n=!0;break}n&&(t.stopPropagation(),t.preventDefault())}focusPreviousButton(t){let r=this.currentLevelExpandButtons.indexOf(t);this.currentLevelExpandButtons[r==0?this.currentLevelExpandButtons.length-1:r-1].focus()}focusNextButton(t){let r=[...this.currentLevelExpandButtons],n=r.indexOf(t);r[n==r.length-1?0:n+1].focus()}isNodeExpanded(t){return!this.userClosedNodes.has(t.value)&&(t.expanded||this.userOpenedNodes.has(t.value))}hasExpandableChildren(t){return t.children.some(r=>r.children.length>0)}toggleExpandAll(){this.isTreeSelectorCollapsed?this.expandAll():this.collapseAll()}expandAll(){this.userClosedNodes=new Set,this.userOpenedNodes=new Set(this.getAllClosedNodes()),this.isTreeSelectorCollapsed=!1}getAllClosedNodes(){return(0,Te.flatDeep)(this.data.rootNodes,t=>t.children).filter(t=>!t.expanded).map(t=>t.value)}collapseAll(){this.userOpenedNodes=new Set,this.userClosedNodes=new Set(this.data.rootNodes.filter(t=>t.expanded).map(t=>t.value)),this.isTreeSelectorCollapsed=!0}getAriaControlId(t){return t.value.replace(" ","").replace("|","-")+"-children"}};se.elementDefinitions={"ft-checkbox":vr,"ft-typography":Ne,"ft-button":tt};se.styles=X0;ke([(0,xe.property)()],se.prototype,"mode",void 0);ke([(0,xe.property)()],se.prototype,"data",void 0);ke([(0,xe.state)({hasChanged:Te.hasChanged})],se.prototype,"userOpenedNodes",void 0);ke([(0,xe.state)({hasChanged:Te.hasChanged})],se.prototype,"userClosedNodes",void 0);ke([(0,xe.queryAll)("[part='expand']")],se.prototype,"currentLevelExpandButtons",void 0);ke([(0,xe.state)()],se.prototype,"currentExpandButtonFocusedIndex",void 0);ke([(0,xe.state)()],se.prototype,"isTreeSelectorCollapsed",void 0);ke([(0,xe.property)()],se.prototype,"label",void 0);ke([(0,xe.property)()],se.prototype,"expandLabel",void 0);ke([(0,xe.property)()],se.prototype,"collapseLabel",void 0);ke([(0,xe.property)()],se.prototype,"expandParametrizedLabel",void 0);ke([(0,xe.property)()],se.prototype,"collapseParametrizedLabel",void 0);ke([(0,xe.property)()],se.prototype,"expandAllLabel",void 0);ke([(0,xe.property)()],se.prototype,"collapseAllLabel",void 0);ke([(0,xe.property)()],se.prototype,"clearLabel",void 0);(0,y4.customElement)("ft-tree-selector")(se);})();
|
|
2431
2431
|
/*! Bundled license information:
|
|
2432
2432
|
|
|
2433
2433
|
lit-html/lit-html.js:
|