@fluid-topics/ft-button 1.1.104 → 1.1.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var mn=Object.create;var Je=Object.defineProperty;var yn=Object.getOwnPropertyDescriptor;var hn=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,xn=Object.prototype.hasOwnProperty;var Vt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var On=(e,o,n,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of hn(o))!xn.call(e,i)&&i!==n&&Je(e,i,{get:()=>o[i],enumerable:!(a=yn(o,i))||a.enumerable});return e};var b=(e,o,n)=>(n=e!=null?mn(bn(e)):{},On(o||!e||!e.__esModule?Je(n,"default",{value:e,enumerable:!0}):n,e));var w=Vt((Vn,Qe)=>{Qe.exports=ftGlobals.wcUtils});var mt=Vt((jn,to)=>{to.exports=ftGlobals.litDecorators});var G=Vt((Yn,eo)=>{eo.exports=ftGlobals.lit});var Re=Vt((Bc,rr)=>{rr.exports=ftGlobals.litClassMap});var en=Vt((Hs,tn)=>{tn.exports=ftGlobals.litUnsafeHTML});var je=b(w());var le=b(mt()),pn=b(w());var er=b(G()),O=b(w());var lo=b(G()),P=b(w()),oo=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorContent),N={color:oo,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",oo),opacityContentOnSurfacePressed:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:P.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ro=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorPrimary),no={color:ro,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",ro)},ao=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorSecondary),io={color:ao,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",ao)},co=lo.css`
1
+ "use strict";(()=>{var mn=Object.create;var Je=Object.defineProperty;var yn=Object.getOwnPropertyDescriptor;var hn=Object.getOwnPropertyNames;var bn=Object.getPrototypeOf,xn=Object.prototype.hasOwnProperty;var Vt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var On=(e,o,n,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of hn(o))!xn.call(e,i)&&i!==n&&Je(e,i,{get:()=>o[i],enumerable:!(a=yn(o,i))||a.enumerable});return e};var b=(e,o,n)=>(n=e!=null?mn(bn(e)):{},On(o||!e||!e.__esModule?Je(n,"default",{value:e,enumerable:!0}):n,e));var w=Vt((Vn,Qe)=>{Qe.exports=ftGlobals.wcUtils});var mt=Vt((Yn,to)=>{to.exports=ftGlobals.litDecorators});var G=Vt((jn,eo)=>{eo.exports=ftGlobals.lit});var Re=Vt((Bc,rr)=>{rr.exports=ftGlobals.litClassMap});var en=Vt((Hs,tn)=>{tn.exports=ftGlobals.litUnsafeHTML});var Ye=b(w());var le=b(mt()),pn=b(w());var er=b(G()),O=b(w());var lo=b(G()),P=b(w()),oo=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorContent),N={color:oo,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",oo),opacityContentOnSurfacePressed:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:P.FtCssVariableFactory.external(P.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:P.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ro=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorPrimary),no={color:ro,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",ro)},ao=P.FtCssVariableFactory.extend("--ft-ripple-color","",P.designSystemVariables.colorSecondary),io={color:ao,backgroundColor:P.FtCssVariableFactory.extend("--ft-ripple-background-color","",ao)},co=lo.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -215,7 +215,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
215
215
  .ft-typography {
216
216
  vertical-align: inherit;
217
217
  }
218
- `,jo=[Object.keys(se).map(e=>To(e))];var Yo=b(G()),jt=b(w()),Z={color:jt.FtCssVariableFactory.extend("--ft-loader-color","",jt.designSystemVariables.colorPrimary),size:jt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Xo=Yo.css`
218
+ `,Yo=[Object.keys(se).map(e=>To(e))];var jo=b(G()),Yt=b(w()),Z={color:Yt.FtCssVariableFactory.extend("--ft-loader-color","",Yt.designSystemVariables.colorPrimary),size:Yt.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Xo=jo.css`
219
219
  :host {
220
220
  line-height: 0;
221
221
  }
@@ -468,7 +468,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
468
468
  ${(0,O.setVariable)(Z.size,z.iconSize)};
469
469
  ${(0,O.setVariable)(Z.color,"var(--ft-button-internal-color)")};
470
470
  }
471
- `,O.noTextSelect];var Mt=b(w());var ir=b(w());var nr=b(G()),H=b(mt()),ar=b(Re()),Yt=b(w());var M=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},R=class extends Yt.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Yt.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Yt.Debouncer(10),this.moveRipple=o=>{var n,a;let{x:i,y:s}=this.getCoordinates(o),c=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return nr.html`
471
+ `,O.noTextSelect];var Mt=b(w());var ir=b(w());var nr=b(G()),H=b(mt()),ar=b(Re()),jt=b(w());var M=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},R=class extends jt.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new jt.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new jt.Debouncer(10),this.moveRipple=o=>{var n,a;let{x:i,y:s}=this.getCoordinates(o),c=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return nr.html`
472
472
  <style>
473
473
  .ft-ripple .ft-ripple--effect {
474
474
  left: ${this.originX}px;
@@ -489,7 +489,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
489
489
  </${Te(this.element)}>
490
490
  `:ze`
491
491
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
492
- `}};J.styles=[_o,Ho,Uo,ko,Do,Go,Zo,Ko,Mo,Fo,Vo,...jo];Nr([(0,_e.property)()],J.prototype,"element",void 0);Nr([(0,_e.property)()],J.prototype,"variant",void 0);(0,wr.customElement)("ft-typography")(J);var Rr=b(G()),ct=b(w()),kt={distance:ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ct.FtCssVariableFactory.external(ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ar=Rr.css`
492
+ `}};J.styles=[_o,Ho,Uo,ko,Do,Go,Zo,Ko,Mo,Fo,Vo,...Yo];Nr([(0,_e.property)()],J.prototype,"element",void 0);Nr([(0,_e.property)()],J.prototype,"variant",void 0);(0,wr.customElement)("ft-typography")(J);var Rr=b(G()),ct=b(w()),kt={distance:ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ct.FtCssVariableFactory.external(ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ar=Rr.css`
493
493
  .ft-tooltip--container {
494
494
  display: block;
495
495
  }
@@ -518,7 +518,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
518
518
  position: relative;
519
519
  word-break: break-word;
520
520
  }
521
- `;var Wr=["top","right","bottom","left"],Lr=["start","end"],Ue=Wr.reduce((e,o)=>e.concat(o,o+"-"+Lr[0],o+"-"+Lr[1]),[]),te=Math.min,xt=Math.max,ee=Math.round;var st=e=>({x:e,y:e}),Rn={left:"right",right:"left",bottom:"top",top:"bottom"},An={start:"end",end:"start"};function ke(e,o,n){return xt(e,te(o,n))}function me(e,o){return typeof e=="function"?e(o):e}function Dt(e){return e.split("-")[0]}function Ot(e){return e.split("-")[1]}function De(e){return e==="x"?"y":"x"}function Ge(e){return e==="y"?"height":"width"}function ye(e){return["top","bottom"].includes(Dt(e))?"y":"x"}function Ze(e){return De(ye(e))}function $r(e,o,n){n===void 0&&(n=!1);let a=Ot(e),i=Ze(e),s=Ge(i),c=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(c=He(c)),[c,He(c)]}function Pr(e){return e.replace(/start|end/g,o=>An[o])}function He(e){return e.replace(/left|right|bottom|top/g,o=>Rn[o])}function Ln(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ir(e){return typeof e!="number"?Ln(e):{top:e,right:e,bottom:e,left:e}}function Nt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Br(e,o,n){let{reference:a,floating:i}=e,s=ye(o),c=Ze(o),p=Ge(c),d=Dt(o),m=s==="y",x=a.x+a.width/2-i.width/2,y=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,S;switch(d){case"top":S={x,y:a.y-i.height};break;case"bottom":S={x,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y};break;case"left":S={x:a.x-i.width,y};break;default:S={x:a.x,y:a.y}}switch(Ot(o)){case"start":S[c]-=v*(n&&m?-1:1);break;case"end":S[c]+=v*(n&&m?-1:1);break}return S}var Tr=async(e,o,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:s=[],platform:c}=n,p=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),m=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y}=Br(m,a,d),v=a,S={},E=0;for(let W=0;W<p.length;W++){let{name:I,fn:$}=p[W],{x:B,y:D,data:ut,reset:U}=await $({x,y,initialPlacement:a,placement:v,strategy:i,middlewareData:S,rects:m,platform:c,elements:{reference:e,floating:o}});if(x=B??x,y=D??y,S={...S,[I]:{...S[I],...ut}},U&&E<=50){E++,typeof U=="object"&&(U.placement&&(v=U.placement),U.rects&&(m=U.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):U.rects),{x,y}=Br(m,v,d)),W=-1;continue}}return{x,y,placement:v,strategy:i,middlewareData:S}};async function Ke(e,o){var n;o===void 0&&(o={});let{x:a,y:i,platform:s,rects:c,elements:p,strategy:d}=e,{boundary:m="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:v=!1,padding:S=0}=me(o,e),E=Ir(S),I=p[v?y==="floating"?"reference":"floating":y],$=Nt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(I)))==null||n?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(p.floating)),boundary:m,rootBoundary:x,strategy:d})),B=y==="floating"?{...c.floating,x:a,y:i}:c.reference,D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p.floating)),ut=await(s.isElement==null?void 0:s.isElement(D))?await(s.getScale==null?void 0:s.getScale(D))||{x:1,y:1}:{x:1,y:1},U=Nt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:B,offsetParent:D,strategy:d}):B);return{top:($.top-U.top+E.top)/ut.y,bottom:(U.bottom-$.bottom+E.bottom)/ut.y,left:($.left-U.left+E.left)/ut.x,right:(U.right-$.right+E.right)/ut.x}}function Wn(e,o,n){return(e?[...n.filter(i=>Ot(i)===e),...n.filter(i=>Ot(i)!==e)]:n.filter(i=>Dt(i)===i)).filter(i=>e?Ot(i)===e||(o?Pr(i)!==i:!1):!0)}var Me=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,a,i;let{rects:s,middlewareData:c,placement:p,platform:d,elements:m}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:v=Ue,autoAlignment:S=!0,...E}=me(e,o),W=y!==void 0||v===Ue?Wn(y||null,S,v):v,I=await Ke(o,E),$=((n=c.autoPlacement)==null?void 0:n.index)||0,B=W[$];if(B==null)return{};let D=$r(B,s,await(d.isRTL==null?void 0:d.isRTL(m.floating)));if(p!==B)return{reset:{placement:W[0]}};let ut=[I[Dt(B)],I[D[0]],I[D[1]]],U=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:B,overflows:ut}],Ye=W[$+1];if(Ye)return{data:{index:$+1,overflows:U},reset:{placement:Ye}};let Xe=U.map(tt=>{let Ft=Ot(tt.placement);return[tt.placement,Ft&&x?tt.overflows.slice(0,2).reduce((gn,un)=>gn+un,0):tt.overflows[0],tt.overflows]}).sort((tt,Ft)=>tt[1]-Ft[1]),qe=((i=Xe.filter(tt=>tt[2].slice(0,Ot(tt[0])?2:3).every(Ft=>Ft<=0))[0])==null?void 0:i[0])||Xe[0][0];return qe!==p?{data:{index:$+1,overflows:U},reset:{placement:qe}}:{}}}};var Fe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:a,placement:i}=o,{mainAxis:s=!0,crossAxis:c=!1,limiter:p={fn:I=>{let{x:$,y:B}=I;return{x:$,y:B}}},...d}=me(e,o),m={x:n,y:a},x=await Ke(o,d),y=ye(Dt(i)),v=De(y),S=m[v],E=m[y];if(s){let I=v==="y"?"top":"left",$=v==="y"?"bottom":"right",B=S+x[I],D=S-x[$];S=ke(B,S,D)}if(c){let I=y==="y"?"top":"left",$=y==="y"?"bottom":"right",B=E+x[I],D=E-x[$];E=ke(B,E,D)}let W=p.fn({...o,[v]:S,[y]:E});return{...W,data:{x:W.x-n,y:W.y-a}}}}};function pt(e){return _r(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function dt(e){var o;return(o=(_r(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function _r(e){return e instanceof Node||e instanceof F(e).Node}function rt(e){return e instanceof Element||e instanceof F(e).Element}function Q(e){return e instanceof HTMLElement||e instanceof F(e).HTMLElement}function zr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof F(e).ShadowRoot}function Gt(e){let{overflow:o,overflowX:n,overflowY:a,display:i}=Y(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&!["inline","contents"].includes(i)}function Hr(e){return["table","td","th"].includes(pt(e))}function be(e){let o=xe(),n=Y(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Ur(e){let o=Et(e);for(;Q(o)&&!oe(o);){if(be(o))return o;o=Et(o)}return null}function xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oe(e){return["html","body","#document"].includes(pt(e))}function Y(e){return F(e).getComputedStyle(e)}function re(e){return rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Et(e){if(pt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||zr(e)&&e.host||dt(e);return zr(o)?o.host:o}function kr(e){let o=Et(e);return oe(o)?e.ownerDocument?e.ownerDocument.body:e.body:Q(o)&&Gt(o)?o:kr(o)}function he(e,o,n){var a;o===void 0&&(o=[]),n===void 0&&(n=!0);let i=kr(e),s=i===((a=e.ownerDocument)==null?void 0:a.body),c=F(i);return s?o.concat(c,c.visualViewport||[],Gt(i)?i:[],c.frameElement&&n?he(c.frameElement):[]):o.concat(i,he(i,[],n))}function Zr(e){let o=Y(e),n=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=Q(e),s=i?e.offsetWidth:n,c=i?e.offsetHeight:a,p=ee(n)!==s||ee(a)!==c;return p&&(n=s,a=c),{width:n,height:a,$:p}}function Kr(e){return rt(e)?e:e.contextElement}function Zt(e){let o=Kr(e);if(!Q(o))return st(1);let n=o.getBoundingClientRect(),{width:a,height:i,$:s}=Zr(o),c=(s?ee(n.width):n.width)/a,p=(s?ee(n.height):n.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var $n=st(0);function Mr(e){let o=F(e);return!xe()||!o.visualViewport?$n:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Pn(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==F(e)?!1:o}function ne(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),s=Kr(e),c=st(1);o&&(a?rt(a)&&(c=Zt(a)):c=Zt(e));let p=Pn(s,n,a)?Mr(s):st(0),d=(i.left+p.x)/c.x,m=(i.top+p.y)/c.y,x=i.width/c.x,y=i.height/c.y;if(s){let v=F(s),S=a&&rt(a)?F(a):a,E=v.frameElement;for(;E&&a&&S!==v;){let W=Zt(E),I=E.getBoundingClientRect(),$=Y(E),B=I.left+(E.clientLeft+parseFloat($.paddingLeft))*W.x,D=I.top+(E.clientTop+parseFloat($.paddingTop))*W.y;d*=W.x,m*=W.y,x*=W.x,y*=W.y,d+=B,m+=D,E=F(E).frameElement}}return Nt({width:x,height:y,x:d,y:m})}function In(e){let{rect:o,offsetParent:n,strategy:a}=e,i=Q(n),s=dt(n);if(n===s)return o;let c={scrollLeft:0,scrollTop:0},p=st(1),d=st(0);if((i||!i&&a!=="fixed")&&((pt(n)!=="body"||Gt(s))&&(c=re(n)),Q(n))){let m=ne(n);p=Zt(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function Bn(e){return Array.from(e.getClientRects())}function Fr(e){return ne(dt(e)).left+re(e).scrollLeft}function Tn(e){let o=dt(e),n=re(e),a=e.ownerDocument.body,i=xt(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),s=xt(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+Fr(e),p=-n.scrollTop;return Y(a).direction==="rtl"&&(c+=xt(o.clientWidth,a.clientWidth)-i),{width:i,height:s,x:c,y:p}}function zn(e,o){let n=F(e),a=dt(e),i=n.visualViewport,s=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){s=i.width,c=i.height;let m=xe();(!m||m&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:s,height:c,x:p,y:d}}function _n(e,o){let n=ne(e,!0,o==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,s=Q(e)?Zt(e):st(1),c=e.clientWidth*s.x,p=e.clientHeight*s.y,d=i*s.x,m=a*s.y;return{width:c,height:p,x:d,y:m}}function Dr(e,o,n){let a;if(o==="viewport")a=zn(e,n);else if(o==="document")a=Tn(dt(e));else if(rt(o))a=_n(o,n);else{let i=Mr(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return Nt(a)}function Vr(e,o){let n=Et(e);return n===o||!rt(n)||oe(n)?!1:Y(n).position==="fixed"||Vr(n,o)}function Hn(e,o){let n=o.get(e);if(n)return n;let a=he(e,[],!1).filter(p=>rt(p)&&pt(p)!=="body"),i=null,s=Y(e).position==="fixed",c=s?Et(e):e;for(;rt(c)&&!oe(c);){let p=Y(c),d=be(c);!d&&p.position==="fixed"&&(i=null),(s?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Gt(c)&&!d&&Vr(e,c))?a=a.filter(x=>x!==c):i=p,c=Et(c)}return o.set(e,a),a}function Un(e){let{element:o,boundary:n,rootBoundary:a,strategy:i}=e,c=[...n==="clippingAncestors"?Hn(o,this._c):[].concat(n),a],p=c[0],d=c.reduce((m,x)=>{let y=Dr(o,x,i);return m.top=xt(y.top,m.top),m.right=te(y.right,m.right),m.bottom=te(y.bottom,m.bottom),m.left=xt(y.left,m.left),m},Dr(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function kn(e){return Zr(e)}function Dn(e,o,n){let a=Q(o),i=dt(o),s=n==="fixed",c=ne(e,!0,s,o),p={scrollLeft:0,scrollTop:0},d=st(0);if(a||!a&&!s)if((pt(o)!=="body"||Gt(i))&&(p=re(o)),a){let m=ne(o,!0,s,o);d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}else i&&(d.x=Fr(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function Gr(e,o){return!Q(e)||Y(e).position==="fixed"?null:o?o(e):e.offsetParent}function jr(e,o){let n=F(e);if(!Q(e))return n;let a=Gr(e,o);for(;a&&Hr(a)&&Y(a).position==="static";)a=Gr(a,o);return a&&(pt(a)==="html"||pt(a)==="body"&&Y(a).position==="static"&&!be(a))?n:a||Ur(e)||n}var Gn=async function(e){let{reference:o,floating:n,strategy:a}=e,i=this.getOffsetParent||jr,s=this.getDimensions;return{reference:Dn(o,await i(n),a),floating:{x:0,y:0,...await s(n)}}};function Zn(e){return Y(e).direction==="rtl"}var Oe={convertOffsetParentRelativeRectToViewportRelativeRect:In,getDocumentElement:dt,getClippingRect:Un,getOffsetParent:jr,getElementRects:Gn,getClientRects:Bn,getDimensions:kn,getScale:Zt,isElement:rt,isRTL:Zn};var Yr=(e,o,n)=>{let a=new Map,i={platform:Oe,...n},s={...i.platform,_c:a};return Tr(e,o,{...i,platform:s})};function Xr(e){return Kn(e)}function Ve(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Kn(e){for(let o=e;o;o=Ve(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Ve(e);o;o=Ve(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function qr(e,o,n){return Yr(e,o,{platform:{...Oe,getOffsetParent:a=>Oe.getOffsetParent(a,Xr)},middleware:[Fe({crossAxis:!0}),Me({allowedPlacements:[n]})]})}var V=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},A=class extends ae.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 ae.Debouncer,this.revealDebouncer=new ae.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jr.html`
521
+ `;var Wr=["top","right","bottom","left"],Lr=["start","end"],Ue=Wr.reduce((e,o)=>e.concat(o,o+"-"+Lr[0],o+"-"+Lr[1]),[]),te=Math.min,xt=Math.max,ee=Math.round;var st=e=>({x:e,y:e}),Rn={left:"right",right:"left",bottom:"top",top:"bottom"},An={start:"end",end:"start"};function ke(e,o,n){return xt(e,te(o,n))}function me(e,o){return typeof e=="function"?e(o):e}function Dt(e){return e.split("-")[0]}function Ot(e){return e.split("-")[1]}function De(e){return e==="x"?"y":"x"}function Ge(e){return e==="y"?"height":"width"}function ye(e){return["top","bottom"].includes(Dt(e))?"y":"x"}function Ze(e){return De(ye(e))}function $r(e,o,n){n===void 0&&(n=!1);let a=Ot(e),i=Ze(e),s=Ge(i),c=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[s]>o.floating[s]&&(c=He(c)),[c,He(c)]}function Pr(e){return e.replace(/start|end/g,o=>An[o])}function He(e){return e.replace(/left|right|bottom|top/g,o=>Rn[o])}function Ln(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ir(e){return typeof e!="number"?Ln(e):{top:e,right:e,bottom:e,left:e}}function Nt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Br(e,o,n){let{reference:a,floating:i}=e,s=ye(o),c=Ze(o),p=Ge(c),d=Dt(o),m=s==="y",x=a.x+a.width/2-i.width/2,y=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,S;switch(d){case"top":S={x,y:a.y-i.height};break;case"bottom":S={x,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y};break;case"left":S={x:a.x-i.width,y};break;default:S={x:a.x,y:a.y}}switch(Ot(o)){case"start":S[c]-=v*(n&&m?-1:1);break;case"end":S[c]+=v*(n&&m?-1:1);break}return S}var Tr=async(e,o,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:s=[],platform:c}=n,p=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),m=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y}=Br(m,a,d),v=a,S={},E=0;for(let W=0;W<p.length;W++){let{name:I,fn:$}=p[W],{x:B,y:D,data:ut,reset:U}=await $({x,y,initialPlacement:a,placement:v,strategy:i,middlewareData:S,rects:m,platform:c,elements:{reference:e,floating:o}});if(x=B??x,y=D??y,S={...S,[I]:{...S[I],...ut}},U&&E<=50){E++,typeof U=="object"&&(U.placement&&(v=U.placement),U.rects&&(m=U.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):U.rects),{x,y}=Br(m,v,d)),W=-1;continue}}return{x,y,placement:v,strategy:i,middlewareData:S}};async function Ke(e,o){var n;o===void 0&&(o={});let{x:a,y:i,platform:s,rects:c,elements:p,strategy:d}=e,{boundary:m="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:v=!1,padding:S=0}=me(o,e),E=Ir(S),I=p[v?y==="floating"?"reference":"floating":y],$=Nt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(I)))==null||n?I:I.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(p.floating)),boundary:m,rootBoundary:x,strategy:d})),B=y==="floating"?{...c.floating,x:a,y:i}:c.reference,D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(p.floating)),ut=await(s.isElement==null?void 0:s.isElement(D))?await(s.getScale==null?void 0:s.getScale(D))||{x:1,y:1}:{x:1,y:1},U=Nt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:B,offsetParent:D,strategy:d}):B);return{top:($.top-U.top+E.top)/ut.y,bottom:(U.bottom-$.bottom+E.bottom)/ut.y,left:($.left-U.left+E.left)/ut.x,right:(U.right-$.right+E.right)/ut.x}}function Wn(e,o,n){return(e?[...n.filter(i=>Ot(i)===e),...n.filter(i=>Ot(i)!==e)]:n.filter(i=>Dt(i)===i)).filter(i=>e?Ot(i)===e||(o?Pr(i)!==i:!1):!0)}var Me=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,a,i;let{rects:s,middlewareData:c,placement:p,platform:d,elements:m}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:v=Ue,autoAlignment:S=!0,...E}=me(e,o),W=y!==void 0||v===Ue?Wn(y||null,S,v):v,I=await Ke(o,E),$=((n=c.autoPlacement)==null?void 0:n.index)||0,B=W[$];if(B==null)return{};let D=$r(B,s,await(d.isRTL==null?void 0:d.isRTL(m.floating)));if(p!==B)return{reset:{placement:W[0]}};let ut=[I[Dt(B)],I[D[0]],I[D[1]]],U=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:B,overflows:ut}],je=W[$+1];if(je)return{data:{index:$+1,overflows:U},reset:{placement:je}};let Xe=U.map(tt=>{let Ft=Ot(tt.placement);return[tt.placement,Ft&&x?tt.overflows.slice(0,2).reduce((gn,un)=>gn+un,0):tt.overflows[0],tt.overflows]}).sort((tt,Ft)=>tt[1]-Ft[1]),qe=((i=Xe.filter(tt=>tt[2].slice(0,Ot(tt[0])?2:3).every(Ft=>Ft<=0))[0])==null?void 0:i[0])||Xe[0][0];return qe!==p?{data:{index:$+1,overflows:U},reset:{placement:qe}}:{}}}};var Fe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:a,placement:i}=o,{mainAxis:s=!0,crossAxis:c=!1,limiter:p={fn:I=>{let{x:$,y:B}=I;return{x:$,y:B}}},...d}=me(e,o),m={x:n,y:a},x=await Ke(o,d),y=ye(Dt(i)),v=De(y),S=m[v],E=m[y];if(s){let I=v==="y"?"top":"left",$=v==="y"?"bottom":"right",B=S+x[I],D=S-x[$];S=ke(B,S,D)}if(c){let I=y==="y"?"top":"left",$=y==="y"?"bottom":"right",B=E+x[I],D=E-x[$];E=ke(B,E,D)}let W=p.fn({...o,[v]:S,[y]:E});return{...W,data:{x:W.x-n,y:W.y-a}}}}};function pt(e){return _r(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function dt(e){var o;return(o=(_r(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function _r(e){return e instanceof Node||e instanceof F(e).Node}function rt(e){return e instanceof Element||e instanceof F(e).Element}function Q(e){return e instanceof HTMLElement||e instanceof F(e).HTMLElement}function zr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof F(e).ShadowRoot}function Gt(e){let{overflow:o,overflowX:n,overflowY:a,display:i}=j(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+n)&&!["inline","contents"].includes(i)}function Hr(e){return["table","td","th"].includes(pt(e))}function be(e){let o=xe(),n=j(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Ur(e){let o=Et(e);for(;Q(o)&&!oe(o);){if(be(o))return o;o=Et(o)}return null}function xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oe(e){return["html","body","#document"].includes(pt(e))}function j(e){return F(e).getComputedStyle(e)}function re(e){return rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Et(e){if(pt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||zr(e)&&e.host||dt(e);return zr(o)?o.host:o}function kr(e){let o=Et(e);return oe(o)?e.ownerDocument?e.ownerDocument.body:e.body:Q(o)&&Gt(o)?o:kr(o)}function he(e,o,n){var a;o===void 0&&(o=[]),n===void 0&&(n=!0);let i=kr(e),s=i===((a=e.ownerDocument)==null?void 0:a.body),c=F(i);return s?o.concat(c,c.visualViewport||[],Gt(i)?i:[],c.frameElement&&n?he(c.frameElement):[]):o.concat(i,he(i,[],n))}function Zr(e){let o=j(e),n=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=Q(e),s=i?e.offsetWidth:n,c=i?e.offsetHeight:a,p=ee(n)!==s||ee(a)!==c;return p&&(n=s,a=c),{width:n,height:a,$:p}}function Kr(e){return rt(e)?e:e.contextElement}function Zt(e){let o=Kr(e);if(!Q(o))return st(1);let n=o.getBoundingClientRect(),{width:a,height:i,$:s}=Zr(o),c=(s?ee(n.width):n.width)/a,p=(s?ee(n.height):n.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var $n=st(0);function Mr(e){let o=F(e);return!xe()||!o.visualViewport?$n:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Pn(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==F(e)?!1:o}function ne(e,o,n,a){o===void 0&&(o=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),s=Kr(e),c=st(1);o&&(a?rt(a)&&(c=Zt(a)):c=Zt(e));let p=Pn(s,n,a)?Mr(s):st(0),d=(i.left+p.x)/c.x,m=(i.top+p.y)/c.y,x=i.width/c.x,y=i.height/c.y;if(s){let v=F(s),S=a&&rt(a)?F(a):a,E=v.frameElement;for(;E&&a&&S!==v;){let W=Zt(E),I=E.getBoundingClientRect(),$=j(E),B=I.left+(E.clientLeft+parseFloat($.paddingLeft))*W.x,D=I.top+(E.clientTop+parseFloat($.paddingTop))*W.y;d*=W.x,m*=W.y,x*=W.x,y*=W.y,d+=B,m+=D,E=F(E).frameElement}}return Nt({width:x,height:y,x:d,y:m})}function In(e){let{rect:o,offsetParent:n,strategy:a}=e,i=Q(n),s=dt(n);if(n===s)return o;let c={scrollLeft:0,scrollTop:0},p=st(1),d=st(0);if((i||!i&&a!=="fixed")&&((pt(n)!=="body"||Gt(s))&&(c=re(n)),Q(n))){let m=ne(n);p=Zt(n),d.x=m.x+n.clientLeft,d.y=m.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function Bn(e){return Array.from(e.getClientRects())}function Fr(e){return ne(dt(e)).left+re(e).scrollLeft}function Tn(e){let o=dt(e),n=re(e),a=e.ownerDocument.body,i=xt(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),s=xt(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-n.scrollLeft+Fr(e),p=-n.scrollTop;return j(a).direction==="rtl"&&(c+=xt(o.clientWidth,a.clientWidth)-i),{width:i,height:s,x:c,y:p}}function zn(e,o){let n=F(e),a=dt(e),i=n.visualViewport,s=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){s=i.width,c=i.height;let m=xe();(!m||m&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:s,height:c,x:p,y:d}}function _n(e,o){let n=ne(e,!0,o==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,s=Q(e)?Zt(e):st(1),c=e.clientWidth*s.x,p=e.clientHeight*s.y,d=i*s.x,m=a*s.y;return{width:c,height:p,x:d,y:m}}function Dr(e,o,n){let a;if(o==="viewport")a=zn(e,n);else if(o==="document")a=Tn(dt(e));else if(rt(o))a=_n(o,n);else{let i=Mr(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return Nt(a)}function Vr(e,o){let n=Et(e);return n===o||!rt(n)||oe(n)?!1:j(n).position==="fixed"||Vr(n,o)}function Hn(e,o){let n=o.get(e);if(n)return n;let a=he(e,[],!1).filter(p=>rt(p)&&pt(p)!=="body"),i=null,s=j(e).position==="fixed",c=s?Et(e):e;for(;rt(c)&&!oe(c);){let p=j(c),d=be(c);!d&&p.position==="fixed"&&(i=null),(s?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Gt(c)&&!d&&Vr(e,c))?a=a.filter(x=>x!==c):i=p,c=Et(c)}return o.set(e,a),a}function Un(e){let{element:o,boundary:n,rootBoundary:a,strategy:i}=e,c=[...n==="clippingAncestors"?Hn(o,this._c):[].concat(n),a],p=c[0],d=c.reduce((m,x)=>{let y=Dr(o,x,i);return m.top=xt(y.top,m.top),m.right=te(y.right,m.right),m.bottom=te(y.bottom,m.bottom),m.left=xt(y.left,m.left),m},Dr(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function kn(e){return Zr(e)}function Dn(e,o,n){let a=Q(o),i=dt(o),s=n==="fixed",c=ne(e,!0,s,o),p={scrollLeft:0,scrollTop:0},d=st(0);if(a||!a&&!s)if((pt(o)!=="body"||Gt(i))&&(p=re(o)),a){let m=ne(o,!0,s,o);d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}else i&&(d.x=Fr(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function Gr(e,o){return!Q(e)||j(e).position==="fixed"?null:o?o(e):e.offsetParent}function Yr(e,o){let n=F(e);if(!Q(e))return n;let a=Gr(e,o);for(;a&&Hr(a)&&j(a).position==="static";)a=Gr(a,o);return a&&(pt(a)==="html"||pt(a)==="body"&&j(a).position==="static"&&!be(a))?n:a||Ur(e)||n}var Gn=async function(e){let{reference:o,floating:n,strategy:a}=e,i=this.getOffsetParent||Yr,s=this.getDimensions;return{reference:Dn(o,await i(n),a),floating:{x:0,y:0,...await s(n)}}};function Zn(e){return j(e).direction==="rtl"}var Oe={convertOffsetParentRelativeRectToViewportRelativeRect:In,getDocumentElement:dt,getClippingRect:Un,getOffsetParent:Yr,getElementRects:Gn,getClientRects:Bn,getDimensions:kn,getScale:Zt,isElement:rt,isRTL:Zn};var jr=(e,o,n)=>{let a=new Map,i={platform:Oe,...n},s={...i.platform,_c:a};return Tr(e,o,{...i,platform:s})};function Xr(e){return Kn(e)}function Ve(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Kn(e){for(let o=e;o;o=Ve(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Ve(e);o;o=Ve(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function qr(e,o,n){return jr(e,o,{platform:{...Oe,getOffsetParent:a=>Oe.getOffsetParent(a,Xr)},middleware:[Fe({crossAxis:!0}),Me({allowedPlacements:[n]})]})}var V=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},A=class extends ae.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 ae.Debouncer,this.revealDebouncer=new ae.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jr.html`
522
522
  <div part="container"
523
523
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
524
524
  @mouseenter=${this.onHover}
@@ -536,7 +536,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
536
536
  </div>
537
537
  </div>
538
538
  </div>
539
- `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(n=>o.has(n))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qr(this.slottedElement,this.tooltip,this.position).then(({x:o,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${n}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,n){return Math.max(o,Math.min(0,-n))}};A.elementDefinitions={"ft-typography":J};A.styles=Ar;V([(0,T.property)()],A.prototype,"text",void 0);V([(0,T.property)({type:Boolean})],A.prototype,"manual",void 0);V([(0,T.property)({type:Boolean})],A.prototype,"inline",void 0);V([(0,T.property)({type:Number})],A.prototype,"delay",void 0);V([(0,T.property)()],A.prototype,"position",void 0);V([(0,T.queryAssignedNodes)()],A.prototype,"slotNodes",void 0);V([(0,T.query)(".ft-tooltip--container")],A.prototype,"container",void 0);V([(0,T.query)(".ft-tooltip")],A.prototype,"tooltip",void 0);V([(0,T.query)(".ft-tooltip--content")],A.prototype,"tooltipContent",void 0);V([(0,T.state)()],A.prototype,"visible",void 0);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onTouch",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onHover",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onOut",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onClick",null);(0,Qr.customElement)("ft-tooltip")(A);var nn=b(w());var ie=b(G()),wt=b(mt()),on=b(w()),rn=b(en());var Se;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Se||(Se={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Us=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var ks={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var nt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(nt||(nt={}));var Ce=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},q=class extends on.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ie.nothing}render(){let o=this.variant&&Object.values(nt).includes(this.variant)?this.variant:nt.fluid_topics,n=o!==nt.material||!!this.value;return ie.html`
539
+ `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(n=>o.has(n))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",qr(this.slottedElement,this.tooltip,this.position).then(({x:o,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${n}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,n){return Math.max(o,Math.min(0,-n))}};A.elementDefinitions={"ft-typography":J};A.styles=Ar;V([(0,T.property)()],A.prototype,"text",void 0);V([(0,T.property)({type:Boolean})],A.prototype,"manual",void 0);V([(0,T.property)({type:Boolean})],A.prototype,"inline",void 0);V([(0,T.property)({type:Number})],A.prototype,"delay",void 0);V([(0,T.property)()],A.prototype,"position",void 0);V([(0,T.queryAssignedNodes)()],A.prototype,"slotNodes",void 0);V([(0,T.query)(".ft-tooltip--container")],A.prototype,"container",void 0);V([(0,T.query)(".ft-tooltip")],A.prototype,"tooltip",void 0);V([(0,T.query)(".ft-tooltip--content")],A.prototype,"tooltipContent",void 0);V([(0,T.state)()],A.prototype,"visible",void 0);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onTouch",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onHover",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onOut",null);V([(0,T.eventOptions)({passive:!0})],A.prototype,"onClick",null);(0,Qr.customElement)("ft-tooltip")(A);var nn=b(w());var ie=b(G()),wt=b(mt()),on=b(w()),rn=b(en());var Se;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Se||(Se={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Us=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var ks={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var nt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(nt||(nt={}));var Ce=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},q=class extends on.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ie.nothing}render(){let o=this.variant&&Object.values(nt).includes(this.variant)?this.variant:nt.fluid_topics,n=o!==nt.material||!!this.value;return ie.html`
540
540
  <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
541
541
  ${(0,rn.unsafeHTML)(this.resolvedIcon)}
542
542
  <slot ?hidden=${n}></slot>
@@ -548,7 +548,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
548
548
  <div></div>
549
549
  <div></div>
550
550
  </div>
551
- `}};Rt.styles=Xo;(0,cn.customElement)("ft-loader")(Rt);var Kt=b(G()),sn=b(Re()),k=b(mt()),j=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},L=class extends(0,Mt.toFtFormComponent)(Mt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var n;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(Kt.html`
551
+ `}};Rt.styles=Xo;(0,cn.customElement)("ft-loader")(Rt);var Kt=b(G()),sn=b(Re()),k=b(mt()),Y=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},L=class extends(0,Mt.toFtFormComponent)(Mt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var n;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(Kt.html`
552
552
  <button part="button"
553
553
  class="${(0,sn.classMap)(this.buttonClasses)}"
554
554
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
@@ -574,7 +574,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
574
574
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
575
575
  `:Kt.html`
576
576
  <slot part="icon" name="icon"></slot>
577
- `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":R,"ft-tooltip":A,"ft-typography":J,"ft-icon":q,"ft-loader":Rt};j([(0,k.property)({type:String,reflect:!0})],L.prototype,"role",void 0);j([(0,k.property)()],L.prototype,"type",void 0);j([(0,k.property)({type:Boolean})],L.prototype,"disabled",void 0);j([(0,k.property)()],L.prototype,"label",void 0);j([(0,k.property)()],L.prototype,"icon",void 0);j([(0,k.property)()],L.prototype,"iconVariant",void 0);j([(0,k.property)({type:Boolean})],L.prototype,"trailingIcon",void 0);j([(0,k.property)({type:Boolean})],L.prototype,"loading",void 0);j([(0,k.property)({attribute:"aria-label"})],L.prototype,"ariaLabel",void 0);j([(0,k.property)()],L.prototype,"tooltipPosition",void 0);j([(0,k.property)({type:Boolean})],L.prototype,"hideTooltip",void 0);j([(0,k.property)({type:Boolean})],L.prototype,"forceTooltip",void 0);j([(0,k.query)(".ft-button")],L.prototype,"button",void 0);j([(0,k.query)(".ft-button--label slot")],L.prototype,"slottedContent",void 0);var ve=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},ft=class extends L{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ft.styles=[pn.safariEllipsisFix,or];ve([(0,le.property)({type:Boolean})],ft.prototype,"primary",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"outlined",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"dense",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"round",void 0);var ce=b(mt());var Ee=b(w());var dn=b(G()),C=b(w());var fn=[dn.css`
577
+ `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":R,"ft-tooltip":A,"ft-typography":J,"ft-icon":q,"ft-loader":Rt};Y([(0,k.property)({type:String,reflect:!0})],L.prototype,"role",void 0);Y([(0,k.property)()],L.prototype,"type",void 0);Y([(0,k.property)({type:Boolean})],L.prototype,"disabled",void 0);Y([(0,k.property)()],L.prototype,"label",void 0);Y([(0,k.property)()],L.prototype,"icon",void 0);Y([(0,k.property)()],L.prototype,"iconVariant",void 0);Y([(0,k.property)({type:Boolean})],L.prototype,"trailingIcon",void 0);Y([(0,k.property)({type:Boolean})],L.prototype,"loading",void 0);Y([(0,k.property)({attribute:"aria-label"})],L.prototype,"ariaLabel",void 0);Y([(0,k.property)()],L.prototype,"tooltipPosition",void 0);Y([(0,k.property)({type:Boolean})],L.prototype,"hideTooltip",void 0);Y([(0,k.property)({type:Boolean})],L.prototype,"forceTooltip",void 0);Y([(0,k.query)(".ft-button")],L.prototype,"button",void 0);Y([(0,k.query)(".ft-button--label slot")],L.prototype,"slottedContent",void 0);var ve=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},ft=class extends L{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ft.styles=[pn.safariEllipsisFix,or];ve([(0,le.property)({type:Boolean})],ft.prototype,"primary",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"outlined",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"dense",void 0);ve([(0,le.property)({type:Boolean})],ft.prototype,"round",void 0);var ce=b(mt());var Ee=b(w());var dn=b(G()),C=b(w());var fn=[dn.css`
578
578
  :host {
579
579
  display: inline-block;
580
580
  max-width: 100%;
@@ -818,7 +818,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
818
818
  .ftds--size-small.ft-button--icon-only {
819
819
  width: ${f.smallIconOnlyWidth};
820
820
  }
821
- `,C.noTextSelect];var Ne=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},gt=class extends(0,Ee.toFtdsBase)(L){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=pe.brand,this.iconVariant=nt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case At.large:return bt.body2medium;case At.medium:return bt.caption1medium;case At.small:return bt.caption2medium}}};gt.styles=[Ee.safariEllipsisFix,fn];Ne([(0,ce.property)({type:Boolean})],gt.prototype,"primary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"secondary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"tertiary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"round",void 0);(0,je.customElement)("ft-button")(ft);(0,je.customElement)("ftds-button")(gt);})();
821
+ `,C.noTextSelect];var Ne=function(e,o,n,a){var i=arguments.length,s=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,n):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,o,n,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(s=(i<3?c(s):i>3?c(o,n,s):c(o,n))||s);return i>3&&s&&Object.defineProperty(o,n,s),s},gt=class extends(0,Ee.toFtdsBase)(L){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=pe.brand,this.iconVariant=nt.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case At.large:return bt.body2medium;case At.medium:return bt.caption1medium;case At.small:return bt.caption2medium}}};gt.styles=[Ee.safariEllipsisFix,fn];Ne([(0,ce.property)({type:Boolean})],gt.prototype,"primary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"secondary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"tertiary",void 0);Ne([(0,ce.property)({type:Boolean})],gt.prototype,"round",void 0);(0,Ye.customElement)("ft-button")(ft);(0,Ye.customElement)("ftds-button")(gt);})();
822
822
  /*! Bundled license information:
823
823
 
824
824
  lit-html/lit-html.js: