@fluid-topics/ft-search-bar 1.1.37 → 1.1.39

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.
@@ -550,7 +550,7 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
550
550
  position: relative;
551
551
  word-break: break-word;
552
552
  }
553
- `,Fe=["start","end"],De=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),Ae=Math.min,He=Math.max,Me=Math.round,Pe=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-x.top+u.top)/v.y,bottom:(x.bottom-b.bottom+u.bottom)/v.y,left:(b.left-x.left+u.left)/v.x,right:(x.right-b.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=De,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===De?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[b[Ve(m)],b[v[0]],b[v[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==l?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=vo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function vo(t){return lo(t).getComputedStyle(t)}function xo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function wo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:wo(e)}function Oo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?Oo(n.frameElement):[]):e.concat(r,Oo(r,[],o))}function So(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Me(o)!==a||Me(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function ko(t){return po(t)?t:t.contextElement}function No(t){const e=ko(t);if(!fo(e))return Pe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=So(e);let n=(a?Me(o.width):o.width)/i,l=(a?Me(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Pe(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=ko(t);let n=Pe(1);e&&(i?po(i)&&(n=No(i)):n=No(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Pe(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function Lo(t){return Eo(so(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=xo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Lo(t);const l=-o.scrollTop;return"rtl"===vo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?No(t):Pe(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function zo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===vo(o).position||zo(o,e))}function Ro(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Pe(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=xo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Lo(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Wo(t,e){return fo(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&go(i)&&"static"===vo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===vo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Pe(1);const s=Pe(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=xo(o)),fo(o))){const t=Eo(o);l=No(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===vo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=vo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&zo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),n=[...a,i],l=n[0],s=n.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Uo(e,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:No,isElement:po,isRTL:function(t){return"rtl"===vo(t).direction}},Ko=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Fo(t){return function(t){for(let e=t;e;e=Do(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Do(t);e;e=Do(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Do(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Mo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Po extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
553
+ `,Fe=["start","end"],De=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),Ae=Math.min,He=Math.max,Me=Math.round,Pe=t=>({x:t,y:t}),je={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ge(t,e,o){return He(t,Ae(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function Ve(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function Ye(t){return"x"===t?"y":"x"}function Xe(t){return"y"===t?"height":"width"}function Je(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function Qe(t){return Ye(Je(t))}function to(t){return t.replace(/left|right|bottom|top/g,(t=>je[t]))}function eo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function oo(t,e,o){let{reference:i,floating:r}=t;const a=Je(e),n=Qe(e),l=Xe(n),s=Ve(e),c="y"===a,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[l]/2-r[l]/2;let d;switch(s){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(qe(e)){case"start":d[n]-=h*(o&&c?-1:1);break;case"end":d[n]+=h*(o&&c?-1:1)}return d}async function io(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:a,rects:n,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_e(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),g=l[h?"floating"===f?"reference":"floating":f],b=eo(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(g)))||o?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),y="floating"===f?{...n.floating,x:i,y:r}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},x=eo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:s}):y);return{top:(b.top-x.top+u.top)/v.y,bottom:(x.bottom-b.bottom+u.bottom)/v.y,left:(b.left-x.left+u.left)/v.x,right:(x.right-b.right+u.right)/v.x}}function ro(t,e,o){return(t?[...o.filter((e=>qe(e)===t)),...o.filter((e=>qe(e)!==t))]:o.filter((t=>Ve(t)===t))).filter((o=>!t||(qe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const ao=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:a,middlewareData:n,placement:l,platform:s,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=De,autoAlignment:d=!0,...u}=_e(t,e),g=void 0!==f||h===De?ro(f||null,d,h):h,b=await io(e,u),y=(null==(o=n.autoPlacement)?void 0:o.index)||0,m=g[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=qe(t),r=Qe(t),a=Xe(r);let n="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[a]>e.floating[a]&&(n=to(n)),[n,to(n)]}(m,a,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[b[Ve(m)],b[v[0]],b[v[1]]],$=[...(null==(i=n.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=qe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,qe(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==l?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function no(t){return co(t)?(t.nodeName||"").toLowerCase():"#document"}function lo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(co(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function co(t){return t instanceof Node||t instanceof lo(t).Node}function po(t){return t instanceof Element||t instanceof lo(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof lo(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof lo(t).ShadowRoot)}function uo(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=vo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function go(t){return["table","td","th"].includes(no(t))}function bo(t){const e=yo(),o=vo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mo(t){return["html","body","#document"].includes(no(t))}function vo(t){return lo(t).getComputedStyle(t)}function xo(t){return po(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $o(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function wo(t){const e=$o(t);return mo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&uo(e)?e:wo(e)}function Oo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=wo(t),a=r===(null==(i=t.ownerDocument)?void 0:i.body),n=lo(r);return a?e.concat(n,n.visualViewport||[],uo(r)?r:[],n.frameElement&&o?Oo(n.frameElement):[]):e.concat(r,Oo(r,[],o))}function So(t){const e=vo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),a=r?t.offsetWidth:o,n=r?t.offsetHeight:i,l=Me(o)!==a||Me(i)!==n;return l&&(o=a,i=n),{width:o,height:i,$:l}}function ko(t){return po(t)?t:t.contextElement}function No(t){const e=ko(t);if(!fo(e))return Pe(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:a}=So(e);let n=(a?Me(o.width):o.width)/i,l=(a?Me(o.height):o.height)/r;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const Co=Pe(0);function Io(t){const e=lo(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function Eo(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),a=ko(t);let n=Pe(1);e&&(i?po(i)&&(n=No(i)):n=No(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==lo(t))&&e}(a,o,i)?Io(a):Pe(0);let s=(r.left+l.x)/n.x,c=(r.top+l.y)/n.y,p=r.width/n.x,f=r.height/n.y;if(a){const t=lo(a),e=i&&po(i)?lo(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=vo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,a=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=a,o=lo(o).frameElement}}return eo({width:p,height:f,x:s,y:c})}function Lo(t){return Eo(so(t)).left+xo(t).scrollLeft}function Uo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=lo(t),i=so(t),r=o.visualViewport;let a=i.clientWidth,n=i.clientHeight,l=0,s=0;if(r){a=r.width,n=r.height;const t=yo();(!t||t&&"fixed"===e)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:n,x:l,y:s}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=xo(t),i=t.ownerDocument.body,r=He(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=He(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let n=-o.scrollLeft+Lo(t);const l=-o.scrollTop;return"rtl"===vo(i).direction&&(n+=He(e.clientWidth,i.clientWidth)-r),{width:r,height:a,x:n,y:l}}(so(t));else if(po(e))i=function(t,e){const o=Eo(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,a=fo(t)?No(t):Pe(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:r*a.x,y:i*a.y}}(e,o);else{const o=Io(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return eo(i)}function zo(t,e){const o=$o(t);return!(o===e||!po(o)||mo(o))&&("fixed"===vo(o).position||zo(o,e))}function Ro(t,e,o){const i=fo(e),r=so(e),a="fixed"===o,n=Eo(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=Pe(0);if(i||!i&&!a)if(("body"!==no(e)||uo(r))&&(l=xo(e)),i){const t=Eo(e,!0,a,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else r&&(s.x=Lo(r));return{x:n.left+l.scrollLeft-s.x,y:n.top+l.scrollTop-s.y,width:n.width,height:n.height}}function Wo(t,e){return fo(t)&&"fixed"!==vo(t).position?e?e(t):t.offsetParent:null}function Bo(t,e){const o=lo(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&go(i)&&"static"===vo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===vo(i).position&&!bo(i))?o:i||function(t){let e=$o(t);for(;fo(e)&&!mo(e);){if(bo(e))return e;e=$o(e)}return null}(t)||o}const Zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),a=so(o);if(o===a)return e;let n={scrollLeft:0,scrollTop:0},l=Pe(1);const s=Pe(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||uo(a))&&(n=xo(o)),fo(o))){const t=Eo(o);l=No(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-n.scrollLeft*l.x+s.x,y:e.y*l.y-n.scrollTop*l.y+s.y}},getDocumentElement:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const a=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oo(t,[],!1).filter((t=>po(t)&&"body"!==no(t))),r=null;const a="fixed"===vo(t).position;let n=a?$o(t):t;for(;po(n)&&!mo(n);){const e=vo(n),o=bo(n);o||"fixed"!==e.position||(r=null),(a?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||uo(n)&&!o&&zo(t,n))?i=i.filter((t=>t!==n)):r=e,n=$o(n)}return e.set(t,i),i}(e,this._c):[].concat(o),i],n=a[0],l=a.reduce(((t,o)=>{const i=Uo(e,o,r);return t.top=He(i.top,t.top),t.right=Ae(i.right,t.right),t.bottom=Ae(i.bottom,t.bottom),t.left=He(i.left,t.left),t}),Uo(e,n,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Bo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Bo,a=this.getDimensions;return{reference:Ro(e,await r(o),i),floating:{x:0,y:0,...await a(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:No,isElement:po,isRTL:function(t){return"rtl"===vo(t).direction}},Ko=(t,e,o)=>{const i=new Map,r={platform:Zo,...o},a={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:a=[],platform:n}=o,l=a.filter(Boolean),s=await(null==n.isRTL?void 0:n.isRTL(e));let c=await n.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=oo(c,i,s),h=i,d={},u=0;for(let o=0;o<l.length;o++){const{name:a,fn:g}=l[o],{x:b,y,data:m,reset:v}=await g({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:n,elements:{reference:t,floating:e}});p=null!=b?b:p,f=null!=y?y:f,d={...d,[a]:{...d[a],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await n.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:p,y:f}=oo(c,h,s))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:a})};function Fo(t){return function(t){for(let e=t;e;e=Do(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Do(t);e;e=Do(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Do(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ao,Ho,Mo=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Po extends e.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e.Debouncer,this.revealDebouncer=new e.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return o.html`
554
554
  <div part="container"
555
555
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
556
556
  @mouseenter=${this.onHover}
@@ -2767,9 +2767,9 @@ const V=Symbol.for(""),q=t=>{if(t?.r===V)return t?._$litStatic$},Y=t=>({_$litSta
2767
2767
  `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Lr.styles=o.css`
2768
2768
 
2769
2769
  `;const Ur=o.css`
2770
- `,zr=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=zr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let o=Rr.get(t);if(o)e(o);else{const i=zr.subscribe((()=>{o=Rr.get(t),o&&(i(),e(o))}))}}))}}var Wr;const Br=Symbol("clearAfterUnitTest");class Zr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Wr]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=zr.getState().uiLocale,zr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=zr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Wr=Br,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Zr((async(t,e)=>(await Rr.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Zr((async(t,e)=>(await Rr.await()).getCustomMessageContext(t,e))));const Kr=window.FluidTopicsI18nService;var Fr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Dr extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Rr.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
2770
+ `,zr=e.FtReduxStore.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Rr{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=zr.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Rr.build(t):null!==(e=Rr.API)&&void 0!==e?e:Rr.API=Rr.build()}static await(t){return new Promise((e=>{let o=Rr.get(t);if(o)e(o);else{const i=zr.subscribe((()=>{o=Rr.get(t),o&&(i(),e(o))}))}}))}}class Wr{constructor(t=!0,o){var i;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new e.CacheRegistry,this.cache=t?r.commonCache:new e.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rr.await()}clearCache(){this.cache.clearAll()}}var Br;const Zr=Symbol("clearAfterUnitTest");class Kr extends Wr{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Br]=()=>{this.defaultMessages={},this.cache=new e.CacheRegistry,this.listeners={}},this.currentUiLocale=zr.getState().uiLocale,zr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=zr.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var i;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...o};e.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...i){var r,a,n;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(a=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==a?a:{};return new e.ParametrizedLabelResolver(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},l).resolve(o,...i)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>e.delay(0).then((()=>t())).catch((()=>null)))))}}Br=Zr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Kr{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Fr=window.FluidTopicsI18nService;var Dr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};class Ar extends e.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Rr.get(),this.cache=new e.CacheRegistry,this.cleanSessionDebouncer=new e.Debouncer}render(){return o.html`
2771
2771
  <slot></slot>
2772
- `}update(t){super.update(t),t.has("baseUrl")&&(zr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&zr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&zr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&zr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&zr.actions.noCustom(this.noCustom),t.has("editorMode")&&zr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&zr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&zr.actions.session(this.session),t.has("availableUiLocales")&&zr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Kr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Dr.elementDefinitions={},Dr.styles=Ur,Fr([i.property()],Dr.prototype,"baseUrl",void 0),Fr([i.property()],Dr.prototype,"apiIntegrationIdentifier",void 0),Fr([i.property()],Dr.prototype,"uiLocale",void 0),Fr([e.jsonProperty(null)],Dr.prototype,"availableUiLocales",void 0),Fr([e.jsonProperty(null)],Dr.prototype,"metadataConfiguration",void 0),Fr([i.property({type:Boolean})],Dr.prototype,"editorMode",void 0),Fr([i.property({type:Boolean})],Dr.prototype,"noCustom",void 0),Fr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Dr.prototype,"noCustomComponent",void 0),Fr([i.property({type:Boolean})],Dr.prototype,"withManualResources",void 0),Fr([e.jsonProperty([])],Dr.prototype,"messageContexts",void 0),Fr([e.jsonProperty(void 0)],Dr.prototype,"session",void 0),Fr([i.property({type:Object})],Dr.prototype,"apiProvider",void 0);class Ar{async listMySearches(){var t;return(null===(t=zr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Rr.await()).listMySearches(zr.getState().session.profile.userId):[]}}const Hr=new e.CacheRegistry;class Mr{async listMyBookmarks(){return Hr.get("bookmarks",(async()=>(await Rr.await()).listMyBookmarks(zr.getState().session.profile.userId)))}clearCache(){Hr.clear("bookmarks")}}const Pr=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=zr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mr,zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=zr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Pr.actions.savedSearches(void 0)}clearMyBookmarks(){Pr.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Ar,e=await t.listMySearches();Pr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pr.actions.bookmarks(e)}}},e.customElement("ft-app-context")(Dr);var jr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Tr={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Gr extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class _r extends CustomEvent{constructor(t){super("change",{detail:t})}}const Vr=()=>{};class qr extends e.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(Tr,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Cr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new Lr(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=zr.getState().session,this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await e.waitFor((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
2772
+ `}update(t){super.update(t),t.has("baseUrl")&&(zr.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&zr.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&zr.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&zr.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&zr.actions.noCustom(this.noCustom),t.has("editorMode")&&zr.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&zr.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&zr.actions.session(this.session),t.has("availableUiLocales")&&zr.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Ar.elementDefinitions={},Ar.styles=Ur,Dr([i.property()],Ar.prototype,"baseUrl",void 0),Dr([i.property()],Ar.prototype,"apiIntegrationIdentifier",void 0),Dr([i.property()],Ar.prototype,"uiLocale",void 0),Dr([e.jsonProperty(null)],Ar.prototype,"availableUiLocales",void 0),Dr([e.jsonProperty(null)],Ar.prototype,"metadataConfiguration",void 0),Dr([i.property({type:Boolean})],Ar.prototype,"editorMode",void 0),Dr([i.property({type:Boolean})],Ar.prototype,"noCustom",void 0),Dr([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ar.prototype,"noCustomComponent",void 0),Dr([i.property({type:Boolean})],Ar.prototype,"withManualResources",void 0),Dr([e.jsonProperty([])],Ar.prototype,"messageContexts",void 0),Dr([e.jsonProperty(void 0)],Ar.prototype,"session",void 0),Dr([i.property({type:Object})],Ar.prototype,"apiProvider",void 0);class Hr extends Wr{async listMySearches(){let t=zr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Mr extends Wr{async listMyBookmarks(){let t=zr.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Pr=e.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=zr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Mr,this.savedSearchesService=new Hr,zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=zr.getState();e.deepEqual(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Pr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Pr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pr.actions.bookmarks(e)}}},e.customElement("ft-app-context")(Ar);var jr=function(t,e,o,i){for(var r,a=arguments.length,n=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,l=t.length-1;l>=0;l--)(r=t[l])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const Tr={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class Gr extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class _r extends CustomEvent{constructor(t){super("change",{detail:t})}}const Vr=()=>{};class qr extends e.FtLitElement{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new e.ParametrizedLabelResolver(Tr,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>e.serializeRequest(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=l.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Cr(this),this.selectedFacetsManager=new Ir(this),this.desktopSearchBarManager=new Lr(this),this.mobileSearchBarManager=new Er(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=zr.getState().session,this.stateChangeEventDebouncer=new e.Debouncer(10),this.updateLocalesDebouncer=new e.Debouncer(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e.Debouncer(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),zr.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===l.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await e.waitFor((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return o.html`
2773
2773
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2774
2774
  ${this.renderSearchBar()}
2775
2775
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():o.html`
@@ -81,13 +81,13 @@ const _t=globalThis,Vt=_t.trustedTypes,Gt=Vt?Vt.createPolicy("lit-html",{createH
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let ke=class extends Ht{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new me(e.insertBefore(te(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return pe}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Ce=globalThis.litElementPolyfillSupport;Ce?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ee=t=>"string"==typeof t?Et(t):t;class Ie{static create(t,e,o,i){const r=t=>Ee(null!=t?t:i),n=It`var(${Ee(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Ee(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=It`var(${Ee(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Ee(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ee(null!=e?e:t.lastResortDefaultValue()),i=It`var(${Ee(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>It`var(${Ee(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Re(t,e){return Ee(`${t.name}: ${e}`)}const Ue={colorWhite:Ie.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ie.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ie.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ie.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ie.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ie.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ie.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ie.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ie.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ie.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ie.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ie.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ie.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ie.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ie.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ie.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ie.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ie.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ie.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ie.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ie.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ie.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ie.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ie.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ie.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ie.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ie.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ie.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ie.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ie.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ie.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ie.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ie.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ie.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ie.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ie.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ie.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ie.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ie.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ie.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ie.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ie.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ie.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ie.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ie.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ie.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ie.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ie.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ie.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ie.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ie.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ie.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ie.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ie.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ie.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ie.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ie.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ie.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ie.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ie.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ie.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ie.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ie.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ie.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ie.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ie.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ie.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ie.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ie.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ie.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ie.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ie.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ie.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ie.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ie.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ie.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ie.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ie.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ie.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ie.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ie.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ie.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ie.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ie.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ie.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ie.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ie.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ie.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ie.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ie.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ie.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ie.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ie.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ie.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ie.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ie.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ie.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ie.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ie.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ie.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ie.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ie.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ie.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ie.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ie.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ie.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ie.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ie.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ie.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ie.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ie.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ie.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ie.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ie.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ie.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ie.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ie.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ie.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ie.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ie.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ie.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ie.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ie.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ie.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ie.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ie.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ie.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ie.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ie.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ie.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ie.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ie.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ie.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ie.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ie.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ie.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ie.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ie.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ie.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ie.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ie.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ie.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ie.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ie.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ie.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ie.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ie.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ie.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ie.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ie.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ie.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ie.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ie.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ie.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ie.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ie.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ie.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ie.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ie.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ie.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ie.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ie.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ie.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ie.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ie.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ie.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ie.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ie.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ie.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ie.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ie.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ie.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ie.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ie.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ie.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ie.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ie.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ie.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ie.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ie.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ie.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ie.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ie.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ie.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ie.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Ie.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Ie.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Ie.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Ie.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Ie.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Ie.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Ie.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Ie.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Le={display:{fontFamily:Ie.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ie.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ie.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ie.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ie.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ie.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ie.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ie.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ie.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ie.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ie.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ie.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ie.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ie.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ie.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ie.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ie.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ie.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ie.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ie.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ie.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ie.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ie.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ie.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ie.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ie.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ie.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ie.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ie.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ie.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},We={backgroundActionPrimary:Ie.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ue.colorBrand0),backgroundErrorPrimary:Ie.extend("--ft-background-error-primary","Used as background of error components.",Ue.colorRed0),backgroundErrorSubtle:Ie.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ue.colorRed10),backgroundInfoPrimary:Ie.extend("--ft-background-info-primary","Used as background of information components.",Ue.colorCyan200),backgroundInfoSubtle:Ie.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ue.colorCyan10),backgroundWarningPrimary:Ie.extend("--ft-background-warning-primary","Used as background of warning components.",Ue.colorOrange300),backgroundWarningSubtle:Ie.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ue.colorOrange10),backgroundSuccessPrimary:Ie.extend("--ft-background-success-primary","Used as background of success components.",Ue.colorGreen200),backgroundSuccessSubtle:Ie.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ue.colorGreen10),backgroundGlobalSurface:Ie.extend("--ft-background-global-surface","Used as app background.",Ue.colorWhite),backgroundGlobalOnSurface:Ie.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ue.colorGray10),backgroundGlobalOnSurfaceDark:Ie.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ue.colorGray30),contentActionPrimary:Ie.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ue.colorBrand0),contentWarningPrimary:Ie.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ue.colorOrange300),contentWarningIconOnly:Ie.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ue.colorOrange0),contentErrorPrimary:Ie.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ue.colorRed0),contentErrorIconOnly:Ie.extend("--ft-content-error-icon-only","Used on error status icons alone",Ue.colorRed0),contentInfoPrimary:Ie.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ue.colorCyan200),contentInfoIconOnly:Ie.extend("--ft-content-info-icon-only","Used on info status icons alone",Ue.colorCyan0),contentSuccessPrimary:Ie.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ue.colorGreen200),contentSuccessIconOnly:Ie.extend("--ft-content-success-icon-only","Used on success status icons alone",Ue.colorGreen0),contentGlobalPrimary:Ie.extend("--ft-content-global-primary","Used for main content on the page.",Ue.colorGray500),contentGlobalSecondary:Ie.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ue.colorGray200),contentGlobalSubtle:Ie.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ue.colorGray0),contentGlobalOnColor:Ie.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ue.colorWhite),borderActionPrimary:Ie.extend("--ft-border-action-primary","Used as border for primary action components.",Ue.colorBrand0),borderActionFocusRing:Ie.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ue.colorCyan0),borderWarningPrimary:Ie.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ue.colorOrange300),borderWarningSubtle:Ie.extend("--ft-border-warning-subtle","Used as border for warning components.",Ue.colorOrange30),borderSuccessPrimary:Ie.extend("--ft-border-success-primary","Used as border for success buttons.",Ue.colorGreen200),borderSuccessSubtle:Ie.extend("--ft-border-success-subtle","Used as border for success components.",Ue.colorGreen30),borderErrorPrimary:Ie.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ue.colorRed0),borderErrorSubtle:Ie.extend("--ft-border-error-subtle","Used as border for error components.",Ue.colorRed30),borderInfoPrimary:Ie.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ue.colorCyan200),borderInfoSubtle:Ie.extend("--ft-border-info-subtle","Used as border for information components.",Ue.colorCyan30),borderGlobalPrimary:Ie.extend("--ft-border-global-primary","Used as border for element like input.",Ue.colorGray50),borderGlobalSubtle:Ie.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ue.colorGray30),borderInputPrimary:Ie.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ue.colorGray80)},ze={largeHeight:Ie.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ie.extend("--ft-button-large-horizontal-padding","",Ue.spacing4),largeGap:Ie.extend("--ft-button-large-gap","",Ue.spacing2),largeBorderRadius:Ie.extend("--ft-button-large-border-radius","",Ue.borderRadiusS),largeIconSize:Ie.extend("--ft-button-large-icon-size","",Ue.iconSize3),largeBorderWidth:Ie.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ie.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ie.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ie.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ie.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ie.extend("--ft-button-small-horizontal-padding","",Ue.spacing3),smallGap:Ie.extend("--ft-button-small-gap","",Ue.spacing2),smallBorderRadius:Ie.extend("--ft-button-small-border-radius","",Ue.borderRadiusS),smallIconSize:Ie.extend("--ft-button-small-icon-size","",Ue.iconSize2),smallBorderWidth:Ie.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ie.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ie.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ie.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ie.extend("--ft-button-primary-background-color","",We.backgroundActionPrimary),primaryColor:Ie.extend("--ft-button-primary-color","",We.contentGlobalOnColor),primaryIconColor:Ie.extend("--ft-button-primary-icon-color","",We.contentGlobalOnColor),primaryStateLayerColor:Ie.extend("--ft-button-primary-state-layer-color","",We.contentGlobalOnColor),primaryStateLayerOpacityHover:Ie.extend("--ft-button-primary-state-layer-opacity-hover","",Ue.opacity16),primaryStateLayerOpacityFocus:Ie.extend("--ft-button-primary-state-layer-opacity-focus","",Ue.opacity16),primaryStateLayerOpacityActive:Ie.extend("--ft-button-primary-state-layer-opacity-active","",Ue.opacity24),primaryComponentOpacityDisabled:Ie.extend("--ft-button-primary-component-opacity-disabled","",Ue.opacity40),focusFocusRingColor:Ie.extend("--ft-button-focus-focus-ring-color","",We.borderActionFocusRing),tertiaryBackgroundColor:Ie.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ie.extend("--ft-button-tertiary-color","",We.contentActionPrimary),tertiaryIconColor:Ie.extend("--ft-button-tertiary-icon-color","",We.contentActionPrimary),tertiaryStateLayerColor:Ie.extend("--ft-button-tertiary-state-layer-color","",We.contentActionPrimary),tertiaryStateLayerOpacityHover:Ie.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ue.opacity8),tertiaryStateLayerOpacityFocus:Ie.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ue.opacity8),tertiaryStateLayerOpacityActive:Ie.extend("--ft-button-tertiary-state-layer-opacity-active","",Ue.opacity16),tertiaryComponentOpacityDisabled:Ie.extend("--ft-button-tertiary-component-opacity-disabled","",Ue.opacity40),secondaryBackgroundColor:Ie.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ie.extend("--ft-button-secondary-color","",We.contentActionPrimary),secondaryIconColor:Ie.extend("--ft-button-secondary-icon-color","",We.contentActionPrimary),secondaryStateLayerColor:Ie.extend("--ft-button-secondary-state-layer-color","",We.contentActionPrimary),secondaryStateLayerOpacityHover:Ie.extend("--ft-button-secondary-state-layer-opacity-hover","",Ue.opacity8),secondaryStateLayerOpacityFocus:Ie.extend("--ft-button-secondary-state-layer-opacity-focus","",Ue.opacity8),secondaryStateLayerOpacityActive:Ie.extend("--ft-button-secondary-state-layer-opacity-active","",Ue.opacity16),secondaryComponentOpacityDisabled:Ie.extend("--ft-button-secondary-component-opacity-disabled","",Ue.opacity40),secondaryBorderColor:Ie.extend("--ft-button-secondary-border-color","",We.borderActionPrimary),neutralBackgroundColor:Ie.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ie.extend("--ft-button-neutral-icon-color","",We.contentGlobalSecondary),neutralColor:Ie.extend("--ft-button-neutral-color","",We.contentGlobalSecondary),neutralStateLayerColor:Ie.extend("--ft-button-neutral-state-layer-color","",We.contentGlobalSecondary),neutralStateLayerOpacityHover:Ie.extend("--ft-button-neutral-state-layer-opacity-hover","",Ue.opacity8),neutralStateLayerOpacityFocus:Ie.extend("--ft-button-neutral-state-layer-opacity-focus","",Ue.opacity8),neutralStateLayerOpacityActive:Ie.extend("--ft-button-neutral-state-layer-opacity-active","",Ue.opacity16),neutralComponentOpacityDisabled:Ie.extend("--ft-button-neutral-component-opacity-disabled","",Ue.opacity40)};Ie.extend("--ft-floating-menu-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-floating-menu-vertical-padding","",Ue.spacing4),Ie.extend("--ft-floating-menu-off-icon-color","",We.contentGlobalPrimary),Ie.extend("--ft-floating-menu-off-color","",We.contentGlobalPrimary),Ie.extend("--ft-floating-menu-on-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-on-icon-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-gap","",Ue.spacing3),Ie.extend("--ft-floating-menu-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-floating-menu-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-floating-menu-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-floating-menu-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-floating-menu-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-floating-menu-icon-size","",Ue.iconSize3),Ie.extend("--ft-floating-menu-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-tabs-top-left-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tabs-top-right-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tabs-label-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-tabs-label-vertical-padding","",Ue.spacing3),Ie.extend("--ft-tabs-label-gap","",Ue.spacing1),Ie.extend("--ft-tabs-icon-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-tabs-icon-vertical-padding","",Ue.spacing4),Ie.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-tabs-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-tabs-off-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-tabs-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-tabs-off-color","",We.contentGlobalSubtle),Ie.extend("--ft-tabs-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-tabs-on-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-tabs-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-tabs-on-color","",We.contentActionPrimary),Ie.extend("--ft-tabs-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-collapsible-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-collapsible-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-collapsible-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-collapsible-vertical-padding","",Ue.spacing3),Ie.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-collapsible-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-collapsible-color","",We.contentGlobalPrimary),Ie.extend("--ft-collapsible-state-layer-color","",We.contentGlobalPrimary),Ie.extend("--ft-collapsible-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-collapsible-border-color","",We.borderGlobalSubtle),Ie.extend("--ft-collapsible-icon-size","",Ue.iconSize3),Ie.extend("--ft-switch-group-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-switch-group-vertical-padding","",Ue.spacing1),Ie.extend("--ft-switch-group-gap","",Ue.spacing1),Ie.extend("--ft-switch-group-background-color","",We.backgroundGlobalSurface),Ie.extend("--ft-switch-group-border-color","",We.borderGlobalSubtle),Ie.create("--ft-switch-group-border-radius","","SIZE","6px"),Ie.extend("--ft-switch-label-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-switch-label-vertical-padding","",Ue.spacing1),Ie.extend("--ft-switch-icon-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-switch-icon-vertical-padding","",Ue.spacing1),Ie.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-switch-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-switch-option-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-switch-off-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-switch-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-switch-off-color","",We.contentGlobalSubtle),Ie.extend("--ft-switch-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-switch-on-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-switch-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-switch-on-color","",We.contentActionPrimary),Ie.extend("--ft-switch-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-chart-1-light","for area color charts",Ue.colorBrand40),Ie.extend("--ft-chart-1-base","for line charts",Ue.colorBrand0),Ie.extend("--ft-chart-2-light","for area color charts",Ue.colorYellow60),Ie.extend("--ft-chart-2-base","for line charts",Ue.colorYellow100),Ie.extend("--ft-chart-3-light","",Ue.colorUltramarine40),Ie.extend("--ft-chart-3-base","",Ue.colorUltramarine70),Ie.extend("--ft-chart-4-light","",Ue.colorCyan50),Ie.extend("--ft-chart-4-base","",Ue.colorCyan100),Ie.extend("--ft-chart-5-light","",Ue.colorRed40),Ie.extend("--ft-chart-5-base","",Ue.colorRed60),Ie.extend("--ft-chart-6-light","",Ue.colorGreen40),Ie.extend("--ft-chart-6-base","",Ue.colorGreen70),Ie.extend("--ft-chart-7-light","",Ue.colorOrange70),Ie.extend("--ft-chart-7-base","",Ue.colorOrange100),Ie.extend("--ft-chart-8-light","",Ue.colorAvocado70),Ie.extend("--ft-chart-8-base","",Ue.colorAvocado200),Ie.extend("--ft-chart-9-light","",Ue.colorBrown50),Ie.extend("--ft-chart-9-base","",Ue.colorBrown200),Ie.extend("--ft-chart-10-light","",Ue.colorGray50),Ie.extend("--ft-chart-10-base","",Ue.colorGray80),Ie.extend("--ft-chart-monochrome-10","",Ue.colorBrand10),Ie.extend("--ft-chart-monochrome-20","",Ue.colorBrand20),Ie.extend("--ft-chart-monochrome-30","",Ue.colorBrand40),Ie.extend("--ft-chart-monochrome-40","",Ue.colorBrand60),Ie.extend("--ft-chart-monochrome-50","",Ue.colorBrand0),Ie.extend("--ft-chart-monochrome-60","",Ue.colorBrand200),Ie.extend("--ft-chip-large-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-chip-large-vertical-padding","",Ue.spacing2),Ie.extend("--ft-chip-large-gap","",Ue.spacing1),Ie.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-large-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-large-border-width","","SIZE","1px"),Ie.extend("--ft-chip-large-icon-size","",Ue.iconSize3),Ie.extend("--ft-chip-medium-horizontal-padding","",Ue.spacing3),Ie.extend("--ft-chip-medium-vertical-padding","",Ue.spacing1),Ie.extend("--ft-chip-medium-gap","",Ue.spacing1),Ie.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-medium-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-medium-border-width","","SIZE","1px"),Ie.extend("--ft-chip-medium-icon-size","",Ue.iconSize2),Ie.extend("--ft-chip-small-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-chip-small-vertical-padding","",Ue.spacing05),Ie.extend("--ft-chip-small-gap","",Ue.spacing1),Ie.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-small-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-small-border-width","","SIZE","1px"),Ie.extend("--ft-chip-small-icon-size","",Ue.iconSize1),Ie.extend("--ft-chip-neutral-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-chip-neutral-color","",We.contentGlobalPrimary),Ie.extend("--ft-chip-neutral-border-color","",We.borderGlobalSubtle),Ie.extend("--ft-chip-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-chip-info-color","",We.contentInfoPrimary),Ie.extend("--ft-chip-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-chip-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-chip-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-chip-success-border-color","",We.borderSuccessSubtle),Ie.extend("--ft-chip-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-chip-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-chip-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-chip-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-chip-error-color","",We.contentErrorPrimary),Ie.extend("--ft-chip-error-border-color","",We.borderErrorSubtle),Ie.create("--ft-notice-border-width","","SIZE","1px"),Ie.extend("--ft-notice-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-notice-vertical-padding","",Ue.spacing1),Ie.extend("--ft-notice-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-notice-gap","",Ue.spacing2),Ie.extend("--ft-notice-icon-size","",Ue.iconSize3),Ie.extend("--ft-notice-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notice-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-notice-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notice-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notice-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-notice-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-checkbox-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-checkbox-checked-background-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-color","",We.contentGlobalOnColor),Ie.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-checkbox-checked-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-checkbox-unchecked-border-color","",Ue.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-color","",Ue.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-checkbox-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-checkbox-gap","",Ue.spacing3),Ie.extend("--ft-toggle-off-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-toggle-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-toggle-off-background-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-icon-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-on-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-toggle-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-toggle-on-background-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-icon-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-toggle-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-toggle-gap","",Ue.spacing3),Ie.extend("--ft-radio-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-radio-selected-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-radio-selected-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-radio-unselected-state-layer-color","",Ue.colorGray80),Ie.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-radio-unselected-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-radio-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-radio-gap","",Ue.spacing3),Ie.extend("--ft-notification-icon-size","",Ue.iconSize4),Ie.extend("--ft-notification-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-notification-vertical-padding","",Ue.spacing4),Ie.extend("--ft-notification-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notification-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notification-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-notification-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-notification-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-notification-success-border-color","",We.borderSuccessSubtle),Ie.extend("--ft-notification-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notification-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-notification-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-notification-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-notification-error-color","",We.contentErrorPrimary),Ie.extend("--ft-notification-error-border-color","",We.borderErrorSubtle),Ie.extend("--ft-notification-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-notification-border-width","","SIZE","1px"),Ie.extend("--ft-notification-gap-leading","",Ue.spacing2),Ie.extend("--ft-notification-gap-trailing","",Ue.spacing8),Ie.extend("--ft-tooltip-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-tooltip-vertical-padding","",Ue.spacing2),Ie.extend("--ft-tooltip-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tooltip-label","",We.contentGlobalOnColor),Ie.extend("--ft-tooltip-background","",We.contentGlobalPrimary),Ie.extend("--ft-tooltip-background-opacity","",Ue.opacity80),Ie.extend("--ft-tooltip-shadow","",Ue.shadowElevation03);const Fe={colorPrimary:Ie.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ie.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ie.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ie.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ie.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ie.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ie.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ie.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ie.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ie.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ie.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ie.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ie.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ie.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ie.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ie.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ie.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ie.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ie.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ie.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ie.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ie.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ie.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ie.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ie.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ie.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ie.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ie.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ie.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ie.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ie.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ie.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ie.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ie.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ie.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ie.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ie.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ie.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ie.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ie.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ie.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ie.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ie.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ie.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ie.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ie.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ie.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ie.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ie.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ie.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ie.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ie.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ie.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ie.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ie.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ie.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ie.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ie.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ie.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ie.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Be=["start","end"],Ae=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Be[0],e+"-"+Be[1])),[]),De=Math.min,je=Math.max,Ke=Math.round,Me=t=>({x:t,y:t}),Pe={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function Te(t,e,o){return je(t,De(e,o))}function He(t,e){return"function"==typeof t?t(e):t}function _e(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function Ge(t){return"x"===t?"y":"x"}function qe(t){return"y"===t?"height":"width"}function Ye(t){return["top","bottom"].includes(_e(t))?"y":"x"}function Je(t){return Ge(Ye(t))}function Xe(t){return t.replace(/left|right|bottom|top/g,(t=>Pe[t]))}function Qe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function to(t,e,o){let{reference:i,floating:r}=t;const n=Ye(e),a=Je(e),s=qe(a),l=_e(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch(Ve(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function eo(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=He(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[p?"floating"===h?"reference":"floating":h],g=Qe(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),y="floating"===h?{...a.floating,x:i,y:r}:a.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=Qe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+u.top)/m.y,bottom:(x.bottom-g.bottom+u.bottom)/m.y,left:(g.left-x.left+u.left)/m.x,right:(x.right-g.right+u.right)/m.x}}function oo(t,e,o){return(t?[...o.filter((e=>Ve(e)===t)),...o.filter((e=>Ve(e)!==t))]:o.filter((t=>_e(t)===t))).filter((o=>!t||(Ve(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const io=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=Ae,autoAlignment:d=!0,...u}=He(t,e),b=void 0!==h||p===Ae?oo(h||null,d,p):p,g=await eo(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,v=b[y];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=Ve(t),r=Je(t),n=qe(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Xe(a)),[a,Xe(a)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==v)return{reset:{placement:b[0]}};const x=[g[_e(v)],g[m[0]],g[m[1]]],w=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],O=b[y+1];if(O)return{data:{index:y+1,overflows:w},reset:{placement:O}};const $=w.map((t=>{const e=Ve(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=$.filter((t=>t[2].slice(0,Ve(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=S[0])?void 0:r[0])||$[0][0];return N!==s?{data:{index:y+1,overflows:w},reset:{placement:N}}:{}}}};function ro(t){return so(t)?(t.nodeName||"").toLowerCase():"#document"}function no(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ao(t){var e;return null==(e=(so(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function so(t){return t instanceof Node||t instanceof no(t).Node}function lo(t){return t instanceof Element||t instanceof no(t).Element}function co(t){return t instanceof HTMLElement||t instanceof no(t).HTMLElement}function fo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof no(t).ShadowRoot)}function ho(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=yo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function po(t){return["table","td","th"].includes(ro(t))}function uo(t){const e=bo(),o=yo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function bo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function go(t){return["html","body","#document"].includes(ro(t))}function yo(t){return no(t).getComputedStyle(t)}function vo(t){return lo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mo(t){if("html"===ro(t))return t;const e=t.assignedSlot||t.parentNode||fo(t)&&t.host||ao(t);return fo(e)?e.host:e}function xo(t){const e=mo(t);return go(e)?t.ownerDocument?t.ownerDocument.body:t.body:co(e)&&ho(e)?e:xo(e)}function wo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=xo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=no(r);return n?e.concat(a,a.visualViewport||[],ho(r)?r:[],a.frameElement&&o?wo(a.frameElement):[]):e.concat(r,wo(r,[],o))}function Oo(t){const e=yo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=co(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ke(o)!==n||Ke(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function $o(t){return lo(t)?t:t.contextElement}function So(t){const e=$o(t);if(!co(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Oo(e);let a=(n?Ke(o.width):o.width)/i,s=(n?Ke(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const No=Me(0);function ko(t){const e=no(t);return bo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:No}function Co(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=$o(t);let a=Me(1);e&&(i?lo(i)&&(a=So(i)):a=So(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==no(t))&&e}(n,o,i)?ko(n):Me(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=no(n),e=i&&lo(i)?no(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=So(o),e=o.getBoundingClientRect(),i=yo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=no(o).frameElement}}return Qe({width:f,height:h,x:l,y:c})}function Eo(t){return Co(ao(t)).left+vo(t).scrollLeft}function Io(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=no(t),i=ao(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=ao(t),o=vo(t),i=t.ownerDocument.body,r=je(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=je(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Eo(t);const s=-o.scrollTop;return"rtl"===yo(i).direction&&(a+=je(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ao(t));else if(lo(e))i=function(t,e){const o=Co(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=co(t)?So(t):Me(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=ko(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Qe(i)}function Ro(t,e){const o=mo(t);return!(o===e||!lo(o)||go(o))&&("fixed"===yo(o).position||Ro(o,e))}function Uo(t,e,o){const i=co(e),r=ao(e),n="fixed"===o,a=Co(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Me(0);if(i||!i&&!n)if(("body"!==ro(e)||ho(r))&&(s=vo(e)),i){const t=Co(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Eo(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lo(t,e){return co(t)&&"fixed"!==yo(t).position?e?e(t):t.offsetParent:null}function Wo(t,e){const o=no(t);if(!co(t))return o;let i=Lo(t,e);for(;i&&po(i)&&"static"===yo(i).position;)i=Lo(i,e);return i&&("html"===ro(i)||"body"===ro(i)&&"static"===yo(i).position&&!uo(i))?o:i||function(t){let e=mo(t);for(;co(e)&&!go(e);){if(uo(e))return e;e=mo(e)}return null}(t)||o}const zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=co(o),n=ao(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Me(1);const l=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==ro(o)||ho(n))&&(a=vo(o)),co(o))){const t=Co(o);s=So(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ao,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=wo(t,[],!1).filter((t=>lo(t)&&"body"!==ro(t))),r=null;const n="fixed"===yo(t).position;let a=n?mo(t):t;for(;lo(a)&&!go(a);){const e=yo(a),o=uo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ho(a)&&!o&&Ro(t,a))?i=i.filter((t=>t!==a)):r=e,a=mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Io(e,o,r);return t.top=je(i.top,t.top),t.right=De(i.right,t.right),t.bottom=De(i.bottom,t.bottom),t.left=je(i.left,t.left),t}),Io(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Wo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Wo,n=this.getDimensions;return{reference:Uo(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Oo(t)},getScale:So,isElement:lo,isRTL:function(t){return"rtl"===yo(t).direction}},Fo=(t,e,o)=>{const i=new Map,r={platform:zo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=to(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:v,reset:m}=await b({x:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=y?y:h,d={...d,[n]:{...d[n],...v}},m&&u<=50&&(u++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:f,y:h}=to(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Bo(t){return function(t){for(let e=t;e;e=Ao(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ao(t);e;e=Ao(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ao(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
84
+ let ke=class extends Ht{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new me(e.insertBefore(te(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return pe}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Ce=globalThis.litElementPolyfillSupport;Ce?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ee=t=>"string"==typeof t?Et(t):t;class Ie{static create(t,e,o,i){const r=t=>Ee(null!=t?t:i),n=It`var(${Ee(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Ee(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=It`var(${Ee(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Ee(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ee(null!=e?e:t.lastResortDefaultValue()),i=It`var(${Ee(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>It`var(${Ee(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Re(t,e){return Ee(`${t.name}: ${e}`)}const Ue={colorWhite:Ie.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ie.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ie.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ie.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ie.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ie.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ie.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ie.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ie.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ie.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ie.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ie.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ie.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ie.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ie.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ie.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ie.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ie.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ie.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ie.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ie.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ie.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ie.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ie.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ie.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ie.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ie.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ie.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ie.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ie.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ie.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ie.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ie.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ie.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ie.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ie.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ie.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ie.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ie.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ie.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ie.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ie.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ie.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ie.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ie.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ie.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ie.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ie.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ie.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ie.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ie.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ie.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ie.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ie.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ie.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ie.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ie.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ie.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ie.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ie.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ie.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ie.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ie.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ie.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ie.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ie.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ie.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ie.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ie.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ie.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ie.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ie.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ie.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ie.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ie.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ie.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ie.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ie.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ie.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ie.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ie.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ie.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ie.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ie.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ie.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ie.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ie.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ie.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ie.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ie.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ie.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ie.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ie.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ie.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ie.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ie.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ie.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ie.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ie.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ie.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ie.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ie.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ie.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ie.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ie.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ie.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ie.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ie.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ie.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ie.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ie.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ie.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ie.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ie.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ie.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ie.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ie.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ie.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ie.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ie.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ie.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ie.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ie.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ie.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ie.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ie.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ie.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ie.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ie.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ie.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ie.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ie.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ie.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ie.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ie.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ie.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ie.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ie.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ie.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ie.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ie.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ie.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ie.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ie.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ie.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ie.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ie.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ie.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ie.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ie.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ie.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ie.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ie.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ie.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ie.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ie.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ie.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ie.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ie.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ie.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ie.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ie.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ie.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ie.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ie.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ie.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ie.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ie.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ie.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ie.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ie.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ie.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ie.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ie.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ie.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ie.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ie.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ie.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ie.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ie.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ie.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ie.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ie.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ie.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ie.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Ie.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Ie.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Ie.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Ie.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Ie.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Ie.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Ie.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Ie.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Le={display:{fontFamily:Ie.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ie.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ie.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ie.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ie.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ie.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ie.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ie.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ie.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ie.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ie.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ie.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ie.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ie.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ie.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ie.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ie.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ie.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ie.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ie.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ie.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ie.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ie.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ie.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ie.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ie.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ie.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ie.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ie.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ie.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},We={backgroundActionPrimary:Ie.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ue.colorBrand0),backgroundErrorPrimary:Ie.extend("--ft-background-error-primary","Used as background of error components.",Ue.colorRed0),backgroundErrorSubtle:Ie.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ue.colorRed10),backgroundInfoPrimary:Ie.extend("--ft-background-info-primary","Used as background of information components.",Ue.colorCyan200),backgroundInfoSubtle:Ie.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ue.colorCyan10),backgroundWarningPrimary:Ie.extend("--ft-background-warning-primary","Used as background of warning components.",Ue.colorOrange300),backgroundWarningSubtle:Ie.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ue.colorOrange10),backgroundSuccessPrimary:Ie.extend("--ft-background-success-primary","Used as background of success components.",Ue.colorGreen200),backgroundSuccessSubtle:Ie.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ue.colorGreen10),backgroundGlobalSurface:Ie.extend("--ft-background-global-surface","Used as app background.",Ue.colorWhite),backgroundGlobalOnSurface:Ie.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ue.colorGray10),backgroundGlobalOnSurfaceDark:Ie.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ue.colorGray30),contentActionPrimary:Ie.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ue.colorBrand0),contentWarningPrimary:Ie.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ue.colorOrange300),contentWarningIconOnly:Ie.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ue.colorOrange0),contentErrorPrimary:Ie.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ue.colorRed0),contentErrorIconOnly:Ie.extend("--ft-content-error-icon-only","Used on error status icons alone",Ue.colorRed0),contentInfoPrimary:Ie.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ue.colorCyan200),contentInfoIconOnly:Ie.extend("--ft-content-info-icon-only","Used on info status icons alone",Ue.colorCyan0),contentSuccessPrimary:Ie.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ue.colorGreen200),contentSuccessIconOnly:Ie.extend("--ft-content-success-icon-only","Used on success status icons alone",Ue.colorGreen0),contentGlobalPrimary:Ie.extend("--ft-content-global-primary","Used for main content on the page.",Ue.colorGray500),contentGlobalSecondary:Ie.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ue.colorGray200),contentGlobalSubtle:Ie.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ue.colorGray0),contentGlobalOnColor:Ie.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ue.colorWhite),borderActionPrimary:Ie.extend("--ft-border-action-primary","Used as border for primary action components.",Ue.colorBrand0),borderActionFocusRing:Ie.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ue.colorCyan0),borderWarningPrimary:Ie.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ue.colorOrange300),borderWarningSubtle:Ie.extend("--ft-border-warning-subtle","Used as border for warning components.",Ue.colorOrange30),borderSuccessPrimary:Ie.extend("--ft-border-success-primary","Used as border for success buttons.",Ue.colorGreen200),borderSuccessSubtle:Ie.extend("--ft-border-success-subtle","Used as border for success components.",Ue.colorGreen30),borderErrorPrimary:Ie.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ue.colorRed0),borderErrorSubtle:Ie.extend("--ft-border-error-subtle","Used as border for error components.",Ue.colorRed30),borderInfoPrimary:Ie.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ue.colorCyan200),borderInfoSubtle:Ie.extend("--ft-border-info-subtle","Used as border for information components.",Ue.colorCyan30),borderGlobalPrimary:Ie.extend("--ft-border-global-primary","Used as border for element like input.",Ue.colorGray50),borderGlobalSubtle:Ie.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ue.colorGray30),borderInputPrimary:Ie.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ue.colorGray80)},ze={largeHeight:Ie.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ie.extend("--ft-button-large-horizontal-padding","",Ue.spacing4),largeGap:Ie.extend("--ft-button-large-gap","",Ue.spacing2),largeBorderRadius:Ie.extend("--ft-button-large-border-radius","",Ue.borderRadiusS),largeIconSize:Ie.extend("--ft-button-large-icon-size","",Ue.iconSize3),largeBorderWidth:Ie.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ie.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ie.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ie.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ie.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ie.extend("--ft-button-small-horizontal-padding","",Ue.spacing3),smallGap:Ie.extend("--ft-button-small-gap","",Ue.spacing2),smallBorderRadius:Ie.extend("--ft-button-small-border-radius","",Ue.borderRadiusS),smallIconSize:Ie.extend("--ft-button-small-icon-size","",Ue.iconSize2),smallBorderWidth:Ie.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ie.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ie.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ie.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ie.extend("--ft-button-primary-background-color","",We.backgroundActionPrimary),primaryColor:Ie.extend("--ft-button-primary-color","",We.contentGlobalOnColor),primaryIconColor:Ie.extend("--ft-button-primary-icon-color","",We.contentGlobalOnColor),primaryStateLayerColor:Ie.extend("--ft-button-primary-state-layer-color","",We.contentGlobalOnColor),primaryStateLayerOpacityHover:Ie.extend("--ft-button-primary-state-layer-opacity-hover","",Ue.opacity16),primaryStateLayerOpacityFocus:Ie.extend("--ft-button-primary-state-layer-opacity-focus","",Ue.opacity16),primaryStateLayerOpacityActive:Ie.extend("--ft-button-primary-state-layer-opacity-active","",Ue.opacity24),primaryComponentOpacityDisabled:Ie.extend("--ft-button-primary-component-opacity-disabled","",Ue.opacity40),focusFocusRingColor:Ie.extend("--ft-button-focus-focus-ring-color","",We.borderActionFocusRing),tertiaryBackgroundColor:Ie.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ie.extend("--ft-button-tertiary-color","",We.contentActionPrimary),tertiaryIconColor:Ie.extend("--ft-button-tertiary-icon-color","",We.contentActionPrimary),tertiaryStateLayerColor:Ie.extend("--ft-button-tertiary-state-layer-color","",We.contentActionPrimary),tertiaryStateLayerOpacityHover:Ie.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ue.opacity8),tertiaryStateLayerOpacityFocus:Ie.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ue.opacity8),tertiaryStateLayerOpacityActive:Ie.extend("--ft-button-tertiary-state-layer-opacity-active","",Ue.opacity16),tertiaryComponentOpacityDisabled:Ie.extend("--ft-button-tertiary-component-opacity-disabled","",Ue.opacity40),secondaryBackgroundColor:Ie.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ie.extend("--ft-button-secondary-color","",We.contentActionPrimary),secondaryIconColor:Ie.extend("--ft-button-secondary-icon-color","",We.contentActionPrimary),secondaryStateLayerColor:Ie.extend("--ft-button-secondary-state-layer-color","",We.contentActionPrimary),secondaryStateLayerOpacityHover:Ie.extend("--ft-button-secondary-state-layer-opacity-hover","",Ue.opacity8),secondaryStateLayerOpacityFocus:Ie.extend("--ft-button-secondary-state-layer-opacity-focus","",Ue.opacity8),secondaryStateLayerOpacityActive:Ie.extend("--ft-button-secondary-state-layer-opacity-active","",Ue.opacity16),secondaryComponentOpacityDisabled:Ie.extend("--ft-button-secondary-component-opacity-disabled","",Ue.opacity40),secondaryBorderColor:Ie.extend("--ft-button-secondary-border-color","",We.borderActionPrimary),neutralBackgroundColor:Ie.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ie.extend("--ft-button-neutral-icon-color","",We.contentGlobalSecondary),neutralColor:Ie.extend("--ft-button-neutral-color","",We.contentGlobalSecondary),neutralStateLayerColor:Ie.extend("--ft-button-neutral-state-layer-color","",We.contentGlobalSecondary),neutralStateLayerOpacityHover:Ie.extend("--ft-button-neutral-state-layer-opacity-hover","",Ue.opacity8),neutralStateLayerOpacityFocus:Ie.extend("--ft-button-neutral-state-layer-opacity-focus","",Ue.opacity8),neutralStateLayerOpacityActive:Ie.extend("--ft-button-neutral-state-layer-opacity-active","",Ue.opacity16),neutralComponentOpacityDisabled:Ie.extend("--ft-button-neutral-component-opacity-disabled","",Ue.opacity40)};Ie.extend("--ft-floating-menu-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-floating-menu-vertical-padding","",Ue.spacing4),Ie.extend("--ft-floating-menu-off-icon-color","",We.contentGlobalPrimary),Ie.extend("--ft-floating-menu-off-color","",We.contentGlobalPrimary),Ie.extend("--ft-floating-menu-on-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-on-icon-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-floating-menu-gap","",Ue.spacing3),Ie.extend("--ft-floating-menu-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-floating-menu-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-floating-menu-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-floating-menu-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-floating-menu-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-floating-menu-icon-size","",Ue.iconSize3),Ie.extend("--ft-floating-menu-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-tabs-top-left-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tabs-top-right-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tabs-label-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-tabs-label-vertical-padding","",Ue.spacing3),Ie.extend("--ft-tabs-label-gap","",Ue.spacing1),Ie.extend("--ft-tabs-icon-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-tabs-icon-vertical-padding","",Ue.spacing4),Ie.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-tabs-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-tabs-off-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-tabs-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-tabs-off-color","",We.contentGlobalSubtle),Ie.extend("--ft-tabs-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-tabs-on-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-tabs-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-tabs-on-color","",We.contentActionPrimary),Ie.extend("--ft-tabs-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-collapsible-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-collapsible-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-collapsible-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-collapsible-vertical-padding","",Ue.spacing3),Ie.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-collapsible-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-collapsible-color","",We.contentGlobalPrimary),Ie.extend("--ft-collapsible-state-layer-color","",We.contentGlobalPrimary),Ie.extend("--ft-collapsible-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-collapsible-border-color","",We.borderGlobalSubtle),Ie.extend("--ft-collapsible-icon-size","",Ue.iconSize3),Ie.extend("--ft-switch-group-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-switch-group-vertical-padding","",Ue.spacing1),Ie.extend("--ft-switch-group-gap","",Ue.spacing1),Ie.extend("--ft-switch-group-background-color","",We.backgroundGlobalSurface),Ie.extend("--ft-switch-group-border-color","",We.borderGlobalSubtle),Ie.create("--ft-switch-group-border-radius","","SIZE","6px"),Ie.extend("--ft-switch-label-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-switch-label-vertical-padding","",Ue.spacing1),Ie.extend("--ft-switch-icon-horizontal-padding","",Ue.spacing1),Ie.extend("--ft-switch-icon-vertical-padding","",Ue.spacing1),Ie.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-switch-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-switch-option-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-switch-off-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-switch-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-switch-off-color","",We.contentGlobalSubtle),Ie.extend("--ft-switch-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-switch-on-state-layer-opacity-hover","",Ue.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-focus","",Ue.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-active","",Ue.opacity16),Ie.extend("--ft-switch-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-switch-on-color","",We.contentActionPrimary),Ie.extend("--ft-switch-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-chart-1-light","for area color charts",Ue.colorBrand40),Ie.extend("--ft-chart-1-base","for line charts",Ue.colorBrand0),Ie.extend("--ft-chart-2-light","for area color charts",Ue.colorYellow60),Ie.extend("--ft-chart-2-base","for line charts",Ue.colorYellow100),Ie.extend("--ft-chart-3-light","",Ue.colorUltramarine40),Ie.extend("--ft-chart-3-base","",Ue.colorUltramarine70),Ie.extend("--ft-chart-4-light","",Ue.colorCyan50),Ie.extend("--ft-chart-4-base","",Ue.colorCyan100),Ie.extend("--ft-chart-5-light","",Ue.colorRed40),Ie.extend("--ft-chart-5-base","",Ue.colorRed60),Ie.extend("--ft-chart-6-light","",Ue.colorGreen40),Ie.extend("--ft-chart-6-base","",Ue.colorGreen70),Ie.extend("--ft-chart-7-light","",Ue.colorOrange70),Ie.extend("--ft-chart-7-base","",Ue.colorOrange100),Ie.extend("--ft-chart-8-light","",Ue.colorAvocado70),Ie.extend("--ft-chart-8-base","",Ue.colorAvocado200),Ie.extend("--ft-chart-9-light","",Ue.colorBrown50),Ie.extend("--ft-chart-9-base","",Ue.colorBrown200),Ie.extend("--ft-chart-10-light","",Ue.colorGray50),Ie.extend("--ft-chart-10-base","",Ue.colorGray80),Ie.extend("--ft-chart-monochrome-10","",Ue.colorBrand10),Ie.extend("--ft-chart-monochrome-20","",Ue.colorBrand20),Ie.extend("--ft-chart-monochrome-30","",Ue.colorBrand40),Ie.extend("--ft-chart-monochrome-40","",Ue.colorBrand60),Ie.extend("--ft-chart-monochrome-50","",Ue.colorBrand0),Ie.extend("--ft-chart-monochrome-60","",Ue.colorBrand200),Ie.extend("--ft-chip-large-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-chip-large-vertical-padding","",Ue.spacing2),Ie.extend("--ft-chip-large-gap","",Ue.spacing1),Ie.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-large-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-large-border-width","","SIZE","1px"),Ie.extend("--ft-chip-large-icon-size","",Ue.iconSize3),Ie.extend("--ft-chip-medium-horizontal-padding","",Ue.spacing3),Ie.extend("--ft-chip-medium-vertical-padding","",Ue.spacing1),Ie.extend("--ft-chip-medium-gap","",Ue.spacing1),Ie.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-medium-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-medium-border-width","","SIZE","1px"),Ie.extend("--ft-chip-medium-icon-size","",Ue.iconSize2),Ie.extend("--ft-chip-small-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-chip-small-vertical-padding","",Ue.spacing05),Ie.extend("--ft-chip-small-gap","",Ue.spacing1),Ie.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-small-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-chip-small-border-width","","SIZE","1px"),Ie.extend("--ft-chip-small-icon-size","",Ue.iconSize1),Ie.extend("--ft-chip-neutral-background-color","",We.backgroundGlobalOnSurface),Ie.extend("--ft-chip-neutral-color","",We.contentGlobalPrimary),Ie.extend("--ft-chip-neutral-border-color","",We.borderGlobalSubtle),Ie.extend("--ft-chip-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-chip-info-color","",We.contentInfoPrimary),Ie.extend("--ft-chip-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-chip-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-chip-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-chip-success-border-color","",We.borderSuccessSubtle),Ie.extend("--ft-chip-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-chip-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-chip-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-chip-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-chip-error-color","",We.contentErrorPrimary),Ie.extend("--ft-chip-error-border-color","",We.borderErrorSubtle),Ie.create("--ft-notice-border-width","","SIZE","1px"),Ie.extend("--ft-notice-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-notice-vertical-padding","",Ue.spacing1),Ie.extend("--ft-notice-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-notice-gap","",Ue.spacing2),Ie.extend("--ft-notice-icon-size","",Ue.iconSize3),Ie.extend("--ft-notice-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notice-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-notice-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notice-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notice-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-notice-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-checkbox-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-checkbox-checked-background-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-checkbox-checked-color","",We.contentGlobalOnColor),Ie.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-checkbox-checked-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-checkbox-unchecked-border-color","",Ue.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-color","",Ue.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-checkbox-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-checkbox-gap","",Ue.spacing3),Ie.extend("--ft-toggle-off-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-toggle-off-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-toggle-off-background-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-icon-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-off-state-layer-color","",We.contentGlobalSubtle),Ie.extend("--ft-toggle-on-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-toggle-on-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-toggle-on-background-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-icon-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-on-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-toggle-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-toggle-focus-focus-ring-color","",We.borderActionFocusRing),Ie.extend("--ft-toggle-gap","",Ue.spacing3),Ie.extend("--ft-radio-label-color","",We.contentGlobalPrimary),Ie.extend("--ft-radio-selected-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-color","",We.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-radio-selected-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-radio-unselected-state-layer-color","",Ue.colorGray80),Ie.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ue.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ue.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-active","",Ue.opacity24),Ie.extend("--ft-radio-unselected-component-opacity-disabled","",Ue.opacity40),Ie.extend("--ft-radio-focus-focus-ring-color","",We.borderActionFocusRing),Ie.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-radio-gap","",Ue.spacing3),Ie.extend("--ft-notification-icon-size","",Ue.iconSize4),Ie.extend("--ft-notification-horizontal-padding","",Ue.spacing4),Ie.extend("--ft-notification-vertical-padding","",Ue.spacing4),Ie.extend("--ft-notification-info-background-color","",We.backgroundInfoSubtle),Ie.extend("--ft-notification-info-color","",We.contentInfoPrimary),Ie.extend("--ft-notification-info-border-color","",We.borderInfoSubtle),Ie.extend("--ft-notification-success-background-color","",We.backgroundSuccessSubtle),Ie.extend("--ft-notification-success-color","",We.contentSuccessPrimary),Ie.extend("--ft-notification-success-border-color","",We.borderSuccessSubtle),Ie.extend("--ft-notification-warning-background-color","",We.backgroundWarningSubtle),Ie.extend("--ft-notification-warning-color","",We.contentWarningPrimary),Ie.extend("--ft-notification-warning-border-color","",We.borderWarningSubtle),Ie.extend("--ft-notification-error-background-color","",We.backgroundErrorSubtle),Ie.extend("--ft-notification-error-color","",We.contentErrorPrimary),Ie.extend("--ft-notification-error-border-color","",We.borderErrorSubtle),Ie.extend("--ft-notification-border-radius","",Ue.borderRadiusPill),Ie.create("--ft-notification-border-width","","SIZE","1px"),Ie.extend("--ft-notification-gap-leading","",Ue.spacing2),Ie.extend("--ft-notification-gap-trailing","",Ue.spacing8),Ie.extend("--ft-tooltip-horizontal-padding","",Ue.spacing2),Ie.extend("--ft-tooltip-vertical-padding","",Ue.spacing2),Ie.extend("--ft-tooltip-border-radius","",Ue.borderRadiusS),Ie.extend("--ft-tooltip-label","",We.contentGlobalOnColor),Ie.extend("--ft-tooltip-background","",We.contentGlobalPrimary),Ie.extend("--ft-tooltip-background-opacity","",Ue.opacity80),Ie.extend("--ft-tooltip-shadow","",Ue.shadowElevation03);const Fe={colorPrimary:Ie.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ie.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ie.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ie.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ie.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ie.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ie.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ie.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ie.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ie.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ie.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ie.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ie.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ie.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ie.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ie.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ie.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ie.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ie.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ie.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ie.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ie.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ie.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ie.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ie.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ie.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ie.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ie.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ie.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ie.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ie.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ie.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ie.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ie.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ie.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ie.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ie.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ie.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ie.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ie.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ie.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ie.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ie.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ie.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ie.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ie.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ie.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ie.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ie.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ie.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ie.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ie.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ie.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ie.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ie.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ie.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ie.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ie.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ie.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ie.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Be=["start","end"],Ae=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Be[0],e+"-"+Be[1])),[]),De=Math.min,je=Math.max,Ke=Math.round,Me=t=>({x:t,y:t}),Pe={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function Te(t,e,o){return je(t,De(e,o))}function He(t,e){return"function"==typeof t?t(e):t}function _e(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function Ge(t){return"x"===t?"y":"x"}function qe(t){return"y"===t?"height":"width"}function Ye(t){return["top","bottom"].includes(_e(t))?"y":"x"}function Je(t){return Ge(Ye(t))}function Xe(t){return t.replace(/left|right|bottom|top/g,(t=>Pe[t]))}function Qe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function to(t,e,o){let{reference:i,floating:r}=t;const n=Ye(e),a=Je(e),s=qe(a),l=_e(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:h};break;case"left":d={x:i.x-r.width,y:h};break;default:d={x:i.x,y:i.y}}switch(Ve(e)){case"start":d[a]-=p*(o&&c?-1:1);break;case"end":d[a]+=p*(o&&c?-1:1)}return d}async function eo(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=He(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[p?"floating"===h?"reference":"floating":h],g=Qe(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),y="floating"===h?{...a.floating,x:i,y:r}:a.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),m=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},x=Qe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+u.top)/m.y,bottom:(x.bottom-g.bottom+u.bottom)/m.y,left:(g.left-x.left+u.left)/m.x,right:(x.right-g.right+u.right)/m.x}}function oo(t,e,o){return(t?[...o.filter((e=>Ve(e)===t)),...o.filter((e=>Ve(e)!==t))]:o.filter((t=>_e(t)===t))).filter((o=>!t||(Ve(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const io=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=Ae,autoAlignment:d=!0,...u}=He(t,e),b=void 0!==h||p===Ae?oo(h||null,d,p):p,g=await eo(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,v=b[y];if(null==v)return{};const m=function(t,e,o){void 0===o&&(o=!1);const i=Ve(t),r=Je(t),n=qe(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Xe(a)),[a,Xe(a)]}(v,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==v)return{reset:{placement:b[0]}};const x=[g[_e(v)],g[m[0]],g[m[1]]],w=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:v,overflows:x}],O=b[y+1];if(O)return{data:{index:y+1,overflows:w},reset:{placement:O}};const $=w.map((t=>{const e=Ve(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=$.filter((t=>t[2].slice(0,Ve(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=S[0])?void 0:r[0])||$[0][0];return N!==s?{data:{index:y+1,overflows:w},reset:{placement:N}}:{}}}};function ro(t){return so(t)?(t.nodeName||"").toLowerCase():"#document"}function no(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ao(t){var e;return null==(e=(so(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function so(t){return t instanceof Node||t instanceof no(t).Node}function lo(t){return t instanceof Element||t instanceof no(t).Element}function co(t){return t instanceof HTMLElement||t instanceof no(t).HTMLElement}function fo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof no(t).ShadowRoot)}function ho(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=yo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function po(t){return["table","td","th"].includes(ro(t))}function uo(t){const e=bo(),o=yo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function bo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function go(t){return["html","body","#document"].includes(ro(t))}function yo(t){return no(t).getComputedStyle(t)}function vo(t){return lo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mo(t){if("html"===ro(t))return t;const e=t.assignedSlot||t.parentNode||fo(t)&&t.host||ao(t);return fo(e)?e.host:e}function xo(t){const e=mo(t);return go(e)?t.ownerDocument?t.ownerDocument.body:t.body:co(e)&&ho(e)?e:xo(e)}function wo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=xo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=no(r);return n?e.concat(a,a.visualViewport||[],ho(r)?r:[],a.frameElement&&o?wo(a.frameElement):[]):e.concat(r,wo(r,[],o))}function Oo(t){const e=yo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=co(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ke(o)!==n||Ke(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function $o(t){return lo(t)?t:t.contextElement}function So(t){const e=$o(t);if(!co(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Oo(e);let a=(n?Ke(o.width):o.width)/i,s=(n?Ke(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const No=Me(0);function ko(t){const e=no(t);return bo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:No}function Co(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=$o(t);let a=Me(1);e&&(i?lo(i)&&(a=So(i)):a=So(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==no(t))&&e}(n,o,i)?ko(n):Me(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=no(n),e=i&&lo(i)?no(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=So(o),e=o.getBoundingClientRect(),i=yo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=no(o).frameElement}}return Qe({width:f,height:h,x:l,y:c})}function Eo(t){return Co(ao(t)).left+vo(t).scrollLeft}function Io(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=no(t),i=ao(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=ao(t),o=vo(t),i=t.ownerDocument.body,r=je(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=je(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Eo(t);const s=-o.scrollTop;return"rtl"===yo(i).direction&&(a+=je(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ao(t));else if(lo(e))i=function(t,e){const o=Co(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=co(t)?So(t):Me(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=ko(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Qe(i)}function Ro(t,e){const o=mo(t);return!(o===e||!lo(o)||go(o))&&("fixed"===yo(o).position||Ro(o,e))}function Uo(t,e,o){const i=co(e),r=ao(e),n="fixed"===o,a=Co(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Me(0);if(i||!i&&!n)if(("body"!==ro(e)||ho(r))&&(s=vo(e)),i){const t=Co(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Eo(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lo(t,e){return co(t)&&"fixed"!==yo(t).position?e?e(t):t.offsetParent:null}function Wo(t,e){const o=no(t);if(!co(t))return o;let i=Lo(t,e);for(;i&&po(i)&&"static"===yo(i).position;)i=Lo(i,e);return i&&("html"===ro(i)||"body"===ro(i)&&"static"===yo(i).position&&!uo(i))?o:i||function(t){let e=mo(t);for(;co(e)&&!go(e);){if(uo(e))return e;e=mo(e)}return null}(t)||o}const zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=co(o),n=ao(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Me(1);const l=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==ro(o)||ho(n))&&(a=vo(o)),co(o))){const t=Co(o);s=So(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ao,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=wo(t,[],!1).filter((t=>lo(t)&&"body"!==ro(t))),r=null;const n="fixed"===yo(t).position;let a=n?mo(t):t;for(;lo(a)&&!go(a);){const e=yo(a),o=uo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ho(a)&&!o&&Ro(t,a))?i=i.filter((t=>t!==a)):r=e,a=mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Io(e,o,r);return t.top=je(i.top,t.top),t.right=De(i.right,t.right),t.bottom=De(i.bottom,t.bottom),t.left=je(i.left,t.left),t}),Io(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Wo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Wo,n=this.getDimensions;return{reference:Uo(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Oo(t)},getScale:So,isElement:lo,isRTL:function(t){return"rtl"===yo(t).direction}},Fo=(t,e,o)=>{const i=new Map,r={platform:zo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=to(c,i,l),p=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:v,reset:m}=await b({x:f,y:h,initialPlacement:i,placement:p,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=y?y:h,d={...d,[n]:{...d[n],...v}},m&&u<=50&&(u++,"object"==typeof m&&(m.placement&&(p=m.placement),m.rects&&(c=!0===m.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):m.rects),({x:f,y:h}=to(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Bo(t){return function(t){for(let e=t;e;e=Ao(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ao(t);e;e=Ao(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ao(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- const Do=window,jo=Do.ShadowRoot&&(void 0===Do.ShadyCSS||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{jo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Do.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Mo,Po=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Zo=Symbol("constructorPrototype"),To=Symbol("constructorName"),Ho=Symbol("exportpartsDebouncer");class _o extends Ko{constructor(){super(),this[Mo]=new r(5),this[To]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[To]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ho].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Mo=Ho,Po([E()],_o.prototype,"exportpartsPrefix",void 0),Po([D([])],_o.prototype,"exportpartsPrefixes",void 0),Po([E()],_o.prototype,"customStylesheet",void 0);const Vo=Ie.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");It`
90
+ const Do=window,jo=Do.ShadowRoot&&(void 0===Do.ShadyCSS||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{jo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Do.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Mo,Po=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Zo=Symbol("constructorPrototype"),To=Symbol("constructorName"),Ho=Symbol("exportpartsDebouncer");class _o extends Ko{constructor(){super(),this[Mo]=new r(5),this[To]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[To]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ho].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Mo=Ho,Po([E()],_o.prototype,"exportpartsPrefix",void 0),Po([D([])],_o.prototype,"exportpartsPrefixes",void 0),Po([E()],_o.prototype,"customStylesheet",void 0);const Vo=Ie.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");It`
91
91
  .highlight-html-match {
92
92
  background: ${Vo};
93
93
  }
@@ -2914,9 +2914,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2914
2914
  `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Yl.styles=It`
2915
2915
 
2916
2916
  `;const Jl=It`
2917
- `,Xl=Gr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Ql{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Xl.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ql.build(t):null!==(e=Ql.API)&&void 0!==e?e:Ql.API=Ql.build()}static await(t){return new Promise((e=>{let o=Ql.get(t);if(o)e(o);else{const i=Xl.subscribe((()=>{o=Ql.get(t),o&&(i(),e(o))}))}}))}}var tc;const ec=Symbol("clearAfterUnitTest");class oc{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new i,this.listeners={},this.currentUiLocale="",this[tc]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=Xl.getState().uiLocale,Xl.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Xl.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};B(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>z(0).then((()=>t())).catch((()=>null)))))}}tc=ec,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new oc((async(t,e)=>(await Ql.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new oc((async(t,e)=>(await Ql.await()).getCustomMessageContext(t,e))));const ic=window.FluidTopicsI18nService;var rc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class nc extends _o{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ql.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return he`
2917
+ `,Xl=Gr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Ql{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Xl.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ql.build(t):null!==(e=Ql.API)&&void 0!==e?e:Ql.API=Ql.build()}static await(t){return new Promise((e=>{let o=Ql.get(t);if(o)e(o);else{const i=Xl.subscribe((()=>{o=Ql.get(t),o&&(i(),e(o))}))}}))}}class tc{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new i,this.cache=t?r.commonCache:new i}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ql.await()}clearCache(){this.cache.clearAll()}}var ec;const oc=Symbol("clearAfterUnitTest");class ic extends tc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ec]=()=>{this.defaultMessages={},this.cache=new i,this.listeners={}},this.currentUiLocale=Xl.getState().uiLocale,Xl.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Xl.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};B(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Jo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>z(0).then((()=>t())).catch((()=>null)))))}}ec=oc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends ic{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const rc=window.FluidTopicsI18nService;var nc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ac extends _o{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ql.get(),this.cache=new i,this.cleanSessionDebouncer=new r}render(){return he`
2918
2918
  <slot></slot>
2919
- `}update(t){super.update(t),t.has("baseUrl")&&(Xl.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Xl.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Xl.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Xl.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Xl.actions.noCustom(this.noCustom),t.has("editorMode")&&Xl.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Xl.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Xl.actions.session(this.session),t.has("availableUiLocales")&&Xl.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ic.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}nc.elementDefinitions={},nc.styles=Jl,rc([E()],nc.prototype,"baseUrl",void 0),rc([E()],nc.prototype,"apiIntegrationIdentifier",void 0),rc([E()],nc.prototype,"uiLocale",void 0),rc([D(null)],nc.prototype,"availableUiLocales",void 0),rc([D(null)],nc.prototype,"metadataConfiguration",void 0),rc([E({type:Boolean})],nc.prototype,"editorMode",void 0),rc([E({type:Boolean})],nc.prototype,"noCustom",void 0),rc([E({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],nc.prototype,"noCustomComponent",void 0),rc([E({type:Boolean})],nc.prototype,"withManualResources",void 0),rc([D([])],nc.prototype,"messageContexts",void 0),rc([D(void 0)],nc.prototype,"session",void 0),rc([E({type:Object})],nc.prototype,"apiProvider",void 0);class ac{async listMySearches(){var t;return(null===(t=Xl.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ql.await()).listMySearches(Xl.getState().session.profile.userId):[]}}const sc=new i;class lc{async listMyBookmarks(){return sc.get("bookmarks",(async()=>(await Ql.await()).listMyBookmarks(Xl.getState().session.profile.userId)))}clearCache(){sc.clear("bookmarks")}}const cc=Gr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Xl.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new lc,Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Xl.getState();B(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){cc.actions.savedSearches(void 0)}clearMyBookmarks(){cc.actions.bookmarks(void 0)}async reloadMySearches(){const t=new ac,e=await t.listMySearches();cc.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;cc.actions.bookmarks(e)}}},A("ft-app-context")(nc);var fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const hc={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class pc extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class dc extends CustomEvent{constructor(t){super("change",{detail:t})}}const uc=()=>{};class bc extends _o{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Jo(hc,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=un.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Vl(this),this.selectedFacetsManager=new Gl(this),this.desktopSearchBarManager=new Yl(this),this.mobileSearchBarManager=new ql(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Xl.getState().session,this.stateChangeEventDebouncer=new r(10),this.updateLocalesDebouncer=new r(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new r(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===un.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await async function(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await z(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return he`
2919
+ `}update(t){super.update(t),t.has("baseUrl")&&(Xl.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Xl.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Xl.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Xl.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Xl.actions.noCustom(this.noCustom),t.has("editorMode")&&Xl.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Xl.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Xl.actions.session(this.session),t.has("availableUiLocales")&&Xl.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>rc.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}ac.elementDefinitions={},ac.styles=Jl,nc([E()],ac.prototype,"baseUrl",void 0),nc([E()],ac.prototype,"apiIntegrationIdentifier",void 0),nc([E()],ac.prototype,"uiLocale",void 0),nc([D(null)],ac.prototype,"availableUiLocales",void 0),nc([D(null)],ac.prototype,"metadataConfiguration",void 0),nc([E({type:Boolean})],ac.prototype,"editorMode",void 0),nc([E({type:Boolean})],ac.prototype,"noCustom",void 0),nc([E({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],ac.prototype,"noCustomComponent",void 0),nc([E({type:Boolean})],ac.prototype,"withManualResources",void 0),nc([D([])],ac.prototype,"messageContexts",void 0),nc([D(void 0)],ac.prototype,"session",void 0),nc([E({type:Object})],ac.prototype,"apiProvider",void 0);class sc extends tc{async listMySearches(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class lc extends tc{async listMyBookmarks(){let t=Xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const cc=Gr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Xl.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new lc,this.savedSearchesService=new sc,Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Xl.getState();B(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),cc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),cc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();cc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;cc.actions.bookmarks(e)}}},A("ft-app-context")(ac);var fc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const hc={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class pc extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class dc extends CustomEvent{constructor(t){super("change",{detail:t})}}const uc=()=>{};class bc extends _o{isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}constructor(){super(),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Jo(hc,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=un.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new Vl(this),this.selectedFacetsManager=new Gl(this),this.desktopSearchBarManager=new Yl(this),this.mobileSearchBarManager=new ql(this,this.selectedFacetsManager,this.suggestManager),this.currentSession=Xl.getState().session,this.stateChangeEventDebouncer=new r(10),this.updateLocalesDebouncer=new r(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new r(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction(),Xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===un.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(t=!1){this.reactToFocus=t,await async function(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await z(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}((()=>this.input),50),this.input.focus(),t||this.enableFocusReactionOnAnyUserInteraction()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return he`
2920
2920
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2921
2921
  ${this.renderSearchBar()}
2922
2922
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():he`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-bar",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "Search bar component using Fluid Topics public API",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,23 +19,23 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-accordion": "1.1.37",
23
- "@fluid-topics/ft-app-context": "1.1.37",
24
- "@fluid-topics/ft-button": "1.1.37",
25
- "@fluid-topics/ft-chip": "1.1.37",
26
- "@fluid-topics/ft-filter": "1.1.37",
27
- "@fluid-topics/ft-icon": "1.1.37",
28
- "@fluid-topics/ft-select": "1.1.37",
29
- "@fluid-topics/ft-size-watcher": "1.1.37",
30
- "@fluid-topics/ft-skeleton": "1.1.37",
31
- "@fluid-topics/ft-snap-scroll": "1.1.37",
32
- "@fluid-topics/ft-tooltip": "1.1.37",
33
- "@fluid-topics/ft-typography": "1.1.37",
34
- "@fluid-topics/ft-wc-utils": "1.1.37",
22
+ "@fluid-topics/ft-accordion": "1.1.39",
23
+ "@fluid-topics/ft-app-context": "1.1.39",
24
+ "@fluid-topics/ft-button": "1.1.39",
25
+ "@fluid-topics/ft-chip": "1.1.39",
26
+ "@fluid-topics/ft-filter": "1.1.39",
27
+ "@fluid-topics/ft-icon": "1.1.39",
28
+ "@fluid-topics/ft-select": "1.1.39",
29
+ "@fluid-topics/ft-size-watcher": "1.1.39",
30
+ "@fluid-topics/ft-skeleton": "1.1.39",
31
+ "@fluid-topics/ft-snap-scroll": "1.1.39",
32
+ "@fluid-topics/ft-tooltip": "1.1.39",
33
+ "@fluid-topics/ft-typography": "1.1.39",
34
+ "@fluid-topics/ft-wc-utils": "1.1.39",
35
35
  "lit": "3.1.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@fluid-topics/public-api": "1.0.59"
38
+ "@fluid-topics/public-api": "1.0.60"
39
39
  },
40
- "gitHead": "a2f1f35da13aa0735c3765b8149fc7564593a7ed"
40
+ "gitHead": "a9b7f979a6e94b58571a61de90a4b2655800690d"
41
41
  }