@fluid-topics/ft-tooltip 2.0.38 → 2.1.1
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-tooltip.light.js +91 -110
- package/build/ft-tooltip.min.js +86 -104
- package/build/ft-tooltip.styles.d.ts +5 -5
- package/package.json +5 -5
|
@@ -1,128 +1,109 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Jo=/'/g,Qo=/"/g,on=/^(?:script|style|textarea|title)$/i,jr=r=>(t,...o)=>({_$litType$:r,strings:t,values:o}),nn=jr(1),an=jr(2),sn=jr(3),wt=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),en=new WeakMap,Le=ke.createTreeWalker(ke,129);function cn(r,t){if(!$r(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return qo!==void 0?qo.createHTML(t):t}var Us=(r,t)=>{let o=r.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",c=At;for(let d=0;d<o;d++){let u=r[d],f,p,h=-1,y=0;for(;y<u.length&&(c.lastIndex=y,p=c.exec(u),p!==null);)y=c.lastIndex,c===At?p[1]==="!--"?c=Yo:p[1]!==void 0?c=Xo:p[2]!==void 0?(on.test(p[2])&&(i=RegExp("</"+p[2],"g")),c=Te):p[3]!==void 0&&(c=Te):c===Te?p[0]===">"?(c=i??At,h=-1):p[1]===void 0?h=-2:(h=c.lastIndex-p[2].length,f=p[1],c=p[3]===void 0?Te:p[3]==='"'?Qo:Jo):c===Qo||c===Jo?c=Te:c===Yo||c===Xo?c=At:(c=Te,i=void 0);let g=c===Te&&r[d+1].startsWith("/>")?" ":"";s+=c===At?u+Fs:h>=0?(n.push(f),u.slice(0,h)+tn+u.slice(h)+be+g):u+be+(h===-2?d:g)}return[cn(r,s+(r[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Rt=class r{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[f,p]=Us(t,o);if(this.el=r.createElement(f,n),Le.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Le.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(tn)){let y=p[c++],g=i.getAttribute(h).split(be),m=/([.?@])?(.*)/.exec(y);u.push({type:1,index:s,name:m[2],strings:g,ctor:m[1]==="."?Br:m[1]==="?"?Hr:m[1]==="@"?zr:Ke}),i.removeAttribute(h)}else h.startsWith(be)&&(u.push({type:6,index:s}),i.removeAttribute(h));if(on.test(i.tagName)){let h=i.textContent.split(be),y=h.length-1;if(y>0){i.textContent=Kt?Kt.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],Zt()),Le.nextNode(),u.push({type:2,index:++s});i.append(h[y],Zt())}}}else if(i.nodeType===8)if(i.data===rn)u.push({type:2,index:s});else{let h=-1;for(;(h=i.data.indexOf(be,h+1))!==-1;)u.push({type:7,index:s}),h+=be.length-1}s++}}static createElement(t,o){let n=ke.createElement("template");return n.innerHTML=t,n}};function Ve(r,t,o=r,n){if(t===wt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Et(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Ve(r,i._$AS(r,t.values),i,n)),t}var Ur=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ke).importNode(o,!0);Le.currentNode=i;let s=Le.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let f;u.type===2?f=new qt(s,s.nextSibling,this,t):u.type===1?f=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(f=new Wr(s,this,t)),this._$AV.push(f),u=n[++d]}c!==u?.index&&(s=Le.nextNode(),c++)}return Le.currentNode=ke,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},qt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ve(this,t,o),Et(t)?t===_||t==null||t===""?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==wt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ms(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!==_&&Et(this._$AH)?this._$AA.nextSibling.data=t:this.T(ke.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Rt.createElement(cn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Ur(i,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=en.get(t.strings);return o===void 0&&en.set(t.strings,o=new Rt(t)),o}k(t){$r(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of t)i===o.length?o.push(n=new r(this.O(Zt()),this.O(Zt()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,s){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=_}_$AI(t,o=this,n,i){let s=this.strings,c=!1;if(s===void 0)t=Ve(this,t,o,0),c=!Et(t)||t!==this._$AH&&t!==wt,c&&(this._$AH=t);else{let d=t,u,f;for(t=s[0],u=0;u<s.length-1;u++)f=Ve(this,d[n+u],o,u),f===wt&&(f=this._$AH[u]),c||=!Et(f)||f!==this._$AH[u],f===_?t=_:t!==_&&(t+=(f??"")+s[u+1]),this._$AH[u]=f}c&&!i&&this.j(t)}j(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Br=class extends Ke{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===_?void 0:t}},Hr=class extends Ke{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==_)}},zr=class extends Ke{constructor(t,o,n,i,s){super(t,o,n,i,s),this.type=5}_$AI(t,o=this){if((t=Ve(this,t,o,0)??_)===wt)return;let n=this._$AH,i=t===_&&n!==_||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==_&&(n===_||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Wr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ve(this,t)}};var Bs=Gr.litHtmlPolyfillSupport;Bs?.(Rt,qt),(Gr.litHtmlVersions??=[]).push("3.3.0");var dn=Symbol.for(""),Hs=r=>{if(r?.r===dn)return r?._$litStatic$},Ze=r=>({_$litStatic$:r,r:dn});var ln=new Map,Vr=r=>(t,...o)=>{let n=o.length,i,s,c=[],d=[],u,f=0,p=!1;for(;f<n;){for(u=t[f];f<n&&(s=o[f],(i=Hs(s))!==void 0);)u+=i+t[++f],p=!0;f!==n&&d.push(s),c.push(u),f++}if(f===n&&c.push(t[n]),p){let h=c.join("$$lit$$");(t=ln.get(h))===void 0&&(c.raw=c,ln.set(h,t=c)),o=d}return r(t,...o)},qe=Vr(nn),fl=Vr(an),pl=Vr(sn);var Kr=A(te()),An=A(I());var Ye;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button"})(Ye||(Ye={}));var V=A(ee()),x=A(I()),un=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.titleFont),de=x.FtCssVariableFactory.extend("--ft-typography-font-family","",x.designSystemVariables.contentFont),O={fontFamily:de,fontSize:x.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:x.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:x.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:x.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:x.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Xe={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-font-family","",un),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit")},Je={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",un),fontSize:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit")},Qe={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit")},et={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit")},tt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit")},rt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit")},ot={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit")},nt={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit")},at={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase")},it={fontFamily:x.FtCssVariableFactory.extend("--ft-typography-button-font-family","",de),fontSize:x.FtCssVariableFactory.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:x.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:x.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:x.FtCssVariableFactory.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:x.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase")},fn=V.css`
|
|
1
|
+
"use strict";(()=>{var ea=Object.create;var Nn=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames;var ia=Object.getPrototypeOf,sa=Object.prototype.hasOwnProperty;var Tr=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}};var oa=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of na(t))!sa.call(e,i)&&i!==r&&Nn(e,i,{get:()=>t[i],enumerable:!(n=ra(t,i))||n.enumerable});return e};var E=(e,t,r)=>(r=e!=null?ea(ia(e)):{},oa(t||!e||!e.__esModule?Nn(r,"default",{value:e,enumerable:!0}):r,e));var T=Tr((Ic,Mn)=>{Mn.exports=ftGlobals.wcUtils});var ot=Tr((Lc,Un)=>{Un.exports=ftGlobals.lit});var et=Tr((Pc,Fn)=>{Fn.exports=ftGlobals.litDecorators});var ta=E(T());var Qo=E(ot()),X=E(et()),Y=E(T());var kr=globalThis,Fe=kr.trustedTypes,$n=Fe?Fe.createPolicy("lit-html",{createHTML:e=>e}):void 0,zn="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,Kn="?"+ht,aa=`<${Kn}>`,Tt=document,$e=()=>Tt.createComment(""),ye=e=>e===null||typeof e!="object"&&typeof e!="function",Dr=Array.isArray,ca=e=>Dr(e)||typeof e?.[Symbol.iterator]=="function",Or=`[
|
|
2
|
+
\f\r]`,me=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jn=/-->/g,Hn=/>/g,wt=RegExp(`>|${Or}(?:([^\\s"'>=/]+)(${Or}*=${Or}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bn=/'/g,Vn=/"/g,qn=/^(?:script|style|textarea|title)$/i,Nr=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Gn=Nr(1),Yn=Nr(2),Xn=Nr(3),ge=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),Wn=new WeakMap,Ct=Tt.createTreeWalker(Tt,129);function Jn(e,t){if(!Dr(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return $n!==void 0?$n.createHTML(t):t}var ua=(e,t)=>{let r=e.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",o=me;for(let a=0;a<r;a++){let c=e[a],u,l,d=-1,f=0;for(;f<c.length&&(o.lastIndex=f,l=o.exec(c),l!==null);)f=o.lastIndex,o===me?l[1]==="!--"?o=jn:l[1]!==void 0?o=Hn:l[2]!==void 0?(qn.test(l[2])&&(i=RegExp("</"+l[2],"g")),o=wt):l[3]!==void 0&&(o=wt):o===wt?l[0]===">"?(o=i??me,d=-1):l[1]===void 0?d=-2:(d=o.lastIndex-l[2].length,u=l[1],o=l[3]===void 0?wt:l[3]==='"'?Vn:Bn):o===Vn||o===Bn?o=wt:o===jn||o===Hn?o=me:(o=wt,i=void 0);let p=o===wt&&e[a+1].startsWith("/>")?" ":"";s+=o===me?c+aa:d>=0?(n.push(u),c.slice(0,d)+zn+c.slice(d)+ht+p):c+ht+(d===-2?a:p)}return[Jn(e,s+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},ve=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let s=0,o=0,a=t.length-1,c=this.parts,[u,l]=ua(t,r);if(this.el=e.createElement(u,n),Ct.currentNode=this.el.content,r===2||r===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=Ct.nextNode())!==null&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(zn)){let f=l[o++],p=i.getAttribute(d).split(ht),h=/([.?@])?(.*)/.exec(f);c.push({type:1,index:s,name:h[2],strings:p,ctor:h[1]==="."?_r:h[1]==="?"?Ir:h[1]==="@"?Lr:Ht}),i.removeAttribute(d)}else d.startsWith(ht)&&(c.push({type:6,index:s}),i.removeAttribute(d));if(qn.test(i.tagName)){let d=i.textContent.split(ht),f=d.length-1;if(f>0){i.textContent=Fe?Fe.emptyScript:"";for(let p=0;p<f;p++)i.append(d[p],$e()),Ct.nextNode(),c.push({type:2,index:++s});i.append(d[f],$e())}}}else if(i.nodeType===8)if(i.data===Kn)c.push({type:2,index:s});else{let d=-1;for(;(d=i.data.indexOf(ht,d+1))!==-1;)c.push({type:7,index:s}),d+=ht.length-1}s++}}static createElement(t,r){let n=Tt.createElement("template");return n.innerHTML=t,n}};function jt(e,t,r=e,n){if(t===ge)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=ye(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=jt(e,i._$AS(e,t.values),i,n)),t}var Rr=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,i=(t?.creationScope??Tt).importNode(r,!0);Ct.currentNode=i;let s=Ct.nextNode(),o=0,a=0,c=n[0];for(;c!==void 0;){if(o===c.index){let u;c.type===2?u=new je(s,s.nextSibling,this,t):c.type===1?u=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(u=new Pr(s,this,t)),this._$AV.push(u),c=n[++a]}o!==c?.index&&(s=Ct.nextNode(),o++)}return Ct.currentNode=Tt,i}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++}},je=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.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=jt(this,t,r),ye(t)?t===L||t==null||t===""?(this._$AH!==L&&this._$AR(),this._$AH=L):t!==this._$AH&&t!==ge&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ca(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!==L&&ye(this._$AH)?this._$AA.nextSibling.data=t:this.T(Tt.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ve.createElement(Jn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Rr(i,this),o=s.u(this.options);s.p(r),this.T(o),this._$AH=s}}_$AC(t){let r=Wn.get(t.strings);return r===void 0&&Wn.set(t.strings,r=new ve(t)),r}k(t){Dr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of t)i===r.length?r.push(n=new e(this.O($e()),this.O($e()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},Ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,s){this.type=1,this._$AH=L,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=L}_$AI(t,r=this,n,i){let s=this.strings,o=!1;if(s===void 0)t=jt(this,t,r,0),o=!ye(t)||t!==this._$AH&&t!==ge,o&&(this._$AH=t);else{let a=t,c,u;for(t=s[0],c=0;c<s.length-1;c++)u=jt(this,a[n+c],r,c),u===ge&&(u=this._$AH[c]),o||=!ye(u)||u!==this._$AH[c],u===L?t=L:t!==L&&(t+=(u??"")+s[c+1]),this._$AH[c]=u}o&&!i&&this.j(t)}j(t){t===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},_r=class extends Ht{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===L?void 0:t}},Ir=class extends Ht{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==L)}},Lr=class extends Ht{constructor(t,r,n,i,s){super(t,r,n,i,s),this.type=5}_$AI(t,r=this){if((t=jt(this,t,r,0)??L)===ge)return;let n=this._$AH,i=t===L&&n!==L||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==L&&(n===L||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Pr=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){jt(this,t)}};var la=kr.litHtmlPolyfillSupport;la?.(ve,je),(kr.litHtmlVersions??=[]).push("3.3.0");var Zn=Symbol.for(""),da=e=>{if(e?.r===Zn)return e?._$litStatic$},Mr=e=>({_$litStatic$:e,r:Zn});var Qn=new Map,Ur=e=>(t,...r)=>{let n=r.length,i,s,o=[],a=[],c,u=0,l=!1;for(;u<n;){for(c=t[u];u<n&&(s=r[u],(i=da(s))!==void 0);)c+=i+t[++u],l=!0;u!==n&&a.push(s),o.push(c),u++}if(u===n&&o.push(t[n]),l){let d=o.join("$$lit$$");(t=Qn.get(d))===void 0&&(o.raw=o,Qn.set(d,t=o)),r=a}return e(t,...r)},Fr=Ur(Gn),Nc=Ur(Yn),Mc=Ur(Xn);var $r=E(et()),pi=E(T());var Bt;(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"})(Bt||(Bt={}));var V=E(ot()),y=E(T()),ti=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.titleFont),at=y.FtCssVariableFactory.extend("--ft-typography-font-family","",y.designSystemVariables.contentFont),A={fontFamily:at,fontSize:y.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:y.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:y.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:y.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:y.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Vt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ti),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},Wt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ti),fontSize:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},zt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},Kt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},qt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},Gt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Yt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},Xt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Jt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Qt={fontFamily:y.FtCssVariableFactory.extend("--ft-typography-button-font-family","",at),fontSize:y.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:y.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:y.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:y.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:y.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},ei=V.css`
|
|
4
4
|
.ft-typography--title {
|
|
5
|
-
font-family: ${
|
|
6
|
-
font-size: ${
|
|
7
|
-
font-weight: ${
|
|
8
|
-
letter-spacing: ${
|
|
9
|
-
line-height: ${
|
|
10
|
-
text-transform: ${
|
|
5
|
+
font-family: ${Vt.fontFamily};
|
|
6
|
+
font-size: ${Vt.fontSize};
|
|
7
|
+
font-weight: ${Vt.fontWeight};
|
|
8
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
9
|
+
line-height: ${Vt.lineHeight};
|
|
10
|
+
text-transform: ${Vt.textTransform};
|
|
11
11
|
}
|
|
12
|
-
`,
|
|
12
|
+
`,ri=V.css`
|
|
13
13
|
.ft-typography--title-dense {
|
|
14
|
-
font-family: ${
|
|
15
|
-
font-size: ${
|
|
16
|
-
font-weight: ${
|
|
17
|
-
letter-spacing: ${
|
|
18
|
-
line-height: ${
|
|
19
|
-
text-transform: ${
|
|
14
|
+
font-family: ${Wt.fontFamily};
|
|
15
|
+
font-size: ${Wt.fontSize};
|
|
16
|
+
font-weight: ${Wt.fontWeight};
|
|
17
|
+
letter-spacing: ${Wt.letterSpacing};
|
|
18
|
+
line-height: ${Wt.lineHeight};
|
|
19
|
+
text-transform: ${Wt.textTransform};
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`,ni=V.css`
|
|
22
22
|
.ft-typography--subtitle1 {
|
|
23
|
-
font-family: ${
|
|
24
|
-
font-size: ${
|
|
25
|
-
font-weight: ${
|
|
26
|
-
letter-spacing: ${
|
|
27
|
-
line-height: ${
|
|
28
|
-
text-transform: ${
|
|
23
|
+
font-family: ${zt.fontFamily};
|
|
24
|
+
font-size: ${zt.fontSize};
|
|
25
|
+
font-weight: ${zt.fontWeight};
|
|
26
|
+
letter-spacing: ${zt.letterSpacing};
|
|
27
|
+
line-height: ${zt.lineHeight};
|
|
28
|
+
text-transform: ${zt.textTransform};
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,ii=V.css`
|
|
31
31
|
.ft-typography--subtitle2 {
|
|
32
|
-
font-family: ${
|
|
33
|
-
font-size: ${
|
|
34
|
-
font-weight: ${
|
|
35
|
-
letter-spacing: ${
|
|
36
|
-
line-height: ${
|
|
37
|
-
text-transform: ${
|
|
32
|
+
font-family: ${Kt.fontFamily};
|
|
33
|
+
font-size: ${Kt.fontSize};
|
|
34
|
+
font-weight: ${Kt.fontWeight};
|
|
35
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
36
|
+
line-height: ${Kt.lineHeight};
|
|
37
|
+
text-transform: ${Kt.textTransform};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
`,
|
|
40
|
+
`,si=V.css`
|
|
41
41
|
.ft-typography--body1 {
|
|
42
|
-
font-family: ${
|
|
43
|
-
font-size: ${
|
|
44
|
-
font-weight: ${
|
|
45
|
-
letter-spacing: ${
|
|
46
|
-
line-height: ${
|
|
47
|
-
text-transform: ${
|
|
42
|
+
font-family: ${qt.fontFamily};
|
|
43
|
+
font-size: ${qt.fontSize};
|
|
44
|
+
font-weight: ${qt.fontWeight};
|
|
45
|
+
letter-spacing: ${qt.letterSpacing};
|
|
46
|
+
line-height: ${qt.lineHeight};
|
|
47
|
+
text-transform: ${qt.textTransform};
|
|
48
48
|
}
|
|
49
|
-
`,
|
|
49
|
+
`,oi=V.css`
|
|
50
50
|
.ft-typography--body2 {
|
|
51
|
-
font-family: ${
|
|
52
|
-
font-size: ${
|
|
53
|
-
font-weight: ${
|
|
54
|
-
letter-spacing: ${
|
|
55
|
-
line-height: ${
|
|
56
|
-
text-transform: ${
|
|
51
|
+
font-family: ${Gt.fontFamily};
|
|
52
|
+
font-size: ${Gt.fontSize};
|
|
53
|
+
font-weight: ${Gt.fontWeight};
|
|
54
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
55
|
+
line-height: ${Gt.lineHeight};
|
|
56
|
+
text-transform: ${Gt.textTransform};
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,ai=V.css`
|
|
59
59
|
.ft-typography--caption {
|
|
60
|
-
font-family: ${
|
|
61
|
-
font-size: ${
|
|
62
|
-
font-weight: ${
|
|
63
|
-
letter-spacing: ${
|
|
64
|
-
line-height: ${
|
|
65
|
-
text-transform: ${
|
|
60
|
+
font-family: ${Yt.fontFamily};
|
|
61
|
+
font-size: ${Yt.fontSize};
|
|
62
|
+
font-weight: ${Yt.fontWeight};
|
|
63
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
64
|
+
line-height: ${Yt.lineHeight};
|
|
65
|
+
text-transform: ${Yt.textTransform};
|
|
66
66
|
}
|
|
67
|
-
`,
|
|
67
|
+
`,ci=V.css`
|
|
68
68
|
.ft-typography--breadcrumb {
|
|
69
|
-
font-family: ${
|
|
70
|
-
font-size: ${
|
|
71
|
-
font-weight: ${
|
|
72
|
-
letter-spacing: ${
|
|
73
|
-
line-height: ${
|
|
74
|
-
text-transform: ${
|
|
69
|
+
font-family: ${Xt.fontFamily};
|
|
70
|
+
font-size: ${Xt.fontSize};
|
|
71
|
+
font-weight: ${Xt.fontWeight};
|
|
72
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
73
|
+
line-height: ${Xt.lineHeight};
|
|
74
|
+
text-transform: ${Xt.textTransform};
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`,ui=V.css`
|
|
77
77
|
.ft-typography--overline {
|
|
78
|
-
font-family: ${
|
|
79
|
-
font-size: ${
|
|
80
|
-
font-weight: ${
|
|
81
|
-
letter-spacing: ${
|
|
82
|
-
line-height: ${
|
|
83
|
-
text-transform: ${
|
|
78
|
+
font-family: ${Jt.fontFamily};
|
|
79
|
+
font-size: ${Jt.fontSize};
|
|
80
|
+
font-weight: ${Jt.fontWeight};
|
|
81
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
82
|
+
line-height: ${Jt.lineHeight};
|
|
83
|
+
text-transform: ${Jt.textTransform};
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,li=V.css`
|
|
86
86
|
.ft-typography--button {
|
|
87
|
-
font-family: ${
|
|
88
|
-
font-size: ${
|
|
89
|
-
font-weight: ${
|
|
90
|
-
letter-spacing: ${
|
|
91
|
-
line-height: ${
|
|
92
|
-
text-transform: ${
|
|
87
|
+
font-family: ${Qt.fontFamily};
|
|
88
|
+
font-size: ${Qt.fontSize};
|
|
89
|
+
font-weight: ${Qt.fontWeight};
|
|
90
|
+
letter-spacing: ${Qt.letterSpacing};
|
|
91
|
+
line-height: ${Qt.lineHeight};
|
|
92
|
+
text-transform: ${Qt.textTransform};
|
|
93
93
|
}
|
|
94
|
-
`,
|
|
94
|
+
`,di=V.css`
|
|
95
95
|
.ft-typography {
|
|
96
96
|
vertical-align: inherit;
|
|
97
97
|
}
|
|
98
|
-
`;var
|
|
99
|
-
<${
|
|
98
|
+
`;var fi=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},ct=class extends pi.FtLitElement{constructor(){super(...arguments),this.variant=Bt.body1}render(){return this.element?Fr`
|
|
99
|
+
<${Mr(this.element)}
|
|
100
100
|
part="text"
|
|
101
101
|
class="ft-typography ft-typography--${this.variant}">
|
|
102
102
|
<slot></slot>
|
|
103
|
-
</${
|
|
104
|
-
`:
|
|
103
|
+
</${Mr(this.element)}>
|
|
104
|
+
`:Fr`
|
|
105
105
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
106
|
-
`}};ue.styles=[fn,pn,hn,yn,gn,mn,bn,xn,vn,Sn,Cn];On([(0,Kr.property)()],ue.prototype,"element",void 0);On([(0,Kr.property)()],ue.prototype,"variant",void 0);var qr=A(te()),jn=A(I());var Yt;(function(r){r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(Yt||(Yt={}));var fe=A(ee(),1),xe=r=>typeof r=="string"?(0,fe.unsafeCSS)(r):r,e=class{static create(t,o,n,i){let s=d=>xe(d??i),c=fe.css`var(${xe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>En(c,d??s(i)),c.get=d=>fe.css`var(${xe(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(t,o,n,i){let s=d=>n.get(d??i),c=fe.css`var(${xe(t)}, ${s(i)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.set=d=>En(c,d??s(i)),c.get=d=>fe.css`var(${xe(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),i=fe.css`var(${xe(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>t.set(s),i.get=s=>fe.css`var(${xe(t.name)}, ${n(s)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function En(r,t){return xe(`${r.name}: ${t}`)}var a={colorWhite:e.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ftds-opacity-0","","NUMBER","0"),opacity4:e.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:e.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:e.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:e.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:e.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:e.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:e.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:e.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:e.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:e.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:e.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:e.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wn={fontFamily:e.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Rn={fontFamily:e.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},In={fontFamily:e.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Tn={fontFamily:e.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Ln={fontFamily:e.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},kn={fontFamily:e.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Pn={fontFamily:e.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Nn={fontFamily:e.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},_n={fontFamily:e.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},zs={fontFamily:e.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Dn={fontFamily:e.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Fn={fontFamily:e.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Zr={display:wn,"title-1":Rn,"title-2":In,"title-3":Tn,"body-1-regular":Ln,"body-1-medium":kn,"body-1-semibold":Pn,"body-2-regular":Nn,"body-2-medium":_n,"body-2-medium-underline":zs,"body-2-semibold":Dn,"caption-1-medium":Fn,"caption-1-semibold":Mn,"caption-2-medium":Un,"caption-2-semibold":Bn,"caption-2-bold":Hn};var l={backgroundActionPrimary:e.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ftds-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ftds-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ftds-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ftds-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ftds-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ftds-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ftds-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ftds-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
107
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ftds-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ftds-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ftds-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ftds-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ftds-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ftds-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ftds-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ftds-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ftds-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",a.colorGray50),borderGlobalSecondary:e.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",a.colorGray40),borderGlobalSubtle:e.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var Nl={largeHeight:e.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ftds-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ftds-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ftds-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ftds-button-large-icon-size","",a.iconSize3),largeBorderWidth:e.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ftds-button-medium-horizontal-padding","",a.spacing3),mediumGap:e.extend("--ftds-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ftds-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ftds-button-medium-icon-size","",a.iconSize2),mediumBorderWidth:e.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-button-small-horizontal-padding","",a.spacing2),smallGap:e.extend("--ftds-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ftds-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ftds-button-small-icon-size","",a.iconSize1),smallBorderWidth:e.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ftds-button-x-small-icon-size","",a.iconSize1),xSmallFocusOutlineOffset:e.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ftds-button-round-border-radius","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:e.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ftds-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ftds-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ftds-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ftds-button-tertiary-error-disabled-component-opacity","",a.opacity40),tertiaryNeutralBackgroundColor:e.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:e.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ftds-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ftds-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ftds-button-secondary-info-disabled-component-opacity","",a.opacity40),secondaryInfoBackgroundColor:e.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:e.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ftds-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ftds-button-secondary-success-disabled-component-opacity","",a.opacity40),secondarySuccessBackgroundColor:e.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:e.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ftds-button-secondary-warning-disabled-component-opacity","",a.opacity40),secondaryWarningBackgroundColor:e.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:e.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ftds-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ftds-button-secondary-error-disabled-component-opacity","",a.opacity40),secondaryErrorBackgroundColor:e.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:e.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Ul={borderRadius:e.extend("--ftds-card-border-radius","",a.borderRadiusS),focusFocusRingColor:e.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:e.extend("--ftds-card-header-title-horizontal-padding","",a.spacing4),headerTitleVerticalPadding:e.extend("--ftds-card-header-title-vertical-padding","",a.spacing3),headerActionHorizontalPadding:e.extend("--ftds-card-header-action-horizontal-padding","",a.spacing2),headerActionVerticalPadding:e.extend("--ftds-card-header-action-vertical-padding","",a.spacing2),headerActionGap:e.extend("--ftds-card-header-action-gap","",a.spacing1),bodyHorizontalPadding:e.extend("--ftds-card-body-horizontal-padding","",a.spacing4),bodyVerticalPadding:e.extend("--ftds-card-body-vertical-padding","",a.spacing4),footerActionHorizontalPadding:e.extend("--ftds-card-footer-action-horizontal-padding","",a.spacing2),footerActionVerticalPadding:e.extend("--ftds-card-footer-action-vertical-padding","",a.spacing2),footerActionGap:e.extend("--ftds-card-footer-action-gap","",a.spacing1),footerContentHorizontalPadding:e.extend("--ftds-card-footer-content-horizontal-padding","",a.spacing4),footerContentVerticalPadding:e.extend("--ftds-card-footer-content-vertical-padding","",a.spacing3),sideBarHorizontalPadding:e.extend("--ftds-card-side-bar-horizontal-padding","",a.spacing1),sideBarVerticalPadding:e.extend("--ftds-card-side-bar-vertical-padding","",a.spacing1),sideBarGap:e.extend("--ftds-card-side-bar-gap","",a.spacing1),nonSelectableBorderWidth:e.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:e.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:e.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:e.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:e.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:e.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",a.opacity4),nonSelectableFocusBorderColor:e.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:e.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",a.opacity4),internalBorderColor:e.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:e.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:e.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:e.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:e.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:e.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:e.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",a.opacity4),selectableUnselectedFocusBorderColor:e.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:e.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",a.opacity4),selectableSelectedBorderColor:e.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:e.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:e.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:e.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:e.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",a.opacity4),selectableSelectedHoverStateLayerOpacity:e.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",a.opacity4),selectableSelectedFocusStateLayerOpacity:e.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",a.opacity4),internalBorderWidth:e.create("--ftds-card-internal-border-width","","SIZE","1px")};var Gl={loadMoreIconSize:e.extend("--ftds-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ftds-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:e.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:e.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ftds-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ftds-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ftds-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ftds-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ftds-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ftds-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ftds-tree-list-node-root-padding-left","",a.spacing6),nodeChildPaddingLeft:e.extend("--ftds-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ftds-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ftds-tree-list-header-section-padding-left","",a.spacing6),headerSectionPaddingRight:e.extend("--ftds-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ftds-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ftds-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:e.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ftds-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ftds-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ftds-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var Zl={iconSize:e.extend("--ftds-checkbox-icon-size","",a.iconSize2),boxSize:e.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:e.extend("--ftds-checkbox-label-horizontal-gap","",a.spacing1),color:e.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:e.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:e.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ftds-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ftds-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ftds-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ftds-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:e.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:e.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ftds-checkbox-horizontal-gap","",a.spacing3),helperPaddingTop:e.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:e.extend("--ftds-checkbox-helper-icon-size","",a.iconSize2),helperHorizontalGap:e.extend("--ftds-checkbox-helper-horizontal-gap","",a.spacing1),errorUncheckedBorderColor:e.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:e.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:e.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:e.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:e.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:e.extend("--ftds-checkbox-group-vertical-gap","",a.spacing3)};var Ql={circleSize:e.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ftds-radio-border-width","","SIZE","2px"),color:e.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:e.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:e.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ftds-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ftds-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ftds-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ftds-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:e.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ftds-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ftds-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ftds-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ftds-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ftds-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ftds-radio-horizontal-gap","",a.spacing3)};var nd={headerRowBorderWidth:e.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:e.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:e.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:e.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ftds-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ftds-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ftds-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ftds-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ftds-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ftds-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ftds-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ftds-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ftds-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ftds-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ftds-table-data-cell-vertical-gap","",a.spacing1)};var ld={neutralOffHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:e.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:e.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:e.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:e.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ftds-chip-choice-large-gap","",a.spacing1),largeBorderRadius:e.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-choice-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ftds-chip-choice-medium-gap","",a.spacing1),mediumBorderRadius:e.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-choice-medium-icon-size","",a.iconSize2)};var hd={largeMinHeight:e.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ftds-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ftds-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ftds-chip-large-gap","",a.spacing1),largeFocusOutlineOffset:e.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ftds-chip-large-icon-size","",a.iconSize3),mediumMinHeight:e.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ftds-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ftds-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ftds-chip-medium-gap","",a.spacing1),mediumFocusOutlineOffset:e.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ftds-chip-medium-icon-size","",a.iconSize2),smallMinHeight:e.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ftds-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ftds-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ftds-chip-small-gap","",a.spacing1),smallFocusOutlineOffset:e.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ftds-chip-small-icon-size","",a.iconSize1),neutralBackgroundColor:e.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:e.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:e.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:e.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:e.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var xd={horizontalGap:e.extend("--ftds-chip-group-horizontal-gap","",a.spacing2),verticalGap:e.extend("--ftds-chip-group-vertical-gap","",a.spacing2),countChipDefaultBackgroundColor:e.extend("--ftds-chip-group-count-chip-default-background-color","",a.colorBrand10),countChipDefaultBorderColor:e.extend("--ftds-chip-group-count-chip-default-border-color","",a.colorBrand60),countChipDefaultContentColor:e.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:e.extend("--ftds-chip-group-count-chip-hover-background-color","",a.colorBrand20),countChipHoverBorderColor:e.extend("--ftds-chip-group-count-chip-hover-border-color","",a.colorBrand70),countChipHoverContentColor:e.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:e.extend("--ftds-chip-group-count-chip-focused-background-color","",a.colorBrand20),countChipFocusedBorderColor:e.extend("--ftds-chip-group-count-chip-focused-border-color","",a.colorBrand70),countChipFocusedContentColor:e.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var Ad={brandHoverOpacity:e.extend("--ftds-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:e.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:e.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:e.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:e.extend("--ftds-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:e.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:e.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:e.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:e.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:e.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:e.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:e.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:e.extend("--ftds-link-neutral-visited-color","",a.colorBrand100)};var Td={iconSize:e.extend("--ftds-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ftds-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ftds-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ftds-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ftds-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ftds-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ftds-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ftds-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var _d={horizontalPadding:e.extend("--ftds-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ftds-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ftds-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Bd={horizontalGap:e.extend("--ftds-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:e.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:e.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var $d={parentHorizontalPadding:e.extend("--ftds-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ftds-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ftds-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ftds-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:e.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ftds-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ftds-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ftds-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ftds-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ftds-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ftds-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ftds-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ftds-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ftds-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ftds-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ftds-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ftds-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ftds-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:e.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var qd={horizontalPadding:e.extend("--ftds-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ftds-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ftds-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ftds-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:e.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ftds-page-footer-buttons-group-gap","",a.spacing4)};var Qd={contentHorizontalPadding:e.extend("--ftds-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ftds-page-layout-content-vertical-padding","",a.spacing6)};var nu={smallContainerTargetWidth:e.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ftds-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ftds-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ftds-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ftds-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ftds-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ftds-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ftds-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:e.extend("--ftds-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ftds-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ftds-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ftds-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ftds-modal-border-radius","",a.borderRadiusM)};var lu={overlayOpacity:e.extend("--ftds-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ftds-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ftds-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ftds-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ftds-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ftds-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:e.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:e.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ftds-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ftds-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:e.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ftds-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ftds-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ftds-drawer-buttons-bar-gap","",a.spacing3),buttonsBarBorderWidth:e.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ftds-drawer-overlay-background-color","",a.colorGray700)};var hu={offBorderBottomWidth:e.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ftds-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ftds-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ftds-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ftds-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:e.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ftds-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ftds-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ftds-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ftds-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ftds-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ftds-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ftds-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ftds-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ftds-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ftds-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ftds-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ftds-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var xu={largeFieldHorizontalPadding:e.extend("--ftds-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ftds-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ftds-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ftds-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ftds-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ftds-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ftds-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ftds-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ftds-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:e.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:e.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:e.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:e.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:e.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:e.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:e.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-input-disabled-component-opacity","",a.opacity40)};var Au={backgroundColor:e.extend("--ftds-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:e.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:e.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:e.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:e.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:e.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:e.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:e.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ftds-text-area-disabled-component-opacity","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ftds-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ftds-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ftds-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ftds-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ftds-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ftds-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ftds-text-area-border-radius","",a.borderRadiusS)};var Tu={height:e.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:e.extend("--ftds-floating-menu-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-floating-menu-vertical-padding","",a.spacing2),offIconColor:e.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:e.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:e.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:e.extend("--ftds-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:e.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ftds-floating-menu-focus-state-layer-opacity","",a.opacity24),hoverStateLayerOpacity:e.extend("--ftds-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ftds-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ftds-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:e.extend("--ftds-floating-menu-shadow","",a.shadowElevation02),multiselectCheckedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:e.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:e.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",a.opacity8),multiselectCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",a.opacity16),multiselectCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",a.opacity24),multiselectIndeterminatedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:e.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",a.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",a.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",a.opacity24),multiselectUncheckedStateLayerColor:e.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:e.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:e.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",a.opacity0),multiselectUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",a.opacity8),multiselectUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",a.opacity16),selectAllCheckedStateLayerColor:e.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:e.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:e.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",a.opacity0),selectAllCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",a.opacity16),selectAllCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",a.opacity24),selectAllIndeterminatedStateLayerColor:e.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:e.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:e.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",a.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",a.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",a.opacity16),selectAllUncheckedStateLayerColor:e.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:e.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:e.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",a.opacity0),selectAllUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",a.opacity8),selectAllUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",a.opacity16),defaultUncheckedStateLayerColor:e.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:e.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:e.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",a.opacity0),defaultUncheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",a.opacity8),defaultUncheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",a.opacity16),defaultCheckedStateLayerColor:e.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:e.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:e.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",a.opacity8),defaultCheckedHoverStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",a.opacity16),defaultCheckedFocusStateLayerOpacity:e.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",a.opacity24)};var _u={menuVerticalGap:e.extend("--ftds-combobox-menu-vertical-gap","",a.spacing2),menuNewValuePaddingTop:e.extend("--ftds-combobox-menu-new-value-padding-top","",a.spacing4),menuNewValuePaddingBottom:e.extend("--ftds-combobox-menu-new-value-padding-bottom","",a.spacing1),menuNewValueHorizontalPadding:e.extend("--ftds-combobox-menu-new-value-horizontal-padding","",a.spacing4),menuNewValueLabelColor:e.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:e.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:e.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:e.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:e.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:e.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:e.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",a.opacity4),menuNewValueErrorActiveStateLayerOpacity:e.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",a.opacity6),menuMessagePaddingTop:e.extend("--ftds-combobox-menu-message-padding-top","",a.spacing2),menuMessagePaddingBottom:e.extend("--ftds-combobox-menu-message-padding-bottom","",a.spacing2),menuMessageHorizontalPadding:e.extend("--ftds-combobox-menu-message-horizontal-padding","",a.spacing4),menuMessageLabelColor:e.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:e.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:e.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var Bu={backgroundColor:e.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:e.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:e.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:e.extend("--ftds-popover-gap","",a.spacing2),borderRadius:e.extend("--ftds-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ftds-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:e.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:e.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:e.extend("--ftds-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ftds-popover-multi-section-vertical-gap","",a.spacing6),defaultHorizontalPadding:e.extend("--ftds-popover-default-horizontal-padding","",a.spacing6),defaultVerticalPadding:e.extend("--ftds-popover-default-vertical-padding","",a.spacing6),denseHorizontalPadding:e.extend("--ftds-popover-dense-horizontal-padding","",a.spacing3),denseVerticalPadding:e.extend("--ftds-popover-dense-vertical-padding","",a.spacing3)};var $u={hoverStateLayerOpacity:e.extend("--ftds-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ftds-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ftds-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ftds-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ftds-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ftds-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:e.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:e.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:e.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:e.extend("--ftds-collapsible-icon-size","",a.iconSize3)};var qu={groupHorizontalPadding:e.extend("--ftds-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ftds-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ftds-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:e.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:e.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ftds-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ftds-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ftds-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ftds-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ftds-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ftds-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ftds-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ftds-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ftds-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:e.extend("--ftds-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ftds-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:e.extend("--ftds-switch-option-border-radius","",a.borderRadiusS)};var Qu={color1Light:e.extend("--ftds-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ftds-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ftds-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ftds-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ftds-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ftds-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ftds-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ftds-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ftds-chart-5-light","",a.colorRed40),color5Base:e.extend("--ftds-chart-5-base","",a.colorRed60),color6Light:e.extend("--ftds-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ftds-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ftds-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ftds-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ftds-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ftds-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ftds-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ftds-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ftds-chart-10-light","",a.colorGray50),color10Base:e.extend("--ftds-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ftds-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ftds-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ftds-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ftds-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ftds-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ftds-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var of={color1IconColor:e.extend("--ftds-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ftds-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ftds-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ftds-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ftds-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ftds-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ftds-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ftds-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ftds-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ftds-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ftds-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ftds-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ftds-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ftds-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ftds-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ftds-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var lf={borderWidth:e.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ftds-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ftds-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ftds-notice-gap","",a.spacing2),iconSize:e.extend("--ftds-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:e.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:e.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:e.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:e.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:e.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:e.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:e.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:e.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:e.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:e.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:e.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ftds-notice-dense-gap","",a.spacing1),denseIconSize:e.extend("--ftds-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ftds-notice-dense-border-width","","SIZE","0")};var hf={offHoverStateLayerOpacity:e.extend("--ftds-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ftds-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ftds-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ftds-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:e.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:e.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ftds-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ftds-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ftds-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ftds-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:e.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:e.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:e.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:e.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:e.extend("--ftds-toggle-gap","",a.spacing3)};var xf={iconSize:e.extend("--ftds-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ftds-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ftds-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ftds-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:e.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:e.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:e.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:e.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:e.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:e.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:e.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:e.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:e.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:e.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:e.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:e.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:e.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:e.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:e.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:e.extend("--ftds-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ftds-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ftds-notification-trailing-gap","",a.spacing8)};var Af={horizontalPadding:e.extend("--ftds-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ftds-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ftds-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:e.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:e.extend("--ftds-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ftds-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ftds-tooltip-gap","",a.spacing05)};var Tf={verticalPadding:e.extend("--ftds-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ftds-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ftds-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ftds-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ftds-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ftds-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ftds-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:e.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var Nf={menuHorizontalPadding:e.extend("--ftds-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ftds-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ftds-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var zn;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(zn||(zn={}));var Wn;(function(r){r.large="large",r.medium="medium",r.small="small"})(Wn||(Wn={}));var st=A(ee());function Ws(r,t){let o=Zr[r];return st.css`
|
|
108
|
-
${t?(0,st.unsafeCSS)(t):st.css`.ftds-typography--${(0,st.unsafeCSS)(r)}`} {
|
|
109
|
-
font-family: ${o.fontFamily};
|
|
110
|
-
font-size: ${o.fontSize};
|
|
111
|
-
font-weight: ${o.fontWeight};
|
|
112
|
-
letter-spacing: ${o.letterSpacing};
|
|
113
|
-
line-height: ${o.lineHeight};
|
|
114
|
-
text-decoration: ${o.textDecoration};
|
|
115
|
-
text-transform: ${o.textCase};
|
|
116
|
-
}
|
|
117
|
-
`}var Gn=[Object.keys(Zr).map(r=>Ws(r))];var $n=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},Pe=class extends jn.FtLitElement{constructor(){super(...arguments),this.variant=Yt.body2medium}render(){return this.element?qe`
|
|
118
|
-
<${Ze(this.element)}
|
|
119
|
-
part="text"
|
|
120
|
-
class="ftds-typography ftds-typography--${this.variant}">
|
|
121
|
-
<slot></slot>
|
|
122
|
-
</${Ze(this.element)}>
|
|
123
|
-
`:qe`
|
|
124
|
-
<slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
|
|
125
|
-
`}};Pe.styles=[...Gn];$n([(0,qr.property)()],Pe.prototype,"element",void 0);$n([(0,qr.property)()],Pe.prototype,"variant",void 0);var Kn=A(I());var Vn={"ft-typography":ue,"ftds-typography":Pe};(0,Kn.customElements)(Vn);var Zn=A(ee()),ve=A(I()),It={distance:ve.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ve.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ve.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:ve.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",ve.designSystemVariables.borderRadiusS),maxWidth:ve.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},qn=Zn.css`
|
|
106
|
+
`}};ct.styles=[ei,ri,ni,ii,si,oi,ai,ci,ui,li,di];fi([(0,$r.property)()],ct.prototype,"element",void 0);fi([(0,$r.property)()],ct.prototype,"variant",void 0);var mi=E(T());var hi={"ft-typography":ct};(0,mi.customElements)(hi);var yi=E(ot()),mt=E(T()),be={distance:mt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:mt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:mt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:mt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",mt.designSystemVariables.borderRadiusS),maxWidth:mt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},gi=yi.css`
|
|
126
107
|
.ft-tooltip--container {
|
|
127
108
|
display: block;
|
|
128
109
|
}
|
|
@@ -140,28 +121,28 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
140
121
|
box-sizing: border-box;
|
|
141
122
|
overflow: hidden;
|
|
142
123
|
width: max-content;
|
|
143
|
-
max-width: ${
|
|
124
|
+
max-width: ${be.maxWidth};
|
|
144
125
|
text-align: center;
|
|
145
|
-
padding: ${
|
|
126
|
+
padding: ${be.distance};
|
|
146
127
|
}
|
|
147
128
|
|
|
148
129
|
.ft-tooltip--content {
|
|
149
130
|
padding: 4px 8px;
|
|
150
|
-
border-radius: ${
|
|
151
|
-
background-color: ${
|
|
152
|
-
color: ${
|
|
131
|
+
border-radius: ${be.borderRadiusS};
|
|
132
|
+
background-color: ${be.backgroundColor};
|
|
133
|
+
color: ${be.color};
|
|
153
134
|
position: relative;
|
|
154
135
|
word-break: break-word;
|
|
155
136
|
}
|
|
156
|
-
`;var Xn=["top","right","bottom","left"],Yn=["start","end"],Xr=Xn.reduce((r,t)=>r.concat(t,t+"-"+Yn[0],t+"-"+Yn[1]),[]),Tt=Math.min,Se=Math.max,Lt=Math.round;var re=r=>({x:r,y:r}),Gs={left:"right",right:"left",bottom:"top",top:"bottom"};function Jr(r,t,o){return Se(r,Tt(t,o))}function Xt(r,t){return typeof r=="function"?r(t):r}function ct(r){return r.split("-")[0]}function Ce(r){return r.split("-")[1]}function Qr(r){return r==="x"?"y":"x"}function eo(r){return r==="y"?"height":"width"}function Jt(r){let t=r[0];return t==="t"||t==="b"?"y":"x"}function to(r){return Qr(Jt(r))}function Jn(r,t,o){o===void 0&&(o=!1);let n=Ce(r),i=to(r),s=eo(i),c=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=Yr(c)),[c,Yr(c)]}function Qn(r){return r.includes("start")?r.replace("start","end"):r.replace("end","start")}function Yr(r){let t=ct(r);return Gs[t]+r.slice(t.length)}function $s(r){return{top:0,right:0,bottom:0,left:0,...r}}function ea(r){return typeof r!="number"?$s(r):{top:r,right:r,bottom:r,left:r}}function Ne(r){let{x:t,y:o,width:n,height:i}=r;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function ta(r,t,o){let{reference:n,floating:i}=r,s=Jt(t),c=to(t),d=eo(c),u=ct(t),f=s==="y",p=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,y=n[d]/2-i[d]/2,g;switch(u){case"top":g={x:p,y:n.y-i.height};break;case"bottom":g={x:p,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(Ce(t)){case"start":g[c]-=y*(o&&f?-1:1);break;case"end":g[c]+=y*(o&&f?-1:1);break}return g}async function ra(r,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:s,rects:c,elements:d,strategy:u}=r,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=Xt(t,r),m=ea(g),v=d[y?h==="floating"?"reference":"floating":h],S=Ne(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:f,rootBoundary:p,strategy:u})),C=h==="floating"?{x:n,y:i,width:c.floating.width,height:c.floating.height}:c.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),w=await(s.isElement==null?void 0:s.isElement(E))?await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1}:{x:1,y:1},N=Ne(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:C,offsetParent:E,strategy:u}):C);return{top:(S.top-N.top+m.top)/w.y,bottom:(N.bottom-S.bottom+m.bottom)/w.y,left:(S.left-N.left+m.left)/w.x,right:(N.right-S.right+m.right)/w.x}}var js=50,oa=async(r,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:ra},u=await(c.isRTL==null?void 0:c.isRTL(t)),f=await c.getElementRects({reference:r,floating:t,strategy:i}),{x:p,y:h}=ta(f,n,u),y=n,g=0,m={};for(let b=0;b<s.length;b++){let v=s[b];if(!v)continue;let{name:S,fn:C}=v,{x:E,y:w,data:N,reset:k}=await C({x:p,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:m,rects:f,platform:d,elements:{reference:r,floating:t}});p=E??p,h=w??h,m[S]={...m[S],...N},k&&g<js&&(g++,typeof k=="object"&&(k.placement&&(y=k.placement),k.rects&&(f=k.rects===!0?await c.getElementRects({reference:r,floating:t,strategy:i}):k.rects),{x:p,y:h}=ta(f,y,u)),b=-1)}return{x:p,y:h,placement:y,strategy:i,middlewareData:m}};function Vs(r,t,o){return(r?[...o.filter(i=>Ce(i)===r),...o.filter(i=>Ce(i)!==r)]:o.filter(i=>ct(i)===i)).filter(i=>r?Ce(i)===r||(t?Qn(i)!==i:!1):!0)}var na=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(t){var o,n,i;let{rects:s,middlewareData:c,placement:d,platform:u,elements:f}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:y=Xr,autoAlignment:g=!0,...m}=Xt(r,t),b=h!==void 0||y===Xr?Vs(h||null,g,y):y,v=await u.detectOverflow(t,m),S=((o=c.autoPlacement)==null?void 0:o.index)||0,C=b[S];if(C==null)return{};let E=Jn(C,s,await(u.isRTL==null?void 0:u.isRTL(f.floating)));if(d!==C)return{reset:{placement:b[0]}};let w=[v[ct(C)],v[E[0]],v[E[1]]],N=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:w}],k=b[S+1];if(k)return{data:{index:S+1,overflows:N},reset:{placement:k}};let ge=N.map(H=>{let j=Ce(H.placement);return[H.placement,j&&p?H.overflows.slice(0,2).reduce((z,Ie)=>z+Ie,0):H.overflows[0],H.overflows]}).sort((H,j)=>H[1]-j[1]),me=((i=ge.filter(H=>H[2].slice(0,Ce(H[0])?2:3).every(j=>j<=0))[0])==null?void 0:i[0])||ge[0][0];return me!==d?{data:{index:S+1,overflows:N},reset:{placement:me}}:{}}}};var aa=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(t){let{x:o,y:n,placement:i,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:u={fn:S=>{let{x:C,y:E}=S;return{x:C,y:E}}},...f}=Xt(r,t),p={x:o,y:n},h=await s.detectOverflow(t,f),y=Jt(ct(i)),g=Qr(y),m=p[g],b=p[y];if(c){let S=g==="y"?"top":"left",C=g==="y"?"bottom":"right",E=m+h[S],w=m-h[C];m=Jr(E,m,w)}if(d){let S=y==="y"?"top":"left",C=y==="y"?"bottom":"right",E=b+h[S],w=b-h[C];b=Jr(E,b,w)}let v=u.fn({...t,[g]:m,[y]:b});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[g]:c,[y]:d}}}}}};function er(){return typeof window<"u"}function De(r){return sa(r)?(r.nodeName||"").toLowerCase():"#document"}function B(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function ie(r){var t;return(t=(sa(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function sa(r){return er()?r instanceof Node||r instanceof B(r).Node:!1}function K(r){return er()?r instanceof Element||r instanceof B(r).Element:!1}function se(r){return er()?r instanceof HTMLElement||r instanceof B(r).HTMLElement:!1}function ia(r){return!er()||typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof B(r).ShadowRoot}function lt(r){let{overflow:t,overflowX:o,overflowY:n,display:i}=Z(r);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function ca(r){return/^(table|td|th)$/.test(De(r))}function kt(r){try{if(r.matches(":popover-open"))return!0}catch{}try{return r.matches(":modal")}catch{return!1}}var Ks=/transform|translate|scale|rotate|perspective|filter/,Zs=/paint|layout|strict|content/,_e=r=>!!r&&r!=="none",ro;function dt(r){let t=K(r)?Z(r):r;return _e(t.transform)||_e(t.translate)||_e(t.scale)||_e(t.rotate)||_e(t.perspective)||!tr()&&(_e(t.backdropFilter)||_e(t.filter))||Ks.test(t.willChange||"")||Zs.test(t.contain||"")}function la(r){let t=pe(r);for(;se(t)&&!Fe(t);){if(dt(t))return t;if(kt(t))return null;t=pe(t)}return null}function tr(){return ro==null&&(ro=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ro}function Fe(r){return/^(html|body|#document)$/.test(De(r))}function Z(r){return B(r).getComputedStyle(r)}function Pt(r){return K(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function pe(r){if(De(r)==="html")return r;let t=r.assignedSlot||r.parentNode||ia(r)&&r.host||ie(r);return ia(t)?t.host:t}function da(r){let t=pe(r);return Fe(t)?r.ownerDocument?r.ownerDocument.body:r.body:se(t)&<(t)?t:da(t)}function Qt(r,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=da(r),s=i===((n=r.ownerDocument)==null?void 0:n.body),c=B(i);if(s){let d=rr(c);return t.concat(c,c.visualViewport||[],lt(i)?i:[],d&&o?Qt(d):[])}else return t.concat(i,Qt(i,[],o))}function rr(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function ha(r){let t=Z(r),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=se(r),s=i?r.offsetWidth:o,c=i?r.offsetHeight:n,d=Lt(o)!==s||Lt(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function ya(r){return K(r)?r:r.contextElement}function ut(r){let t=ya(r);if(!se(t))return re(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:s}=ha(t),c=(s?Lt(o.width):o.width)/n,d=(s?Lt(o.height):o.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var qs=re(0);function ga(r){let t=B(r);return!tr()||!t.visualViewport?qs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ys(r,t,o){return t===void 0&&(t=!1),!o||t&&o!==B(r)?!1:t}function Nt(r,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=r.getBoundingClientRect(),s=ya(r),c=re(1);t&&(n?K(n)&&(c=ut(n)):c=ut(r));let d=Ys(s,o,n)?ga(s):re(0),u=(i.left+d.x)/c.x,f=(i.top+d.y)/c.y,p=i.width/c.x,h=i.height/c.y;if(s){let y=B(s),g=n&&K(n)?B(n):n,m=y,b=rr(m);for(;b&&n&&g!==m;){let v=ut(b),S=b.getBoundingClientRect(),C=Z(b),E=S.left+(b.clientLeft+parseFloat(C.paddingLeft))*v.x,w=S.top+(b.clientTop+parseFloat(C.paddingTop))*v.y;u*=v.x,f*=v.y,p*=v.x,h*=v.y,u+=E,f+=w,m=B(b),b=rr(m)}}return Ne({width:p,height:h,x:u,y:f})}function or(r,t){let o=Pt(r).scrollLeft;return t?t.left+o:Nt(ie(r)).left+o}function ma(r,t){let o=r.getBoundingClientRect(),n=o.left+t.scrollLeft-or(r,o),i=o.top+t.scrollTop;return{x:n,y:i}}function Xs(r){let{elements:t,rect:o,offsetParent:n,strategy:i}=r,s=i==="fixed",c=ie(n),d=t?kt(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},f=re(1),p=re(0),h=se(n);if((h||!h&&!s)&&((De(n)!=="body"||lt(c))&&(u=Pt(n)),h)){let g=Nt(n);f=ut(n),p.x=g.x+n.clientLeft,p.y=g.y+n.clientTop}let y=c&&!h&&!s?ma(c,u):re(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-u.scrollLeft*f.x+p.x+y.x,y:o.y*f.y-u.scrollTop*f.y+p.y+y.y}}function Js(r){return Array.from(r.getClientRects())}function Qs(r){let t=ie(r),o=Pt(r),n=r.ownerDocument.body,i=Se(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Se(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+or(r),d=-o.scrollTop;return Z(n).direction==="rtl"&&(c+=Se(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:c,y:d}}var ua=25;function ec(r,t){let o=B(r),n=ie(r),i=o.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,u=0;if(i){s=i.width,c=i.height;let p=tr();(!p||p&&t==="fixed")&&(d=i.offsetLeft,u=i.offsetTop)}let f=or(n);if(f<=0){let p=n.ownerDocument,h=p.body,y=getComputedStyle(h),g=p.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,m=Math.abs(n.clientWidth-h.clientWidth-g);m<=ua&&(s-=m)}else f<=ua&&(s+=f);return{width:s,height:c,x:d,y:u}}function tc(r,t){let o=Nt(r,!0,t==="fixed"),n=o.top+r.clientTop,i=o.left+r.clientLeft,s=se(r)?ut(r):re(1),c=r.clientWidth*s.x,d=r.clientHeight*s.y,u=i*s.x,f=n*s.y;return{width:c,height:d,x:u,y:f}}function fa(r,t,o){let n;if(t==="viewport")n=ec(r,o);else if(t==="document")n=Qs(ie(r));else if(K(t))n=tc(t,o);else{let i=ga(r);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ne(n)}function ba(r,t){let o=pe(r);return o===t||!K(o)||Fe(o)?!1:Z(o).position==="fixed"||ba(o,t)}function rc(r,t){let o=t.get(r);if(o)return o;let n=Qt(r,[],!1).filter(d=>K(d)&&De(d)!=="body"),i=null,s=Z(r).position==="fixed",c=s?pe(r):r;for(;K(c)&&!Fe(c);){let d=Z(c),u=dt(c);!u&&d.position==="fixed"&&(i=null),(s?!u&&!i:!u&&d.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||lt(c)&&!u&&ba(r,c))?n=n.filter(p=>p!==c):i=d,c=pe(c)}return t.set(r,n),n}function oc(r){let{element:t,boundary:o,rootBoundary:n,strategy:i}=r,c=[...o==="clippingAncestors"?kt(t)?[]:rc(t,this._c):[].concat(o),n],d=fa(t,c[0],i),u=d.top,f=d.right,p=d.bottom,h=d.left;for(let y=1;y<c.length;y++){let g=fa(t,c[y],i);u=Se(g.top,u),f=Tt(g.right,f),p=Tt(g.bottom,p),h=Se(g.left,h)}return{width:f-h,height:p-u,x:h,y:u}}function nc(r){let{width:t,height:o}=ha(r);return{width:t,height:o}}function ac(r,t,o){let n=se(t),i=ie(t),s=o==="fixed",c=Nt(r,!0,s,t),d={scrollLeft:0,scrollTop:0},u=re(0);function f(){u.x=or(i)}if(n||!n&&!s)if((De(t)!=="body"||lt(i))&&(d=Pt(t)),n){let g=Nt(t,!0,s,t);u.x=g.x+t.clientLeft,u.y=g.y+t.clientTop}else i&&f();s&&!n&&i&&f();let p=i&&!n&&!s?ma(i,d):re(0),h=c.left+d.scrollLeft-u.x-p.x,y=c.top+d.scrollTop-u.y-p.y;return{x:h,y,width:c.width,height:c.height}}function oo(r){return Z(r).position==="static"}function pa(r,t){if(!se(r)||Z(r).position==="fixed")return null;if(t)return t(r);let o=r.offsetParent;return ie(r)===o&&(o=o.ownerDocument.body),o}function xa(r,t){let o=B(r);if(kt(r))return o;if(!se(r)){let i=pe(r);for(;i&&!Fe(i);){if(K(i)&&!oo(i))return i;i=pe(i)}return o}let n=pa(r,t);for(;n&&ca(n)&&oo(n);)n=pa(n,t);return n&&Fe(n)&&oo(n)&&!dt(n)?o:n||la(r)||o}var ic=async function(r){let t=this.getOffsetParent||xa,o=this.getDimensions,n=await o(r.floating);return{reference:ac(r.reference,await t(r.floating),r.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function sc(r){return Z(r).direction==="rtl"}var nr={convertOffsetParentRelativeRectToViewportRelativeRect:Xs,getDocumentElement:ie,getClippingRect:oc,getOffsetParent:xa,getElementRects:ic,getClientRects:Js,getDimensions:nc,getScale:ut,isElement:K,isRTL:sc};var va=na,Sa=aa;var Ca=(r,t,o)=>{let n=new Map,i={platform:nr,...o},s={...i.platform,_c:n};return oa(r,t,{...i,platform:s})};function Oa(r){return cc(r)}function no(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function cc(r){for(let t=r;t;t=no(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=no(r);t;t=no(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||dt(o)||t.tagName==="BODY"))return t}return null}async function Aa(r,t,o){let n;return typeof o=="object"?n=o:n={placement:o},Ca(r,t,{strategy:n.strategy,platform:{...nr,getOffsetParent:i=>nr.getOffsetParent(i,Oa)},middleware:[Sa({crossAxis:!0}),va({allowedPlacements:[n.placement]})]})}var Ot=A(I());var ko=A(te());var Ea=A(te(),1);var ao=r=>t=>{window.customElements.get(r)||window.customElements.define(r,t)};function wa(r,t){return(0,Ea.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return _t(r);try{return JSON.parse(o)}catch{return _t(r)}},toAttribute:o=>JSON.stringify(o)},hasChanged:Dt,...t??{}})}function lc(r,t){if(r===t)return!0;if(r&&t&&typeof r=="object"&&typeof t=="object"){if(r.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(r)){if(o=r.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ar(r[n],t[n]))return!1;return!0}if(r instanceof Map&&t instanceof Map){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;for(n of r.entries())if(!ar(n[1],t.get(n[0])))return!1;return!0}if(r instanceof Set&&t instanceof Set){if(r.size!==t.size)return!1;for(n of r.entries())if(!t.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===t.source&&r.flags===t.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===t.valueOf();let i=c=>Object.keys(c).filter(d=>c[d]!=null),s=i(r);if(o=s.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=o;n--!==0;){let c=s[n];if(!ar(r[c],t[c]))return!1}return!0}return r!==r&&t!==t||r==null&&t==null}function ar(r,t){try{return lc(r,t)}catch{return!1}}function Dt(r,t){return!ar(r,t)}function _t(r){return typeof window.structuredClone=="function"?structuredClone(r):r!=null?JSON.parse(JSON.stringify(r)):r}function ir(r,t){let o=n=>n[r]===!0;return n=>{if(o(n))return n;let i=t(n);return i[r]=!0,i}}var Ra=A(te(),1);var io=r=>{let t=r??{};return(o,n)=>{var i;let s={hasChanged:Dt,attribute:!1,...t};(0,Ra.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(d=>d[n]),store:t.store})}};var sr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var Me=A(te(),1);var cr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let c of n)try{await c()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ta=A(ee(),1);var lr=globalThis,dc=lr.ShadowRoot&&(lr.ShadyCSS===void 0||lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Ia=(r,t)=>{if(dc)r.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(let o of t){let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}};var dr=class extends Ta.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ia(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){ao(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function La(r,t,...o){var n;let i=r.querySelector(t);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var pt=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},_a,ka=Symbol("constructorPrototype"),Pa=Symbol("constructorName"),Da=Symbol("exportpartsDebouncer"),Na=Symbol("dynamicDependenciesLoaded"),ft=class r extends CustomEvent{constructor(){super(r.eventName,{bubbles:!0})}};ft.eventName="exportparts-updated";var ce=class extends dr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_a]=new cr(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Da].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Pa]=this.constructor.name,this[ka]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pa]&&Object.setPrototypeOf(this,this[ka])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Na]||(o[Na]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(ft.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(ft.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 ft)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=La(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,i,s,c,d;let u=y=>y!=null&&y.trim().length>0,f=t.filter(u).map(y=>y.trim());if(f.length===0){this.exportparts=void 0;return}let p=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(s=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],m=(d=(c=y.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[],b=[...g,...m].filter(u).map(v=>v.trim());for(let v of b)p.add(v)}if(p.size===0){this.exportparts=void 0;return}let h=[...p.values()].flatMap(y=>f.map(g=>`${y}:${g}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};_a=Da;pt([(0,Me.property)()],ce.prototype,"exportpartsPrefix",void 0);pt([wa([])],ce.prototype,"exportpartsPrefixes",void 0);pt([(0,Me.property)({reflect:!0})],ce.prototype,"exportparts",void 0);pt([(0,Me.property)()],ce.prototype,"customStylesheet",void 0);pt([(0,Me.property)()],ce.prototype,"elementToFocus",void 0);pt([(0,Me.state)()],ce.prototype,"useAdoptedStyleSheets",void 0);function ur(r){var t;return(t=r?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Ft=Symbol("internalReduxEventsUnsubscribers"),Oe=Symbol("internalStoresUnsubscribers"),Ue=Symbol("internalStores"),uc=ir(Symbol("withRedux"),function(r){var t,o,n;class i extends r{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[Ue].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ue].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[Ue].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[Ue].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[Ue].delete(d)}setupStores(){this.unsubscribeFromStores(),this[Ue].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let f=this.getStore(c.store);f&&(c.store?this[Oe].has(c.store):this[Oe].size>0)&&(this[d]=c.selector(f.getState(),this))}})}subscribeToStore(c,d){var u;this[Oe].set(c,d.subscribe(()=>this.updateFromStores())),this[Ft].set(c,[]),ur(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((f,p)=>{if(typeof this[p]=="function"&&(!f.store||d.name===f.store)){let h=y=>this[p](y);d.addEventListener(f.eventName,h),this[Ft].get(c).push(()=>d.removeEventListener(f.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[Oe].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[Oe].has(c)&&this[Oe].get(c)(),this[Oe].delete(c),(d=this[Ft].get(c))===null||d===void 0||d.forEach(u=>u()),this[Ft].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Oe,o=Ue,n=Ft,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Fa=class extends uc(ce){};function q(r){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function he(r){return!!r&&!!r[T]}function oe(r){var t;return!!r&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===xc})(r)||Array.isArray(r)||!!r[Ga]||!!(!((t=r.constructor)===null||t===void 0)&&t[Ga])||go(r)||mo(r))}function Be(r,t,o){o===void 0&&(o=!1),gt(r)===0?(o?Object.keys:yt)(r).forEach((function(n){o&&typeof n=="symbol"||t(n,r[n],r)})):r.forEach((function(n,i){return t(i,n,r)}))}function gt(r){var t=r[T];return t?t.i>3?t.i-4:t.i:Array.isArray(r)?1:go(r)?2:mo(r)?3:0}function ht(r,t){return gt(r)===2?r.has(t):Object.prototype.hasOwnProperty.call(r,t)}function fc(r,t){return gt(r)===2?r.get(t):r[t]}function $a(r,t,o){var n=gt(r);n===2?r.set(t,o):n===3?r.add(o):r[t]=o}function ja(r,t){return r===t?r!==0||1/r==1/t:r!=r&&t!=t}function go(r){return mc&&r instanceof Map}function mo(r){return bc&&r instanceof Set}function Ae(r){return r.o||r.t}function bo(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var t=Za(r);delete t[T];for(var o=yt(t),n=0;n<o.length;n++){var i=o[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),t)}function xo(r,t){return t===void 0&&(t=!1),vo(r)||he(r)||!oe(r)||(gt(r)>1&&(r.set=r.add=r.clear=r.delete=pc),Object.freeze(r),t&&Be(r,(function(o,n){return xo(n,!0)}),!0)),r}function pc(){q(2)}function vo(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function le(r){var t=yo[r];return t||q(18,r),t}function hc(r,t){yo[r]||(yo[r]=t)}function fo(){return Ut}function so(r,t){t&&(le("Patches"),r.u=[],r.s=[],r.v=t)}function fr(r){po(r),r.p.forEach(yc),r.p=null}function po(r){r===Ut&&(Ut=r.l)}function Ma(r){return Ut={p:[],l:Ut,h:r,m:!0,_:0}}function yc(r){var t=r[T];t.i===0||t.i===1?t.j():t.g=!0}function co(r,t){t._=t.p.length;var o=t.p[0],n=r!==void 0&&r!==o;return t.h.O||le("ES5").S(t,r,n),n?(o[T].P&&(fr(t),q(4)),oe(r)&&(r=pr(t,r),t.l||hr(t,r)),t.u&&le("Patches").M(o[T].t,r,t.u,t.s)):r=pr(t,o,[]),fr(t),t.u&&t.v(t.u,t.s),r!==Ka?r:void 0}function pr(r,t,o){if(vo(t))return t;var n=t[T];if(!n)return Be(t,(function(d,u){return Ua(r,n,t,d,u,o)}),!0),t;if(n.A!==r)return t;if(!n.P)return hr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=bo(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),Be(s,(function(d,u){return Ua(r,n,i,d,u,o,c)})),hr(r,i,!1),o&&r.u&&le("Patches").N(n,o,r.u,r.s)}return n.o}function Ua(r,t,o,n,i,s,c){if(he(i)){var d=pr(r,i,s&&t&&t.i!==3&&!ht(t.R,n)?s.concat(n):void 0);if($a(o,n,d),!he(d))return;r.m=!1}else c&&o.add(i);if(oe(i)&&!vo(i)){if(!r.h.D&&r._<1)return;pr(r,i),t&&t.A.l||hr(r,i)}}function hr(r,t,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&xo(t,o)}function lo(r,t){var o=r[T];return(o?Ae(o):r)[t]}function Ba(r,t){if(t in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Ee(r){r.P||(r.P=!0,r.l&&Ee(r.l))}function uo(r){r.o||(r.o=bo(r.t))}function ho(r,t,o){var n=go(t)?le("MapSet").F(t,o):mo(t)?le("MapSet").T(t,o):r.O?(function(i,s){var c=Array.isArray(i),d={i:c?1:0,A:s?s.A:fo(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,f=Bt;c&&(u=[d],f=Mt);var p=Proxy.revocable(u,f),h=p.revoke,y=p.proxy;return d.k=y,d.j=h,y})(t,o):le("ES5").J(t,o);return(o?o.A:fo()).p.push(n),n}function gc(r){return he(r)||q(22,r),(function t(o){if(!oe(o))return o;var n,i=o[T],s=gt(o);if(i){if(!i.P&&(i.i<4||!le("ES5").K(i)))return i.t;i.I=!0,n=Ha(o,s),i.I=!1}else n=Ha(o,s);return Be(n,(function(c,d){i&&fc(i.t,c)===d||$a(n,c,t(d))})),s===3?new Set(n):n})(r)}function Ha(r,t){switch(t){case 2:return new Map(r);case 3:return Array.from(r)}return bo(r)}function Va(){function r(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var f=this[T];return Bt.get(f,c)},set:function(f){var p=this[T];Bt.set(p,c,f)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][T];if(!u.P)switch(u.i){case 5:n(u)&&Ee(u);break;case 4:o(u)&&Ee(u)}}}function o(c){for(var d=c.t,u=c.k,f=yt(u),p=f.length-1;p>=0;p--){var h=f[p];if(h!==T){var y=d[h];if(y===void 0&&!ht(d,h))return!0;var g=u[h],m=g&&g[T];if(m?m.t!==y:!ja(g,y))return!0}}var b=!!d[T];return f.length!==yt(d).length+(b?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function i(c){c.g&&q(3,JSON.stringify(Ae(c)))}var s={};hc("ES5",{J:function(c,d){var u=Array.isArray(c),f=(function(h,y){if(h){for(var g=Array(y.length),m=0;m<y.length;m++)Object.defineProperty(g,""+m,r(m,!0));return g}var b=Za(y);delete b[T];for(var v=yt(b),S=0;S<v.length;S++){var C=v[S];b[C]=r(C,h||!!b[C].enumerable)}return Object.create(Object.getPrototypeOf(y),b)})(u,c),p={i:u?5:4,A:d?d.A:fo(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:p,writable:!0}),f},S:function(c,d,u){u?he(d)&&d[T].A===c&&t(c.p):(c.u&&(function f(p){if(p&&typeof p=="object"){var h=p[T];if(h){var y=h.t,g=h.k,m=h.R,b=h.i;if(b===4)Be(g,(function(w){w!==T&&(y[w]!==void 0||ht(y,w)?m[w]||f(g[w]):(m[w]=!0,Ee(h)))})),Be(y,(function(w){g[w]!==void 0||ht(g,w)||(m[w]=!1,Ee(h))}));else if(b===5){if(n(h)&&(Ee(h),m.length=!0),g.length<y.length)for(var v=g.length;v<y.length;v++)m[v]=!1;else for(var S=y.length;S<g.length;S++)m[S]=!0;for(var C=Math.min(g.length,y.length),E=0;E<C;E++)g.hasOwnProperty(E)||(m[E]=!0),m[E]===void 0&&f(g[E])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var za,Ut,So=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mc=typeof Map<"u",bc=typeof Set<"u",Wa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ka=So?Symbol.for("immer-nothing"):((za={})["immer-nothing"]=!0,za),Ga=So?Symbol.for("immer-draftable"):"__$immer_draftable",T=So?Symbol.for("immer-state"):"__$immer_state";var xc=""+Object.prototype.constructor,yt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,Za=Object.getOwnPropertyDescriptors||function(r){var t={};return yt(r).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(r,o)})),t},yo={},Bt={get:function(r,t){if(t===T)return r;var o=Ae(r);if(!ht(o,t))return(function(i,s,c){var d,u=Ba(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0})(r,o,t);var n=o[t];return r.I||!oe(n)?n:n===lo(r.t,t)?(uo(r),r.o[t]=ho(r.A.h,n,r)):n},has:function(r,t){return t in Ae(r)},ownKeys:function(r){return Reflect.ownKeys(Ae(r))},set:function(r,t,o){var n=Ba(Ae(r),t);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=lo(Ae(r),t),s=i?.[T];if(s&&s.t===o)return r.o[t]=o,r.R[t]=!1,!0;if(ja(o,i)&&(o!==void 0||ht(r.t,t)))return!0;uo(r),Ee(r)}return r.o[t]===o&&(o!==void 0||t in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[t])||(r.o[t]=o,r.R[t]=!0),!0},deleteProperty:function(r,t){return lo(r.t,t)!==void 0||t in r.t?(r.R[t]=!1,uo(r),Ee(r)):delete r.R[t],r.o&&delete r.o[t],!0},getOwnPropertyDescriptor:function(r,t){var o=Ae(r),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:r.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){q(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){q(12)}},Mt={};Be(Bt,(function(r,t){Mt[r]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Mt.deleteProperty=function(r,t){return Mt.set.call(this,r,t,void 0)},Mt.set=function(r,t,o){return Bt.set.call(this,r[0],t,o,r[0])};var vc=(function(){function r(o){var n=this;this.O=Wa,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(b){var v=this;b===void 0&&(b=d);for(var S=arguments.length,C=Array(S>1?S-1:0),E=1;E<S;E++)C[E-1]=arguments[E];return u.produce(b,(function(w){var N;return(N=s).call.apply(N,[v,w].concat(C))}))}}var f;if(typeof s!="function"&&q(6),c!==void 0&&typeof c!="function"&&q(7),oe(i)){var p=Ma(n),h=ho(n,i,void 0),y=!0;try{f=s(h),y=!1}finally{y?fr(p):po(p)}return typeof Promise<"u"&&f instanceof Promise?f.then((function(b){return so(p,c),co(b,p)}),(function(b){throw fr(p),b})):(so(p,c),co(f,p))}if(!i||typeof i!="object"){if((f=s(i))===void 0&&(f=i),f===Ka&&(f=void 0),n.D&&xo(f,!0),c){var g=[],m=[];le("Patches").M(i,f,g,m),c(g,m)}return f}q(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(f){for(var p=arguments.length,h=Array(p>1?p-1:0),y=1;y<p;y++)h[y-1]=arguments[y];return n.produceWithPatches(f,(function(g){return i.apply(void 0,[g].concat(h))}))};var c,d,u=n.produce(i,s,(function(f,p){c=f,d=p}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(f){return[f,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=r.prototype;return t.createDraft=function(o){oe(o)||q(8),he(o)&&(o=gc(o));var n=Ma(this),i=ho(this,o,void 0);return i[T].C=!0,po(n),i},t.finishDraft=function(o,n){var i=o&&o[T],s=i.A;return so(s,n),co(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Wa&&q(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var c=le("Patches").$;return he(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},r})(),W=new vc,Sc=W.produce,Qh=W.produceWithPatches.bind(W),ey=W.setAutoFreeze.bind(W),ty=W.setUseProxies.bind(W),ry=W.applyPatches.bind(W),oy=W.createDraft.bind(W),ny=W.finishDraft.bind(W),yr=Sc;function He(r){"@babel/helpers - typeof";return He=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},He(r)}function qa(r,t){if(He(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,t||"default");if(He(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function Ya(r){var t=qa(r,"string");return He(t)=="symbol"?t:t+""}function Xa(r,t,o){return(t=Ya(t))in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}function Ja(r,t){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function Co(r){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(o),!0).forEach(function(n){Xa(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):Ja(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function F(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var Qa=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Oo=function(){return Math.random().toString(36).substring(7).split("").join(".")},gr={INIT:"@@redux/INIT"+Oo(),REPLACE:"@@redux/REPLACE"+Oo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Oo()}};function Cc(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function Ao(r,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(F(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(F(1));return o(Ao)(r,t)}if(typeof r!="function")throw new Error(F(2));var i=r,s=t,c=[],d=c,u=!1;function f(){d===c&&(d=c.slice())}function p(){if(u)throw new Error(F(3));return s}function h(b){if(typeof b!="function")throw new Error(F(4));if(u)throw new Error(F(5));var v=!0;return f(),d.push(b),function(){if(v){if(u)throw new Error(F(6));v=!1,f();var C=d.indexOf(b);d.splice(C,1),c=null}}}function y(b){if(!Cc(b))throw new Error(F(7));if(typeof b.type>"u")throw new Error(F(8));if(u)throw new Error(F(9));try{u=!0,s=i(s,b)}finally{u=!1}for(var v=c=d,S=0;S<v.length;S++){var C=v[S];C()}return b}function g(b){if(typeof b!="function")throw new Error(F(10));i=b,y({type:gr.REPLACE})}function m(){var b,v=h;return b={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(F(11));function E(){C.next&&C.next(p())}E();var w=v(E);return{unsubscribe:w}}},b[Qa]=function(){return this},b}return y({type:gr.INIT}),n={dispatch:y,subscribe:h,getState:p,replaceReducer:g},n[Qa]=m,n}function Oc(r){Object.keys(r).forEach(function(t){var o=r[t],n=o(void 0,{type:gr.INIT});if(typeof n>"u")throw new Error(F(12));if(typeof o(void 0,{type:gr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(F(13))})}function ei(r){for(var t=Object.keys(r),o={},n=0;n<t.length;n++){var i=t[n];typeof r[i]=="function"&&(o[i]=r[i])}var s=Object.keys(o),c,d;try{Oc(o)}catch(u){d=u}return function(f,p){if(f===void 0&&(f={}),d)throw d;if(0)var h;for(var y=!1,g={},m=0;m<s.length;m++){var b=s[m],v=o[b],S=f[b],C=v(S,p);if(typeof C>"u"){var E=p&&p.type;throw new Error(F(14))}g[b]=C,y=y||C!==S}return y=y||s.length!==Object.keys(f).length,y?g:f}}function mt(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ti(){for(var r=arguments.length,t=new Array(r),o=0;o<r;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(F(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=mt.apply(void 0,d)(i.dispatch),Co(Co({},i),{},{dispatch:s})}}}function ri(r){var t=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(i,s,r):c(d)}}};return t}var oi=ri();oi.withExtraArgument=ri;var Eo=oi;var ci=(function(){var r=function(t,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},r(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),Ac=function(r,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(p){return u([f,p])}}function u(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=f[0]&2?i.return:f[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,f[1])).done)return s;switch(i=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,i=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){o.label=f[1];break}if(f[0]===6&&o.label<s[1]){o.label=s[1],s=f;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(f);break}s[2]&&o.ops.pop(),o.trys.pop();continue}f=t.call(r,o)}catch(p){f=[6,p],i=0}finally{n=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},bt=function(r,t){for(var o=0,n=t.length,i=r.length;o<n;o++,i++)r[i]=t[o];return r},Ec=Object.defineProperty,wc=Object.defineProperties,Rc=Object.getOwnPropertyDescriptors,ni=Object.getOwnPropertySymbols,Ic=Object.prototype.hasOwnProperty,Tc=Object.prototype.propertyIsEnumerable,ai=function(r,t,o){return t in r?Ec(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o},we=function(r,t){for(var o in t||(t={}))Ic.call(t,o)&&ai(r,o,t[o]);if(ni)for(var n=0,i=ni(t);n<i.length;n++){var o=i[n];Tc.call(t,o)&&ai(r,o,t[o])}return r},wo=function(r,t){return wc(r,Rc(t))},Lc=function(r,t,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(f){i(f)}},c=function(u){try{d(o.throw(u))}catch(f){i(f)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(r,t)).next())})};var kc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?mt:mt.apply(null,arguments)},Cy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Pc(r){if(typeof r!="object"||r===null)return!1;var t=Object.getPrototypeOf(r);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function Re(r,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return we(we({type:r,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}var Nc=(function(r){ci(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,bt([void 0],o.concat(this))))},t})(Array),_c=(function(r){ci(t,r);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,bt([void 0],o.concat(this))))},t})(Array);function To(r){return oe(r)?yr(r,function(){}):r}function Dc(r){return typeof r=="boolean"}function Fc(){return function(t){return Mc(t)}}function Mc(r){r===void 0&&(r={});var t=r.thunk,o=t===void 0?!0:t,n=r.immutableCheck,i=n===void 0?!0:n,s=r.serializableCheck,c=s===void 0?!0:s,d=r.actionCreatorCheck,u=d===void 0?!0:d,f=new Nc;if(o&&(Dc(o)?f.push(Eo):f.push(Eo.withExtraArgument(o.extraArgument))),0){if(i)var p;if(c)var h;if(u)var y}return f}var Ro=!0;function li(r){var t=Fc(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,f=o.preloadedState,p=f===void 0?void 0:f,h=o.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(Pc(i))g=ei(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var m=c;if(typeof m=="function"&&(m=m(t),!Ro&&!Array.isArray(m)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ro&&m.some(function(w){return typeof w!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=ti.apply(void 0,m),v=mt;u&&(v=kc(we({trace:!Ro},typeof u=="object"&&u)));var S=new _c(b),C=S;Array.isArray(y)?C=bt([b],y):typeof y=="function"&&(C=y(S));var E=v.apply(void 0,C);return Ao(g,p,E)}function di(r){var t={},o=[],n,i={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,i},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return r(i),[t,o,n]}function Uc(r){return typeof r=="function"}function Bc(r,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?di(t):[t,o,n],s=i[0],c=i[1],d=i[2],u;if(Uc(r))u=function(){return To(r())};else{var f=To(r);u=function(){return f}}function p(h,y){h===void 0&&(h=u());var g=bt([s[y.type]],c.filter(function(m){var b=m.matcher;return b(y)}).map(function(m){var b=m.reducer;return b}));return g.filter(function(m){return!!m}).length===0&&(g=[d]),g.reduce(function(m,b){if(b)if(he(m)){var v=m,S=b(v,y);return S===void 0?m:S}else{if(oe(m))return yr(m,function(C){return b(C,y)});var S=b(m,y);if(S===void 0){if(m===null)return m;throw Error("A case reducer on a non-draftable value must not return undefined")}return S}return m},h)}return p.getInitialState=u,p}function Hc(r,t){return r+"/"+t}function ui(r){var t=r.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:To(r.initialState),n=r.reducers||{},i=Object.keys(n),s={},c={},d={};i.forEach(function(p){var h=n[p],y=Hc(t,p),g,m;"reducer"in h?(g=h.reducer,m=h.prepare):g=h,s[p]=g,c[y]=g,d[p]=m?Re(y,m):Re(y)});function u(){var p=typeof r.extraReducers=="function"?di(r.extraReducers):[r.extraReducers],h=p[0],y=h===void 0?{}:h,g=p[1],m=g===void 0?[]:g,b=p[2],v=b===void 0?void 0:b,S=we(we({},y),c);return Bc(o,function(C){for(var E in S)C.addCase(E,S[E]);for(var w=0,N=m;w<N.length;w++){var k=N[w];C.addMatcher(k.matcher,k.reducer)}v&&C.addDefaultCase(v)})}var f;return{name:t,reducer:function(p,h){return f||(f=u()),f(p,h)},actions:d,caseReducers:s,getInitialState:function(){return f||(f=u()),f.getInitialState()}}}var zc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Wc=function(r){r===void 0&&(r=21);for(var t="",o=r;o--;)t+=zc[Math.random()*64|0];return t},Gc=["name","message","stack","code"],Io=(function(){function r(t,o){this.payload=t,this.meta=o}return r})(),ii=(function(){function r(t,o){this.payload=t,this.meta=o}return r})(),$c=function(r){if(typeof r=="object"&&r!==null){for(var t={},o=0,n=Gc;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(t[i]=r[i])}return t}return{message:String(r)}},wy=(function(){function r(t,o,n){var i=Re(t+"/fulfilled",function(p,h,y,g){return{payload:p,meta:wo(we({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),s=Re(t+"/pending",function(p,h,y){return{payload:void 0,meta:wo(we({},y||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),c=Re(t+"/rejected",function(p,h,y,g,m){return{payload:g,error:(n&&n.serializeError||$c)(p||"Rejected"),meta:wo(we({},m||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p})();function f(p){return function(h,y,g){var m=n?.idGenerator?n.idGenerator(p):Wc(),b=new u,v,S=!1;function C(w){v=w,b.abort()}var E=(function(){return Lc(this,null,function(){var w,N,k,ge,Dr,me,H;return Ac(this,function(j){switch(j.label){case 0:return j.trys.push([0,4,,5]),ge=(w=n?.condition)==null?void 0:w.call(n,p,{getState:y,extra:g}),Vc(ge)?[4,ge]:[3,2];case 1:ge=j.sent(),j.label=2;case 2:if(ge===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return S=!0,Dr=new Promise(function(z,Ie){return b.signal.addEventListener("abort",function(){return Ie({name:"AbortError",message:v||"Aborted"})})}),h(s(m,p,(N=n?.getPendingMeta)==null?void 0:N.call(n,{requestId:m,arg:p},{getState:y,extra:g}))),[4,Promise.race([Dr,Promise.resolve(o(p,{dispatch:h,getState:y,extra:g,requestId:m,signal:b.signal,abort:C,rejectWithValue:function(z,Ie){return new Io(z,Ie)},fulfillWithValue:function(z,Ie){return new ii(z,Ie)}})).then(function(z){if(z instanceof Io)throw z;return z instanceof ii?i(z.payload,m,p,z.meta):i(z,m,p)})])];case 3:return k=j.sent(),[3,5];case 4:return me=j.sent(),k=me instanceof Io?c(null,m,p,me.payload,me.meta):c(me,m,p),[3,5];case 5:return H=n&&!n.dispatchConditionRejection&&c.match(k)&&k.meta.condition,H||h(k),[2,k]}})})})();return Object.assign(E,{abort:C,requestId:m,arg:p,unwrap:function(){return E.then(jc)}})}}return Object.assign(f,{pending:s,rejected:c,fulfilled:i,typePrefix:t})}return r.withTypes=function(){return r},r})();function jc(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function Vc(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var fi="listener",pi="completed",hi="cancelled",Ry="task-"+hi,Iy="task-"+pi,Ty=fi+"-"+hi,Ly=fi+"-"+pi;var Lo="listenerMiddleware";var ky=Re(Lo+"/add"),Py=Re(Lo+"/removeAll"),Ny=Re(Lo+"/remove");var si,_y=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(si||(si=Promise.resolve())).then(r).catch(function(t){return setTimeout(function(){throw t},0)})},Kc=function(r){return function(t){setTimeout(t,r)}},Dy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Kc(10);Va();var Zc=ir(Symbol("withEventBus"),function(r,t){return class extends r{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),mr=class extends Zc(Object){};window.ftReduxStores||(window.ftReduxStores={});var yi=class r extends mr{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(ur(s))return s;if(i==null)return;let c=ui({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=li({reducer:(u,f)=>{if(f.type==="CLEAR_FT_REDUX_STORE"){let p=_t(c.getInitialState());for(let h of f.keeping)p[h]=(u??p)[h];return p}else if(typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...f.overwrites};return c.reducer(u,f)}});return window.ftReduxStores[i.name]=new r(c,d,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new sr;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,f=s[u];return f?(...p)=>{let h=f(...p.map(i));return this.reduxStore.dispatch(h),h}:p=>{this.setState({[u]:i(p)})}}}),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 br=class{static format(t,o,n,i,s){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(t,o,n,i,!!s)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,s){let c=typeof t=="string"?new Date(t):t,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(c),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(c);return s?u:i?`${d} ${u}`:d}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var xr=A(I()),qc="ft-app-info",xt=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};xt.eventName="authentication-change";var Ht=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:t})}};Ht.eventName="ui-locale-changed";var Yc={session:(r,t)=>{(0,xr.deepEqual)(r.session,t.payload)||(r.session=t.payload,setTimeout(()=>R.dispatchEvent(new xt(t.payload)),0))}},R=xr.FtReduxStore.get({name:qc,reducers:Yc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!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 gi=A(I()),vr=function(r,t,o,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,t,o,n);else for(var d=r.length-1;d>=0;d--)(c=r[d])&&(s=(i<3?c(s):i>3?c(t,o,s):c(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s},lg=(0,gi.applyMixinOnce)(Symbol("withDateFormat"),function(r){class t extends r{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(R)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(d=>d.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?d=>br.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return vr([(0,ko.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),vr([(0,ko.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),vr([io({store:R.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),vr([io({store:R.name})],t.prototype,"uiLocale",void 0),t});var mi;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(mi||(mi={}));var bi;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(bi||(bi={}));var xi;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(xi||(xi={}));var vi;(function(r){r.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",r.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",r.PERSONAL_BOOK="PERSONAL_BOOK",r.ATTACHMENT="ATTACHMENT",r.RESOURCE="RESOURCE",r.HTML_PACKAGE="HTML_PACKAGE"})(vi||(vi={}));var Si;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Si||(Si={}));var Ci;(function(r){r.VALUE="VALUE",r.DATE="DATE",r.RANGE="RANGE"})(Ci||(Ci={}));var Oi;(function(r){r.OFFICIAL="OFFICIAL",r.AI="AI"})(Oi||(Oi={}));var Ai;(function(r){r.BOOKMARK__CREATE="BOOKMARK__CREATE",r.BOOKMARK__DELETE="BOOKMARK__DELETE",r.CASE_DEFLECTION__START="CASE_DEFLECTION__START",r.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",r.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",r.CHATBOT__RATE="CHATBOT__RATE",r.COLLECTION__CREATE="COLLECTION__CREATE",r.COLLECTION__UPDATE="COLLECTION__UPDATE",r.COLLECTION__DELETE="COLLECTION__DELETE",r.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",r.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",r.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",r.DOCUMENT__PRINT="DOCUMENT__PRINT",r.DOCUMENT__PROCESS="DOCUMENT__PROCESS",r.DOCUMENT__RATE="DOCUMENT__RATE",r.DOCUMENT__SEARCH="DOCUMENT__SEARCH",r.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",r.DOCUMENT__UNRATE="DOCUMENT__UNRATE",r.FEEDBACK__SEND="FEEDBACK__SEND",r.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",r.AI__RATE="AI__RATE",r.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",r.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",r.KHUB__PROCESS="KHUB__PROCESS",r.KHUB__SEARCH="KHUB__SEARCH",r.LABELS__DOWNLOAD="LABELS__DOWNLOAD",r.LINK__SHARE="LINK__SHARE",r.PAGE__DISPLAY="PAGE__DISPLAY",r.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",r.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",r.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",r.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",r.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",r.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",r.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",r.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",r.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",r.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",r.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",r.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",r.TOPIC__RATE="TOPIC__RATE",r.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",r.TOPIC__UNRATE="TOPIC__UNRATE",r.USER__LOGIN="USER__LOGIN",r.USER__LOGOUT="USER__LOGOUT",r.HEARTBEAT="HEARTBEAT"})(Ai||(Ai={}));var Ei;(function(r){r.STANDARD="STANDARD",r.STRUCTURAL="STRUCTURAL"})(Ei||(Ei={}));var wi;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(wi||(wi={}));var Ri;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT",r.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",r.LINK_PREVIEW="LINK_PREVIEW",r.UD_VIEWER="UD_VIEWER",r.ASSET_VIEWER="ASSET_VIEWER"})(Ri||(Ri={}));var Ii;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Ii||(Ii={}));var Ti;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ti||(Ti={}));var Li;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Li||(Li={}));var ki;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(ki||(ki={}));var Pi;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Pi||(Pi={}));var Ni;(function(r){r.OPTIONAL="OPTIONAL",r.MANDATORY="MANDATORY"})(Ni||(Ni={}));var _i;(function(r){r.ASC="ASC",r.DESC="DESC"})(_i||(_i={}));var Di;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Di||(Di={}));var Fi;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Fi||(Fi={}));var Mi;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Mi||(Mi={}));var Ui;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Ui||(Ui={}));var Bi;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK",r.HTML_PACKAGE="HTML_PACKAGE"})(Bi||(Bi={}));var Hi;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(Hi||(Hi={}));var zi;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.HTML_PACKAGE="HTML_PACKAGE",r.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(zi||(zi={}));var Wi;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS",r.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Wi||(Wi={}));var Gi;(function(r){r.PLAIN_TEXT="PLAIN_TEXT",r.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",r.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Gi||(Gi={}));var P;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",r.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN"})(P||(P={}));var Y;(function(r){r.SEARCHES="SEARCHES",r.BOOKMARKS="BOOKMARKS",r.BOOKS="BOOKS",r.COLLECTIONS="COLLECTIONS"})(Y||(Y={}));var $i;(function(r){r.UNAUTHENTICATED="UNAUTHENTICATED",r.USER_INCOMPLETE="USER_INCOMPLETE",r.MFA_REQUIRED="MFA_REQUIRED",r.AUTHENTICATED="AUTHENTICATED"})($i||($i={}));var ji;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(ji||(ji={}));var Vi;(function(r){r.INACCURATE="INACCURATE",r.INCOMPLETE="INCOMPLETE",r.OFF_TOPIC="OFF_TOPIC",r.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",r.SUMMARY="SUMMARY",r.SEMANTIC_SEARCH="SEMANTIC_SEARCH",r.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",r.OTHER="OTHER"})(Vi||(Vi={}));var Ki;(function(r){r.INACCURATE="INACCURATE",r.INCOMPLETE="INCOMPLETE",r.OFF_TOPIC="OFF_TOPIC",r.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",r.SLOW="SLOW",r.OTHER="OTHER"})(Ki||(Ki={}));var Zi;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(Zi||(Zi={}));var qi;(function(r){r.JSON="JSON",r.TEXT="TEXT"})(qi||(qi={}));var Yi;(function(r){r.USER="USER",r.ASSISTANT="ASSISTANT"})(Yi||(Yi={}));var Xi;(function(r){r.TEXT="TEXT",r.HTML="HTML"})(Xi||(Xi={}));var Ji;(function(r){r.HTML="HTML",r.MARKDOWN="MARKDOWN"})(Ji||(Ji={}));var Qi;(function(r){r.MAP="MAP",r.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Qi||(Qi={}));var Xc={[P.PERSONAL_BOOK_SHARE_USER]:[P.PERSONAL_BOOK_USER],[P.HTML_EXPORT_USER]:[P.PERSONAL_BOOK_USER],[P.PDF_EXPORT_USER]:[P.PERSONAL_BOOK_USER],[P.KHUB_ADMIN]:[P.CONTENT_PUBLISHER],[P.ADMIN]:[P.KHUB_ADMIN,P.USERS_ADMIN,P.PORTAL_ADMIN,P.BEHAVIOR_DATA_USER],[P.GENERATIVE_AI_EXPORT_USER]:[P.GENERATIVE_AI_USER]};function es(r,t){return r===t||(Xc[r]??[]).some(o=>es(o,t))}function ts(r,t){return r==null?!1:(Array.isArray(r)?r:Array.isArray(r.roles)?r.roles:Array.isArray(r.profile?.roles)?r.profile.roles:[]).some(n=>es(n,t))}var Er=A(I());var Po=A(I());var ze=class r{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=R.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=r.get(t);if(n)o(n);else{let i=R.subscribe(()=>{n=r.get(t),n&&(i(),o(n))})}})}};var vt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ze.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ze.await()}};var G=class extends vt{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Po.CacheRegistry,this.cache=t?i.commonCache:new Po.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var Sr=class extends G{async listMySearches(){let{session:t}=R.getState();return ts(t,P.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var Cr=class extends G{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Or=class extends G{constructor(){super(...arguments),this.CACHE_DURATION=180*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=R.getState().session;return!!t?.sessionAuthenticated}};var Ar=class extends G{constructor(){super(...arguments),this.CACHE_DURATION=180*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=R.getState().session;return!!t?.sessionAuthenticated}};var Jc="ft-user-assets",Qc={setAssetCount:(r,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;r.assetCounts.allAsset[o]=n},clearAssetCount:r=>{Object.values(Y).forEach(t=>{r.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(r,t)=>{let o=t.payload.mapId;r.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:r=>{r.assetCounts.bookmarkByMap={}},addAsset:(r,t)=>{let{assetType:o,mapId:n,asset:i}=t.payload;_o(r,o,[...No(r,o),i]),rs(r,o,1,n),os(r,i)},editAsset:(r,t)=>{let{assetType:o,asset:n}=t.payload;_o(r,o,No(r,o).map(i=>i.id===n.id?n:i)),os(r,n)},removeAsset:(r,t)=>{let{assetType:o,mapId:n,assetId:i}=t.payload;_o(r,o,No(r,o).filter(s=>s.id!==i)),rs(r,o,-1,n)}},ns={[Y.SEARCHES]:"savedSearches",[Y.BOOKMARKS]:"bookmarks",[Y.BOOKS]:void 0,[Y.COLLECTIONS]:void 0},No=(r,t)=>{var o;let n=ns[t];return n?(o=r[n])!==null&&o!==void 0?o:[]:[]},_o=(r,t,o)=>{let n=ns[t];n&&(r[n]=o)},rs=(r,t,o,n)=>{let i=r.assetCounts.allAsset[t];if(i!==void 0&&(r.assetCounts.allAsset[t]=Math.max(0,i+o),t===Y.BOOKMARKS&&n)){let s=r.assetCounts.bookmarkByMap[n];r.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},os=(r,t)=>{let o=r.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));r.assetLabels.push(...n)},U=Er.FtReduxStore.get({name:Jc,reducers:Qc,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Y).map(r=>[r,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Do=class{constructor(t=new Or,o=new Ar){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Cr,this.savedSearchesService=new Sr,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=R.getState();(0,Er.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),U.actions.clearAssetCount(),U.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),U.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),U.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();U.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();U.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&U.getState().assetCounts.allAsset[t]!==o.count&&U.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&U.getState().assetCounts.bookmarkByMap[t]!==o.count&&U.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(U.getState().assetCounts.bookmarkByMap).length!==0;t===Y.BOOKMARKS&&o&&U.actions.clearBookmarkCountByMap(),U.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;U.actions.bookmarks(o)}}},el=new Do;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=el);var Fo=class{addCommand(t,o=!1){R.commands.add(t,o)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Fo;var X=A(I());var as,St=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},tl=Symbol("clearAfterUnitTest"),wr=class extends(0,X.withEventBus)(G){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[as]=()=>{this.defaultMessages={},this.cache=new X.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,X.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let s=t.toLowerCase(),c=this.resolveContext(s);return new X.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(i){!(i instanceof X.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new St({loadedContexts:t})),this.dispatchEvent(new St({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new St({loadedContexts:[t]})),this.dispatchEvent(new St({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,X.delay)(0).then(()=>n()).catch(()=>null)))}};as=tl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends wr{constructor(){super(async(r,t)=>(await this.awaitApi).getFluidTopicsMessageContext(r,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends wr{constructor(){super(async(r,t)=>(await this.awaitApi).getCustomMessageContext(r,t))}});var zt=window.FluidTopicsI18nService,Mo=window.FluidTopicsCustomI18nService;var is=A(I()),Uo=class{highlightHtml(t,o,n){(0,is.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Uo;var ss=A(I());var Bo=class{isDate(t){var o,n,i,s;return(s=(i=((n=(o=R.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,o){var n,i,s,c;if(t==null)return"";try{return ss.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:R.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(c=o?.onlyTime)!==null&&c!==void 0?c:!1)}catch(d){throw console.error(`Date ${JSON.stringify(t)} is not valid`,d),d}}};window.FluidTopicsDateService=new Bo;var cs=A(I());var Wt=class{static get(t,o){var n,i;let s=R.getState(),{lang:c,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new cs.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var Ho=class{urlToSearchRequest(t){return Wt.get().parse(t)}searchRequestToUrl(t){return Wt.get().serialize(t)}};window.FluidTopicsUrlService=new Ho;var ye=A(I());var We=class r extends CustomEvent{constructor(t){super(r.eventName,{detail:{currentItem:t}})}};We.eventName="change";var zo=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},ls=new zo;var Rr=class r extends ye.WithEventBus{static build(){return new r(window.history,ls,()=>window.location,!1)}constructor(t,o,n,i){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ye.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new We(this.currentItem())),0)}installProxies(){let t=o=>(n,i,[s,c,d])=>{let u=o(),f={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[f,c,d]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(We.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(We.eventName,t)}currentItem(){return(0,ye.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,ye.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,ye.deepCopy)(o.find(n=>t(n)))}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,ye.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Rr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:r=>window.FluidTopicsInternalHistoryService.backwardItemMatching(r),addHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(r),removeHistoryChangeListener:r=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(r)});var ds=A(ee());var us=ds.css`
|
|
157
|
-
`;var
|
|
137
|
+
`;var bi=["top","right","bottom","left"],vi=["start","end"],Hr=bi.reduce((e,t)=>e.concat(t,t+"-"+vi[0],t+"-"+vi[1]),[]),Ae=Math.min,yt=Math.max,xe=Math.round;var J=e=>({x:e,y:e}),fa={left:"right",right:"left",bottom:"top",top:"bottom"};function Br(e,t,r){return yt(e,Ae(t,r))}function He(e,t){return typeof e=="function"?e(t):e}function Zt(e){return e.split("-")[0]}function gt(e){return e.split("-")[1]}function Vr(e){return e==="x"?"y":"x"}function Wr(e){return e==="y"?"height":"width"}function Be(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function zr(e){return Vr(Be(e))}function Ai(e,t,r){r===void 0&&(r=!1);let n=gt(e),i=zr(e),s=Wr(i),o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=jr(o)),[o,jr(o)]}function xi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function jr(e){let t=Zt(e);return fa[t]+e.slice(t.length)}function pa(e){return{top:0,right:0,bottom:0,left:0,...e}}function Si(e){return typeof e!="number"?pa(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Ei(e,t,r){let{reference:n,floating:i}=e,s=Be(t),o=zr(t),a=Wr(o),c=Zt(t),u=s==="y",l=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[a]/2-i[a]/2,p;switch(c){case"top":p={x:l,y:n.y-i.height};break;case"bottom":p={x:l,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-i.width,y:d};break;default:p={x:n.x,y:n.y}}switch(gt(t)){case"start":p[o]-=f*(r&&u?-1:1);break;case"end":p[o]+=f*(r&&u?-1:1);break}return p}async function wi(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:s,rects:o,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=He(t,e),h=Si(p),g=a[f?d==="floating"?"reference":"floating":d],v=Ot(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(g)))==null||r?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:l,strategy:c})),b=d==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},I=Ot(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:x,strategy:c}):b);return{top:(v.top-I.top+h.top)/S.y,bottom:(I.bottom-v.bottom+h.bottom)/S.y,left:(v.left-I.left+h.left)/S.x,right:(I.right-v.right+h.right)/S.x}}var ha=50,Ci=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=o.detectOverflow?o:{...o,detectOverflow:wi},c=await(o.isRTL==null?void 0:o.isRTL(t)),u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:d}=Ei(u,n,c),f=n,p=0,h={};for(let m=0;m<s.length;m++){let g=s[m];if(!g)continue;let{name:v,fn:b}=g,{x,y:S,data:I,reset:R}=await b({x:l,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});l=x??l,d=S??d,h[v]={...h[v],...I},R&&p<ha&&(p++,typeof R=="object"&&(R.placement&&(f=R.placement),R.rects&&(u=R.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:l,y:d}=Ei(u,f,c)),m=-1)}return{x:l,y:d,placement:f,strategy:i,middlewareData:h}};function ma(e,t,r){return(e?[...r.filter(i=>gt(i)===e),...r.filter(i=>gt(i)!==e)]:r.filter(i=>Zt(i)===i)).filter(i=>e?gt(i)===e||(t?xi(i)!==i:!1):!0)}var Ti=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:s,middlewareData:o,placement:a,platform:c,elements:u}=t,{crossAxis:l=!1,alignment:d,allowedPlacements:f=Hr,autoAlignment:p=!0,...h}=He(e,t),m=d!==void 0||f===Hr?ma(d||null,p,f):f,g=await c.detectOverflow(t,h),v=((r=o.autoPlacement)==null?void 0:r.index)||0,b=m[v];if(b==null)return{};let x=Ai(b,s,await(c.isRTL==null?void 0:c.isRTL(u.floating)));if(a!==b)return{reset:{placement:m[0]}};let S=[g[Zt(b)],g[x[0]],g[x[1]]],I=[...((n=o.autoPlacement)==null?void 0:n.overflows)||[],{placement:b,overflows:S}],R=m[v+1];if(R)return{data:{index:v+1,overflows:I},reset:{placement:R}};let ft=I.map(U=>{let B=gt(U.placement);return[U.placement,B&&l?U.overflows.slice(0,2).reduce((F,Et)=>F+Et,0):U.overflows[0],U.overflows]}).sort((U,B)=>U[1]-B[1]),pt=((i=ft.filter(U=>U[2].slice(0,gt(U[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||ft[0][0];return pt!==a?{data:{index:v+1,overflows:I},reset:{placement:pt}}:{}}}};var Oi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:s}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:c={fn:v=>{let{x:b,y:x}=v;return{x:b,y:x}}},...u}=He(e,t),l={x:r,y:n},d=await s.detectOverflow(t,u),f=Be(Zt(i)),p=Vr(f),h=l[p],m=l[f];if(o){let v=p==="y"?"top":"left",b=p==="y"?"bottom":"right",x=h+d[v],S=h-d[b];h=Br(x,h,S)}if(a){let v=f==="y"?"top":"left",b=f==="y"?"bottom":"right",x=m+d[v],S=m-d[b];m=Br(x,m,S)}let g=c.fn({...t,[p]:h,[f]:m});return{...g,data:{x:g.x-r,y:g.y-n,enabled:{[p]:o,[f]:a}}}}}};function We(){return typeof window<"u"}function _t(e){return _i(e)?(e.nodeName||"").toLowerCase():"#document"}function M(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rt(e){var t;return(t=(_i(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _i(e){return We()?e instanceof Node||e instanceof M(e).Node:!1}function W(e){return We()?e instanceof Element||e instanceof M(e).Element:!1}function nt(e){return We()?e instanceof HTMLElement||e instanceof M(e).HTMLElement:!1}function Ri(e){return!We()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof M(e).ShadowRoot}function te(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&i!=="inline"&&i!=="contents"}function Ii(e){return/^(table|td|th)$/.test(_t(e))}function Se(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var ya=/transform|translate|scale|rotate|perspective|filter/,ga=/paint|layout|strict|content/,Rt=e=>!!e&&e!=="none",Kr;function ee(e){let t=W(e)?z(e):e;return Rt(t.transform)||Rt(t.translate)||Rt(t.scale)||Rt(t.rotate)||Rt(t.perspective)||!ze()&&(Rt(t.backdropFilter)||Rt(t.filter))||ya.test(t.willChange||"")||ga.test(t.contain||"")}function Li(e){let t=ut(e);for(;nt(t)&&!It(t);){if(ee(t))return t;if(Se(t))return null;t=ut(t)}return null}function ze(){return Kr==null&&(Kr=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Kr}function It(e){return/^(html|body|#document)$/.test(_t(e))}function z(e){return M(e).getComputedStyle(e)}function Ee(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ut(e){if(_t(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ri(e)&&e.host||rt(e);return Ri(t)?t.host:t}function Pi(e){let t=ut(e);return It(t)?e.ownerDocument?e.ownerDocument.body:e.body:nt(t)&&te(t)?t:Pi(t)}function Ve(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Pi(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),o=M(i);if(s){let a=Ke(o);return t.concat(o,o.visualViewport||[],te(i)?i:[],a&&r?Ve(a):[])}else return t.concat(i,Ve(i,[],r))}function Ke(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Mi(e){let t=z(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=nt(e),s=i?e.offsetWidth:r,o=i?e.offsetHeight:n,a=xe(r)!==s||xe(n)!==o;return a&&(r=s,n=o),{width:r,height:n,$:a}}function Ui(e){return W(e)?e:e.contextElement}function re(e){let t=Ui(e);if(!nt(t))return J(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:s}=Mi(t),o=(s?xe(r.width):r.width)/n,a=(s?xe(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}var va=J(0);function Fi(e){let t=M(e);return!ze()||!t.visualViewport?va:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ba(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==M(e)?!1:t}function we(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),s=Ui(e),o=J(1);t&&(n?W(n)&&(o=re(n)):o=re(e));let a=ba(s,r,n)?Fi(s):J(0),c=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,l=i.width/o.x,d=i.height/o.y;if(s){let f=M(s),p=n&&W(n)?M(n):n,h=f,m=Ke(h);for(;m&&n&&p!==h;){let g=re(m),v=m.getBoundingClientRect(),b=z(m),x=v.left+(m.clientLeft+parseFloat(b.paddingLeft))*g.x,S=v.top+(m.clientTop+parseFloat(b.paddingTop))*g.y;c*=g.x,u*=g.y,l*=g.x,d*=g.y,c+=x,u+=S,h=M(m),m=Ke(h)}}return Ot({width:l,height:d,x:c,y:u})}function qe(e,t){let r=Ee(e).scrollLeft;return t?t.left+r:we(rt(e)).left+r}function $i(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-qe(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function Aa(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,s=i==="fixed",o=rt(n),a=t?Se(t.floating):!1;if(n===o||a&&s)return r;let c={scrollLeft:0,scrollTop:0},u=J(1),l=J(0),d=nt(n);if((d||!d&&!s)&&((_t(n)!=="body"||te(o))&&(c=Ee(n)),d)){let p=we(n);u=re(n),l.x=p.x+n.clientLeft,l.y=p.y+n.clientTop}let f=o&&!d&&!s?$i(o,c):J(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+l.x+f.x,y:r.y*u.y-c.scrollTop*u.y+l.y+f.y}}function xa(e){return Array.from(e.getClientRects())}function Sa(e){let t=rt(e),r=Ee(e),n=e.ownerDocument.body,i=yt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=yt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),o=-r.scrollLeft+qe(e),a=-r.scrollTop;return z(n).direction==="rtl"&&(o+=yt(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:a}}var ki=25;function Ea(e,t){let r=M(e),n=rt(e),i=r.visualViewport,s=n.clientWidth,o=n.clientHeight,a=0,c=0;if(i){s=i.width,o=i.height;let l=ze();(!l||l&&t==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}let u=qe(n);if(u<=0){let l=n.ownerDocument,d=l.body,f=getComputedStyle(d),p=l.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,h=Math.abs(n.clientWidth-d.clientWidth-p);h<=ki&&(s-=h)}else u<=ki&&(s+=u);return{width:s,height:o,x:a,y:c}}function wa(e,t){let r=we(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=nt(e)?re(e):J(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,c=i*s.x,u=n*s.y;return{width:o,height:a,x:c,y:u}}function Di(e,t,r){let n;if(t==="viewport")n=Ea(e,r);else if(t==="document")n=Sa(rt(e));else if(W(t))n=wa(t,r);else{let i=Fi(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ot(n)}function ji(e,t){let r=ut(e);return r===t||!W(r)||It(r)?!1:z(r).position==="fixed"||ji(r,t)}function Ca(e,t){let r=t.get(e);if(r)return r;let n=Ve(e,[],!1).filter(a=>W(a)&&_t(a)!=="body"),i=null,s=z(e).position==="fixed",o=s?ut(e):e;for(;W(o)&&!It(o);){let a=z(o),c=ee(o);!c&&a.position==="fixed"&&(i=null),(s?!c&&!i:!c&&a.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||te(o)&&!c&&ji(e,o))?n=n.filter(l=>l!==o):i=a,o=ut(o)}return t.set(e,n),n}function Ta(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[...r==="clippingAncestors"?Se(t)?[]:Ca(t,this._c):[].concat(r),n],a=Di(t,o[0],i),c=a.top,u=a.right,l=a.bottom,d=a.left;for(let f=1;f<o.length;f++){let p=Di(t,o[f],i);c=yt(p.top,c),u=Ae(p.right,u),l=Ae(p.bottom,l),d=yt(p.left,d)}return{width:u-d,height:l-c,x:d,y:c}}function Oa(e){let{width:t,height:r}=Mi(e);return{width:t,height:r}}function Ra(e,t,r){let n=nt(t),i=rt(t),s=r==="fixed",o=we(e,!0,s,t),a={scrollLeft:0,scrollTop:0},c=J(0);function u(){c.x=qe(i)}if(n||!n&&!s)if((_t(t)!=="body"||te(i))&&(a=Ee(t)),n){let p=we(t,!0,s,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else i&&u();s&&!n&&i&&u();let l=i&&!n&&!s?$i(i,a):J(0),d=o.left+a.scrollLeft-c.x-l.x,f=o.top+a.scrollTop-c.y-l.y;return{x:d,y:f,width:o.width,height:o.height}}function qr(e){return z(e).position==="static"}function Ni(e,t){if(!nt(e)||z(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return rt(e)===r&&(r=r.ownerDocument.body),r}function Hi(e,t){let r=M(e);if(Se(e))return r;if(!nt(e)){let i=ut(e);for(;i&&!It(i);){if(W(i)&&!qr(i))return i;i=ut(i)}return r}let n=Ni(e,t);for(;n&&Ii(n)&&qr(n);)n=Ni(n,t);return n&&It(n)&&qr(n)&&!ee(n)?r:n||Li(e)||r}var _a=async function(e){let t=this.getOffsetParent||Hi,r=this.getDimensions,n=await r(e.floating);return{reference:Ra(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ia(e){return z(e).direction==="rtl"}var Ge={convertOffsetParentRelativeRectToViewportRelativeRect:Aa,getDocumentElement:rt,getClippingRect:Ta,getOffsetParent:Hi,getElementRects:_a,getClientRects:xa,getDimensions:Oa,getScale:re,isElement:W,isRTL:Ia};var Bi=Ti,Vi=Oi;var Wi=(e,t,r)=>{let n=new Map,i={platform:Ge,...r},s={...i.platform,_c:n};return Ci(e,t,{...i,platform:s})};function zi(e){return La(e)}function Gr(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function La(e){for(let t=e;t;t=Gr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Gr(e);t;t=Gr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||ee(r)||t.tagName==="BODY"))return t}return null}async function Ki(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},Wi(e,t,{strategy:n.strategy,platform:{...Ge,getOffsetParent:i=>Ge.getOffsetParent(i,zi)},middleware:[Vi({crossAxis:!0}),Bi({allowedPlacements:[n.placement]})]})}var he=E(T());var xn=E(et());var qi=E(et(),1);var Yr=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Gi(e,t){return(0,qi.property)({type:Object,converter:{fromAttribute:r=>{if(r==null)return Ce(e);try{return JSON.parse(r)}catch{return Ce(e)}},toAttribute:r=>JSON.stringify(r)},hasChanged:Te,...t??{}})}function Pa(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;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Ye(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(!Ye(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=o=>Object.keys(o).filter(a=>o[a]!=null),s=i(e);if(r=s.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=r;n--!==0;){let o=s[n];if(!Ye(e[o],t[o]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Ye(e,t){try{return Pa(e,t)}catch{return!1}}function Te(e,t){return!Ye(e,t)}function Ce(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Xe(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let i=t(n);return i[e]=!0,i}}var Yi=E(et(),1);var Xr=e=>{let t=e??{};return(r,n)=>{var i;let s={hasChanged:Te,attribute:!1,...t};(0,Yi.property)(s)(r,n);let o=r.constructor;o.reduxProperties=new Map(o.reduxProperties),o.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(a=>a[n]),store:t.store})}};var Je=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 Lt=E(et(),1);var Qe=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 i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let o of n)try{await o()}catch(a){i(a);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ji=E(ot(),1);var Ze=globalThis,ka=Ze.ShadowRoot&&(Ze.ShadyCSS===void 0||Ze.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var Xi=(e,t)=>{if(ka)e.adoptedStyleSheets=t.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(let r of t){let n=document.createElement("style"),i=Ze.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}};var tr=class extends Ji.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Xi(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Yr(t)(r),this.canDefineScopedElement(t)&&this.registry.define(t,r)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,r){this.scopedRegistryConstructor.defineScopedElement(t,r)}};function Qi(e,t,...r){var n;let i=e.querySelector(t);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var ie=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},rs,Zi=Symbol("constructorPrototype"),ts=Symbol("constructorName"),ns=Symbol("exportpartsDebouncer"),es=Symbol("dynamicDependenciesLoaded"),ne=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};ne.eventName="exportparts-updated";var it=class extends tr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rs]=new Qe(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[ns].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ts]=this.constructor.name,this[Zi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ts]&&Object.setPrototypeOf(this,this[Zi])}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[es]||(r[es]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(ne.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(ne.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 ne)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Qi(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var r,n,i,s,o,a;let c=f=>f!=null&&f.trim().length>0,u=t.filter(c).map(f=>f.trim());if(u.length===0){this.exportparts=void 0;return}let l=new Set;for(let f of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let p=(s=(i=f.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],h=(a=(o=f.getAttribute("exportparts"))===null||o===void 0?void 0:o.split(",").map(g=>g.split(":")[1]))!==null&&a!==void 0?a:[],m=[...p,...h].filter(c).map(g=>g.trim());for(let g of m)l.add(g)}if(l.size===0){this.exportparts=void 0;return}let d=[...l.values()].flatMap(f=>u.map(p=>`${f}:${p}--${f}`));this.exportparts=[...this.part,...d].join(", ")}};rs=ns;ie([(0,Lt.property)()],it.prototype,"exportpartsPrefix",void 0);ie([Gi([])],it.prototype,"exportpartsPrefixes",void 0);ie([(0,Lt.property)({reflect:!0})],it.prototype,"exportparts",void 0);ie([(0,Lt.property)()],it.prototype,"customStylesheet",void 0);ie([(0,Lt.property)()],it.prototype,"elementToFocus",void 0);ie([(0,Lt.state)()],it.prototype,"useAdoptedStyleSheets",void 0);function er(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Oe=Symbol("internalReduxEventsUnsubscribers"),vt=Symbol("internalStoresUnsubscribers"),Pt=Symbol("internalStores"),Da=Xe(Symbol("withRedux"),function(e){var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(o){super.willUpdate(o),[...this.reduxConstructor.reduxReactiveProperties].some(a=>o.has(a))&&this.updateFromStores()}getUnnamedStore(){if(this[Pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Pt].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[Pt].get(o)}addStore(o,a){var c;a=(c=a??o.name)!==null&&c!==void 0?c:"default-store",this.unsubscribeFromStore(a),this[Pt].set(a,o),this.subscribeToStore(a,o),this.updateFromStores()}removeStore(o){let a=typeof o=="string"?o:o.name;this.unsubscribeFromStore(a),this[Pt].delete(a)}setupStores(){this.unsubscribeFromStores(),this[Pt].forEach((o,a)=>this.subscribeToStore(a,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,a)=>{let c=this.constructor.getPropertyOptions(a);if(!c?.attribute||!this.hasAttribute(typeof c?.attribute=="string"?c.attribute:a)){let u=this.getStore(o.store);u&&(o.store?this[vt].has(o.store):this[vt].size>0)&&(this[a]=o.selector(u.getState(),this))}})}subscribeToStore(o,a){var c;this[vt].set(o,a.subscribe(()=>this.updateFromStores())),this[Oe].set(o,[]),er(a)&&a.eventBus&&((c=this.reduxConstructor.reduxEventListeners)===null||c===void 0||c.forEach((u,l)=>{if(typeof this[l]=="function"&&(!u.store||a.name===u.store)){let d=f=>this[l](f);a.addEventListener(u.eventName,d),this[Oe].get(o).push(()=>a.removeEventListener(u.eventName,d))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[vt].forEach((o,a)=>this.unsubscribeFromStore(a))}unsubscribeFromStore(o){var a;this[vt].has(o)&&this[vt].get(o)(),this[vt].delete(o),(a=this[Oe].get(o))===null||a===void 0||a.forEach(c=>c()),this[Oe].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=vt,r=Pt,n=Oe,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),is=class extends Da(it){};function K(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 i,s;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(o){return"'"+o+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lt(e){return!!e&&!!e[C]}function Q(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 i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ba})(e)||Array.isArray(e)||!!e[ds]||!!(!((t=e.constructor)===null||t===void 0)&&t[ds])||on(e)||an(e))}function kt(e,t,r){r===void 0&&(r=!1),ae(e)===0?(r?Object.keys:oe)(e).forEach((function(n){r&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,i){return t(i,n,e)}))}function ae(e){var t=e[C];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:on(e)?2:an(e)?3:0}function se(e,t){return ae(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Na(e,t){return ae(e)===2?e.get(t):e[t]}function fs(e,t,r){var n=ae(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function ps(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function on(e){return ja&&e instanceof Map}function an(e){return Ha&&e instanceof Set}function bt(e){return e.o||e.t}function cn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ys(e);delete t[C];for(var r=oe(t),n=0;n<r.length;n++){var i=r[n],s=t[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function un(e,t){return t===void 0&&(t=!1),ln(e)||lt(e)||!Q(e)||(ae(e)>1&&(e.set=e.add=e.clear=e.delete=Ma),Object.freeze(e),t&&kt(e,(function(r,n){return un(n,!0)}),!0)),e}function Ma(){K(2)}function ln(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function st(e){var t=sn[e];return t||K(18,e),t}function Ua(e,t){sn[e]||(sn[e]=t)}function en(){return _e}function Jr(e,t){t&&(st("Patches"),e.u=[],e.s=[],e.v=t)}function rr(e){rn(e),e.p.forEach(Fa),e.p=null}function rn(e){e===_e&&(_e=e.l)}function ss(e){return _e={p:[],l:_e,h:e,m:!0,_:0}}function Fa(e){var t=e[C];t.i===0||t.i===1?t.j():t.g=!0}function Qr(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||st("ES5").S(t,e,n),n?(r[C].P&&(rr(t),K(4)),Q(e)&&(e=nr(t,e),t.l||ir(t,e)),t.u&&st("Patches").M(r[C].t,e,t.u,t.s)):e=nr(t,r,[]),rr(t),t.u&&t.v(t.u,t.s),e!==ms?e:void 0}function nr(e,t,r){if(ln(t))return t;var n=t[C];if(!n)return kt(t,(function(a,c){return os(e,n,t,a,c,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return ir(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=cn(n.k):n.o,s=i,o=!1;n.i===3&&(s=new Set(i),i.clear(),o=!0),kt(s,(function(a,c){return os(e,n,i,a,c,r,o)})),ir(e,i,!1),r&&e.u&&st("Patches").N(n,r,e.u,e.s)}return n.o}function os(e,t,r,n,i,s,o){if(lt(i)){var a=nr(e,i,s&&t&&t.i!==3&&!se(t.R,n)?s.concat(n):void 0);if(fs(r,n,a),!lt(a))return;e.m=!1}else o&&r.add(i);if(Q(i)&&!ln(i)){if(!e.h.D&&e._<1)return;nr(e,i),t&&t.A.l||ir(e,i)}}function ir(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&un(t,r)}function Zr(e,t){var r=e[C];return(r?bt(r):e)[t]}function as(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 At(e){e.P||(e.P=!0,e.l&&At(e.l))}function tn(e){e.o||(e.o=cn(e.t))}function nn(e,t,r){var n=on(t)?st("MapSet").F(t,r):an(t)?st("MapSet").T(t,r):e.O?(function(i,s){var o=Array.isArray(i),a={i:o?1:0,A:s?s.A:en(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},c=a,u=Ie;o&&(c=[a],u=Re);var l=Proxy.revocable(c,u),d=l.revoke,f=l.proxy;return a.k=f,a.j=d,f})(t,r):st("ES5").J(t,r);return(r?r.A:en()).p.push(n),n}function $a(e){return lt(e)||K(22,e),(function t(r){if(!Q(r))return r;var n,i=r[C],s=ae(r);if(i){if(!i.P&&(i.i<4||!st("ES5").K(i)))return i.t;i.I=!0,n=cs(r,s),i.I=!1}else n=cs(r,s);return kt(n,(function(o,a){i&&Na(i.t,o)===a||fs(n,o,t(a))})),s===3?new Set(n):n})(e)}function cs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return cn(e)}function hs(){function e(o,a){var c=s[o];return c?c.enumerable=a:s[o]=c={configurable:!0,enumerable:a,get:function(){var u=this[C];return Ie.get(u,o)},set:function(u){var l=this[C];Ie.set(l,o,u)}},c}function t(o){for(var a=o.length-1;a>=0;a--){var c=o[a][C];if(!c.P)switch(c.i){case 5:n(c)&&At(c);break;case 4:r(c)&&At(c)}}}function r(o){for(var a=o.t,c=o.k,u=oe(c),l=u.length-1;l>=0;l--){var d=u[l];if(d!==C){var f=a[d];if(f===void 0&&!se(a,d))return!0;var p=c[d],h=p&&p[C];if(h?h.t!==f:!ps(p,f))return!0}}var m=!!a[C];return u.length!==oe(a).length+(m?0:1)}function n(o){var a=o.k;if(a.length!==o.t.length)return!0;var c=Object.getOwnPropertyDescriptor(a,a.length-1);if(c&&!c.get)return!0;for(var u=0;u<a.length;u++)if(!a.hasOwnProperty(u))return!0;return!1}function i(o){o.g&&K(3,JSON.stringify(bt(o)))}var s={};Ua("ES5",{J:function(o,a){var c=Array.isArray(o),u=(function(d,f){if(d){for(var p=Array(f.length),h=0;h<f.length;h++)Object.defineProperty(p,""+h,e(h,!0));return p}var m=ys(f);delete m[C];for(var g=oe(m),v=0;v<g.length;v++){var b=g[v];m[b]=e(b,d||!!m[b].enumerable)}return Object.create(Object.getPrototypeOf(f),m)})(c,o),l={i:c?5:4,A:a?a.A:en(),P:!1,I:!1,R:{},l:a,t:o,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,C,{value:l,writable:!0}),u},S:function(o,a,c){c?lt(a)&&a[C].A===o&&t(o.p):(o.u&&(function u(l){if(l&&typeof l=="object"){var d=l[C];if(d){var f=d.t,p=d.k,h=d.R,m=d.i;if(m===4)kt(p,(function(S){S!==C&&(f[S]!==void 0||se(f,S)?h[S]||u(p[S]):(h[S]=!0,At(d)))})),kt(f,(function(S){p[S]!==void 0||se(p,S)||(h[S]=!1,At(d))}));else if(m===5){if(n(d)&&(At(d),h.length=!0),p.length<f.length)for(var g=p.length;g<f.length;g++)h[g]=!1;else for(var v=f.length;v<p.length;v++)h[v]=!0;for(var b=Math.min(p.length,f.length),x=0;x<b;x++)p.hasOwnProperty(x)||(h[x]=!0),h[x]===void 0&&u(p[x])}}}})(o.p[0]),t(o.p))},K:function(o){return o.i===4?r(o):n(o)}})}var us,_e,dn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",ja=typeof Map<"u",Ha=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=dn?Symbol.for("immer-nothing"):((us={})["immer-nothing"]=!0,us),ds=dn?Symbol.for("immer-draftable"):"__$immer_draftable",C=dn?Symbol.for("immer-state"):"__$immer_state";var Ba=""+Object.prototype.constructor,oe=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ys=Object.getOwnPropertyDescriptors||function(e){var t={};return oe(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},sn={},Ie={get:function(e,t){if(t===C)return e;var r=bt(e);if(!se(r,t))return(function(i,s,o){var a,c=as(s,o);return c?"value"in c?c.value:(a=c.get)===null||a===void 0?void 0:a.call(i.k):void 0})(e,r,t);var n=r[t];return e.I||!Q(n)?n:n===Zr(e.t,t)?(tn(e),e.o[t]=nn(e.A.h,n,e)):n},has:function(e,t){return t in bt(e)},ownKeys:function(e){return Reflect.ownKeys(bt(e))},set:function(e,t,r){var n=as(bt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Zr(bt(e),t),s=i?.[C];if(s&&s.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(ps(r,i)&&(r!==void 0||se(e.t,t)))return!0;tn(e),At(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 Zr(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,tn(e),At(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=bt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){K(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){K(12)}},Re={};kt(Ie,(function(e,t){Re[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Re.deleteProperty=function(e,t){return Re.set.call(this,e,t,void 0)},Re.set=function(e,t,r){return Ie.set.call(this,e[0],t,r,e[0])};var Va=(function(){function e(r){var n=this;this.O=ls,this.D=!0,this.produce=function(i,s,o){if(typeof i=="function"&&typeof s!="function"){var a=s;s=i;var c=n;return function(m){var g=this;m===void 0&&(m=a);for(var v=arguments.length,b=Array(v>1?v-1:0),x=1;x<v;x++)b[x-1]=arguments[x];return c.produce(m,(function(S){var I;return(I=s).call.apply(I,[g,S].concat(b))}))}}var u;if(typeof s!="function"&&K(6),o!==void 0&&typeof o!="function"&&K(7),Q(i)){var l=ss(n),d=nn(n,i,void 0),f=!0;try{u=s(d),f=!1}finally{f?rr(l):rn(l)}return typeof Promise<"u"&&u instanceof Promise?u.then((function(m){return Jr(l,o),Qr(m,l)}),(function(m){throw rr(l),m})):(Jr(l,o),Qr(u,l))}if(!i||typeof i!="object"){if((u=s(i))===void 0&&(u=i),u===ms&&(u=void 0),n.D&&un(u,!0),o){var p=[],h=[];st("Patches").M(i,u,p,h),o(p,h)}return u}K(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(u){for(var l=arguments.length,d=Array(l>1?l-1:0),f=1;f<l;f++)d[f-1]=arguments[f];return n.produceWithPatches(u,(function(p){return i.apply(void 0,[p].concat(d))}))};var o,a,c=n.produce(i,s,(function(u,l){o=u,a=l}));return typeof Promise<"u"&&c instanceof Promise?c.then((function(u){return[u,o,a]})):[c,o,a]},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){Q(r)||K(8),lt(r)&&(r=$a(r));var n=ss(this),i=nn(this,r,void 0);return i[C].C=!0,rn(n),i},t.finishDraft=function(r,n){var i=r&&r[C],s=i.A;return Jr(s,n),Qr(void 0,s)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!ls&&K(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){r=s.value;break}}i>-1&&(n=n.slice(i+1));var o=st("Patches").$;return lt(r)?o(r,n):this.produce(r,(function(a){return o(a,n)}))},e})(),$=new Va,Wa=$.produce,Ju=$.produceWithPatches.bind($),Qu=$.setAutoFreeze.bind($),Zu=$.setUseProxies.bind($),tl=$.applyPatches.bind($),el=$.createDraft.bind($),rl=$.finishDraft.bind($),sr=Wa;function Dt(e){"@babel/helpers - typeof";return Dt=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},Dt(e)}function gs(e,t){if(Dt(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Dt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vs(e){var t=gs(e,"string");return Dt(t)=="symbol"?t:t+""}function bs(e,t,r){return(t=vs(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function As(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function fn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?As(Object(r),!0).forEach(function(n){bs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):As(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function k(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 xs=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),pn=function(){return Math.random().toString(36).substring(7).split("").join(".")},or={INIT:"@@redux/INIT"+pn(),REPLACE:"@@redux/REPLACE"+pn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pn()}};function za(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 hn(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(k(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(k(1));return r(hn)(e,t)}if(typeof e!="function")throw new Error(k(2));var i=e,s=t,o=[],a=o,c=!1;function u(){a===o&&(a=o.slice())}function l(){if(c)throw new Error(k(3));return s}function d(m){if(typeof m!="function")throw new Error(k(4));if(c)throw new Error(k(5));var g=!0;return u(),a.push(m),function(){if(g){if(c)throw new Error(k(6));g=!1,u();var b=a.indexOf(m);a.splice(b,1),o=null}}}function f(m){if(!za(m))throw new Error(k(7));if(typeof m.type>"u")throw new Error(k(8));if(c)throw new Error(k(9));try{c=!0,s=i(s,m)}finally{c=!1}for(var g=o=a,v=0;v<g.length;v++){var b=g[v];b()}return m}function p(m){if(typeof m!="function")throw new Error(k(10));i=m,f({type:or.REPLACE})}function h(){var m,g=d;return m={subscribe:function(b){if(typeof b!="object"||b===null)throw new Error(k(11));function x(){b.next&&b.next(l())}x();var S=g(x);return{unsubscribe:S}}},m[xs]=function(){return this},m}return f({type:or.INIT}),n={dispatch:f,subscribe:d,getState:l,replaceReducer:p},n[xs]=h,n}function Ka(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:or.INIT});if(typeof n>"u")throw new Error(k(12));if(typeof r(void 0,{type:or.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(k(13))})}function Ss(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var s=Object.keys(r),o,a;try{Ka(r)}catch(c){a=c}return function(u,l){if(u===void 0&&(u={}),a)throw a;if(0)var d;for(var f=!1,p={},h=0;h<s.length;h++){var m=s[h],g=r[m],v=u[m],b=g(v,l);if(typeof b>"u"){var x=l&&l.type;throw new Error(k(14))}p[m]=b,f=f||b!==v}return f=f||s.length!==Object.keys(u).length,f?p:u}}function ce(){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,i){return function(){return n(i.apply(void 0,arguments))}})}function Es(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(k(15))},o={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map(function(c){return c(o)});return s=ce.apply(void 0,a)(i.dispatch),fn(fn({},i),{},{dispatch:s})}}}function ws(e){var t=function(n){var i=n.dispatch,s=n.getState;return function(o){return function(a){return typeof a=="function"?a(i,s,e):o(a)}}};return t}var Cs=ws();Cs.withExtraArgument=ws;var mn=Cs;var Is=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},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)}})(),qa=function(e,t){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){r.label=u[1];break}if(u[0]===6&&r.label<s[1]){r.label=s[1],s=u;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(u);break}s[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(l){u=[6,l],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},ue=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Ga=Object.defineProperty,Ya=Object.defineProperties,Xa=Object.getOwnPropertyDescriptors,Ts=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,Os=function(e,t,r){return t in e?Ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},xt=function(e,t){for(var r in t||(t={}))Ja.call(t,r)&&Os(e,r,t[r]);if(Ts)for(var n=0,i=Ts(t);n<i.length;n++){var r=i[n];Qa.call(t,r)&&Os(e,r,t[r])}return e},yn=function(e,t){return Ya(e,Xa(t))},Za=function(e,t,r){return new Promise(function(n,i){var s=function(c){try{a(r.next(c))}catch(u){i(u)}},o=function(c){try{a(r.throw(c))}catch(u){i(u)}},a=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(s,o)};a((r=r.apply(e,t)).next())})};var tc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ce:ce.apply(null,arguments)},Al=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ec(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}function St(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return xt(xt({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.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}var rc=(function(e){Is(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var 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,ue([void 0],r[0].concat(this)))):new(t.bind.apply(t,ue([void 0],r.concat(this))))},t})(Array),nc=(function(e){Is(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var 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,ue([void 0],r[0].concat(this)))):new(t.bind.apply(t,ue([void 0],r.concat(this))))},t})(Array);function bn(e){return Q(e)?sr(e,function(){}):e}function ic(e){return typeof e=="boolean"}function sc(){return function(t){return oc(t)}}function oc(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,s=e.serializableCheck,o=s===void 0?!0:s,a=e.actionCreatorCheck,c=a===void 0?!0:a,u=new rc;if(r&&(ic(r)?u.push(mn):u.push(mn.withExtraArgument(r.extraArgument))),0){if(i)var l;if(o)var d;if(c)var f}return u}var gn=!0;function Ls(e){var t=sc(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,s=r.middleware,o=s===void 0?t():s,a=r.devTools,c=a===void 0?!0:a,u=r.preloadedState,l=u===void 0?void 0:u,d=r.enhancers,f=d===void 0?void 0:d,p;if(typeof i=="function")p=i;else if(ec(i))p=Ss(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var h=o;if(typeof h=="function"&&(h=h(t),!gn&&!Array.isArray(h)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!gn&&h.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var m=Es.apply(void 0,h),g=ce;c&&(g=tc(xt({trace:!gn},typeof c=="object"&&c)));var v=new nc(m),b=v;Array.isArray(f)?b=ue([m],f):typeof f=="function"&&(b=f(v));var x=g.apply(void 0,b);return hn(p,l,x)}function Ps(e){var t={},r=[],n,i={addCase:function(s,o){var a=typeof s=="string"?s:s.type;if(!a)throw new Error("`builder.addCase` cannot be called with an empty action type");if(a in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[a]=o,i},addMatcher:function(s,o){return r.push({matcher:s,reducer:o}),i},addDefaultCase:function(s){return n=s,i}};return e(i),[t,r,n]}function ac(e){return typeof e=="function"}function cc(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Ps(t):[t,r,n],s=i[0],o=i[1],a=i[2],c;if(ac(e))c=function(){return bn(e())};else{var u=bn(e);c=function(){return u}}function l(d,f){d===void 0&&(d=c());var p=ue([s[f.type]],o.filter(function(h){var m=h.matcher;return m(f)}).map(function(h){var m=h.reducer;return m}));return p.filter(function(h){return!!h}).length===0&&(p=[a]),p.reduce(function(h,m){if(m)if(lt(h)){var g=h,v=m(g,f);return v===void 0?h:v}else{if(Q(h))return sr(h,function(b){return m(b,f)});var v=m(h,f);if(v===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return v}return h},d)}return l.getInitialState=c,l}function uc(e,t){return e+"/"+t}function ks(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:bn(e.initialState),n=e.reducers||{},i=Object.keys(n),s={},o={},a={};i.forEach(function(l){var d=n[l],f=uc(t,l),p,h;"reducer"in d?(p=d.reducer,h=d.prepare):p=d,s[l]=p,o[f]=p,a[l]=h?St(f,h):St(f)});function c(){var l=typeof e.extraReducers=="function"?Ps(e.extraReducers):[e.extraReducers],d=l[0],f=d===void 0?{}:d,p=l[1],h=p===void 0?[]:p,m=l[2],g=m===void 0?void 0:m,v=xt(xt({},f),o);return cc(r,function(b){for(var x in v)b.addCase(x,v[x]);for(var S=0,I=h;S<I.length;S++){var R=I[S];b.addMatcher(R.matcher,R.reducer)}g&&b.addDefaultCase(g)})}var u;return{name:t,reducer:function(l,d){return u||(u=c()),u(l,d)},actions:a,caseReducers:s,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}var lc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dc=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=lc[Math.random()*64|0];return t},fc=["name","message","stack","code"],vn=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),Rs=(function(){function e(t,r){this.payload=t,this.meta=r}return e})(),pc=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=fc;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},wl=(function(){function e(t,r,n){var i=St(t+"/fulfilled",function(l,d,f,p){return{payload:l,meta:yn(xt({},p||{}),{arg:f,requestId:d,requestStatus:"fulfilled"})}}),s=St(t+"/pending",function(l,d,f){return{payload:void 0,meta:yn(xt({},f||{}),{arg:d,requestId:l,requestStatus:"pending"})}}),o=St(t+"/rejected",function(l,d,f,p,h){return{payload:p,error:(n&&n.serializeError||pc)(l||"Rejected"),meta:yn(xt({},h||{}),{arg:f,requestId:d,rejectedWithValue:!!p,requestStatus:"rejected",aborted:l?.name==="AbortError",condition:l?.name==="ConditionError"})}}),a=!1,c=typeof AbortController<"u"?AbortController:(function(){function l(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return l.prototype.abort=function(){},l})();function u(l){return function(d,f,p){var h=n?.idGenerator?n.idGenerator(l):dc(),m=new c,g,v=!1;function b(S){g=S,m.abort()}var x=(function(){return Za(this,null,function(){var S,I,R,ft,Cr,pt,U;return qa(this,function(B){switch(B.label){case 0:return B.trys.push([0,4,,5]),ft=(S=n?.condition)==null?void 0:S.call(n,l,{getState:f,extra:p}),mc(ft)?[4,ft]:[3,2];case 1:ft=B.sent(),B.label=2;case 2:if(ft===!1||m.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=!0,Cr=new Promise(function(F,Et){return m.signal.addEventListener("abort",function(){return Et({name:"AbortError",message:g||"Aborted"})})}),d(s(h,l,(I=n?.getPendingMeta)==null?void 0:I.call(n,{requestId:h,arg:l},{getState:f,extra:p}))),[4,Promise.race([Cr,Promise.resolve(r(l,{dispatch:d,getState:f,extra:p,requestId:h,signal:m.signal,abort:b,rejectWithValue:function(F,Et){return new vn(F,Et)},fulfillWithValue:function(F,Et){return new Rs(F,Et)}})).then(function(F){if(F instanceof vn)throw F;return F instanceof Rs?i(F.payload,h,l,F.meta):i(F,h,l)})])];case 3:return R=B.sent(),[3,5];case 4:return pt=B.sent(),R=pt instanceof vn?o(null,h,l,pt.payload,pt.meta):o(pt,h,l),[3,5];case 5:return U=n&&!n.dispatchConditionRejection&&o.match(R)&&R.meta.condition,U||d(R),[2,R]}})})})();return Object.assign(x,{abort:b,requestId:h,arg:l,unwrap:function(){return x.then(hc)}})}}return Object.assign(u,{pending:s,rejected:o,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e})();function hc(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function mc(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ds="listener",Ns="completed",Ms="cancelled",Cl="task-"+Ms,Tl="task-"+Ns,Ol=Ds+"-"+Ms,Rl=Ds+"-"+Ns;var An="listenerMiddleware";var _l=St(An+"/add"),Il=St(An+"/removeAll"),Ll=St(An+"/remove");var _s,Pl=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(_s||(_s=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yc=function(e){return function(t){setTimeout(t,e)}},kl=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yc(10);hs();var gc=Xe(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),ar=class extends gc(Object){};window.ftReduxStores||(window.ftReduxStores={});var Us=class e extends ar{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(er(s))return s;if(i==null)return;let o=ks({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),a=Ls({reducer:(c,u)=>{if(u.type==="CLEAR_FT_REDUX_STORE"){let l=Ce(o.getInitialState());for(let d of u.keeping)l[d]=(c??l)[d];return l}else if(typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...c,...u.overwrites};return o.reducer(c,u)}});return window.ftReduxStores[i.name]=new e(o,a,i.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Je;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,o,a)=>{let c=o,u=s[c];return u?(...l)=>{let d=u(...l.map(i));return this.reduxStore.dispatch(d),d}:l=>{this.setState({[c]:i(l)})}}}),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 cr=class{static format(t,r,n,i,s){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(t,r,n,i,!!s)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,i,s){let o=typeof t=="string"?new Date(t):t,a=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(o),c=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(o);return s?c:i?`${a} ${c}`:a}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 ur=E(T()),vc="ft-app-info",le=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};le.eventName="authentication-change";var Le=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Le.eventName="ui-locale-changed";var bc={session:(e,t)=>{(0,ur.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>w.dispatchEvent(new le(t.payload)),0))}},w=ur.FtReduxStore.get({name:vc,reducers:bc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!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 Fs=E(T()),lr=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},ad=(0,Fs.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(w)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(a=>a.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?a=>cr.format(a,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return lr([(0,xn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),lr([(0,xn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),lr([Xr({store:w.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),lr([Xr({store:w.name})],t.prototype,"uiLocale",void 0),t});var $s;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})($s||($s={}));var js;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(js||(js={}));var Hs;(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"})(Hs||(Hs={}));var Bs;(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"})(Bs||(Bs={}));var Vs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Vs||(Vs={}));var Ws;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ws||(Ws={}));var zs;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(zs||(zs={}));var Ks;(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__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",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__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"})(Ks||(Ks={}));var qs;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(qs||(qs={}));var Gs;(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"})(Gs||(Gs={}));var Ys;(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"})(Ys||(Ys={}));var Xs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Xs||(Xs={}));var Js;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Js||(Js={}));var Qs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Qs||(Qs={}));var Zs;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Zs||(Zs={}));var to;(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"})(to||(to={}));var eo;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(eo||(eo={}));var ro;(function(e){e.ASC="ASC",e.DESC="DESC"})(ro||(ro={}));var no;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(no||(no={}));var io;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(io||(io={}));var so;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(so||(so={}));var oo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(oo||(oo={}));var ao;(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"})(ao||(ao={}));var co;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(co||(co={}));var uo;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(uo||(uo={}));var lo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(lo||(lo={}));var fo;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(fo||(fo={}));var _;(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"})(_||(_={}));var q;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(q||(q={}));var po;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(po||(po={}));var ho;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(ho||(ho={}));var mo;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(mo||(mo={}));var yo;(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"})(yo||(yo={}));var go;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(go||(go={}));var vo;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(vo||(vo={}));var bo;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(bo||(bo={}));var Ao;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Ao||(Ao={}));var xo;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(xo||(xo={}));var So;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(So||(So={}));var Eo;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Eo||(Eo={}));var wo;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(wo||(wo={}));var Ac={[_.PERSONAL_BOOK_SHARE_USER]:[_.PERSONAL_BOOK_USER],[_.HTML_EXPORT_USER]:[_.PERSONAL_BOOK_USER],[_.PDF_EXPORT_USER]:[_.PERSONAL_BOOK_USER],[_.KHUB_ADMIN]:[_.CONTENT_PUBLISHER],[_.ADMIN]:[_.KHUB_ADMIN,_.USERS_ADMIN,_.PORTAL_ADMIN,_.BEHAVIOR_DATA_USER],[_.GENERATIVE_AI_EXPORT_USER]:[_.GENERATIVE_AI_USER]};function Co(e,t){return e===t||(Ac[e]??[]).some(r=>Co(r,t))}function To(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=>Co(n,t))}var mr=E(T());var Sn=E(T());var Nt=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=w.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let i=w.subscribe(()=>{n=e.get(t),n&&(i(),r(n))})}})}};var de=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Nt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Nt.await()}};var j=class extends de{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(s,o)=>typeof o!="object"||o==null||Array.isArray(o)?o:Object.fromEntries(Object.entries(o).sort(([a],[c])=>a.localeCompare(c)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Sn.CacheRegistry,this.cache=t?i.commonCache:new Sn.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 dr=class extends j{async listMySearches(){let{session:t}=w.getState();return To(t,_.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var fr=class extends j{async listMyBookmarks(){let t=w.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var pr=class extends j{constructor(){super(...arguments),this.CACHE_DURATION=180*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=w.getState().session;return!!t?.sessionAuthenticated}};var hr=class extends j{constructor(){super(...arguments),this.CACHE_DURATION=180*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=w.getState().session;return!!t?.sessionAuthenticated}};var xc="ft-user-assets",Sc={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(q).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:i}=t.payload;wn(e,r,[...En(e,r),i]),Oo(e,r,1,n),Ro(e,i)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;wn(e,r,En(e,r).map(i=>i.id===n.id?n:i)),Ro(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:i}=t.payload;wn(e,r,En(e,r).filter(s=>s.id!==i)),Oo(e,r,-1,n)}},_o={[q.SEARCHES]:"savedSearches",[q.BOOKMARKS]:"bookmarks",[q.BOOKS]:void 0,[q.COLLECTIONS]:void 0},En=(e,t)=>{var r;let n=_o[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},wn=(e,t,r)=>{let n=_o[t];n&&(e[n]=r)},Oo=(e,t,r,n)=>{let i=e.assetCounts.allAsset[t];if(i!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,i+r),t===q.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},Ro=(e,t)=>{let r=e.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));e.assetLabels.push(...n)},N=mr.FtReduxStore.get({name:xc,reducers:Sc,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(q).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Cn=class{constructor(t=new pr,r=new hr){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=w.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new fr,this.savedSearchesService=new dr,w.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=w.getState();(0,mr.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(),N.actions.clearAssetCount(),N.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),N.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),N.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();N.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();N.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&N.getState().assetCounts.allAsset[t]!==r.count&&N.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&N.getState().assetCounts.bookmarkByMap[t]!==r.count&&N.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(N.getState().assetCounts.bookmarkByMap).length!==0;t===q.BOOKMARKS&&r&&N.actions.clearBookmarkCountByMap(),N.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;N.actions.bookmarks(r)}}},Ec=new Cn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Ec);var Tn=class{addCommand(t,r=!1){w.commands.add(t,r)}consumeCommand(t){return w.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Tn;var G=E(T());var Io,fe=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},wc=Symbol("clearAfterUnitTest"),yr=class extends(0,G.withEventBus)(j){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Io]=()=>{this.defaultMessages={},this.cache=new G.CacheRegistry,this.listeners={}},this.currentUiLocale=w.getState().uiLocale,w.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=w.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 i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,G.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,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 i;let s=t.toLowerCase(),o=this.resolveContext(s);return new G.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},o).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(i){!(i instanceof G.CanceledPromiseError)&&r&&console.error(i)}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 i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new fe({loadedContexts:t})),this.dispatchEvent(new fe({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new fe({loadedContexts:[t]})),this.dispatchEvent(new fe({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,G.delay)(0).then(()=>n()).catch(()=>null)))}};Io=wc;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends yr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends yr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Pe=window.FluidTopicsI18nService,On=window.FluidTopicsCustomI18nService;var Lo=E(T()),Rn=class{highlightHtml(t,r,n){(0,Lo.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new Rn;var Po=E(T());var _n=class{isDate(t){var r,n,i,s;return(s=(i=((n=(r=w.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(a=>a.key===t))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(t,r){var n,i,s,o;if(t==null)return"";try{return Po.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:w.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(o=r?.onlyTime)!==null&&o!==void 0?o:!1)}catch(a){throw console.error(`Date ${JSON.stringify(t)} is not valid`,a),a}}};window.FluidTopicsDateService=new _n;var ko=E(T());var ke=class{static get(t,r){var n,i;let s=w.getState(),{lang:o,region:a}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new ko.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,r??`${o}-${a}`)}};var In=class{urlToSearchRequest(t){return ke.get().parse(t)}searchRequestToUrl(t){return ke.get().serialize(t)}};window.FluidTopicsUrlService=new In;var dt=E(T());var Mt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Mt.eventName="change";var Ln=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))}},Do=new Ln;var gr=class e extends dt.WithEventBus{static build(){return new e(window.history,Do,()=>window.location,!1)}constructor(t,r,n,i){var s,o;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(o=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&o!==void 0?o:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}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,dt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Mt(this.currentItem())),0)}installProxies(){let t=r=>(n,i,[s,o,a])=>{let c=r(),u={...c===this.currentIndex?this.currentState:void 0,...s,index:c,href:typeof a=="string"?a:(a??this.windowLocation()).href};n.apply(i,[u,o,a]),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(Mt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Mt.eventName,t)}currentItem(){return(0,dt.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,dt.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,dt.deepCopy)(r.find(n=>t(n)))}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,dt.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 i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,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 i=r??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=gr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var No=E(ot());var Mo=No.css`
|
|
138
|
+
`;var $o=E(ot()),H=E(et()),$t=E(T());var Ut=E(T());function Uo(e,t){let{authenticationRequired:r,session:n}=w.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var vr=class extends de{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var Pn=class e extends Ut.FtStateManager{static build(t){return new e(w,t)}constructor(t,r){super(),this.store=t,this.cache=new Ut.CacheRegistry,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new vr,this.cleanSessionDebouncer=new Ut.Debouncer,this.reloadDebouncer=new Ut.Debouncer(500),this.apiProvider=r??(()=>Nt.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(le.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let r=await this.cache.get("availableContentLocales",()=>Uo(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=r.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){var r,n,i,s,o;this.localesConfiguration=t,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((r=this.localesConfiguration.availableUiLocales)!==null&&r!==void 0?r:[]),this.store.actions.searchInAllLanguagesAllowed((n=this.localesConfiguration.allLanguagesAllowed)!==null&&n!==void 0?n:!1),this.store.actions.searchLanguageSetsUiLanguage((i=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&i!==void 0?i:!1),this.store.actions.uiLanguageSetsSearchLanguage((s=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&s!==void 0?s:!1),this.store.actions.uiLanguageSetsReaderLanguage((o=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&o!==void 0?o:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(r=>{r.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new Le(r)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}},Fo=Pn.build();var Ft=class extends Event{constructor(t,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var De=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let r=this.pendingContextRequests.get(t.context);if(r===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:s}of n){let o=i.deref(),a=s.deref();o===void 0||a===void 0||o.dispatchEvent(new Ft(t.context,o,a,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let r=t.contextTarget??t.composedPath()[0],n=t.callback,i=this.pendingContextRequests.get(t.context);i===void 0&&this.pendingContextRequests.set(t.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var D=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},O=class extends $t.FtLitElementRedux{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.authenticationRequired=!1,this.messageContexts=[],this.stateManager=Fo,this.contextRoot=new De}render(){return $o.html`
|
|
158
139
|
<slot></slot>
|
|
159
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var
|
|
160
|
-
`;var
|
|
140
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var r;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Pe.addContext(n)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};O.elementDefinitions={};O.styles=Mo;D([(0,H.property)()],O.prototype,"baseUrl",void 0);D([(0,H.property)()],O.prototype,"apiIntegrationIdentifier",void 0);D([(0,H.property)()],O.prototype,"apiIntegrationAppVersion",void 0);D([(0,H.property)()],O.prototype,"uiLocale",void 0);D([(0,$t.jsonProperty)(null)],O.prototype,"availableUiLocales",void 0);D([(0,$t.jsonProperty)(null)],O.prototype,"metadataConfiguration",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"editorMode",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"noCustom",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"openExternalDocumentInNewTab",void 0);D([(0,H.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],O.prototype,"noCustomComponent",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"withManualResources",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"navigatorOnline",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"forcedOffline",void 0);D([(0,H.property)({type:Boolean})],O.prototype,"authenticationRequired",void 0);D([(0,$t.jsonProperty)([])],O.prototype,"messageContexts",void 0);D([(0,$t.jsonProperty)(void 0)],O.prototype,"session",void 0);var Ho=E(T());var jo={"ft-app-context":O};(0,Ho.customElements)(jo);var Bo=E(et());var kn=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-]+$/)}},pe=new kn;var Oc=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Me=Symbol("i18nAttributes"),Vo=Symbol("i18nListAttributes"),Wo=Symbol("i18nProperties"),br=Symbol("i18nContexts"),Ne=Symbol("i18nUnsubs"),zo=(0,he.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(s){return s??this.useCustomMessageContexts?On:Pe}i18n(s){let{context:o,key:a,message:c}=s,{custom:u,args:l,argsProvider:d}=s;if(o&&a){this.hasI18nContext(o)||this.addI18nContext(o,void 0,u);let f=l??(d?d(this):[]);return this.getI18nService(u).resolveMessage(o,a,...f)}return c}async awaitI18n(s){let{context:o,custom:a}=s;return o&&await this.getI18nService(a).prepareContext(o),this.i18n(s)}customI18n(s,o){if(pe.isI18nKey(s)){let[a,c]=s.split(".");return this.i18n({custom:!0,context:a,key:c,...o})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((o,a,c)=>s.has(a)||typeof o.argsProvider=="function"),this.updateI18nProperties(o=>typeof o.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((o,a,c)=>{var u;return((u=c?.context)===null||u===void 0?void 0:u.toLowerCase())===s}),this.updateI18nProperties(o=>o.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var o,a;let c=this,u=(l,d,f)=>f?.context&&f.key&&s(l,d,f)?{...f,message:this.i18n({context:f.context,key:f.key,custom:f.custom,...l})}:f;(o=this[Me])===null||o===void 0||o.forEach((l,d)=>c[d]=u(l,d,c[d])),(a=this[Vo])===null||a===void 0||a.forEach((l,d)=>{var f;return c[d]=(f=c[d])===null||f===void 0?void 0:f.map(p=>u(l,d,p))})}updateI18nProperties(s){var o;(o=this[Wo])===null||o===void 0||o.forEach((a,c)=>{s(a,c)&&(this[c]=this.i18n(a))})}addI18nMessages(s,o,a){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,o,a)}addI18nContext(s,o,a){let c=(typeof s=="string"?s:s.name).toLowerCase();a=typeof s=="string"?a:s.custom,this[br].set(c,{isCustomContext:a}),this[Ne].has(c)||this[Ne].set(c,this.getI18nService(a).subscribe(c,()=>this.onI18nUpdate(c))),this.getI18nService(a).prepareContext(c,o)}hasI18nContext(s){return this[br].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[br].forEach((s,o)=>this.addI18nContext(o,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Ne].forEach(s=>s()),this[Ne].clear()}}return t=br,r=Ne,Oc([(0,Bo.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Ar=class extends zo(he.FtLitElement){},xr=class extends zo(he.FtLitElementRedux){};var Ko=E(T());var Dn=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?pe.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},Rc=new Dn;var qo=(e,t)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Ko.hasChanged,converter:pe,...t}),r[Me]=(i=r[Me])!==null&&i!==void 0?i:new Map,r[Me].set(n,e??{})};var Go=E(ot());var Yo=Go.css`
|
|
141
|
+
`;var Sr=E(ot()),Er=E(et()),wr=E(T());var Ue=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Z=class extends xr{constructor(){super(),this.editorMode=!1,this.addStore(w)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Sr.nothing:Sr.html`
|
|
161
142
|
<span class="ft-i18n">
|
|
162
143
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
163
144
|
</span>
|
|
164
|
-
`}update(t){var
|
|
145
|
+
`}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:""})}};Z.elementDefinitions={};Z.styles=Yo;Ue([(0,wr.redux)()],Z.prototype,"editorMode",void 0);Ue([(0,Er.property)()],Z.prototype,"context",void 0);Ue([(0,Er.property)()],Z.prototype,"key",void 0);Ue([(0,wr.jsonProperty)([])],Z.prototype,"args",void 0);Ue([(0,Er.property)()],Z.prototype,"defaultMessage",void 0);var Jo=E(T());var Xo={"ft-i18n":Z};(0,Jo.customElements)(Xo);var tt=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},P=class extends Ar{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 Y.Debouncer,this.revealDebouncer=new Y.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 Qo.html`
|
|
165
146
|
<div part="container"
|
|
166
147
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
167
148
|
<slot part="slot"></slot>
|
|
@@ -170,13 +151,13 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ftds-con
|
|
|
170
151
|
popover="manual">
|
|
171
152
|
<div part="tooltip-content" class="ft-tooltip--content">
|
|
172
153
|
<slot name="text"></slot>
|
|
173
|
-
<ft-typography variant="${
|
|
174
|
-
${(
|
|
154
|
+
<ft-typography variant="${Bt.caption}" ?hidden=${!(!((t=this.text)===null||t===void 0)&&t.message)}>
|
|
155
|
+
${(r=this.text)===null||r===void 0?void 0:r.message}
|
|
175
156
|
</ft-typography>
|
|
176
157
|
</div>
|
|
177
158
|
</div>
|
|
178
159
|
</div>
|
|
179
|
-
`}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
|
|
160
|
+
`}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 i=this.text;this.text={message:t},await this.show(r),this.text=i,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&&Ki(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 ${Y.designSystemVariables.transitionDuration}, left ${Y.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,Y.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};P.elementDefinitions={"ft-typography":ct};P.styles=gi;tt([qo()],P.prototype,"text",void 0);tt([(0,X.property)({type:Boolean})],P.prototype,"manual",void 0);tt([(0,X.property)({type:Boolean})],P.prototype,"inline",void 0);tt([(0,Y.numberProperty)()],P.prototype,"delay",void 0);tt([(0,X.property)()],P.prototype,"position",void 0);tt([(0,Y.jsonProperty)([])],P.prototype,"ignoreMatchingElements",void 0);tt([(0,X.queryAssignedNodes)()],P.prototype,"slotNodes",void 0);tt([(0,X.query)(".ft-tooltip--container")],P.prototype,"container",void 0);tt([(0,X.query)(".ft-tooltip")],P.prototype,"tooltip",void 0);tt([(0,X.query)(".ft-tooltip--content")],P.prototype,"tooltipContent",void 0);tt([(0,X.state)()],P.prototype,"visible",void 0);var Zo={"ft-tooltip":P};(0,ta.customElements)(Zo);})();
|
|
180
161
|
/*! Bundled license information:
|
|
181
162
|
|
|
182
163
|
lit-html/lit-html.js:
|