@fluid-topics/ft-search-input 1.1.36 → 1.1.38

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.
@@ -527,7 +527,7 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
527
527
  position: relative;
528
528
  word-break: break-word;
529
529
  }
530
- `,jo=["start","end"],_o=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+jo[0],o+"-"+jo[1])),[]),Yo=Math.min,Vo=Math.max,qo=Math.round,Xo=t=>({x:t,y:t}),Jo={left:"right",right:"left",bottom:"top",top:"bottom"},Qo={start:"end",end:"start"};function te(t,o,e){return Vo(t,Yo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function re(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return re(ae(t))}function se(t){return t.replace(/left|right|bottom|top/g,(t=>Jo[t]))}function ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:i,floating:r}=t;const n=ae(o),a=le(o),l=ne(a),s=ee(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(ie(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function fe(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=oe(o,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}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function de(t,o,e){return(t?[...e.filter((o=>ie(o)===t)),...e.filter((o=>ie(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Qo[t]))}(e)!==e)))}const he=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=_o,autoAlignment:h=!0,...u}=oe(t,o),g=void 0!==f||d===_o?de(f||null,h,d):d,y=await fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=ie(t),r=le(t),n=ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=se(a)),[a,se(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ee(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=ie(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,ie(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ue(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ye(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ne(t){return["table","td","th"].includes(ue(t))}function Se(t){const o=we(),e=Ee(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function we(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(t){return["html","body","#document"].includes(ue(t))}function Ee(t){return ge(t).getComputedStyle(t)}function $e(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ie(t){if("html"===ue(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ye(t);return ve(o)?o.host:o}function Ue(t){const o=Ie(t);return Ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:Ue(o)}function Re(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Ue(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ge(r);return n?o.concat(a,a.visualViewport||[],Oe(r)?r:[],a.frameElement&&e?Re(a.frameElement):[]):o.concat(r,Re(r,[],e))}function ke(t){const o=Ee(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=xe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=qo(e)!==n||qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function We(t){return me(t)?t:t.contextElement}function Le(t){const o=We(t);if(!xe(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=ke(o);let a=(n?qo(e.width):e.width)/i,l=(n?qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ke=Xo(0);function Ae(t){const o=ge(t);return we()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ke}function Ze(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=We(t);let a=Xo(1);o&&(i?me(i)&&(a=Le(i)):a=Le(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,i)?Ae(n):Xo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ge(n),o=i&&me(i)?ge(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Le(e),o=e.getBoundingClientRect(),i=Ee(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=ge(e).frameElement}}return ce({width:p,height:f,x:s,y:c})}function ze(t){return Ze(ye(t)).left+$e(t).scrollLeft}function De(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ge(t),i=ye(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=we();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=ye(t),e=$e(t),i=t.ownerDocument.body,r=Vo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Vo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+ze(t);const l=-e.scrollTop;return"rtl"===Ee(i).direction&&(a+=Vo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ye(t));else if(me(o))i=function(t,o){const e=Ze(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=xe(t)?Le(t):Xo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ae(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ce(i)}function Fe(t,o){const e=Ie(t);return!(e===o||!me(e)||Ce(e))&&("fixed"===Ee(e).position||Fe(e,o))}function Be(t,o,e){const i=xe(o),r=ye(o),n="fixed"===e,a=Ze(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ue(o)||Oe(r))&&(l=$e(o)),i){const t=Ze(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=ze(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Te(t,o){return xe(t)&&"fixed"!==Ee(t).position?o?o(t):t.offsetParent:null}function He(t,o){const e=ge(t);if(!xe(t))return e;let i=Te(t,o);for(;i&&Ne(i)&&"static"===Ee(i).position;)i=Te(i,o);return i&&("html"===ue(i)||"body"===ue(i)&&"static"===Ee(i).position&&!Se(i))?e:i||function(t){let o=Ie(t);for(;xe(o)&&!Ce(o);){if(Se(o))return o;o=Ie(o)}return null}(t)||e}const Pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=xe(e),n=ye(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ue(e)||Oe(n))&&(a=$e(e)),xe(e))){const t=Ze(e);l=Le(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:ye,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Re(t,[],!1).filter((t=>me(t)&&"body"!==ue(t))),r=null;const n="fixed"===Ee(t).position;let a=n?Ie(t):t;for(;me(a)&&!Ce(a);){const o=Ee(a),e=Se(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Oe(a)&&!e&&Fe(t,a))?i=i.filter((t=>t!==a)):r=o,a=Ie(a)}return o.set(t,i),i}(o,this._c):[].concat(e),a=[...n,i],l=a[0],s=a.reduce(((t,e)=>{const i=De(o,e,r);return t.top=Vo(i.top,t.top),t.right=Yo(i.right,t.right),t.bottom=Yo(i.bottom,t.bottom),t.left=Vo(i.left,t.left),t}),De(o,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:He,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||He,n=this.getDimensions;return{reference:Be(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ke(t)},getScale:Le,isElement:me,isRTL:function(t){return"rtl"===Ee(t).direction}},Me=(t,o,e)=>{const i=new Map,r={platform:Pe,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=pe(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=pe(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ge(t){return function(t){for(let o=t;o;o=je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=je(t);o;o=je(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var _e,Ye,Ve=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends o.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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
530
+ `,jo=["start","end"],_o=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+jo[0],o+"-"+jo[1])),[]),Yo=Math.min,Vo=Math.max,qo=Math.round,Xo=t=>({x:t,y:t}),Jo={left:"right",right:"left",bottom:"top",top:"bottom"},Qo={start:"end",end:"start"};function te(t,o,e){return Vo(t,Yo(o,e))}function oe(t,o){return"function"==typeof t?t(o):t}function ee(t){return t.split("-")[0]}function ie(t){return t.split("-")[1]}function re(t){return"x"===t?"y":"x"}function ne(t){return"y"===t?"height":"width"}function ae(t){return["top","bottom"].includes(ee(t))?"y":"x"}function le(t){return re(ae(t))}function se(t){return t.replace(/left|right|bottom|top/g,(t=>Jo[t]))}function ce(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function pe(t,o,e){let{reference:i,floating:r}=t;const n=ae(o),a=le(o),l=ne(a),s=ee(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:p,y:i.y-r.height};break;case"bottom":h={x:p,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:f};break;case"left":h={x:i.x-r.width,y:f};break;default:h={x:i.x,y:i.y}}switch(ie(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function fe(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=oe(o,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}}(h),g=l[d?"floating"===f?"reference":"floating":f],y=ce(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:s})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ce(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+u.top)/x.y,bottom:(v.bottom-y.bottom+u.bottom)/x.y,left:(y.left-v.left+u.left)/x.x,right:(v.right-y.right+u.right)/x.x}}function de(t,o,e){return(t?[...e.filter((o=>ie(o)===t)),...e.filter((o=>ie(o)!==t))]:e.filter((t=>ee(t)===t))).filter((e=>!t||(ie(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Qo[t]))}(e)!==e)))}const he=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:d=_o,autoAlignment:h=!0,...u}=oe(t,o),g=void 0!==f||d===_o?de(f||null,h,d):d,y=await fe(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=ie(t),r=le(t),n=ne(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=se(a)),[a,se(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const v=[y[ee(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=g[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=ie(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,ie(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ue(t){return be(t)?(t.nodeName||"").toLowerCase():"#document"}function ge(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ye(t){var o;return null==(o=(be(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function be(t){return t instanceof Node||t instanceof ge(t).Node}function me(t){return t instanceof Element||t instanceof ge(t).Element}function xe(t){return t instanceof HTMLElement||t instanceof ge(t).HTMLElement}function ve(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ge(t).ShadowRoot)}function Oe(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Ne(t){return["table","td","th"].includes(ue(t))}function Se(t){const o=we(),e=Ee(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function we(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ce(t){return["html","body","#document"].includes(ue(t))}function Ee(t){return ge(t).getComputedStyle(t)}function $e(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ie(t){if("html"===ue(t))return t;const o=t.assignedSlot||t.parentNode||ve(t)&&t.host||ye(t);return ve(o)?o.host:o}function Ue(t){const o=Ie(t);return Ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:xe(o)&&Oe(o)?o:Ue(o)}function Re(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Ue(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ge(r);return n?o.concat(a,a.visualViewport||[],Oe(r)?r:[],a.frameElement&&e?Re(a.frameElement):[]):o.concat(r,Re(r,[],e))}function ke(t){const o=Ee(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=xe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=qo(e)!==n||qo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function We(t){return me(t)?t:t.contextElement}function Le(t){const o=We(t);if(!xe(o))return Xo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=ke(o);let a=(n?qo(e.width):e.width)/i,l=(n?qo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ke=Xo(0);function Ae(t){const o=ge(t);return we()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ke}function Ze(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=We(t);let a=Xo(1);o&&(i?me(i)&&(a=Le(i)):a=Le(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ge(t))&&o}(n,e,i)?Ae(n):Xo(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ge(n),o=i&&me(i)?ge(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Le(e),o=e.getBoundingClientRect(),i=Ee(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,p*=t.x,f*=t.y,s+=r,c+=n,e=ge(e).frameElement}}return ce({width:p,height:f,x:s,y:c})}function ze(t){return Ze(ye(t)).left+$e(t).scrollLeft}function De(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=ge(t),i=ye(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=we();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=ye(t),e=$e(t),i=t.ownerDocument.body,r=Vo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Vo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+ze(t);const l=-e.scrollTop;return"rtl"===Ee(i).direction&&(a+=Vo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(ye(t));else if(me(o))i=function(t,o){const e=Ze(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=xe(t)?Le(t):Xo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ae(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return ce(i)}function Fe(t,o){const e=Ie(t);return!(e===o||!me(e)||Ce(e))&&("fixed"===Ee(e).position||Fe(e,o))}function Be(t,o,e){const i=xe(o),r=ye(o),n="fixed"===e,a=Ze(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Xo(0);if(i||!i&&!n)if(("body"!==ue(o)||Oe(r))&&(l=$e(o)),i){const t=Ze(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=ze(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Te(t,o){return xe(t)&&"fixed"!==Ee(t).position?o?o(t):t.offsetParent:null}function He(t,o){const e=ge(t);if(!xe(t))return e;let i=Te(t,o);for(;i&&Ne(i)&&"static"===Ee(i).position;)i=Te(i,o);return i&&("html"===ue(i)||"body"===ue(i)&&"static"===Ee(i).position&&!Se(i))?e:i||function(t){let o=Ie(t);for(;xe(o)&&!Ce(o);){if(Se(o))return o;o=Ie(o)}return null}(t)||e}const Pe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=xe(e),n=ye(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Xo(1);const s=Xo(0);if((r||!r&&"fixed"!==i)&&(("body"!==ue(e)||Oe(n))&&(a=$e(e)),xe(e))){const t=Ze(e);l=Le(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:ye,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Re(t,[],!1).filter((t=>me(t)&&"body"!==ue(t))),r=null;const n="fixed"===Ee(t).position;let a=n?Ie(t):t;for(;me(a)&&!Ce(a);){const o=Ee(a),e=Se(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Oe(a)&&!e&&Fe(t,a))?i=i.filter((t=>t!==a)):r=o,a=Ie(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=De(o,e,r);return t.top=Vo(i.top,t.top),t.right=Yo(i.right,t.right),t.bottom=Yo(i.bottom,t.bottom),t.left=Vo(i.left,t.left),t}),De(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:He,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||He,n=this.getDimensions;return{reference:Be(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ke(t)},getScale:Le,isElement:me,isRTL:function(t){return"rtl"===Ee(t).direction}},Me=(t,o,e)=>{const i=new Map,r={platform:Pe,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=pe(c,i,s),d=i,h={},u=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:x}=await g({x:p,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=y?y:p,f=null!=b?b:f,h={...h,[n]:{...h[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=pe(c,d,s))),e=-1)}return{x:p,y:f,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ge(t){return function(t){for(let o=t;o;o=je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=je(t);o;o=je(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var _e,Ye,Ve=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends o.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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
531
531
  <div part="container"
532
532
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
533
533
  @mouseenter=${this.onHover}
@@ -883,14 +883,14 @@ const Zo=Symbol.for(""),zo=t=>{if(t?.r===Zo)return t?._$litStatic$},Do=t=>({_$li
883
883
  border-right: 1px solid ${pi.colorOutline};
884
884
  }
885
885
  `;var di,hi,ui,gi,yi,bi,mi,xi,vi,Oi,Ni,Si,wi,Ci,Ei,$i,Ii,Ui;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function s(t){this.map={},t instanceof s?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function f(t){var o=new FileReader,e=p(o);return o.readAsArrayBuffer(t),e}function d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,o,e,i=c(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,o=new FileReader,e=p(o),o.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),i=0;i<o.length;i++)e[i]=String.fromCharCode(o[i]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},s.prototype.delete=function(t){delete this.map[n(t)]},s.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},s.prototype.set=function(t,o){this.map[n(t)]=a(o)},s.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),l(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),l(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),l(t)},e.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,o){var e,i,r=(o=o||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new s(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new s(o.headers)),this.method=(e=o.method||this.method||"GET",i=e.toUpperCase(),u.indexOf(i)>-1?i:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),i=e.shift().replace(/\+/g," "),r=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(i),decodeURIComponent(r))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new s(o.headers),this.url=o.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function x(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;function c(){l.abort()}l.onload=function(){var t,o,e={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",o=new s,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),i=e.shift().trim();if(i){var r=e.join(":").trim();o.append(i,r)}})),o)};e.url="responseURL"in l?l.responseURL:e.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new b(i,e))},l.onerror=function(){n(new TypeError("Network request failed"))},l.ontimeout=function(){n(new TypeError("Network request failed"))},l.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},l.open(a.method,a.url,!0),"include"===a.credentials?l.withCredentials=!0:"omit"===a.credentials&&(l.withCredentials=!1),"responseType"in l&&e.blob&&(l.responseType="blob"),a.headers.forEach((function(t,o){l.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),l.onreadystatechange=function(){4===l.readyState&&a.signal.removeEventListener("abort",c)}),l.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,t.fetch||(t.fetch=x,t.Headers=s,t.Request=g,t.Response=b),o.Headers=s,o.Request=g,o.Response=b,o.fetch=x,Object.defineProperty(o,"t",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(di||(di={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(hi||(hi={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(ui||(ui={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(gi||(gi={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(yi||(yi={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(bi||(bi={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(mi||(mi={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(xi||(xi={})),function(t){t.ASC="ASC",t.DESC="DESC"}(vi||(vi={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Oi||(Oi={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Ni||(Ni={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Si||(Si={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(wi||(wi={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ci||(Ci={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ei||(Ei={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}($i||($i={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ii||(Ii={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ui||(Ui={})),Ii.PERSONAL_BOOK_SHARE_USER,Ii.PERSONAL_BOOK_USER,Ii.HTML_EXPORT_USER,Ii.PERSONAL_BOOK_USER,Ii.PDF_EXPORT_USER,Ii.PERSONAL_BOOK_USER,Ii.KHUB_ADMIN,Ii.CONTENT_PUBLISHER,Ii.ADMIN,Ii.KHUB_ADMIN,Ii.USERS_ADMIN,Ii.PORTAL_ADMIN,Ii.DEVELOPER,Ii.BETA_USER,Ii.DEBUG_USER;const Ri=e.css`
886
- `,ki=o.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 Wi{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ki.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?Wi.build(t):null!==(o=Wi.API)&&void 0!==o?o:Wi.API=Wi.build()}static await(t){return new Promise((o=>{let e=Wi.get(t);if(e)o(e);else{const i=ki.subscribe((()=>{e=Wi.get(t),e&&(i(),o(e))}))}}))}}var Li;const Ki=Symbol("clearAfterUnitTest");class Ai{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={},this.currentUiLocale="",this[Li]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ki.getState().uiLocale,ki.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ki.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...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,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}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=>o.delay(0).then((()=>t())).catch((()=>null)))))}}Li=Ki,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ai((async(t,o)=>(await Wi.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ai((async(t,o)=>(await Wi.await()).getCustomMessageContext(t,o))));const Zi=window.FluidTopicsI18nService,zi=window.FluidTopicsCustomI18nService;var Di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fi extends o.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=()=>Wi.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
886
+ `,ki=o.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 Wi{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=ki.getState(),i=null!=t?t:e;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static get(t){var o;return null!=t?Wi.build(t):null!==(o=Wi.API)&&void 0!==o?o:Wi.API=Wi.build()}static await(t){return new Promise((o=>{let e=Wi.get(t);if(e)o(e);else{const i=ki.subscribe((()=>{e=Wi.get(t),e&&(i(),o(e))}))}}))}}class Li{constructor(t=!0,e){var i;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(i=r.commonCache)&&void 0!==i?i:new o.CacheRegistry,this.cache=t?r.commonCache:new o.CacheRegistry}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Wi.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Wi.await()}clearCache(){this.cache.clearAll()}}var Ki;const Ai=Symbol("clearAfterUnitTest");class Zi extends Li{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ki]=()=>{this.defaultMessages={},this.cache=new o.CacheRegistry,this.listeners={}},this.currentUiLocale=ki.getState().uiLocale,ki.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ki.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var i;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},...e};o.deepEqual(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...i){var r,n,a;t=t.toLowerCase(),this.fetchContext(t);const l=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new o.ParametrizedLabelResolver(null!==(a=this.defaultMessages[t])&&void 0!==a?a:{},l).resolve(e,...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,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}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=>o.delay(0).then((()=>t())).catch((()=>null)))))}}Ki=Ai,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Zi{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Zi{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const zi=window.FluidTopicsI18nService,Di=window.FluidTopicsCustomI18nService;var Fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Bi extends o.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=()=>Wi.get(),this.cache=new o.CacheRegistry,this.cleanSessionDebouncer=new o.Debouncer}render(){return e.html`
887
887
  <slot></slot>
888
- `}update(t){super.update(t),t.has("baseUrl")&&(ki.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ki.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ki.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ki.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ki.actions.noCustom(this.noCustom),t.has("editorMode")&&ki.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ki.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ki.actions.session(this.session),t.has("availableUiLocales")&&ki.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Zi.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()))}}Fi.elementDefinitions={},Fi.styles=Ri,Di([i.property()],Fi.prototype,"baseUrl",void 0),Di([i.property()],Fi.prototype,"apiIntegrationIdentifier",void 0),Di([i.property()],Fi.prototype,"uiLocale",void 0),Di([o.jsonProperty(null)],Fi.prototype,"availableUiLocales",void 0),Di([o.jsonProperty(null)],Fi.prototype,"metadataConfiguration",void 0),Di([i.property({type:Boolean})],Fi.prototype,"editorMode",void 0),Di([i.property({type:Boolean})],Fi.prototype,"noCustom",void 0),Di([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Fi.prototype,"noCustomComponent",void 0),Di([i.property({type:Boolean})],Fi.prototype,"withManualResources",void 0),Di([o.jsonProperty([])],Fi.prototype,"messageContexts",void 0),Di([o.jsonProperty(void 0)],Fi.prototype,"session",void 0),Di([i.property({type:Object})],Fi.prototype,"apiProvider",void 0);class Bi{async listMySearches(){var t;return(null===(t=ki.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Wi.await()).listMySearches(ki.getState().session.profile.userId):[]}}const Ti=new o.CacheRegistry;class Hi{async listMyBookmarks(){return Ti.get("bookmarks",(async()=>(await Wi.await()).listMyBookmarks(ki.getState().session.profile.userId)))}clearCache(){Ti.clear("bookmarks")}}const Pi=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ki.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Hi,ki.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ki.getState();o.deepEqual(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(){Pi.actions.savedSearches(void 0)}clearMyBookmarks(){Pi.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Bi,o=await t.listMySearches();Pi.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pi.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Fi);class Mi extends Event{constructor(){super(Mi.eventName)}}Mi.eventName="search-context-clear-all-filters";var Gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _i=Symbol("registerInterval");class Yi extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_i]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_i]):this.dispatchEvent(new ji)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=_i,Gi([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Vi=e.css`
889
- `;var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Xi=Symbol("i18nAttributes"),Ji=Symbol("i18nProperties"),Qi=Symbol("i18nUnsubs");function tr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?zi:Zi}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o,e;null===(o=this[Xi])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[Ji])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Xi])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[Ji])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Ji])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[Xi])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Qi].has(t)||this[Qi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Qi].forEach((t=>t())),this[Qi].clear()}}return o=Qi,qi([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class or extends(tr(o.FtLitElement)){}class er extends(tr(o.FtLitElementRedux)){}var ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends er{constructor(){super(),this.editorMode=!1,this.addStore(ki)}render(){return this.key&&this.context?e.html`
888
+ `}update(t){super.update(t),t.has("baseUrl")&&(ki.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&ki.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ki.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&ki.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&ki.actions.noCustom(this.noCustom),t.has("editorMode")&&ki.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&ki.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&ki.actions.session(this.session),t.has("availableUiLocales")&&ki.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>zi.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()))}}Bi.elementDefinitions={},Bi.styles=Ri,Fi([i.property()],Bi.prototype,"baseUrl",void 0),Fi([i.property()],Bi.prototype,"apiIntegrationIdentifier",void 0),Fi([i.property()],Bi.prototype,"uiLocale",void 0),Fi([o.jsonProperty(null)],Bi.prototype,"availableUiLocales",void 0),Fi([o.jsonProperty(null)],Bi.prototype,"metadataConfiguration",void 0),Fi([i.property({type:Boolean})],Bi.prototype,"editorMode",void 0),Fi([i.property({type:Boolean})],Bi.prototype,"noCustom",void 0),Fi([i.property({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Bi.prototype,"noCustomComponent",void 0),Fi([i.property({type:Boolean})],Bi.prototype,"withManualResources",void 0),Fi([o.jsonProperty([])],Bi.prototype,"messageContexts",void 0),Fi([o.jsonProperty(void 0)],Bi.prototype,"session",void 0),Fi([i.property({type:Object})],Bi.prototype,"apiProvider",void 0);class Ti extends Li{async listMySearches(){let t=ki.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Hi extends Li{async listMyBookmarks(){let t=ki.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Pi=o.FtReduxStore.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ki.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Hi,this.savedSearchesService=new Ti,ki.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ki.getState();o.deepEqual(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(),Pi.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Pi.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Pi.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 o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pi.actions.bookmarks(o)}}},o.customElement("ft-app-context")(Bi);class Mi extends Event{constructor(){super(Mi.eventName)}}Mi.eventName="search-context-clear-all-filters";var Gi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ji extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const _i=Symbol("registerInterval");class Yi extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[_i]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[_i]):this.dispatchEvent(new ji)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=_i,Gi([i.state()],e.prototype,"stateManager",void 0),e}(o.FtLitElementRedux)){}const Vi=e.css`
889
+ `;var qi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Xi=Symbol("i18nAttributes"),Ji=Symbol("i18nProperties"),Qi=Symbol("i18nUnsubs");function tr(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Di:zi}i18n(t,o,...e){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var o,e;null===(o=this[Xi])||void 0===o||o.forEach(((o,e)=>{var i;const r=this.getI18nAttributeValue(e);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,r,o)})),null===(e=this[Ji])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Xi])||void 0===o||o.forEach(((o,e)=>{const i=this.getI18nAttributeValue(e);(null==i?void 0:i.context)&&i.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(e,i,o))})),null===(e=this[Ji])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,i;super.connectedCallback(),new Set([...null!==(o=null===(t=this[Ji])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(i=null===(e=this[Xi])||void 0===e?void 0:e.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Qi].has(t)||this[Qi].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Qi].forEach((t=>t())),this[Qi].clear()}}return o=Qi,qi([i.property({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class or extends(tr(o.FtLitElement)){}class er extends(tr(o.FtLitElementRedux)){}var ir=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class rr extends er{constructor(){super(),this.editorMode=!1,this.addStore(ki)}render(){return this.key&&this.context?e.html`
890
890
  <span class="ft-i18n">
891
891
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
892
892
  </span>
893
- `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}rr.elementDefinitions={},rr.styles=Vi,ir([o.redux()],rr.prototype,"editorMode",void 0),ir([i.property()],rr.prototype,"context",void 0),ir([i.property()],rr.prototype,"key",void 0),ir([o.jsonProperty([])],rr.prototype,"args",void 0),ir([i.property()],rr.prototype,"defaultMessage",void 0);class nr{static build(t){return new nr(t)}static fromGwt(t){return new nr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Zi.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(rr);const ar=nr.build("designedSearchInput"),lr=e.css`
893
+ `:this.editorMode?"Select a context and a label key.":e.nothing}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}rr.elementDefinitions={},rr.styles=Vi,ir([o.redux()],rr.prototype,"editorMode",void 0),ir([i.property()],rr.prototype,"context",void 0),ir([i.property()],rr.prototype,"key",void 0),ir([o.jsonProperty([])],rr.prototype,"args",void 0),ir([i.property()],rr.prototype,"defaultMessage",void 0);class nr{static build(t){return new nr(t)}static fromGwt(t){return new nr(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>zi.resolveMessage(this.name,o,...t)})}}o.customElement("ft-i18n")(rr);const ar=nr.build("designedSearchInput"),lr=e.css`
894
894
  * {
895
895
  box-sizing: border-box;
896
896
  }
@@ -86,13 +86,13 @@ const Tt=globalThis,Zt=Tt.trustedTypes,_t=Zt?Zt.createPolicy("lit-html",{createH
86
86
  * Copyright 2017 Google LLC
87
87
  * SPDX-License-Identifier: BSD-3-Clause
88
88
  */
89
- let Se=class extends Bt{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 r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ge(e.insertBefore(Xt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Se}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Ct(t):t;class Ee{static create(t,e,o,r){const i=t=>Ce(null!=t?t:r),n=Et`var(${Ce(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Et`var(${Ce(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Et`var(${Ce(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Et`var(${Ce(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),r=Et`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Et`var(${Ce(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Re(t,e){return Ce(`${t.name}: ${e}`)}const $e={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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)")},Ue={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ee.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ee.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ee.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ie={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",$e.colorOrange300),borderWarningSubtle:Ee.extend("--ft-border-warning-subtle","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success buttons.",$e.colorGreen200),borderSuccessSubtle:Ee.extend("--ft-border-success-subtle","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for text fields in error states.",$e.colorRed0),borderErrorSubtle:Ee.extend("--ft-border-error-subtle","Used as border for error components.",$e.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for buttons in info color.",$e.colorCyan200),borderInfoSubtle:Ee.extend("--ft-border-info-subtle","Used as border for information components.",$e.colorCyan30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ie.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ie.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ie.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ie.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ie.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ie.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ie.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ie.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ie.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ie.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ie.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ie.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ie.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ie.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ie.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};Ee.extend("--ft-floating-menu-horizontal-padding","",$e.spacing4),Ee.extend("--ft-floating-menu-vertical-padding","",$e.spacing4),Ee.extend("--ft-floating-menu-off-icon-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-floating-menu-off-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-floating-menu-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-on-icon-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-gap","",$e.spacing3),Ee.extend("--ft-floating-menu-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ee.extend("--ft-floating-menu-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-floating-menu-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-floating-menu-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-floating-menu-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-floating-menu-icon-size","",$e.iconSize3),Ee.extend("--ft-floating-menu-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),Ee.extend("--ft-tabs-label-gap","",$e.spacing1),Ee.extend("--ft-tabs-icon-horizontal-padding","",$e.spacing1),Ee.extend("--ft-tabs-icon-vertical-padding","",$e.spacing4),Ee.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-tabs-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-tabs-off-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-tabs-off-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-tabs-off-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-tabs-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-tabs-off-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-tabs-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-tabs-on-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-tabs-on-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-tabs-on-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-tabs-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-tabs-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-tabs-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-collapsible-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-collapsible-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-collapsible-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-collapsible-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-collapsible-horizontal-padding","",$e.spacing4),Ee.extend("--ft-collapsible-vertical-padding","",$e.spacing3),Ee.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ee.extend("--ft-collapsible-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-collapsible-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-collapsible-state-layer-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-collapsible-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-collapsible-border-color","",Ie.borderGlobalSubtle),Ee.extend("--ft-collapsible-icon-size","",$e.iconSize3),Ee.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",$e.spacing1),Ee.extend("--ft-switch-group-gap","",$e.spacing1),Ee.extend("--ft-switch-group-background-color","",Ie.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ie.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",$e.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-switch-off-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-switch-on-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-switch-on-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-switch-on-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-switch-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-switch-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-switch-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),Ee.extend("--ft-chart-3-light","",$e.colorUltramarine40),Ee.extend("--ft-chart-3-base","",$e.colorUltramarine70),Ee.extend("--ft-chart-4-light","",$e.colorCyan50),Ee.extend("--ft-chart-4-base","",$e.colorCyan100),Ee.extend("--ft-chart-5-light","",$e.colorRed40),Ee.extend("--ft-chart-5-base","",$e.colorRed60),Ee.extend("--ft-chart-6-light","",$e.colorGreen40),Ee.extend("--ft-chart-6-base","",$e.colorGreen70),Ee.extend("--ft-chart-7-light","",$e.colorOrange70),Ee.extend("--ft-chart-7-base","",$e.colorOrange100),Ee.extend("--ft-chart-8-light","",$e.colorAvocado70),Ee.extend("--ft-chart-8-base","",$e.colorAvocado200),Ee.extend("--ft-chart-9-light","",$e.colorBrown50),Ee.extend("--ft-chart-9-base","",$e.colorBrown200),Ee.extend("--ft-chart-10-light","",$e.colorGray50),Ee.extend("--ft-chart-10-base","",$e.colorGray80),Ee.extend("--ft-chart-monochrome-10","",$e.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",$e.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",$e.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",$e.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",$e.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",$e.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",$e.spacing2),Ee.extend("--ft-chip-large-gap","",$e.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",$e.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),Ee.extend("--ft-chip-medium-gap","",$e.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",$e.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",$e.spacing05),Ee.extend("--ft-chip-small-gap","",$e.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",$e.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ie.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-chip-success-background-color","",Ie.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ie.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ie.borderSuccessSubtle),Ee.extend("--ft-chip-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-chip-error-background-color","",Ie.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ie.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ie.borderErrorSubtle),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",$e.spacing2),Ee.extend("--ft-notice-vertical-padding","",$e.spacing1),Ee.extend("--ft-notice-border-radius","",$e.borderRadiusS),Ee.extend("--ft-notice-gap","",$e.spacing2),Ee.extend("--ft-notice-icon-size","",$e.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-notice-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-notice-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ie.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ie.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",$e.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",$e.spacing3),Ee.extend("--ft-radio-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ie.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",$e.spacing3),Ee.extend("--ft-notification-icon-size","",$e.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",$e.spacing4),Ee.extend("--ft-notification-vertical-padding","",$e.spacing4),Ee.extend("--ft-notification-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-notification-success-background-color","",Ie.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ie.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ie.borderSuccessSubtle),Ee.extend("--ft-notification-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-notification-error-background-color","",Ie.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ie.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ie.borderErrorSubtle),Ee.extend("--ft-notification-border-radius","",$e.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",$e.spacing2),Ee.extend("--ft-notification-gap-trailing","",$e.spacing8),Ee.extend("--ft-tooltip-horizontal-padding","",$e.spacing2),Ee.extend("--ft-tooltip-vertical-padding","",$e.spacing2),Ee.extend("--ft-tooltip-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tooltip-label","",Ie.contentGlobalOnColor),Ee.extend("--ft-tooltip-background","",Ie.contentGlobalPrimary),Ee.extend("--ft-tooltip-background-opacity","",$e.opacity80),Ee.extend("--ft-tooltip-shadow","",$e.shadowElevation03);const Le={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=["start","end"],Ae=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+We[0],e+"-"+We[1])),[]),Ke=Math.min,Fe=Math.max,je=Math.round,De=t=>({x:t,y:t}),Pe={left:"right",right:"left",bottom:"top",top:"bottom"},Me={start:"end",end:"start"};function ze(t,e,o){return Fe(t,Ke(e,o))}function Be(t,e){return"function"==typeof t?t(e):t}function Te(t){return t.split("-")[0]}function Ze(t){return t.split("-")[1]}function _e(t){return"x"===t?"y":"x"}function He(t){return"y"===t?"height":"width"}function Ge(t){return["top","bottom"].includes(Te(t))?"y":"x"}function Ve(t){return _e(Ge(t))}function qe(t){return t.replace(/left|right|bottom|top/g,(t=>Pe[t]))}function Ye(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xe(t,e,o){let{reference:r,floating:i}=t;const n=Ge(e),a=Ve(e),s=He(a),c=Te(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,u=r[s]/2-i[s]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ze(e)){case"start":h[a]-=u*(o&&l?-1:1);break;case"end":h[a]+=u*(o&&l?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Be(e,t),d=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}}(h),y=s[u?"floating"===p?"reference":"floating":p],g=Ye(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Ye(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Qe(t,e,o){return(t?[...o.filter((e=>Ze(e)===t)),...o.filter((e=>Ze(e)!==t))]:o.filter((t=>Te(t)===t))).filter((o=>!t||(Ze(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Me[t]))}(o)!==o)))}const to=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:u=Ae,autoAlignment:h=!0,...d}=Be(t,e),y=void 0!==p||u===Ae?Qe(p||null,h,u):u,g=await Je(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Ze(t),i=Ve(t),n=He(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=qe(a)),[a,qe(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Te(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Ze(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])),N=S.filter((t=>t[2].slice(0,Ze(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function eo(t){return io(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ro(t){var e;return null==(e=(io(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function io(t){return t instanceof Node||t instanceof oo(t).Node}function no(t){return t instanceof Element||t instanceof oo(t).Element}function ao(t){return t instanceof HTMLElement||t instanceof oo(t).HTMLElement}function so(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot)}function co(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=ho(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function lo(t){return["table","td","th"].includes(eo(t))}function fo(t){const e=po(),o=ho(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 po(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function uo(t){return["html","body","#document"].includes(eo(t))}function ho(t){return oo(t).getComputedStyle(t)}function yo(t){return no(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===eo(t))return t;const e=t.assignedSlot||t.parentNode||so(t)&&t.host||ro(t);return so(e)?e.host:e}function bo(t){const e=go(t);return uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ao(e)&&co(e)?e:bo(e)}function mo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=bo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=oo(i);return n?e.concat(a,a.visualViewport||[],co(i)?i:[],a.frameElement&&o?mo(a.frameElement):[]):e.concat(i,mo(i,[],o))}function vo(t){const e=ho(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=ao(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=je(o)!==n||je(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function xo(t){return no(t)?t:t.contextElement}function Oo(t){const e=xo(t);if(!ao(e))return De(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=vo(e);let a=(n?je(o.width):o.width)/r,s=(n?je(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const wo=De(0);function So(t){const e=oo(t);return po()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:wo}function No(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=xo(t);let a=De(1);e&&(r?no(r)&&(a=Oo(r)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==oo(t))&&e}(n,o,r)?So(n):De(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=oo(n),e=r&&no(r)?oo(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),r=ho(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=oo(o).frameElement}}return Ye({width:f,height:p,x:c,y:l})}function Co(t){return No(ro(t)).left+yo(t).scrollLeft}function Eo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=oo(t),r=ro(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=po();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=ro(t),o=yo(t),r=t.ownerDocument.body,i=Fe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Fe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Co(t);const s=-o.scrollTop;return"rtl"===ho(r).direction&&(a+=Fe(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(ro(t));else if(no(e))r=function(t,e){const o=No(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=ao(t)?Oo(t):De(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=So(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ye(r)}function Ro(t,e){const o=go(t);return!(o===e||!no(o)||uo(o))&&("fixed"===ho(o).position||Ro(o,e))}function $o(t,e,o){const r=ao(e),i=ro(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=De(0);if(r||!r&&!n)if(("body"!==eo(e)||co(i))&&(s=yo(e)),r){const t=No(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Co(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Uo(t,e){return ao(t)&&"fixed"!==ho(t).position?e?e(t):t.offsetParent:null}function Io(t,e){const o=oo(t);if(!ao(t))return o;let r=Uo(t,e);for(;r&&lo(r)&&"static"===ho(r).position;)r=Uo(r,e);return r&&("html"===eo(r)||"body"===eo(r)&&"static"===ho(r).position&&!fo(r))?o:r||function(t){let e=go(t);for(;ao(e)&&!uo(e);){if(fo(e))return e;e=go(e)}return null}(t)||o}const ko={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=ao(o),n=ro(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=De(1);const c=De(0);if((i||!i&&"fixed"!==r)&&(("body"!==eo(o)||co(n))&&(a=yo(o)),ao(o))){const t=No(o);s=Oo(o),c.x=t.x+o.clientLeft,c.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+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:ro,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=mo(t,[],!1).filter((t=>no(t)&&"body"!==eo(t))),i=null;const n="fixed"===ho(t).position;let a=n?go(t):t;for(;no(a)&&!uo(a);){const e=ho(a),o=fo(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||co(a)&&!o&&Ro(t,a))?r=r.filter((t=>t!==a)):i=e,a=go(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],c=a.reduce(((t,o)=>{const r=Eo(e,o,i);return t.top=Fe(r.top,t.top),t.right=Ke(r.right,t.right),t.bottom=Ke(r.bottom,t.bottom),t.left=Fe(r.left,t.left),t}),Eo(e,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Io,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Io,n=this.getDimensions;return{reference:$o(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return vo(t)},getScale:Oo,isElement:no,isRTL:function(t){return"rtl"===ho(t).direction}},Lo=(t,e,o)=>{const r=new Map,i={platform:ko,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Xe(l,r,c),u=r,h={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Xe(l,u,c))),o=-1)}return{x:f,y:p,placement:u,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function Wo(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}
89
+ let Se=class extends Bt{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 r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ge(e.insertBefore(Xt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return le}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Se}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Ct(t):t;class Ee{static create(t,e,o,r){const i=t=>Ce(null!=t?t:r),n=Et`var(${Ce(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Et`var(${Ce(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=Et`var(${Ce(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Et`var(${Ce(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),r=Et`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Et`var(${Ce(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Re(t,e){return Ce(`${t.name}: ${e}`)}const $e={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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)")},Ue={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ee.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ee.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ee.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ee.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ie={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",$e.colorOrange300),borderWarningSubtle:Ee.extend("--ft-border-warning-subtle","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success buttons.",$e.colorGreen200),borderSuccessSubtle:Ee.extend("--ft-border-success-subtle","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for text fields in error states.",$e.colorRed0),borderErrorSubtle:Ee.extend("--ft-border-error-subtle","Used as border for error components.",$e.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for buttons in info color.",$e.colorCyan200),borderInfoSubtle:Ee.extend("--ft-border-info-subtle","Used as border for information components.",$e.colorCyan30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ie.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ie.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ie.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ie.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ie.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ie.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ie.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ie.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ie.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ie.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ie.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ie.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ie.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ie.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ie.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};Ee.extend("--ft-floating-menu-horizontal-padding","",$e.spacing4),Ee.extend("--ft-floating-menu-vertical-padding","",$e.spacing4),Ee.extend("--ft-floating-menu-off-icon-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-floating-menu-off-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-floating-menu-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-on-icon-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-floating-menu-gap","",$e.spacing3),Ee.extend("--ft-floating-menu-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ee.extend("--ft-floating-menu-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-floating-menu-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-floating-menu-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-floating-menu-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-floating-menu-icon-size","",$e.iconSize3),Ee.extend("--ft-floating-menu-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),Ee.extend("--ft-tabs-label-gap","",$e.spacing1),Ee.extend("--ft-tabs-icon-horizontal-padding","",$e.spacing1),Ee.extend("--ft-tabs-icon-vertical-padding","",$e.spacing4),Ee.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-tabs-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-tabs-off-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-tabs-off-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-tabs-off-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-tabs-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-tabs-off-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-tabs-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-tabs-on-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-tabs-on-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-tabs-on-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-tabs-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-tabs-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-tabs-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-collapsible-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-collapsible-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-collapsible-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-collapsible-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-collapsible-horizontal-padding","",$e.spacing4),Ee.extend("--ft-collapsible-vertical-padding","",$e.spacing3),Ee.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ee.extend("--ft-collapsible-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-collapsible-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-collapsible-state-layer-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-collapsible-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-collapsible-border-color","",Ie.borderGlobalSubtle),Ee.extend("--ft-collapsible-icon-size","",$e.iconSize3),Ee.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",$e.spacing1),Ee.extend("--ft-switch-group-gap","",$e.spacing1),Ee.extend("--ft-switch-group-background-color","",Ie.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ie.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",$e.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-switch-off-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-switch-on-state-layer-opacity-hover","",$e.opacity8),Ee.extend("--ft-switch-on-state-layer-opacity-focus","",$e.opacity8),Ee.extend("--ft-switch-on-state-layer-opacity-active","",$e.opacity16),Ee.extend("--ft-switch-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-switch-on-color","",Ie.contentActionPrimary),Ee.extend("--ft-switch-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),Ee.extend("--ft-chart-3-light","",$e.colorUltramarine40),Ee.extend("--ft-chart-3-base","",$e.colorUltramarine70),Ee.extend("--ft-chart-4-light","",$e.colorCyan50),Ee.extend("--ft-chart-4-base","",$e.colorCyan100),Ee.extend("--ft-chart-5-light","",$e.colorRed40),Ee.extend("--ft-chart-5-base","",$e.colorRed60),Ee.extend("--ft-chart-6-light","",$e.colorGreen40),Ee.extend("--ft-chart-6-base","",$e.colorGreen70),Ee.extend("--ft-chart-7-light","",$e.colorOrange70),Ee.extend("--ft-chart-7-base","",$e.colorOrange100),Ee.extend("--ft-chart-8-light","",$e.colorAvocado70),Ee.extend("--ft-chart-8-base","",$e.colorAvocado200),Ee.extend("--ft-chart-9-light","",$e.colorBrown50),Ee.extend("--ft-chart-9-base","",$e.colorBrown200),Ee.extend("--ft-chart-10-light","",$e.colorGray50),Ee.extend("--ft-chart-10-base","",$e.colorGray80),Ee.extend("--ft-chart-monochrome-10","",$e.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",$e.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",$e.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",$e.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",$e.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",$e.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",$e.spacing2),Ee.extend("--ft-chip-large-gap","",$e.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",$e.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),Ee.extend("--ft-chip-medium-gap","",$e.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",$e.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",$e.spacing05),Ee.extend("--ft-chip-small-gap","",$e.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",$e.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ie.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ie.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-chip-success-background-color","",Ie.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ie.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ie.borderSuccessSubtle),Ee.extend("--ft-chip-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-chip-error-background-color","",Ie.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ie.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ie.borderErrorSubtle),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",$e.spacing2),Ee.extend("--ft-notice-vertical-padding","",$e.spacing1),Ee.extend("--ft-notice-border-radius","",$e.borderRadiusS),Ee.extend("--ft-notice-gap","",$e.spacing2),Ee.extend("--ft-notice-icon-size","",$e.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-notice-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-notice-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ie.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ie.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",$e.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ie.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",$e.spacing3),Ee.extend("--ft-radio-label-color","",Ie.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ie.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ie.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ie.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",$e.spacing3),Ee.extend("--ft-notification-icon-size","",$e.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",$e.spacing4),Ee.extend("--ft-notification-vertical-padding","",$e.spacing4),Ee.extend("--ft-notification-info-background-color","",Ie.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ie.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ie.borderInfoSubtle),Ee.extend("--ft-notification-success-background-color","",Ie.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ie.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ie.borderSuccessSubtle),Ee.extend("--ft-notification-warning-background-color","",Ie.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ie.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ie.borderWarningSubtle),Ee.extend("--ft-notification-error-background-color","",Ie.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ie.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ie.borderErrorSubtle),Ee.extend("--ft-notification-border-radius","",$e.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",$e.spacing2),Ee.extend("--ft-notification-gap-trailing","",$e.spacing8),Ee.extend("--ft-tooltip-horizontal-padding","",$e.spacing2),Ee.extend("--ft-tooltip-vertical-padding","",$e.spacing2),Ee.extend("--ft-tooltip-border-radius","",$e.borderRadiusS),Ee.extend("--ft-tooltip-label","",Ie.contentGlobalOnColor),Ee.extend("--ft-tooltip-background","",Ie.contentGlobalPrimary),Ee.extend("--ft-tooltip-background-opacity","",$e.opacity80),Ee.extend("--ft-tooltip-shadow","",$e.shadowElevation03);const Le={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.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:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=["start","end"],Ae=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+We[0],e+"-"+We[1])),[]),Ke=Math.min,Fe=Math.max,je=Math.round,De=t=>({x:t,y:t}),Pe={left:"right",right:"left",bottom:"top",top:"bottom"},Me={start:"end",end:"start"};function ze(t,e,o){return Fe(t,Ke(e,o))}function Be(t,e){return"function"==typeof t?t(e):t}function Te(t){return t.split("-")[0]}function Ze(t){return t.split("-")[1]}function _e(t){return"x"===t?"y":"x"}function He(t){return"y"===t?"height":"width"}function Ge(t){return["top","bottom"].includes(Te(t))?"y":"x"}function Ve(t){return _e(Ge(t))}function qe(t){return t.replace(/left|right|bottom|top/g,(t=>Pe[t]))}function Ye(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xe(t,e,o){let{reference:r,floating:i}=t;const n=Ge(e),a=Ve(e),s=He(a),c=Te(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,u=r[s]/2-i[s]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ze(e)){case"start":h[a]-=u*(o&&l?-1:1);break;case"end":h[a]+=u*(o&&l?-1:1)}return h}async function Je(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Be(e,t),d=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}}(h),y=s[u?"floating"===p?"reference":"floating":p],g=Ye(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Ye(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Qe(t,e,o){return(t?[...o.filter((e=>Ze(e)===t)),...o.filter((e=>Ze(e)!==t))]:o.filter((t=>Te(t)===t))).filter((o=>!t||(Ze(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Me[t]))}(o)!==o)))}const to=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:u=Ae,autoAlignment:h=!0,...d}=Be(t,e),y=void 0!==p||u===Ae?Qe(p||null,h,u):u,g=await Je(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Ze(t),i=Ve(t),n=He(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=qe(a)),[a,qe(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Te(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Ze(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])),N=S.filter((t=>t[2].slice(0,Ze(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function eo(t){return io(t)?(t.nodeName||"").toLowerCase():"#document"}function oo(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ro(t){var e;return null==(e=(io(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function io(t){return t instanceof Node||t instanceof oo(t).Node}function no(t){return t instanceof Element||t instanceof oo(t).Element}function ao(t){return t instanceof HTMLElement||t instanceof oo(t).HTMLElement}function so(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oo(t).ShadowRoot)}function co(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=ho(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function lo(t){return["table","td","th"].includes(eo(t))}function fo(t){const e=po(),o=ho(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 po(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function uo(t){return["html","body","#document"].includes(eo(t))}function ho(t){return oo(t).getComputedStyle(t)}function yo(t){return no(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function go(t){if("html"===eo(t))return t;const e=t.assignedSlot||t.parentNode||so(t)&&t.host||ro(t);return so(e)?e.host:e}function bo(t){const e=go(t);return uo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ao(e)&&co(e)?e:bo(e)}function mo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=bo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=oo(i);return n?e.concat(a,a.visualViewport||[],co(i)?i:[],a.frameElement&&o?mo(a.frameElement):[]):e.concat(i,mo(i,[],o))}function vo(t){const e=ho(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=ao(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=je(o)!==n||je(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function xo(t){return no(t)?t:t.contextElement}function Oo(t){const e=xo(t);if(!ao(e))return De(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=vo(e);let a=(n?je(o.width):o.width)/r,s=(n?je(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const wo=De(0);function So(t){const e=oo(t);return po()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:wo}function No(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=xo(t);let a=De(1);e&&(r?no(r)&&(a=Oo(r)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==oo(t))&&e}(n,o,r)?So(n):De(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=oo(n),e=r&&no(r)?oo(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),r=ho(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=oo(o).frameElement}}return Ye({width:f,height:p,x:c,y:l})}function Co(t){return No(ro(t)).left+yo(t).scrollLeft}function Eo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=oo(t),r=ro(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=po();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=ro(t),o=yo(t),r=t.ownerDocument.body,i=Fe(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Fe(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Co(t);const s=-o.scrollTop;return"rtl"===ho(r).direction&&(a+=Fe(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(ro(t));else if(no(e))r=function(t,e){const o=No(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=ao(t)?Oo(t):De(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=So(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ye(r)}function Ro(t,e){const o=go(t);return!(o===e||!no(o)||uo(o))&&("fixed"===ho(o).position||Ro(o,e))}function $o(t,e,o){const r=ao(e),i=ro(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=De(0);if(r||!r&&!n)if(("body"!==eo(e)||co(i))&&(s=yo(e)),r){const t=No(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Co(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Uo(t,e){return ao(t)&&"fixed"!==ho(t).position?e?e(t):t.offsetParent:null}function Io(t,e){const o=oo(t);if(!ao(t))return o;let r=Uo(t,e);for(;r&&lo(r)&&"static"===ho(r).position;)r=Uo(r,e);return r&&("html"===eo(r)||"body"===eo(r)&&"static"===ho(r).position&&!fo(r))?o:r||function(t){let e=go(t);for(;ao(e)&&!uo(e);){if(fo(e))return e;e=go(e)}return null}(t)||o}const ko={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=ao(o),n=ro(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=De(1);const c=De(0);if((i||!i&&"fixed"!==r)&&(("body"!==eo(o)||co(n))&&(a=yo(o)),ao(o))){const t=No(o);s=Oo(o),c.x=t.x+o.clientLeft,c.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+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:ro,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=mo(t,[],!1).filter((t=>no(t)&&"body"!==eo(t))),i=null;const n="fixed"===ho(t).position;let a=n?go(t):t;for(;no(a)&&!uo(a);){const e=ho(a),o=fo(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||co(a)&&!o&&Ro(t,a))?r=r.filter((t=>t!==a)):i=e,a=go(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=Eo(e,o,i);return t.top=Fe(r.top,t.top),t.right=Ke(r.right,t.right),t.bottom=Ke(r.bottom,t.bottom),t.left=Fe(r.left,t.left),t}),Eo(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Io,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Io,n=this.getDimensions;return{reference:$o(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return vo(t)},getScale:Oo,isElement:no,isRTL:function(t){return"rtl"===ho(t).direction}},Lo=(t,e,o)=>{const r=new Map,i={platform:ko,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Xe(l,r,c),u=r,h={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:i,middlewareData:h,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Xe(l,u,c))),o=-1)}return{x:f,y:p,placement:u,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function Wo(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}
90
90
  /**
91
91
  * @license
92
92
  * Copyright 2019 Google LLC
93
93
  * SPDX-License-Identifier: BSD-3-Clause
94
94
  */
95
- const Ko=window,Fo=Ko.ShadowRoot&&(void 0===Ko.ShadyCSS||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class jo extends Se{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)=>{Fo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ko.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Do,Po=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Mo=Symbol("constructorPrototype"),zo=Symbol("constructorName"),Bo=Symbol("exportpartsDebouncer");class To extends jo{constructor(){super(),this[Do]=new i(5),this[zo]=this.constructor.name,this[Mo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zo]&&Object.setPrototypeOf(this,this[Mo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}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[Bo].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,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Do=Bo,Po([$()],To.prototype,"exportpartsPrefix",void 0),Po([K([])],To.prototype,"exportpartsPrefixes",void 0),Po([$()],To.prototype,"customStylesheet",void 0);const Zo=Ee.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Et`
95
+ const Ko=window,Fo=Ko.ShadowRoot&&(void 0===Ko.ShadyCSS||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class jo extends Se{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)=>{Fo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ko.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Do,Po=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Mo=Symbol("constructorPrototype"),zo=Symbol("constructorName"),Bo=Symbol("exportpartsDebouncer");class To extends jo{constructor(){super(),this[Do]=new i(5),this[zo]=this.constructor.name,this[Mo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zo]&&Object.setPrototypeOf(this,this[Mo])}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[Bo].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,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Do=Bo,Po([$()],To.prototype,"exportpartsPrefix",void 0),Po([K([])],To.prototype,"exportpartsPrefixes",void 0),Po([$()],To.prototype,"customStylesheet",void 0);const Zo=Ee.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Et`
96
96
  .highlight-html-match {
97
97
  background: ${Zo};
98
98
  }
@@ -1018,14 +1018,14 @@ class os extends Ma{constructor(t){if(super(t),this.et=it,t.type!==Da)throw Erro
1018
1018
  border-right: 1px solid ${vs.colorOutline};
1019
1019
  }
1020
1020
  `;var Os,ws,Ss,Ns,Cs,Es,Rs,$s,Us,Is,ks,Ls,Ws,As,Ks,Fs,js,Ds;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function p(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Os||(Os={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ws||(ws={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Ss||(Ss={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Ns||(Ns={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Cs||(Cs={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Es||(Es={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Rs||(Rs={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}($s||($s={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Us||(Us={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Is||(Is={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ks||(ks={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ls||(Ls={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ws||(Ws={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(As||(As={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ks||(Ks={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Fs||(Fs={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(js||(js={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ds||(Ds={})),js.PERSONAL_BOOK_SHARE_USER,js.PERSONAL_BOOK_USER,js.HTML_EXPORT_USER,js.PERSONAL_BOOK_USER,js.PDF_EXPORT_USER,js.PERSONAL_BOOK_USER,js.KHUB_ADMIN,js.CONTENT_PUBLISHER,js.ADMIN,js.KHUB_ADMIN,js.USERS_ADMIN,js.PORTAL_ADMIN,js.DEVELOPER,js.BETA_USER,js.DEBUG_USER;const Ps=Et`
1021
- `,Ms=Hi.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 zs{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ms.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?zs.build(t):null!==(e=zs.API)&&void 0!==e?e:zs.API=zs.build()}static await(t){return new Promise((e=>{let o=zs.get(t);if(o)e(o);else{const r=Ms.subscribe((()=>{o=zs.get(t),o&&(r(),e(o))}))}}))}}var Bs;const Ts=Symbol("clearAfterUnitTest");class Zs{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Bs]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ms.getState().uiLocale,Ms.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ms.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 r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Vo(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=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Bs=Ts,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Zs((async(t,e)=>(await zs.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Zs((async(t,e)=>(await zs.await()).getCustomMessageContext(t,e))));const _s=window.FluidTopicsI18nService,Hs=window.FluidTopicsCustomI18nService;var Gs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vs extends To{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=()=>zs.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return ce`
1021
+ `,Ms=Hi.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 zs{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ms.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?zs.build(t):null!==(e=zs.API)&&void 0!==e?e:zs.API=zs.build()}static await(t){return new Promise((e=>{let o=zs.get(t);if(o)e(o);else{const r=Ms.subscribe((()=>{o=zs.get(t),o&&(r(),e(o))}))}}))}}class Bs{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:zs.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:zs.await()}clearCache(){this.cache.clearAll()}}var Ts;const Zs=Symbol("clearAfterUnitTest");class _s extends Bs{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ts]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ms.getState().uiLocale,Ms.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ms.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 r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};W(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Vo(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=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Ts=Zs,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends _s{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends _s{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Hs=window.FluidTopicsI18nService,Gs=window.FluidTopicsCustomI18nService;var Vs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qs extends To{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=()=>zs.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return ce`
1022
1022
  <slot></slot>
1023
- `}update(t){super.update(t),t.has("baseUrl")&&(Ms.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Ms.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ms.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Ms.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Ms.actions.noCustom(this.noCustom),t.has("editorMode")&&Ms.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Ms.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Ms.actions.session(this.session),t.has("availableUiLocales")&&Ms.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>_s.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()))}}Vs.elementDefinitions={},Vs.styles=Ps,Gs([$()],Vs.prototype,"baseUrl",void 0),Gs([$()],Vs.prototype,"apiIntegrationIdentifier",void 0),Gs([$()],Vs.prototype,"uiLocale",void 0),Gs([K(null)],Vs.prototype,"availableUiLocales",void 0),Gs([K(null)],Vs.prototype,"metadataConfiguration",void 0),Gs([$({type:Boolean})],Vs.prototype,"editorMode",void 0),Gs([$({type:Boolean})],Vs.prototype,"noCustom",void 0),Gs([$({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Vs.prototype,"noCustomComponent",void 0),Gs([$({type:Boolean})],Vs.prototype,"withManualResources",void 0),Gs([K([])],Vs.prototype,"messageContexts",void 0),Gs([K(void 0)],Vs.prototype,"session",void 0),Gs([$({type:Object})],Vs.prototype,"apiProvider",void 0);class qs{async listMySearches(){var t;return(null===(t=Ms.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await zs.await()).listMySearches(Ms.getState().session.profile.userId):[]}}const Ys=new r;class Xs{async listMyBookmarks(){return Ys.get("bookmarks",(async()=>(await zs.await()).listMyBookmarks(Ms.getState().session.profile.userId)))}clearCache(){Ys.clear("bookmarks")}}const Js=Hi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ms.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xs,Ms.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ms.getState();W(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(){Js.actions.savedSearches(void 0)}clearMyBookmarks(){Js.actions.bookmarks(void 0)}async reloadMySearches(){const t=new qs,e=await t.listMySearches();Js.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;Js.actions.bookmarks(e)}}},A("ft-app-context")(Vs);class Qs extends Event{constructor(){super(Qs.eventName)}}Qs.eventName="search-context-clear-all-filters";var tc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ec extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const oc=Symbol("registerInterval");class rc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[oc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[oc]):this.dispatchEvent(new ec)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=oc,tc([U()],o.prototype,"stateManager",void 0),o}(ir)){}const ic=Et`
1024
- `;var nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const ac=Symbol("i18nAttributes"),sc=Symbol("i18nProperties"),cc=Symbol("i18nUnsubs");function lc(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Hs:_s}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[ac])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[sc])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[ac])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[sc])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[sc])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[ac])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[cc].has(t)||this[cc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[cc].forEach((t=>t())),this[cc].clear()}}return e=cc,nc([$({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class fc extends(lc(To)){}class pc extends(lc(ir)){}var uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hc extends pc{constructor(){super(),this.editorMode=!1,this.addStore(Ms)}render(){return this.key&&this.context?ce`
1023
+ `}update(t){super.update(t),t.has("baseUrl")&&(Ms.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Ms.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ms.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Ms.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Ms.actions.noCustom(this.noCustom),t.has("editorMode")&&Ms.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Ms.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Ms.actions.session(this.session),t.has("availableUiLocales")&&Ms.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Hs.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()))}}qs.elementDefinitions={},qs.styles=Ps,Vs([$()],qs.prototype,"baseUrl",void 0),Vs([$()],qs.prototype,"apiIntegrationIdentifier",void 0),Vs([$()],qs.prototype,"uiLocale",void 0),Vs([K(null)],qs.prototype,"availableUiLocales",void 0),Vs([K(null)],qs.prototype,"metadataConfiguration",void 0),Vs([$({type:Boolean})],qs.prototype,"editorMode",void 0),Vs([$({type:Boolean})],qs.prototype,"noCustom",void 0),Vs([$({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],qs.prototype,"noCustomComponent",void 0),Vs([$({type:Boolean})],qs.prototype,"withManualResources",void 0),Vs([K([])],qs.prototype,"messageContexts",void 0),Vs([K(void 0)],qs.prototype,"session",void 0),Vs([$({type:Object})],qs.prototype,"apiProvider",void 0);class Ys extends Bs{async listMySearches(){let t=Ms.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Xs extends Bs{async listMyBookmarks(){let t=Ms.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Js=Hi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ms.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xs,this.savedSearchesService=new Ys,Ms.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ms.getState();W(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(),Js.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Js.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Js.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;Js.actions.bookmarks(e)}}},A("ft-app-context")(qs);class Qs extends Event{constructor(){super(Qs.eventName)}}Qs.eventName="search-context-clear-all-filters";var tc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ec extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const oc=Symbol("registerInterval");class rc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[oc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[oc]):this.dispatchEvent(new ec)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=oc,tc([U()],o.prototype,"stateManager",void 0),o}(ir)){}const ic=Et`
1024
+ `;var nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const ac=Symbol("i18nAttributes"),sc=Symbol("i18nProperties"),cc=Symbol("i18nUnsubs");function lc(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Gs:Hs}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[ac])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[sc])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[ac])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[sc])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[sc])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[ac])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[cc].has(t)||this[cc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[cc].forEach((t=>t())),this[cc].clear()}}return e=cc,nc([$({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class fc extends(lc(To)){}class pc extends(lc(ir)){}var uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hc extends pc{constructor(){super(),this.editorMode=!1,this.addStore(Ms)}render(){return this.key&&this.context?ce`
1025
1025
  <span class="ft-i18n">
1026
1026
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1027
1027
  </span>
1028
- `:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}hc.elementDefinitions={},hc.styles=ic,uc([qo()],hc.prototype,"editorMode",void 0),uc([$()],hc.prototype,"context",void 0),uc([$()],hc.prototype,"key",void 0),uc([K([])],hc.prototype,"args",void 0),uc([$()],hc.prototype,"defaultMessage",void 0);class dc{static build(t){return new dc(t)}static fromGwt(t){return new dc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>_s.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(hc);const yc=dc.build("designedSearchInput"),gc=Et`
1028
+ `:this.editorMode?"Select a context and a label key.":fe}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}hc.elementDefinitions={},hc.styles=ic,uc([qo()],hc.prototype,"editorMode",void 0),uc([$()],hc.prototype,"context",void 0),uc([$()],hc.prototype,"key",void 0),uc([K([])],hc.prototype,"args",void 0),uc([$()],hc.prototype,"defaultMessage",void 0);class dc{static build(t){return new dc(t)}static fromGwt(t){return new dc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Hs.resolveMessage(this.name,e,...t)})}}A("ft-i18n")(hc);const yc=dc.build("designedSearchInput"),gc=Et`
1029
1029
  * {
1030
1030
  box-sizing: border-box;
1031
1031
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-input",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "description": "Search bar input for integrated search component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,17 +19,17 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.1.36",
23
- "@fluid-topics/ft-i18n": "1.1.36",
24
- "@fluid-topics/ft-icon": "1.1.36",
25
- "@fluid-topics/ft-ripple": "1.1.36",
26
- "@fluid-topics/ft-search-context": "1.1.36",
27
- "@fluid-topics/ft-typography": "1.1.36",
28
- "@fluid-topics/ft-wc-utils": "1.1.36",
22
+ "@fluid-topics/ft-button": "1.1.38",
23
+ "@fluid-topics/ft-i18n": "1.1.38",
24
+ "@fluid-topics/ft-icon": "1.1.38",
25
+ "@fluid-topics/ft-ripple": "1.1.38",
26
+ "@fluid-topics/ft-search-context": "1.1.38",
27
+ "@fluid-topics/ft-typography": "1.1.38",
28
+ "@fluid-topics/ft-wc-utils": "1.1.38",
29
29
  "lit": "3.1.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@fluid-topics/public-api": "1.0.59"
33
33
  },
34
- "gitHead": "18df3483145165af9ce51db3f11be8aeb918ea40"
34
+ "gitHead": "d4b337b18935ad7a7d9f20e856f84e92225a9192"
35
35
  }