@fluid-topics/ft-floating-menu 1.1.101 → 1.1.103

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 bo=Object.defineProperty;var Zn=Object.getOwnPropertyDescriptor;var Kn=Object.getOwnPropertyNames;var Fn=Object.getPrototypeOf,Vn=Object.prototype.hasOwnProperty;var re=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var jn=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Kn(o))!Vn.call(e,a)&&a!==n&&bo(e,a,{get:()=>o[a],enumerable:!(i=Zn(o,a))||i.enumerable});return e};var y=(e,o,n)=>(n=e!=null?Mn(Fn(e)):{},jn(o||!e||!e.__esModule?bo(n,"default",{value:e,enumerable:!0}):n,e));var E=re((vi,xo)=>{xo.exports=ftGlobals.wcUtils});var W=re((Ni,Oo)=>{Oo.exports=ftGlobals.lit});var st=re((Ei,Co)=>{Co.exports=ftGlobals.litDecorators});var Ee=re((ds,vr)=>{vr.exports=ftGlobals.litClassMap});var Sn=re((gp,On)=>{On.exports=ftGlobals.litUnsafeHTML});var Se=y(E());var So=y(W()),Q=y(E()),St={zIndex:Q.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Q.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Q.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Q.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",Q.designSystemVariables.colorOnSurfaceHigh),colorSurface:Q.FtCssVariableFactory.external(Q.designSystemVariables.colorSurface,"Design system"),menuElevation:Q.FtCssVariableFactory.external(Q.designSystemVariables.elevation02,"Design system"),borderRadiusS:Q.FtCssVariableFactory.external(Q.designSystemVariables.borderRadiusS,"Design system")},Ce=So.css`
1
+ "use strict";(()=>{var Mn=Object.create;var bo=Object.defineProperty;var Zn=Object.getOwnPropertyDescriptor;var Kn=Object.getOwnPropertyNames;var Fn=Object.getPrototypeOf,Vn=Object.prototype.hasOwnProperty;var re=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var jn=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Kn(o))!Vn.call(e,a)&&a!==n&&bo(e,a,{get:()=>o[a],enumerable:!(i=Zn(o,a))||i.enumerable});return e};var y=(e,o,n)=>(n=e!=null?Mn(Fn(e)):{},jn(o||!e||!e.__esModule?bo(n,"default",{value:e,enumerable:!0}):n,e));var E=re((vi,xo)=>{xo.exports=ftGlobals.wcUtils});var W=re((Ni,Oo)=>{Oo.exports=ftGlobals.lit});var st=re((Ei,Co)=>{Co.exports=ftGlobals.litDecorators});var Ee=re((ds,vr)=>{vr.exports=ftGlobals.litClassMap});var Sn=re((gp,On)=>{On.exports=ftGlobals.litUnsafeHTML});var Se=y(E());var So=y(W()),tt=y(E()),St={zIndex:tt.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:tt.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:tt.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:tt.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",tt.designSystemVariables.colorOnSurfaceHigh),colorSurface:tt.FtCssVariableFactory.external(tt.designSystemVariables.colorSurface,"Design system"),menuElevation:tt.FtCssVariableFactory.external(tt.designSystemVariables.elevation02,"Design system"),borderRadiusS:tt.FtCssVariableFactory.external(tt.designSystemVariables.borderRadiusS,"Design system")},Ce=So.css`
2
2
  .ft-floating-menu {
3
3
  color: ${St.textColor};
4
4
  display: contents;
@@ -29,7 +29,7 @@
29
29
  .ft-floating-menu--open .ft-floating-menu--options {
30
30
  display: block;
31
31
  }
32
- `;var uo=y(E());var he=y(st()),Ln=y(E());var Sr=y(W()),O=y(E());var Ao=y(W()),B=y(E()),vo=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorContent),N={color:vo,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo),opacityContentOnSurfacePressed:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:B.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},No=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorPrimary),wo={color:No,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",No)},Eo=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorSecondary),Ro={color:Eo,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",Eo)},Lo=Ao.css`
32
+ `;var uo=y(E());var he=y(st()),Ln=y(E());var Sr=y(W()),O=y(E());var Ao=y(W()),T=y(E()),vo=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorContent),N={color:vo,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo),opacityContentOnSurfacePressed:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:T.FtCssVariableFactory.external(T.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:T.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},No=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorPrimary),wo={color:No,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",No)},Eo=T.FtCssVariableFactory.extend("--ft-ripple-color","",T.designSystemVariables.colorSecondary),Ro={color:Eo,backgroundColor:T.FtCssVariableFactory.extend("--ft-ripple-background-color","",Eo)},Lo=Ao.css`
33
33
  :host {
34
34
  display: contents;
35
35
  }
@@ -246,7 +246,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
246
246
  .ft-typography {
247
247
  vertical-align: inherit;
248
248
  }
249
- `,ur=[Object.keys(ve).map(e=>er(e))];var gr=y(W()),ne=y(E()),K={color:ne.FtCssVariableFactory.extend("--ft-loader-color","",ne.designSystemVariables.colorPrimary),size:ne.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},yr=gr.css`
249
+ `,ur=[Object.keys(ve).map(e=>er(e))];var gr=y(W()),ne=y(E()),F={color:ne.FtCssVariableFactory.extend("--ft-loader-color","",ne.designSystemVariables.colorPrimary),size:ne.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},yr=gr.css`
250
250
  :host {
251
251
  line-height: 0;
252
252
  }
@@ -255,8 +255,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
255
255
  display: inline-block;
256
256
  position: relative;
257
257
 
258
- width: ${K.size};
259
- height: ${K.size};
258
+ width: ${F.size};
259
+ height: ${F.size};
260
260
  }
261
261
 
262
262
  .ft-loader div {
@@ -265,7 +265,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
265
265
  width: 25%;
266
266
  height: 25%;
267
267
  border-radius: 50%;
268
- background: ${K.color};
268
+ background: ${F.color};
269
269
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
270
270
  }
271
271
 
@@ -312,10 +312,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
312
312
  transform: translate(0, 0);
313
313
  }
314
314
  100% {
315
- transform: translate(calc(0.35 * ${K.size}), 0);
315
+ transform: translate(calc(0.35 * ${F.size}), 0);
316
316
  }
317
317
  }
318
- `;var hr=y(W()),gt=y(E()),F={size:gt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:gt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},br=hr.css`
318
+ `;var hr=y(W()),gt=y(E()),V={size:gt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:gt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",gt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:gt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},br=hr.css`
319
319
  :host, i.ft-icon {
320
320
  display: inline-flex;
321
321
  align-items: center;
@@ -324,14 +324,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
324
324
  }
325
325
 
326
326
  :host {
327
- width: ${F.size};
328
- height: ${F.size};
327
+ width: ${V.size};
328
+ height: ${V.size};
329
329
  }
330
330
 
331
331
  i.ft-icon {
332
332
  width: 100%;
333
333
  height: 100%;
334
- font-size: ${F.size};
334
+ font-size: ${V.size};
335
335
  line-height: 1;
336
336
  font-weight: normal;
337
337
  text-transform: none;
@@ -342,26 +342,26 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
342
342
  text-rendering: auto;
343
343
  -webkit-font-smoothing: antialiased;
344
344
  -moz-osx-font-smoothing: grayscale;
345
- vertical-align: ${F.verticalAlign};
345
+ vertical-align: ${V.verticalAlign};
346
346
  }
347
347
 
348
348
  i.ft-icon.ft-icon--fluid-topics {
349
- font-family: ${F.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
349
+ font-family: ${V.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
350
350
 
351
351
  /* Ugly fix because font is broken */
352
- font-size: calc(0.75 * ${F.size});
353
- line-height: ${F.size};
352
+ font-size: calc(0.75 * ${V.size});
353
+ line-height: ${V.size};
354
354
  position: relative;
355
355
  top: -4%;
356
356
  justify-content: center;
357
357
  }
358
358
 
359
359
  .ft-icon--file-format {
360
- font-family: ${F.fileFormatFontFamily}, ft-mime, sans-serif;
360
+ font-family: ${V.fileFormatFontFamily}, ft-mime, sans-serif;
361
361
  }
362
362
 
363
363
  .ft-icon--material {
364
- font-family: ${F.materialFontFamily}, "Material Icons", sans-serif;
364
+ font-family: ${V.materialFontFamily}, "Material Icons", sans-serif;
365
365
  }
366
366
  `;var xr=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),U={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:xr,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",pt.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",xr),verticalPadding:O.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:O.FtCssVariableFactory.external(O.designSystemVariables.colorOpacityDisabled,"Design system")},Or=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),Fe={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:Or,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Or)},dt={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Cr=[Sr.css`
367
367
  :host {
@@ -405,7 +405,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
405
405
 
406
406
  --ft-button-internal-line-height: max(calc(${U.fontSize} + 2px), ${U.iconSize});
407
407
  --ft-button-internal-color: ${U.color};
408
- ${(0,O.setVariable)(F.size,U.iconSize)};
408
+ ${(0,O.setVariable)(V.size,U.iconSize)};
409
409
  ${(0,O.setVariable)(N.color,U.rippleColor)};
410
410
 
411
411
  border-radius: ${U.borderRadius};
@@ -496,8 +496,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
496
496
  }
497
497
 
498
498
  ft-loader {
499
- ${(0,O.setVariable)(K.size,U.iconSize)};
500
- ${(0,O.setVariable)(K.color,"var(--ft-button-internal-color)")};
499
+ ${(0,O.setVariable)(F.size,U.iconSize)};
500
+ ${(0,O.setVariable)(F.color,"var(--ft-button-internal-color)")};
501
501
  }
502
502
  `,O.noTextSelect];var qt=y(E());var Er=y(E());var Nr=y(W()),G=y(st()),wr=y(Ee()),ie=y(E());var Y=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},A=class extends ie.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 ie.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 ie.Debouncer(10),this.moveRipple=o=>{var n,i;let{x:a,y:l}=this.getCoordinates(o),c=(i=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(l!=null?l-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`
503
503
  <style>
@@ -512,7 +512,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
512
512
  </div>
513
513
  `}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var n,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,n;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((n=this.target)!==null&&n!==void 0?n:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let n=(...p)=>d=>{p.forEach(g=>window.addEventListener(g,this.endPress,{once:!0})),this.startPress(d)},i=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",i,c),o.addEventListener("touchstart",a,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",l,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",i,c),o.removeEventListener("touchstart",a,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",l,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let n=o,i=o,a,l;return n.x!=null?{x:a,y:l}=n:i.touches!=null&&(a=i.touches[0].clientX,l=i.touches[0].clientY),{x:a,y:l}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let n of o.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};A.elementDefinitions={};A.styles=Lo;Y([(0,G.property)({type:Boolean})],A.prototype,"primary",void 0);Y([(0,G.property)({type:Boolean})],A.prototype,"secondary",void 0);Y([(0,G.property)({type:Boolean})],A.prototype,"unbounded",void 0);Y([(0,G.property)({type:Boolean})],A.prototype,"activated",void 0);Y([(0,G.property)({type:Boolean})],A.prototype,"selected",void 0);Y([(0,G.property)({type:Boolean})],A.prototype,"disabled",void 0);Y([(0,G.state)()],A.prototype,"hovered",void 0);Y([(0,G.state)()],A.prototype,"focused",void 0);Y([(0,G.state)()],A.prototype,"pressed",void 0);Y([(0,G.state)()],A.prototype,"rippling",void 0);Y([(0,G.state)()],A.prototype,"originX",void 0);Y([(0,G.state)()],A.prototype,"originY",void 0);Y([(0,G.query)(".ft-ripple")],A.prototype,"ripple",void 0);Y([(0,G.query)(".ft-ripple--effect")],A.prototype,"rippleEffect",void 0);(0,Er.customElement)("ft-ripple")(A);var xn=y(E());var bn=y(W()),k=y(st()),ge=y(E());var Fr=y(E());var Qe=globalThis,Re=Qe.trustedTypes,Rr=Re?Re.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ir="$lit$",vt=`lit$${(Math.random()+"").slice(9)}$`,Br="?"+vt,Xn=`<${Br}>`,Lt=document,Ae=()=>Lt.createComment(""),le=e=>e===null||typeof e!="object"&&typeof e!="function",Tr=Array.isArray,qn=e=>Tr(e)||typeof e?.[Symbol.iterator]=="function",Ve=`[
514
514
  \f\r]`,ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ar=/-->/g,Lr=/>/g,Rt=RegExp(`>|${Ve}(?:([^\\s"'>=/]+)(${Ve}*=${Ve}*(?:[^
515
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Wr=/"/g,zr=/^(?:script|style|textarea|title)$/i,_r=e=>(o,...n)=>({_$litType$:e,strings:o,values:n}),Hr=_r(1),kr=_r(2),ce=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Pr=new WeakMap,At=Lt.createTreeWalker(Lt,129);function Ur(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rr!==void 0?Rr.createHTML(o):o}var Jn=(e,o)=>{let n=e.length-1,i=[],a,l=o===2?"<svg>":"",c=ae;for(let p=0;p<n;p++){let d=e[p],g,x,h=-1,v=0;for(;v<d.length&&(c.lastIndex=v,x=c.exec(d),x!==null);)v=c.lastIndex,c===ae?x[1]==="!--"?c=Ar:x[1]!==void 0?c=Lr:x[2]!==void 0?(zr.test(x[2])&&(a=RegExp("</"+x[2],"g")),c=Rt):x[3]!==void 0&&(c=Rt):c===Rt?x[0]===">"?(c=a??ae,h=-1):x[1]===void 0?h=-2:(h=c.lastIndex-x[2].length,g=x[1],c=x[3]===void 0?Rt:x[3]==='"'?Wr:$r):c===Wr||c===$r?c=Rt:c===Ar||c===Lr?c=ae:(c=Rt,a=void 0);let S=c===Rt&&e[p+1].startsWith("/>")?" ":"";l+=c===ae?d+Xn:h>=0?(i.push(g),d.slice(0,h)+Ir+d.slice(h)+vt+S):d+vt+(h===-2?p:S)}return[Ur(e,l+(e[n]||"<?>")+(o===2?"</svg>":"")),i]},se=class e{constructor({strings:o,_$litType$:n},i){let a;this.parts=[];let l=0,c=0,p=o.length-1,d=this.parts,[g,x]=Jn(o,n);if(this.el=e.createElement(g,i),At.currentNode=this.el.content,n===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=At.nextNode())!==null&&d.length<p;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Ir)){let v=x[c++],S=a.getAttribute(h).split(vt),w=/([.?@])?(.*)/.exec(v);d.push({type:1,index:l,name:w[2],strings:S,ctor:w[1]==="."?Ye:w[1]==="?"?Xe:w[1]==="@"?qe:Kt}),a.removeAttribute(h)}else h.startsWith(vt)&&(d.push({type:6,index:l}),a.removeAttribute(h));if(zr.test(a.tagName)){let h=a.textContent.split(vt),v=h.length-1;if(v>0){a.textContent=Re?Re.emptyScript:"";for(let S=0;S<v;S++)a.append(h[S],Ae()),At.nextNode(),d.push({type:2,index:++l});a.append(h[v],Ae())}}}else if(a.nodeType===8)if(a.data===Br)d.push({type:2,index:l});else{let h=-1;for(;(h=a.data.indexOf(vt,h+1))!==-1;)d.push({type:7,index:l}),h+=vt.length-1}l++}}static createElement(o,n){let i=Lt.createElement("template");return i.innerHTML=o,i}};function Zt(e,o,n=e,i){if(o===ce)return o;let a=i!==void 0?n._$Co?.[i]:n._$Cl,l=le(o)?void 0:o._$litDirective$;return a?.constructor!==l&&(a?._$AO?.(!1),l===void 0?a=void 0:(a=new l(e),a._$AT(e,n,i)),i!==void 0?(n._$Co??=[])[i]=a:n._$Cl=a),a!==void 0&&(o=Zt(e,a._$AS(e,o.values),a,i)),o}var je=class{constructor(o,n){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:n},parts:i}=this._$AD,a=(o?.creationScope??Lt).importNode(n,!0);At.currentNode=a;let l=At.nextNode(),c=0,p=0,d=i[0];for(;d!==void 0;){if(c===d.index){let g;d.type===2?g=new Le(l,l.nextSibling,this,o):d.type===1?g=new d.ctor(l,d.name,d.strings,this,o):d.type===6&&(g=new Je(l,this,o)),this._$AV.push(g),d=i[++p]}c!==d?.index&&(l=At.nextNode(),c++)}return At.currentNode=Lt,a}p(o){let n=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,n),n+=i.strings.length-2):i._$AI(o[n])),n++}},Le=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,n,i,a){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=o,this._$AB=n,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,n=this._$AM;return n!==void 0&&o?.nodeType===11&&(o=n.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,n=this){o=Zt(this,o,n),le(o)?o===D||o==null||o===""?(this._$AH!==D&&this._$AR(),this._$AH=D):o!==this._$AH&&o!==ce&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):qn(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==D&&le(this._$AH)?this._$AA.nextSibling.data=o:this.$(Lt.createTextNode(o)),this._$AH=o}g(o){let{values:n,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=se.createElement(Ur(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(n);else{let l=new je(a,this),c=l.u(this.options);l.p(n),this.$(c),this._$AH=l}}_$AC(o){let n=Pr.get(o.strings);return n===void 0&&Pr.set(o.strings,n=new se(o)),n}T(o){Tr(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,i,a=0;for(let l of o)a===n.length?n.push(i=new e(this.k(Ae()),this.k(Ae()),this,this.options)):i=n[a],i._$AI(l),a++;a<n.length&&(this._$AR(i&&i._$AB.nextSibling,a),n.length=a)}_$AR(o=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,n,i,a,l){this.type=1,this._$AH=D,this._$AN=void 0,this.element=o,this.name=n,this._$AM=a,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}_$AI(o,n=this,i,a){let l=this.strings,c=!1;if(l===void 0)o=Zt(this,o,n,0),c=!le(o)||o!==this._$AH&&o!==ce,c&&(this._$AH=o);else{let p=o,d,g;for(o=l[0],d=0;d<l.length-1;d++)g=Zt(this,p[i+d],n,d),g===ce&&(g=this._$AH[d]),c||=!le(g)||g!==this._$AH[d],g===D?o=D:o!==D&&(o+=(g??"")+l[d+1]),this._$AH[d]=g}c&&!a&&this.O(o)}O(o){o===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ye=class extends Kt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===D?void 0:o}},Xe=class extends Kt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==D)}},qe=class extends Kt{constructor(o,n,i,a,l){super(o,n,i,a,l),this.type=5}_$AI(o,n=this){if((o=Zt(this,o,n,0)??D)===ce)return;let i=this._$AH,a=o===D&&i!==D||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==D&&(i===D||a);a&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Je=class{constructor(o,n,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){Zt(this,o)}};var Qn=Qe.litHtmlPolyfillSupport;Qn?.(se,Le),(Qe.litHtmlVersions??=[]).push("3.1.0");var Gr=Symbol.for(""),ti=e=>{if(e?.r===Gr)return e?._$litStatic$},to=e=>({_$litStatic$:e,r:Gr});var Dr=new Map,Mr=e=>(o,...n)=>{let i=n.length,a,l,c=[],p=[],d,g=0,x=!1;for(;g<i;){for(d=o[g];g<i&&(l=n[g],(a=ti(l))!==void 0);)d+=a+o[++g],x=!0;g!==i&&p.push(l),c.push(d),g++}if(g===i&&c.push(o[i]),x){let h=c.join("$$lit$$");(o=Dr.get(h))===void 0&&(c.raw=c,Dr.set(h,o=c)),n=p}return e(o,...n)},eo=Mr(Hr),Ss=Mr(kr);var oo=y(st()),Kr=y(E());var Nt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Nt||(Nt={}));var Zr=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},V=class extends Kr.FtLitElement{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?eo`
515
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Wr=/"/g,zr=/^(?:script|style|textarea|title)$/i,_r=e=>(o,...n)=>({_$litType$:e,strings:o,values:n}),Hr=_r(1),kr=_r(2),ce=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Pr=new WeakMap,At=Lt.createTreeWalker(Lt,129);function Ur(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rr!==void 0?Rr.createHTML(o):o}var Jn=(e,o)=>{let n=e.length-1,i=[],a,l=o===2?"<svg>":"",c=ae;for(let p=0;p<n;p++){let d=e[p],g,x,h=-1,v=0;for(;v<d.length&&(c.lastIndex=v,x=c.exec(d),x!==null);)v=c.lastIndex,c===ae?x[1]==="!--"?c=Ar:x[1]!==void 0?c=Lr:x[2]!==void 0?(zr.test(x[2])&&(a=RegExp("</"+x[2],"g")),c=Rt):x[3]!==void 0&&(c=Rt):c===Rt?x[0]===">"?(c=a??ae,h=-1):x[1]===void 0?h=-2:(h=c.lastIndex-x[2].length,g=x[1],c=x[3]===void 0?Rt:x[3]==='"'?Wr:$r):c===Wr||c===$r?c=Rt:c===Ar||c===Lr?c=ae:(c=Rt,a=void 0);let S=c===Rt&&e[p+1].startsWith("/>")?" ":"";l+=c===ae?d+Xn:h>=0?(i.push(g),d.slice(0,h)+Ir+d.slice(h)+vt+S):d+vt+(h===-2?p:S)}return[Ur(e,l+(e[n]||"<?>")+(o===2?"</svg>":"")),i]},se=class e{constructor({strings:o,_$litType$:n},i){let a;this.parts=[];let l=0,c=0,p=o.length-1,d=this.parts,[g,x]=Jn(o,n);if(this.el=e.createElement(g,i),At.currentNode=this.el.content,n===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=At.nextNode())!==null&&d.length<p;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Ir)){let v=x[c++],S=a.getAttribute(h).split(vt),w=/([.?@])?(.*)/.exec(v);d.push({type:1,index:l,name:w[2],strings:S,ctor:w[1]==="."?Ye:w[1]==="?"?Xe:w[1]==="@"?qe:Kt}),a.removeAttribute(h)}else h.startsWith(vt)&&(d.push({type:6,index:l}),a.removeAttribute(h));if(zr.test(a.tagName)){let h=a.textContent.split(vt),v=h.length-1;if(v>0){a.textContent=Re?Re.emptyScript:"";for(let S=0;S<v;S++)a.append(h[S],Ae()),At.nextNode(),d.push({type:2,index:++l});a.append(h[v],Ae())}}}else if(a.nodeType===8)if(a.data===Br)d.push({type:2,index:l});else{let h=-1;for(;(h=a.data.indexOf(vt,h+1))!==-1;)d.push({type:7,index:l}),h+=vt.length-1}l++}}static createElement(o,n){let i=Lt.createElement("template");return i.innerHTML=o,i}};function Zt(e,o,n=e,i){if(o===ce)return o;let a=i!==void 0?n._$Co?.[i]:n._$Cl,l=le(o)?void 0:o._$litDirective$;return a?.constructor!==l&&(a?._$AO?.(!1),l===void 0?a=void 0:(a=new l(e),a._$AT(e,n,i)),i!==void 0?(n._$Co??=[])[i]=a:n._$Cl=a),a!==void 0&&(o=Zt(e,a._$AS(e,o.values),a,i)),o}var je=class{constructor(o,n){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:n},parts:i}=this._$AD,a=(o?.creationScope??Lt).importNode(n,!0);At.currentNode=a;let l=At.nextNode(),c=0,p=0,d=i[0];for(;d!==void 0;){if(c===d.index){let g;d.type===2?g=new Le(l,l.nextSibling,this,o):d.type===1?g=new d.ctor(l,d.name,d.strings,this,o):d.type===6&&(g=new Je(l,this,o)),this._$AV.push(g),d=i[++p]}c!==d?.index&&(l=At.nextNode(),c++)}return At.currentNode=Lt,a}p(o){let n=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,n),n+=i.strings.length-2):i._$AI(o[n])),n++}},Le=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,n,i,a){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=o,this._$AB=n,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,n=this._$AM;return n!==void 0&&o?.nodeType===11&&(o=n.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,n=this){o=Zt(this,o,n),le(o)?o===D||o==null||o===""?(this._$AH!==D&&this._$AR(),this._$AH=D):o!==this._$AH&&o!==ce&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):qn(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==D&&le(this._$AH)?this._$AA.nextSibling.data=o:this.$(Lt.createTextNode(o)),this._$AH=o}g(o){let{values:n,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=se.createElement(Ur(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(n);else{let l=new je(a,this),c=l.u(this.options);l.p(n),this.$(c),this._$AH=l}}_$AC(o){let n=Pr.get(o.strings);return n===void 0&&Pr.set(o.strings,n=new se(o)),n}T(o){Tr(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,i,a=0;for(let l of o)a===n.length?n.push(i=new e(this.k(Ae()),this.k(Ae()),this,this.options)):i=n[a],i._$AI(l),a++;a<n.length&&(this._$AR(i&&i._$AB.nextSibling,a),n.length=a)}_$AR(o=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,n,i,a,l){this.type=1,this._$AH=D,this._$AN=void 0,this.element=o,this.name=n,this._$AM=a,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}_$AI(o,n=this,i,a){let l=this.strings,c=!1;if(l===void 0)o=Zt(this,o,n,0),c=!le(o)||o!==this._$AH&&o!==ce,c&&(this._$AH=o);else{let p=o,d,g;for(o=l[0],d=0;d<l.length-1;d++)g=Zt(this,p[i+d],n,d),g===ce&&(g=this._$AH[d]),c||=!le(g)||g!==this._$AH[d],g===D?o=D:o!==D&&(o+=(g??"")+l[d+1]),this._$AH[d]=g}c&&!a&&this.O(o)}O(o){o===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ye=class extends Kt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===D?void 0:o}},Xe=class extends Kt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==D)}},qe=class extends Kt{constructor(o,n,i,a,l){super(o,n,i,a,l),this.type=5}_$AI(o,n=this){if((o=Zt(this,o,n,0)??D)===ce)return;let i=this._$AH,a=o===D&&i!==D||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==D&&(i===D||a);a&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Je=class{constructor(o,n,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){Zt(this,o)}};var Qn=Qe.litHtmlPolyfillSupport;Qn?.(se,Le),(Qe.litHtmlVersions??=[]).push("3.1.0");var Gr=Symbol.for(""),ti=e=>{if(e?.r===Gr)return e?._$litStatic$},to=e=>({_$litStatic$:e,r:Gr});var Dr=new Map,Mr=e=>(o,...n)=>{let i=n.length,a,l,c=[],p=[],d,g=0,x=!1;for(;g<i;){for(d=o[g];g<i&&(l=n[g],(a=ti(l))!==void 0);)d+=a+o[++g],x=!0;g!==i&&p.push(l),c.push(d),g++}if(g===i&&c.push(o[i]),x){let h=c.join("$$lit$$");(o=Dr.get(h))===void 0&&(c.raw=c,Dr.set(h,o=c)),n=p}return e(o,...n)},eo=Mr(Hr),Ss=Mr(kr);var oo=y(st()),Kr=y(E());var Nt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Nt||(Nt={}));var Zr=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},j=class extends Kr.FtLitElement{constructor(){super(...arguments),this.variant=Nt.body1}render(){return this.element?eo`
516
516
  <${to(this.element)}
517
517
  part="text"
518
518
  class="ft-typography ft-typography--${this.variant}">
@@ -520,7 +520,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
520
520
  </${to(this.element)}>
521
521
  `:eo`
522
522
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
523
- `}};V.styles=[rr,nr,ir,ar,lr,cr,sr,pr,dr,fr,mr,...ur];Zr([(0,oo.property)()],V.prototype,"element",void 0);Zr([(0,oo.property)()],V.prototype,"variant",void 0);(0,Fr.customElement)("ft-typography")(V);var Vr=y(W()),yt=y(E()),Ft={distance:yt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:yt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:yt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:yt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:yt.FtCssVariableFactory.external(yt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:yt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},jr=Vr.css`
523
+ `}};j.styles=[rr,nr,ir,ar,lr,cr,sr,pr,dr,fr,mr,...ur];Zr([(0,oo.property)()],j.prototype,"element",void 0);Zr([(0,oo.property)()],j.prototype,"variant",void 0);(0,Fr.customElement)("ft-typography")(j);var Vr=y(W()),yt=y(E()),Ft={distance:yt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:yt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:yt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:yt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:yt.FtCssVariableFactory.external(yt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:yt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},jr=Vr.css`
524
524
  .ft-tooltip--container {
525
525
  display: block;
526
526
  }
@@ -549,7 +549,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
549
549
  position: relative;
550
550
  word-break: break-word;
551
551
  }
552
- `;var Xr=["top","right","bottom","left"],Yr=["start","end"],no=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),pe=Math.min,wt=Math.max,de=Math.round;var ht=e=>({x:e,y:e}),ei={left:"right",right:"left",bottom:"top",top:"bottom"},oi={start:"end",end:"start"};function io(e,o,n){return wt(e,pe(o,n))}function $e(e,o){return typeof e=="function"?e(o):e}function Vt(e){return e.split("-")[0]}function Et(e){return e.split("-")[1]}function ao(e){return e==="x"?"y":"x"}function lo(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function co(e){return ao(We(e))}function qr(e,o,n){n===void 0&&(n=!1);let i=Et(e),a=co(e),l=lo(a),c=a==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=ro(c)),[c,ro(c)]}function Jr(e){return e.replace(/start|end/g,o=>oi[o])}function ro(e){return e.replace(/left|right|bottom|top/g,o=>ei[o])}function ri(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qr(e){return typeof e!="number"?ri(e):{top:e,right:e,bottom:e,left:e}}function $t(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function tn(e,o,n){let{reference:i,floating:a}=e,l=We(o),c=co(o),p=lo(c),d=Vt(o),g=l==="y",x=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,v=i[p]/2-a[p]/2,S;switch(d){case"top":S={x,y:i.y-a.height};break;case"bottom":S={x,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:h};break;case"left":S={x:i.x-a.width,y:h};break;default:S={x:i.x,y:i.y}}switch(Et(o)){case"start":S[c]-=v*(n&&g?-1:1);break;case"end":S[c]+=v*(n&&g?-1:1);break}return S}var en=async(e,o,n)=>{let{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=n,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:a}),{x,y:h}=tn(g,i,d),v=i,S={},w=0;for(let P=0;P<p.length;P++){let{name:_,fn:I}=p[P],{x:H,y:Z,data:Ot,reset:M}=await I({x,y:h,initialPlacement:i,placement:v,strategy:a,middlewareData:S,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=H??x,h=Z??h,S={...S,[_]:{...S[_],...Ot}},M&&w<=50){w++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(g=M.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:a}):M.rects),{x,y:h}=tn(g,v,d)),P=-1;continue}}return{x,y:h,placement:v,strategy:a,middlewareData:S}};async function so(e,o){var n;o===void 0&&(o={});let{x:i,y:a,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:h="floating",altBoundary:v=!1,padding:S=0}=$e(o,e),w=Qr(S),_=p[v?h==="floating"?"reference":"floating":h],I=$t(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(_)))==null||n?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),H=h==="floating"?{...c.floating,x:i,y:a}:c.reference,Z=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Ot=await(l.isElement==null?void 0:l.isElement(Z))?await(l.getScale==null?void 0:l.getScale(Z))||{x:1,y:1}:{x:1,y:1},M=$t(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:H,offsetParent:Z,strategy:d}):H);return{top:(I.top-M.top+w.top)/Ot.y,bottom:(M.bottom-I.bottom+w.bottom)/Ot.y,left:(I.left-M.left+w.left)/Ot.x,right:(M.right-I.right+w.right)/Ot.x}}function ni(e,o,n){return(e?[...n.filter(a=>Et(a)===e),...n.filter(a=>Et(a)!==e)]:n.filter(a=>Vt(a)===a)).filter(a=>e?Et(a)===e||(o?Jr(a)!==a:!1):!0)}var po=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,i,a;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:h,allowedPlacements:v=no,autoAlignment:S=!0,...w}=$e(e,o),P=h!==void 0||v===no?ni(h||null,S,v):v,_=await so(o,w),I=((n=c.autoPlacement)==null?void 0:n.index)||0,H=P[I];if(H==null)return{};let Z=qr(H,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==H)return{reset:{placement:P[0]}};let Ot=[_[Vt(H)],_[Z[0]],_[Z[1]]],M=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,overflows:Ot}],go=P[I+1];if(go)return{data:{index:I+1,overflows:M},reset:{placement:go}};let yo=M.map(ct=>{let oe=Et(ct.placement);return[ct.placement,oe&&x?ct.overflows.slice(0,2).reduce((Dn,Gn)=>Dn+Gn,0):ct.overflows[0],ct.overflows]}).sort((ct,oe)=>ct[1]-oe[1]),ho=((a=yo.filter(ct=>ct[2].slice(0,Et(ct[0])?2:3).every(oe=>oe<=0))[0])==null?void 0:a[0])||yo[0][0];return ho!==p?{data:{index:I+1,overflows:M},reset:{placement:ho}}:{}}}};var fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:i,placement:a}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:_=>{let{x:I,y:H}=_;return{x:I,y:H}}},...d}=$e(e,o),g={x:n,y:i},x=await so(o,d),h=We(Vt(a)),v=ao(h),S=g[v],w=g[h];if(l){let _=v==="y"?"top":"left",I=v==="y"?"bottom":"right",H=S+x[_],Z=S-x[I];S=io(H,S,Z)}if(c){let _=h==="y"?"top":"left",I=h==="y"?"bottom":"right",H=w+x[_],Z=w-x[I];w=io(H,w,Z)}let P=p.fn({...o,[v]:S,[h]:w});return{...P,data:{x:P.x-n,y:P.y-i}}}}};function bt(e){return rn(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function xt(e){var o;return(o=(rn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function rn(e){return e instanceof Node||e instanceof X(e).Node}function ft(e){return e instanceof Element||e instanceof X(e).Element}function it(e){return e instanceof HTMLElement||e instanceof X(e).HTMLElement}function on(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function jt(e){let{overflow:o,overflowX:n,overflowY:i,display:a}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!["inline","contents"].includes(a)}function nn(e){return["table","td","th"].includes(bt(e))}function Ie(e){let o=Be(),n=tt(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(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function an(e){let o=Wt(e);for(;it(o)&&!fe(o);){if(Ie(o))return o;o=Wt(o)}return null}function Be(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fe(e){return["html","body","#document"].includes(bt(e))}function tt(e){return X(e).getComputedStyle(e)}function me(e){return ft(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wt(e){if(bt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||on(e)&&e.host||xt(e);return on(o)?o.host:o}function ln(e){let o=Wt(e);return fe(o)?e.ownerDocument?e.ownerDocument.body:e.body:it(o)&&jt(o)?o:ln(o)}function Pe(e,o,n){var i;o===void 0&&(o=[]),n===void 0&&(n=!0);let a=ln(e),l=a===((i=e.ownerDocument)==null?void 0:i.body),c=X(a);return l?o.concat(c,c.visualViewport||[],jt(a)?a:[],c.frameElement&&n?Pe(c.frameElement):[]):o.concat(a,Pe(a,[],n))}function pn(e){let o=tt(e),n=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=it(e),l=a?e.offsetWidth:n,c=a?e.offsetHeight:i,p=de(n)!==l||de(i)!==c;return p&&(n=l,i=c),{width:n,height:i,$:p}}function dn(e){return ft(e)?e:e.contextElement}function Yt(e){let o=dn(e);if(!it(o))return ht(1);let n=o.getBoundingClientRect(),{width:i,height:a,$:l}=pn(o),c=(l?de(n.width):n.width)/i,p=(l?de(n.height):n.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var ii=ht(0);function fn(e){let o=X(e);return!Be()||!o.visualViewport?ii:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ai(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==X(e)?!1:o}function ue(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),l=dn(e),c=ht(1);o&&(i?ft(i)&&(c=Yt(i)):c=Yt(e));let p=ai(l,n,i)?fn(l):ht(0),d=(a.left+p.x)/c.x,g=(a.top+p.y)/c.y,x=a.width/c.x,h=a.height/c.y;if(l){let v=X(l),S=i&&ft(i)?X(i):i,w=v.frameElement;for(;w&&i&&S!==v;){let P=Yt(w),_=w.getBoundingClientRect(),I=tt(w),H=_.left+(w.clientLeft+parseFloat(I.paddingLeft))*P.x,Z=_.top+(w.clientTop+parseFloat(I.paddingTop))*P.y;d*=P.x,g*=P.y,x*=P.x,h*=P.y,d+=H,g+=Z,w=X(w).frameElement}}return $t({width:x,height:h,x:d,y:g})}function li(e){let{rect:o,offsetParent:n,strategy:i}=e,a=it(n),l=xt(n);if(n===l)return o;let c={scrollLeft:0,scrollTop:0},p=ht(1),d=ht(0);if((a||!a&&i!=="fixed")&&((bt(n)!=="body"||jt(l))&&(c=me(n)),it(n))){let g=ue(n);p=Yt(n),d.x=g.x+n.clientLeft,d.y=g.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 ci(e){return Array.from(e.getClientRects())}function mn(e){return ue(xt(e)).left+me(e).scrollLeft}function si(e){let o=xt(e),n=me(e),i=e.ownerDocument.body,a=wt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=wt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),c=-n.scrollLeft+mn(e),p=-n.scrollTop;return tt(i).direction==="rtl"&&(c+=wt(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:p}}function pi(e,o){let n=X(e),i=xt(e),a=n.visualViewport,l=i.clientWidth,c=i.clientHeight,p=0,d=0;if(a){l=a.width,c=a.height;let g=Be();(!g||g&&o==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:p,y:d}}function di(e,o){let n=ue(e,!0,o==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,l=it(e)?Yt(e):ht(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=a*l.x,g=i*l.y;return{width:c,height:p,x:d,y:g}}function cn(e,o,n){let i;if(o==="viewport")i=pi(e,n);else if(o==="document")i=si(xt(e));else if(ft(o))i=di(o,n);else{let a=fn(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return $t(i)}function un(e,o){let n=Wt(e);return n===o||!ft(n)||fe(n)?!1:tt(n).position==="fixed"||un(n,o)}function fi(e,o){let n=o.get(e);if(n)return n;let i=Pe(e,[],!1).filter(p=>ft(p)&&bt(p)!=="body"),a=null,l=tt(e).position==="fixed",c=l?Wt(e):e;for(;ft(c)&&!fe(c);){let p=tt(c),d=Ie(c);!d&&p.position==="fixed"&&(a=null),(l?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||jt(c)&&!d&&un(e,c))?i=i.filter(x=>x!==c):a=p,c=Wt(c)}return o.set(e,i),i}function mi(e){let{element:o,boundary:n,rootBoundary:i,strategy:a}=e,c=[...n==="clippingAncestors"?fi(o,this._c):[].concat(n),i],p=c[0],d=c.reduce((g,x)=>{let h=cn(o,x,a);return g.top=wt(h.top,g.top),g.right=pe(h.right,g.right),g.bottom=pe(h.bottom,g.bottom),g.left=wt(h.left,g.left),g},cn(o,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ui(e){return pn(e)}function gi(e,o,n){let i=it(o),a=xt(o),l=n==="fixed",c=ue(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=ht(0);if(i||!i&&!l)if((bt(o)!=="body"||jt(a))&&(p=me(o)),i){let g=ue(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else a&&(d.x=mn(a));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function sn(e,o){return!it(e)||tt(e).position==="fixed"?null:o?o(e):e.offsetParent}function gn(e,o){let n=X(e);if(!it(e))return n;let i=sn(e,o);for(;i&&nn(i)&&tt(i).position==="static";)i=sn(i,o);return i&&(bt(i)==="html"||bt(i)==="body"&&tt(i).position==="static"&&!Ie(i))?n:i||an(e)||n}var yi=async function(e){let{reference:o,floating:n,strategy:i}=e,a=this.getOffsetParent||gn,l=this.getDimensions;return{reference:gi(o,await a(n),i),floating:{x:0,y:0,...await l(n)}}};function hi(e){return tt(e).direction==="rtl"}var Te={convertOffsetParentRelativeRectToViewportRelativeRect:li,getDocumentElement:xt,getClippingRect:mi,getOffsetParent:gn,getElementRects:yi,getClientRects:ci,getDimensions:ui,getScale:Yt,isElement:ft,isRTL:hi};var yn=(e,o,n)=>{let i=new Map,a={platform:Te,...n},l={...a.platform,_c:i};return en(e,o,{...a,platform:l})};function hn(e){return bi(e)}function mo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bi(e){for(let o=e;o;o=mo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=mo(e);o;o=mo(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 ze(e,o,n){return yn(e,o,{platform:{...Te,getOffsetParent:i=>Te.getOffsetParent(i,hn)},middleware:[fo({crossAxis:!0}),po({allowedPlacements:[n]})]})}var q=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},$=class extends ge.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 ge.Debouncer,this.revealDebouncer=new ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return bn.html`
552
+ `;var Xr=["top","right","bottom","left"],Yr=["start","end"],no=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),pe=Math.min,wt=Math.max,de=Math.round;var ht=e=>({x:e,y:e}),ei={left:"right",right:"left",bottom:"top",top:"bottom"},oi={start:"end",end:"start"};function io(e,o,n){return wt(e,pe(o,n))}function $e(e,o){return typeof e=="function"?e(o):e}function Vt(e){return e.split("-")[0]}function Et(e){return e.split("-")[1]}function ao(e){return e==="x"?"y":"x"}function lo(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function co(e){return ao(We(e))}function qr(e,o,n){n===void 0&&(n=!1);let i=Et(e),a=co(e),l=lo(a),c=a==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=ro(c)),[c,ro(c)]}function Jr(e){return e.replace(/start|end/g,o=>oi[o])}function ro(e){return e.replace(/left|right|bottom|top/g,o=>ei[o])}function ri(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qr(e){return typeof e!="number"?ri(e):{top:e,right:e,bottom:e,left:e}}function $t(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function tn(e,o,n){let{reference:i,floating:a}=e,l=We(o),c=co(o),p=lo(c),d=Vt(o),g=l==="y",x=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,v=i[p]/2-a[p]/2,S;switch(d){case"top":S={x,y:i.y-a.height};break;case"bottom":S={x,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:h};break;case"left":S={x:i.x-a.width,y:h};break;default:S={x:i.x,y:i.y}}switch(Et(o)){case"start":S[c]-=v*(n&&g?-1:1);break;case"end":S[c]+=v*(n&&g?-1:1);break}return S}var en=async(e,o,n)=>{let{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=n,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:a}),{x,y:h}=tn(g,i,d),v=i,S={},w=0;for(let I=0;I<p.length;I++){let{name:_,fn:B}=p[I],{x:H,y:K,data:Ot,reset:M}=await B({x,y:h,initialPlacement:i,placement:v,strategy:a,middlewareData:S,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=H??x,h=K??h,S={...S,[_]:{...S[_],...Ot}},M&&w<=50){w++,typeof M=="object"&&(M.placement&&(v=M.placement),M.rects&&(g=M.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:a}):M.rects),{x,y:h}=tn(g,v,d)),I=-1;continue}}return{x,y:h,placement:v,strategy:a,middlewareData:S}};async function so(e,o){var n;o===void 0&&(o={});let{x:i,y:a,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:h="floating",altBoundary:v=!1,padding:S=0}=$e(o,e),w=Qr(S),_=p[v?h==="floating"?"reference":"floating":h],B=$t(await l.getClippingRect({element:(n=await(l.isElement==null?void 0:l.isElement(_)))==null||n?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),H=h==="floating"?{...c.floating,x:i,y:a}:c.reference,K=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Ot=await(l.isElement==null?void 0:l.isElement(K))?await(l.getScale==null?void 0:l.getScale(K))||{x:1,y:1}:{x:1,y:1},M=$t(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:H,offsetParent:K,strategy:d}):H);return{top:(B.top-M.top+w.top)/Ot.y,bottom:(M.bottom-B.bottom+w.bottom)/Ot.y,left:(B.left-M.left+w.left)/Ot.x,right:(M.right-B.right+w.right)/Ot.x}}function ni(e,o,n){return(e?[...n.filter(a=>Et(a)===e),...n.filter(a=>Et(a)!==e)]:n.filter(a=>Vt(a)===a)).filter(a=>e?Et(a)===e||(o?Jr(a)!==a:!1):!0)}var po=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,i,a;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:h,allowedPlacements:v=no,autoAlignment:S=!0,...w}=$e(e,o),I=h!==void 0||v===no?ni(h||null,S,v):v,_=await so(o,w),B=((n=c.autoPlacement)==null?void 0:n.index)||0,H=I[B];if(H==null)return{};let K=qr(H,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==H)return{reset:{placement:I[0]}};let Ot=[_[Vt(H)],_[K[0]],_[K[1]]],M=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:H,overflows:Ot}],go=I[B+1];if(go)return{data:{index:B+1,overflows:M},reset:{placement:go}};let yo=M.map(ct=>{let oe=Et(ct.placement);return[ct.placement,oe&&x?ct.overflows.slice(0,2).reduce((Dn,Gn)=>Dn+Gn,0):ct.overflows[0],ct.overflows]}).sort((ct,oe)=>ct[1]-oe[1]),ho=((a=yo.filter(ct=>ct[2].slice(0,Et(ct[0])?2:3).every(oe=>oe<=0))[0])==null?void 0:a[0])||yo[0][0];return ho!==p?{data:{index:B+1,overflows:M},reset:{placement:ho}}:{}}}};var fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:i,placement:a}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:_=>{let{x:B,y:H}=_;return{x:B,y:H}}},...d}=$e(e,o),g={x:n,y:i},x=await so(o,d),h=We(Vt(a)),v=ao(h),S=g[v],w=g[h];if(l){let _=v==="y"?"top":"left",B=v==="y"?"bottom":"right",H=S+x[_],K=S-x[B];S=io(H,S,K)}if(c){let _=h==="y"?"top":"left",B=h==="y"?"bottom":"right",H=w+x[_],K=w-x[B];w=io(H,w,K)}let I=p.fn({...o,[v]:S,[h]:w});return{...I,data:{x:I.x-n,y:I.y-i}}}}};function bt(e){return rn(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function xt(e){var o;return(o=(rn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function rn(e){return e instanceof Node||e instanceof X(e).Node}function ft(e){return e instanceof Element||e instanceof X(e).Element}function it(e){return e instanceof HTMLElement||e instanceof X(e).HTMLElement}function on(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function jt(e){let{overflow:o,overflowX:n,overflowY:i,display:a}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!["inline","contents"].includes(a)}function nn(e){return["table","td","th"].includes(bt(e))}function Ie(e){let o=Be(),n=et(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(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function an(e){let o=Wt(e);for(;it(o)&&!fe(o);){if(Ie(o))return o;o=Wt(o)}return null}function Be(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fe(e){return["html","body","#document"].includes(bt(e))}function et(e){return X(e).getComputedStyle(e)}function me(e){return ft(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wt(e){if(bt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||on(e)&&e.host||xt(e);return on(o)?o.host:o}function ln(e){let o=Wt(e);return fe(o)?e.ownerDocument?e.ownerDocument.body:e.body:it(o)&&jt(o)?o:ln(o)}function Pe(e,o,n){var i;o===void 0&&(o=[]),n===void 0&&(n=!0);let a=ln(e),l=a===((i=e.ownerDocument)==null?void 0:i.body),c=X(a);return l?o.concat(c,c.visualViewport||[],jt(a)?a:[],c.frameElement&&n?Pe(c.frameElement):[]):o.concat(a,Pe(a,[],n))}function pn(e){let o=et(e),n=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=it(e),l=a?e.offsetWidth:n,c=a?e.offsetHeight:i,p=de(n)!==l||de(i)!==c;return p&&(n=l,i=c),{width:n,height:i,$:p}}function dn(e){return ft(e)?e:e.contextElement}function Yt(e){let o=dn(e);if(!it(o))return ht(1);let n=o.getBoundingClientRect(),{width:i,height:a,$:l}=pn(o),c=(l?de(n.width):n.width)/i,p=(l?de(n.height):n.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var ii=ht(0);function fn(e){let o=X(e);return!Be()||!o.visualViewport?ii:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ai(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==X(e)?!1:o}function ue(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),l=dn(e),c=ht(1);o&&(i?ft(i)&&(c=Yt(i)):c=Yt(e));let p=ai(l,n,i)?fn(l):ht(0),d=(a.left+p.x)/c.x,g=(a.top+p.y)/c.y,x=a.width/c.x,h=a.height/c.y;if(l){let v=X(l),S=i&&ft(i)?X(i):i,w=v.frameElement;for(;w&&i&&S!==v;){let I=Yt(w),_=w.getBoundingClientRect(),B=et(w),H=_.left+(w.clientLeft+parseFloat(B.paddingLeft))*I.x,K=_.top+(w.clientTop+parseFloat(B.paddingTop))*I.y;d*=I.x,g*=I.y,x*=I.x,h*=I.y,d+=H,g+=K,w=X(w).frameElement}}return $t({width:x,height:h,x:d,y:g})}function li(e){let{rect:o,offsetParent:n,strategy:i}=e,a=it(n),l=xt(n);if(n===l)return o;let c={scrollLeft:0,scrollTop:0},p=ht(1),d=ht(0);if((a||!a&&i!=="fixed")&&((bt(n)!=="body"||jt(l))&&(c=me(n)),it(n))){let g=ue(n);p=Yt(n),d.x=g.x+n.clientLeft,d.y=g.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 ci(e){return Array.from(e.getClientRects())}function mn(e){return ue(xt(e)).left+me(e).scrollLeft}function si(e){let o=xt(e),n=me(e),i=e.ownerDocument.body,a=wt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=wt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),c=-n.scrollLeft+mn(e),p=-n.scrollTop;return et(i).direction==="rtl"&&(c+=wt(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:p}}function pi(e,o){let n=X(e),i=xt(e),a=n.visualViewport,l=i.clientWidth,c=i.clientHeight,p=0,d=0;if(a){l=a.width,c=a.height;let g=Be();(!g||g&&o==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:p,y:d}}function di(e,o){let n=ue(e,!0,o==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,l=it(e)?Yt(e):ht(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=a*l.x,g=i*l.y;return{width:c,height:p,x:d,y:g}}function cn(e,o,n){let i;if(o==="viewport")i=pi(e,n);else if(o==="document")i=si(xt(e));else if(ft(o))i=di(o,n);else{let a=fn(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return $t(i)}function un(e,o){let n=Wt(e);return n===o||!ft(n)||fe(n)?!1:et(n).position==="fixed"||un(n,o)}function fi(e,o){let n=o.get(e);if(n)return n;let i=Pe(e,[],!1).filter(p=>ft(p)&&bt(p)!=="body"),a=null,l=et(e).position==="fixed",c=l?Wt(e):e;for(;ft(c)&&!fe(c);){let p=et(c),d=Ie(c);!d&&p.position==="fixed"&&(a=null),(l?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||jt(c)&&!d&&un(e,c))?i=i.filter(x=>x!==c):a=p,c=Wt(c)}return o.set(e,i),i}function mi(e){let{element:o,boundary:n,rootBoundary:i,strategy:a}=e,c=[...n==="clippingAncestors"?fi(o,this._c):[].concat(n),i],p=c[0],d=c.reduce((g,x)=>{let h=cn(o,x,a);return g.top=wt(h.top,g.top),g.right=pe(h.right,g.right),g.bottom=pe(h.bottom,g.bottom),g.left=wt(h.left,g.left),g},cn(o,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ui(e){return pn(e)}function gi(e,o,n){let i=it(o),a=xt(o),l=n==="fixed",c=ue(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=ht(0);if(i||!i&&!l)if((bt(o)!=="body"||jt(a))&&(p=me(o)),i){let g=ue(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else a&&(d.x=mn(a));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function sn(e,o){return!it(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function gn(e,o){let n=X(e);if(!it(e))return n;let i=sn(e,o);for(;i&&nn(i)&&et(i).position==="static";)i=sn(i,o);return i&&(bt(i)==="html"||bt(i)==="body"&&et(i).position==="static"&&!Ie(i))?n:i||an(e)||n}var yi=async function(e){let{reference:o,floating:n,strategy:i}=e,a=this.getOffsetParent||gn,l=this.getDimensions;return{reference:gi(o,await a(n),i),floating:{x:0,y:0,...await l(n)}}};function hi(e){return et(e).direction==="rtl"}var Te={convertOffsetParentRelativeRectToViewportRelativeRect:li,getDocumentElement:xt,getClippingRect:mi,getOffsetParent:gn,getElementRects:yi,getClientRects:ci,getDimensions:ui,getScale:Yt,isElement:ft,isRTL:hi};var yn=(e,o,n)=>{let i=new Map,a={platform:Te,...n},l={...a.platform,_c:i};return en(e,o,{...a,platform:l})};function hn(e){return bi(e)}function mo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function bi(e){for(let o=e;o;o=mo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=mo(e);o;o=mo(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 ze(e,o,n){return yn(e,o,{platform:{...Te,getOffsetParent:i=>Te.getOffsetParent(i,hn)},middleware:[fo({crossAxis:!0}),po({allowedPlacements:[n]})]})}var q=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},$=class extends ge.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 ge.Debouncer,this.revealDebouncer=new ge.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return bn.html`
553
553
  <div part="container"
554
554
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
555
555
  @mouseenter=${this.onHover}
@@ -567,7 +567,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
567
567
  </div>
568
568
  </div>
569
569
  </div>
570
- `}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="",ze(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))}};$.elementDefinitions={"ft-typography":V};$.styles=jr;q([(0,k.property)()],$.prototype,"text",void 0);q([(0,k.property)({type:Boolean})],$.prototype,"manual",void 0);q([(0,k.property)({type:Boolean})],$.prototype,"inline",void 0);q([(0,k.property)({type:Number})],$.prototype,"delay",void 0);q([(0,k.property)()],$.prototype,"position",void 0);q([(0,k.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);q([(0,k.query)(".ft-tooltip--container")],$.prototype,"container",void 0);q([(0,k.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);q([(0,k.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);q([(0,k.state)()],$.prototype,"visible",void 0);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onTouch",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onHover",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onOut",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onClick",null);(0,xn.customElement)("ft-tooltip")($);var Nn=y(E());var ye=y(W()),Pt=y(st()),Cn=y(E()),vn=y(Sn());var _e;(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;"})(_e||(_e={}));var m;(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;"})(m||(m={}));var yp=new Map([...["abw"].map(e=>[e,m.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,m.AUDIO]),...["avi"].map(e=>[e,m.AVI]),...["chm","xhs"].map(e=>[e,m.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,m.CODE]),...["csv"].map(e=>[e,m.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,m.DITA]),...["epub"].map(e=>[e,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,m.EXCEL]),...["flac"].map(e=>[e,m.FLAC]),...["gif"].map(e=>[e,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,m.GZIP]),...["html","htm","xhtml"].map(e=>[e,m.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,m.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,m.JPEG]),...["json"].map(e=>[e,m.JSON]),...["m4a","m4p"].map(e=>[e,m.M4A]),...["mov","qt"].map(e=>[e,m.MOV]),...["mp3"].map(e=>[e,m.MP3]),...["mp4","m4v"].map(e=>[e,m.MP4]),...["ogg","oga"].map(e=>[e,m.OGG]),...["pdf","ps"].map(e=>[e,m.PDF]),...["png"].map(e=>[e,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,m.POWERPOINT]),...["rar"].map(e=>[e,m.RAR]),...["stp"].map(e=>[e,m.STP]),...["txt","rtf","md","mdown"].map(e=>[e,m.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,m.VIDEO]),...["wav"].map(e=>[e,m.WAV]),...["wma"].map(e=>[e,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,m.WORD]),...["xml","xsl","rdf"].map(e=>[e,m.XML]),...["yaml","yml","x-yaml"].map(e=>[e,m.YAML]),...["zip"].map(e=>[e,m.ZIP])]);var hp={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var rt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(rt||(rt={}));var He=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},J=class extends Cn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ye.nothing}render(){let o=this.variant&&Object.values(rt).includes(this.variant)?this.variant:rt.fluid_topics,n=o!==rt.material||!!this.value;return ye.html`
570
+ `}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="",ze(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))}};$.elementDefinitions={"ft-typography":j};$.styles=jr;q([(0,k.property)()],$.prototype,"text",void 0);q([(0,k.property)({type:Boolean})],$.prototype,"manual",void 0);q([(0,k.property)({type:Boolean})],$.prototype,"inline",void 0);q([(0,k.property)({type:Number})],$.prototype,"delay",void 0);q([(0,k.property)()],$.prototype,"position",void 0);q([(0,k.queryAssignedNodes)()],$.prototype,"slotNodes",void 0);q([(0,k.query)(".ft-tooltip--container")],$.prototype,"container",void 0);q([(0,k.query)(".ft-tooltip")],$.prototype,"tooltip",void 0);q([(0,k.query)(".ft-tooltip--content")],$.prototype,"tooltipContent",void 0);q([(0,k.state)()],$.prototype,"visible",void 0);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onTouch",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onHover",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onOut",null);q([(0,k.eventOptions)({passive:!0})],$.prototype,"onClick",null);(0,xn.customElement)("ft-tooltip")($);var Nn=y(E());var ye=y(W()),Pt=y(st()),Cn=y(E()),vn=y(Sn());var _e;(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;"})(_e||(_e={}));var m;(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;"})(m||(m={}));var yp=new Map([...["abw"].map(e=>[e,m.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,m.AUDIO]),...["avi"].map(e=>[e,m.AVI]),...["chm","xhs"].map(e=>[e,m.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,m.CODE]),...["csv"].map(e=>[e,m.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,m.DITA]),...["epub"].map(e=>[e,m.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,m.EXCEL]),...["flac"].map(e=>[e,m.FLAC]),...["gif"].map(e=>[e,m.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,m.GZIP]),...["html","htm","xhtml"].map(e=>[e,m.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,m.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,m.JPEG]),...["json"].map(e=>[e,m.JSON]),...["m4a","m4p"].map(e=>[e,m.M4A]),...["mov","qt"].map(e=>[e,m.MOV]),...["mp3"].map(e=>[e,m.MP3]),...["mp4","m4v"].map(e=>[e,m.MP4]),...["ogg","oga"].map(e=>[e,m.OGG]),...["pdf","ps"].map(e=>[e,m.PDF]),...["png"].map(e=>[e,m.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,m.POWERPOINT]),...["rar"].map(e=>[e,m.RAR]),...["stp"].map(e=>[e,m.STP]),...["txt","rtf","md","mdown"].map(e=>[e,m.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,m.VIDEO]),...["wav"].map(e=>[e,m.WAV]),...["wma"].map(e=>[e,m.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,m.WORD]),...["xml","xsl","rdf"].map(e=>[e,m.XML]),...["yaml","yml","x-yaml"].map(e=>[e,m.YAML]),...["zip"].map(e=>[e,m.ZIP])]);var hp={[m.ABW]:"#91ABC6",[m.AUDIO]:"#1795E3",[m.AVI]:"#E63324",[m.CHM]:"#71C3EB",[m.CODE]:"#71C3EB",[m.CSV]:"#1F7345",[m.DITA]:"#71C3EB",[m.EPUB]:"#85B926",[m.EXCEL]:"#1F7345",[m.FLAC]:"#1795E3",[m.GIF]:"#59B031",[m.GZIP]:"#F8AB36",[m.HTML]:"#71C3EB",[m.IMAGE]:"#59B031",[m.JPEG]:"#59B031",[m.JSON]:"#71C3EB",[m.M4A]:"#1795E3",[m.MOV]:"#E63324",[m.MP3]:"#1795E3",[m.MP4]:"#E63324",[m.OGG]:"#1795E3",[m.PDF]:"#E44948",[m.PNG]:"#59B031",[m.POWERPOINT]:"#B54A2B",[m.RAR]:"#F8AB36",[m.STP]:"#3764B1",[m.TEXT]:"#3162AB",[m.UNKNOWN]:"#999999",[m.VIDEO]:"#E63324",[m.WAV]:"#1795E3",[m.WMA]:"#1795E3",[m.WORD]:"#3162AB",[m.XML]:"#71C3EB",[m.YAML]:"#71C3EB",[m.ZIP]:"#F8AB36"};var rt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(rt||(rt={}));var He=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},J=class extends Cn.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ye.nothing}render(){let o=this.variant&&Object.values(rt).includes(this.variant)?this.variant:rt.fluid_topics,n=o!==rt.material||!!this.value;return ye.html`
571
571
  <i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
572
572
  ${(0,vn.unsafeHTML)(this.resolvedIcon)}
573
573
  <slot ?hidden=${n}></slot>
@@ -579,10 +579,10 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
579
579
  <div></div>
580
580
  <div></div>
581
581
  </div>
582
- `}};It.styles=yr;(0,Rn.customElement)("ft-loader")(It);var Xt=y(W()),An=y(Ee()),j=y(st()),et=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},T=class extends(0,qt.toFtFormComponent)(qt.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.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(){return this.addTooltipIfNeeded(Xt.html`
582
+ `}};It.styles=yr;(0,Rn.customElement)("ft-loader")(It);var Xt=y(W()),An=y(Ee()),Z=y(st()),Q=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},P=class extends(0,qt.toFtFormComponent)(qt.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(Xt.html`
583
583
  <button part="button"
584
584
  class="${(0,An.classMap)(this.buttonClasses)}"
585
- aria-label="${this.getLabel()}"
585
+ aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
586
586
  ?disabled=${this.isDisabled()}>
587
587
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
588
588
  <ft-typography part="label"
@@ -605,7 +605,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
605
605
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
606
606
  `:Xt.html`
607
607
  <slot part="icon" name="icon"></slot>
608
- `}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}};T.elementDefinitions={"ft-ripple":A,"ft-tooltip":$,"ft-typography":V,"ft-icon":J,"ft-loader":It};et([(0,j.property)({type:String,reflect:!0})],T.prototype,"role",void 0);et([(0,j.property)()],T.prototype,"type",void 0);et([(0,j.property)({type:Boolean})],T.prototype,"disabled",void 0);et([(0,j.property)()],T.prototype,"label",void 0);et([(0,j.property)()],T.prototype,"icon",void 0);et([(0,j.property)()],T.prototype,"iconVariant",void 0);et([(0,j.property)({type:Boolean})],T.prototype,"trailingIcon",void 0);et([(0,j.property)({type:Boolean})],T.prototype,"loading",void 0);et([(0,j.property)()],T.prototype,"tooltipPosition",void 0);et([(0,j.property)({type:Boolean})],T.prototype,"hideTooltip",void 0);et([(0,j.property)({type:Boolean})],T.prototype,"forceTooltip",void 0);et([(0,j.query)(".ft-button")],T.prototype,"button",void 0);et([(0,j.query)(".ft-button--label slot")],T.prototype,"slottedContent",void 0);var ke=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},at=class extends T{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"}};at.styles=[Ln.safariEllipsisFix,Cr];ke([(0,he.property)({type:Boolean})],at.prototype,"primary",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"outlined",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"dense",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"round",void 0);var be=y(st());var De=y(E());var $n=y(W()),C=y(E());var Wn=[$n.css`
608
+ `}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}};P.elementDefinitions={"ft-ripple":A,"ft-tooltip":$,"ft-typography":j,"ft-icon":J,"ft-loader":It};Q([(0,Z.property)({type:String,reflect:!0})],P.prototype,"role",void 0);Q([(0,Z.property)()],P.prototype,"type",void 0);Q([(0,Z.property)({type:Boolean})],P.prototype,"disabled",void 0);Q([(0,Z.property)()],P.prototype,"label",void 0);Q([(0,Z.property)()],P.prototype,"icon",void 0);Q([(0,Z.property)()],P.prototype,"iconVariant",void 0);Q([(0,Z.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);Q([(0,Z.property)({type:Boolean})],P.prototype,"loading",void 0);Q([(0,Z.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);Q([(0,Z.property)()],P.prototype,"tooltipPosition",void 0);Q([(0,Z.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);Q([(0,Z.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);Q([(0,Z.query)(".ft-button")],P.prototype,"button",void 0);Q([(0,Z.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);var ke=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},at=class extends P{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"}};at.styles=[Ln.safariEllipsisFix,Cr];ke([(0,he.property)({type:Boolean})],at.prototype,"primary",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"outlined",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"dense",void 0);ke([(0,he.property)({type:Boolean})],at.prototype,"round",void 0);var be=y(st());var De=y(E());var $n=y(W()),C=y(E());var Wn=[$n.css`
609
609
  :host {
610
610
  display: inline-block;
611
611
  max-width: 100%;
@@ -689,7 +689,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
689
689
  /** Primary styles **/
690
690
 
691
691
  .ft-button--primary {
692
- ${(0,C.setVariable)(K.color,f.primaryIconColor)};
692
+ ${(0,C.setVariable)(F.color,f.primaryIconColor)};
693
693
 
694
694
  ${(0,C.setVariable)(N.color,f.primaryStateLayerColor)};
695
695
  ${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.primaryHoverStateLayerOpacity)};
@@ -713,7 +713,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
713
713
  /** Secondary styles **/
714
714
 
715
715
  .ft-button--secondary {
716
- ${(0,C.setVariable)(K.color,f.secondaryIconColor)};
716
+ ${(0,C.setVariable)(F.color,f.secondaryIconColor)};
717
717
 
718
718
  ${(0,C.setVariable)(N.color,f.secondaryStateLayerColor)};
719
719
  ${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.secondaryHoverStateLayerOpacity)};
@@ -738,7 +738,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
738
738
  /** Tertiary styles **/
739
739
 
740
740
  .ft-button--tertiary {
741
- ${(0,C.setVariable)(K.color,f.tertiaryIconColor)};
741
+ ${(0,C.setVariable)(F.color,f.tertiaryIconColor)};
742
742
 
743
743
  ${(0,C.setVariable)(N.color,f.tertiaryStateLayerColor)};
744
744
  ${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.tertiaryHoverStateLayerOpacity)};
@@ -762,7 +762,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
762
762
  /** Neutral styles **/
763
763
 
764
764
  .ftds--family-neutral {
765
- ${(0,C.setVariable)(K.color,f.neutralIconColor)};
765
+ ${(0,C.setVariable)(F.color,f.neutralIconColor)};
766
766
 
767
767
  ${(0,C.setVariable)(N.backgroundColor,f.neutralStateLayerColor)};
768
768
  ${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.neutralHoverStateLayerOpacity)};
@@ -786,8 +786,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
786
786
  /** Large styles **/
787
787
 
788
788
  .ftds--size-large {
789
+ ${(0,C.setVariable)(V.size,f.largeIconSize)};
789
790
  ${(0,C.setVariable)(F.size,f.largeIconSize)};
790
- ${(0,C.setVariable)(K.size,f.largeIconSize)};
791
791
 
792
792
  height: ${f.largeHeight};
793
793
  padding: 0 ${f.largeHorizontalPadding};
@@ -808,8 +808,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
808
808
  /** Small styles **/
809
809
 
810
810
  .ftds--size-medium {
811
+ ${(0,C.setVariable)(V.size,f.mediumIconSize)};
811
812
  ${(0,C.setVariable)(F.size,f.mediumIconSize)};
812
- ${(0,C.setVariable)(K.size,f.mediumIconSize)};
813
813
 
814
814
  height: ${f.mediumHeight};
815
815
  padding: 0 ${f.mediumHorizontalPadding};
@@ -831,8 +831,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
831
831
  /** Small styles **/
832
832
 
833
833
  .ftds--size-small {
834
+ ${(0,C.setVariable)(V.size,f.smallIconSize)};
834
835
  ${(0,C.setVariable)(F.size,f.smallIconSize)};
835
- ${(0,C.setVariable)(K.size,f.smallIconSize)};
836
836
 
837
837
  height: ${f.smallHeight};
838
838
  padding: 0 ${f.smallHorizontalPadding};
@@ -849,7 +849,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
849
849
  .ftds--size-small.ft-button--icon-only {
850
850
  width: ${f.smallIconOnlyWidth};
851
851
  }
852
- `,C.noTextSelect];var Ue=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},lt=class extends(0,De.toFtdsBase)(T){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ne.brand,this.iconVariant=rt.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 Bt.large:return Nt.body2medium;case Bt.medium:return Nt.caption1medium;case Bt.small:return Nt.caption2medium}}};lt.styles=[De.safariEllipsisFix,Wn];Ue([(0,be.property)({type:Boolean})],lt.prototype,"primary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"secondary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"tertiary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"round",void 0);(0,uo.customElement)("ft-button")(at);(0,uo.customElement)("ftds-button")(lt);var Tn=y(W()),L=y(st()),Jt=y(E()),zn=y(Ee());var xe=y(W()),Oe=y(st()),Bn=y(E());var Pn=y(W()),Ge=y(E()),xi={iconColor:Ge.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Ge.designSystemVariables.colorOnSurfaceMedium)},In=Pn.css`
852
+ `,C.noTextSelect];var Ue=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l},lt=class extends(0,De.toFtdsBase)(P){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ne.brand,this.iconVariant=rt.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 Bt.large:return Nt.body2medium;case Bt.medium:return Nt.caption1medium;case Bt.small:return Nt.caption2medium}}};lt.styles=[De.safariEllipsisFix,Wn];Ue([(0,be.property)({type:Boolean})],lt.prototype,"primary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"secondary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"tertiary",void 0);Ue([(0,be.property)({type:Boolean})],lt.prototype,"round",void 0);(0,uo.customElement)("ft-button")(at);(0,uo.customElement)("ftds-button")(lt);var Tn=y(W()),L=y(st()),Jt=y(E()),zn=y(Ee());var xe=y(W()),Oe=y(st()),Bn=y(E());var Pn=y(W()),Ge=y(E()),xi={iconColor:Ge.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",Ge.designSystemVariables.colorOnSurfaceMedium)},In=Pn.css`
853
853
  .ft-floating-menu-item {
854
854
  cursor: pointer;
855
855
  display: flex;
@@ -892,7 +892,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
892
892
  <slot></slot>
893
893
  </ft-typography>
894
894
  </div>
895
- `}onClick(o){this.dispatchEvent(new Me(this.value))}onKeyDown(o){(o.key=="Enter"||o.key==" ")&&(o.preventDefault(),this.dispatchEvent(new Me(this.value)))}};nt.elementDefinitions={"ft-icon":J,"ft-ripple":A,"ft-typography":V};nt.styles=In;Ze([(0,Oe.property)()],nt.prototype,"iconVariant",void 0);Ze([(0,Oe.property)()],nt.prototype,"icon",void 0);Ze([(0,Oe.property)()],nt.prototype,"value",void 0);Ze([(0,Oe.property)({type:Boolean})],nt.prototype,"notFocusable",void 0);var z=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l};var R=class extends Jt.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=rt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=o=>{this.menuOpen=this.menuOpen&&o.composedPath().includes(this.container)}}render(){let o={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Tn.html`
895
+ `}onClick(o){this.dispatchEvent(new Me(this.value))}onKeyDown(o){(o.key=="Enter"||o.key==" ")&&(o.preventDefault(),this.dispatchEvent(new Me(this.value)))}};nt.elementDefinitions={"ft-icon":J,"ft-ripple":A,"ft-typography":j};nt.styles=In;Ze([(0,Oe.property)()],nt.prototype,"iconVariant",void 0);Ze([(0,Oe.property)()],nt.prototype,"icon",void 0);Ze([(0,Oe.property)()],nt.prototype,"value",void 0);Ze([(0,Oe.property)({type:Boolean})],nt.prototype,"notFocusable",void 0);var z=function(e,o,n,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(a<3?c(l):a>3?c(o,n,l):c(o,n))||l);return a>3&&l&&Object.defineProperty(o,n,l),l};var R=class extends Jt.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=rt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=o=>{this.menuOpen=this.menuOpen&&o.composedPath().includes(this.container)}}render(){let o={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Tn.html`
896
896
  <div part="container" class="${(0,zn.classMap)(o)}">
897
897
  <slot name="toggle"
898
898
  part="toggle"
@@ -946,7 +946,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
946
946
  <slot></slot>
947
947
  </ft-typography>
948
948
  </div>
949
- `}};ee.elementDefinitions={"ft-typography":V};ee.styles=Hn;(0,Se.customElement)("ft-floating-menu")(Qt);(0,Se.customElement)("ftds-floating-menu")(te);(0,Se.customElement)("ft-floating-menu-item")(nt);(0,Se.customElement)("ft-floating-menu-label")(ee);})();
949
+ `}};ee.elementDefinitions={"ft-typography":j};ee.styles=Hn;(0,Se.customElement)("ft-floating-menu")(Qt);(0,Se.customElement)("ftds-floating-menu")(te);(0,Se.customElement)("ft-floating-menu-item")(nt);(0,Se.customElement)("ft-floating-menu-label")(ee);})();
950
950
  /*! Bundled license information:
951
951
 
952
952
  lit-html/lit-html.js: