@fluid-topics/ft-pager 1.2.59 → 1.2.61

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.
@@ -341,7 +341,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
341
341
  .ft-icon--material {
342
342
  font-family: ${X.materialFontFamily}, "Material Icons", sans-serif;
343
343
  }
344
- `,ct.noTextSelect];var Cr=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),M={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:Cr,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",ft.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cr),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)),Ge={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)},ut={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")},Nr=[vr.css`
344
+ `,ct.noTextSelect];var Cr=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),G={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:Cr,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",ft.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",Cr),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)),Ge={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)},ut={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")},Nr=[vr.css`
345
345
  :host {
346
346
  display: inline-block;
347
347
  max-width: 100%;
@@ -352,7 +352,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
352
352
  box-shadow: 0px 0px 0px transparent;
353
353
  border: 0px solid transparent;
354
354
  text-shadow: 0px 0px 0px transparent;
355
- font-size: ${M.fontSize};
355
+ font-size: ${G.fontSize};
356
356
  text-decoration: none;
357
357
  }
358
358
 
@@ -382,21 +382,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
382
382
  border: none;
383
383
  pointer-events: auto;
384
384
 
385
- --ft-button-internal-line-height: max(calc(${M.fontSize} + 2px), ${M.iconSize});
386
- --ft-button-internal-color: ${M.color};
387
- ${(0,O.setVariable)(X.size,M.iconSize)};
388
- ${(0,O.setVariable)(y.color,M.rippleColor)};
385
+ --ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
386
+ --ft-button-internal-color: ${G.color};
387
+ ${(0,O.setVariable)(X.size,G.iconSize)};
388
+ ${(0,O.setVariable)(y.color,G.rippleColor)};
389
389
 
390
- border-radius: ${M.borderRadius};
391
- padding: ${M.verticalPadding} ${M.horizontalPadding};
392
- background-color: ${M.backgroundColor};
390
+ border-radius: ${G.borderRadius};
391
+ padding: ${G.verticalPadding} ${G.horizontalPadding};
392
+ background-color: ${G.backgroundColor};
393
393
  color: var(--ft-button-internal-color);
394
394
  -webkit-mask-image: radial-gradient(white, black);
395
395
  }
396
396
 
397
397
  .ft-button.ft-button--outlined {
398
398
  border: 1px solid var(--ft-button-internal-color);
399
- padding: calc(${M.verticalPadding} - 1px) calc(${M.horizontalPadding} - 1px);
399
+ padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
400
400
  }
401
401
 
402
402
  .ft-button.ft-button--dense {
@@ -414,7 +414,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
414
414
  }
415
415
 
416
416
  .ft-button--round {
417
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${M.verticalPadding});
417
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
418
418
  }
419
419
 
420
420
  .ft-button--round.ft-button--dense {
@@ -423,7 +423,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
423
423
 
424
424
  .ft-button[disabled] {
425
425
  filter: grayscale(1);
426
- opacity: ${M.opacityDisabled};
426
+ opacity: ${G.opacityDisabled};
427
427
  }
428
428
 
429
429
  .ft-button.ft-button--primary {
@@ -442,7 +442,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
442
442
  white-space: nowrap;
443
443
  text-overflow: ellipsis;
444
444
  display: block;
445
- margin: 0 ${M.iconPadding};
445
+ margin: 0 ${G.iconPadding};
446
446
  ${(0,O.setVariable)(ft.fontSize,"1em")};
447
447
  ${(0,O.setVariable)(ft.lineHeight,"var(--ft-button-internal-line-height)")};
448
448
  }
@@ -461,8 +461,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
461
461
  }
462
462
 
463
463
  .ft-button--label[hidden] + [part="icon"] {
464
- margin: 0 calc(${M.horizontalPadding} * -1);
465
- padding: 0 ${M.verticalPadding};
464
+ margin: 0 calc(${G.horizontalPadding} * -1);
465
+ padding: 0 ${G.verticalPadding};
466
466
  }
467
467
 
468
468
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -475,7 +475,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
475
475
  }
476
476
 
477
477
  ft-loader {
478
- ${(0,O.setVariable)(B.size,M.iconSize)};
478
+ ${(0,O.setVariable)(B.size,G.iconSize)};
479
479
  ${(0,O.setVariable)(B.color,"var(--ft-button-internal-color)")};
480
480
  }
481
481
  `,O.noTextSelect];var It=h(R());var Lr=h(R());var Er=h(z()),K=h(it()),Rr=h(se()),pe=h(R());var Q=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},P=class extends pe.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 pe.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 pe.Debouncer(10),this.moveRipple=o=>{var a,i;let{x:l,y:c}=this.getCoordinates(o),d=(i=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(l!=null?l-d.x:d.width/2),this.originY=Math.round(c!=null?c-d.y:d.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 Er.html`
@@ -491,7 +491,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
491
491
  </div>
492
492
  `}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 a,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.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,a;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((a=this.target)!==null&&a!==void 0?a:i)}forceFocusUpdate(){var o;!((o=this.target)===null||o===void 0)&&o.matches(":focus-within")?this.startFocus():this.endFocus()}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 a=(...p)=>u=>{p.forEach(b=>window.addEventListener(b,this.endPress,{once:!0})),this.startPress(u)},i=a("mouseup","contextmenu"),l=a("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},d={passive:!0};o.addEventListener("mouseover",this.startHover,d),o.addEventListener("mousemove",this.moveRipple,d),o.addEventListener("mouseleave",this.endHover,d),o.addEventListener("mousedown",i,d),o.addEventListener("touchstart",l,d),o.addEventListener("touchmove",this.moveRipple,d),o.addEventListener("keydown",c,d),o.addEventListener("focus",this.startFocus,d),o.addEventListener("blur",this.endFocus,d),o.addEventListener("focusin",this.startFocus,d),o.addEventListener("focusout",this.endFocus,d),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,d),o.removeEventListener("mousemove",this.moveRipple,d),o.removeEventListener("mouseleave",this.endHover,d),o.removeEventListener("mousedown",i,d),o.removeEventListener("touchstart",l,d),o.removeEventListener("touchmove",this.moveRipple,d),o.removeEventListener("keydown",c,d),o.removeEventListener("focus",this.startFocus,d),o.removeEventListener("blur",this.endFocus,d),o.removeEventListener("focusin",this.startFocus,d),o.removeEventListener("focusout",this.endFocus,d),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,i=o,l,c;return a.x!=null?{x:l,y:c}=a:i.touches!=null&&(l=i.touches[0].clientX,c=i.touches[0].clientY),{x:l,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let a of o.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};P.elementDefinitions={};P.styles=Po;Q([(0,K.property)({type:Boolean})],P.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],P.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],P.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],P.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],P.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],P.prototype,"disabled",void 0);Q([(0,K.state)()],P.prototype,"hovered",void 0);Q([(0,K.state)()],P.prototype,"focused",void 0);Q([(0,K.state)()],P.prototype,"pressed",void 0);Q([(0,K.state)()],P.prototype,"rippling",void 0);Q([(0,K.state)()],P.prototype,"originX",void 0);Q([(0,K.state)()],P.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],P.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],P.prototype,"rippleEffect",void 0);(0,Lr.customElement)("ft-ripple")(P);var Ca=h(R());var Sa=h(z()),U=h(it()),Se=h(R());var Kr=h(R());var Ye=globalThis,$e=Ye.trustedTypes,Ar=$e?$e.createPolicy("lit-html",{createHTML:e=>e}):void 0,zr="$lit$",Lt=`lit$${Math.random().toFixed(9).slice(2)}$`,kr="?"+Lt,tn=`<${kr}>`,kt=document,Be=()=>kt.createComment(""),ue=e=>e===null||typeof e!="object"&&typeof e!="function",Xe=Array.isArray,en=e=>Xe(e)||typeof e?.[Symbol.iterator]=="function",Me=`[
493
493
  \f\r]`,fe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$r=/-->/g,Br=/>/g,Wt=RegExp(`>|${Me}(?:([^\\s"'>=/]+)(${Me}*=${Me}*(?:[^
494
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Pr=/'/g,Ir=/"/g,Tr=/^(?:script|style|textarea|title)$/i,qe=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Hr=qe(1),_r=qe(2),Dr=qe(3),ye=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Wr=new WeakMap,zt=kt.createTreeWalker(kt,129);function Ur(e,o){if(!Xe(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ar!==void 0?Ar.createHTML(o):o}var on=(e,o)=>{let a=e.length-1,i=[],l,c=o===2?"<svg>":o===3?"<math>":"",d=fe;for(let p=0;p<a;p++){let u=e[p],b,C,x=-1,w=0;for(;w<u.length&&(d.lastIndex=w,C=d.exec(u),C!==null);)w=d.lastIndex,d===fe?C[1]==="!--"?d=$r:C[1]!==void 0?d=Br:C[2]!==void 0?(Tr.test(C[2])&&(l=RegExp("</"+C[2],"g")),d=Wt):C[3]!==void 0&&(d=Wt):d===Wt?C[0]===">"?(d=l??fe,x=-1):C[1]===void 0?x=-2:(x=d.lastIndex-C[2].length,b=C[1],d=C[3]===void 0?Wt:C[3]==='"'?Ir:Pr):d===Ir||d===Pr?d=Wt:d===$r||d===Br?d=fe:(d=Wt,l=void 0);let v=d===Wt&&e[p+1].startsWith("/>")?" ":"";c+=d===fe?u+tn:x>=0?(i.push(b),u.slice(0,x)+zr+u.slice(x)+Lt+v):u+Lt+(x===-2?p:v)}return[Ur(e,c+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ge=class e{constructor({strings:o,_$litType$:a},i){let l;this.parts=[];let c=0,d=0,p=o.length-1,u=this.parts,[b,C]=on(o,a);if(this.el=e.createElement(b,i),zt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(l=zt.nextNode())!==null&&u.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let x of l.getAttributeNames())if(x.endsWith(zr)){let w=C[d++],v=l.getAttribute(x).split(Lt),L=/([.?@])?(.*)/.exec(w);u.push({type:1,index:c,name:L[2],strings:v,ctor:L[1]==="."?Fe:L[1]==="?"?Ke:L[1]==="@"?Ve:Qt}),l.removeAttribute(x)}else x.startsWith(Lt)&&(u.push({type:6,index:c}),l.removeAttribute(x));if(Tr.test(l.tagName)){let x=l.textContent.split(Lt),w=x.length-1;if(w>0){l.textContent=$e?$e.emptyScript:"";for(let v=0;v<w;v++)l.append(x[v],Be()),zt.nextNode(),u.push({type:2,index:++c});l.append(x[w],Be())}}}else if(l.nodeType===8)if(l.data===kr)u.push({type:2,index:c});else{let x=-1;for(;(x=l.data.indexOf(Lt,x+1))!==-1;)u.push({type:7,index:c}),x+=Lt.length-1}c++}}static createElement(o,a){let i=kt.createElement("template");return i.innerHTML=o,i}};function qt(e,o,a=e,i){if(o===ye)return o;let l=i!==void 0?a._$Co?.[i]:a._$Cl,c=ue(o)?void 0:o._$litDirective$;return l?.constructor!==c&&(l?._$AO?.(!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=l:a._$Cl=l),l!==void 0&&(o=qt(e,l._$AS(e,o.values),l,i)),o}var Ze=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:i}=this._$AD,l=(o?.creationScope??kt).importNode(a,!0);zt.currentNode=l;let c=zt.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let b;u.type===2?b=new Pe(c,c.nextSibling,this,o):u.type===1?b=new u.ctor(c,u.name,u.strings,this,o):u.type===6&&(b=new je(c,this,o)),this._$AV.push(b),u=i[++p]}d!==u?.index&&(c=zt.nextNode(),d++)}return zt.currentNode=kt,l}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},Pe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,l){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=qt(this,o,a),ue(o)?o===Z||o==null||o===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):o!==this._$AH&&o!==ye&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):en(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==Z&&ue(this._$AH)?this._$AA.nextSibling.data=o:this.T(kt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,l=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ge.createElement(Ur(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===l)this._$AH.p(a);else{let c=new Ze(l,this),d=c.u(this.options);c.p(a),this.T(d),this._$AH=c}}_$AC(o){let a=Wr.get(o.strings);return a===void 0&&Wr.set(o.strings,a=new ge(o)),a}k(o){Xe(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,l=0;for(let c of o)l===a.length?a.push(i=new e(this.O(Be()),this.O(Be()),this,this.options)):i=a[l],i._$AI(c),l++;l<a.length&&(this._$AR(i&&i._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,l,c){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}_$AI(o,a=this,i,l){let c=this.strings,d=!1;if(c===void 0)o=qt(this,o,a,0),d=!ue(o)||o!==this._$AH&&o!==ye,d&&(this._$AH=o);else{let p=o,u,b;for(o=c[0],u=0;u<c.length-1;u++)b=qt(this,p[i+u],a,u),b===ye&&(b=this._$AH[u]),d||=!ue(b)||b!==this._$AH[u],b===Z?o=Z:o!==Z&&(o+=(b??"")+c[u+1]),this._$AH[u]=b}d&&!l&&this.j(o)}j(o){o===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Fe=class extends Qt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===Z?void 0:o}},Ke=class extends Qt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==Z)}},Ve=class extends Qt{constructor(o,a,i,l,c){super(o,a,i,l,c),this.type=5}_$AI(o,a=this){if((o=qt(this,o,a,0)??Z)===ye)return;let i=this._$AH,l=o===Z&&i!==Z||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,c=o!==Z&&(i===Z||l);l&&this.element.removeEventListener(this.name,this,i),c&&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,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){qt(this,o)}};var rn=Ye.litHtmlPolyfillSupport;rn?.(ge,Pe),(Ye.litHtmlVersions??=[]).push("3.3.0");var Mr=Symbol.for(""),an=e=>{if(e?.r===Mr)return e?._$litStatic$},Qe=e=>({_$litStatic$:e,r:Mr});var Gr=new Map,Je=e=>(o,...a)=>{let i=a.length,l,c,d=[],p=[],u,b=0,C=!1;for(;b<i;){for(u=o[b];b<i&&(c=a[b],(l=an(c))!==void 0);)u+=l+o[++b],C=!0;b!==i&&p.push(c),d.push(u),b++}if(b===i&&d.push(o[i]),C){let x=d.join("$$lit$$");(o=Gr.get(x))===void 0&&(d.raw=d,Gr.set(x,o=d)),a=p}return e(o,...a)},to=Je(Hr),ls=Je(_r),cs=Je(Dr);var eo=h(it()),Fr=h(R());var At;(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"})(At||(At={}));var Zr=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},q=class extends Fr.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?to`
494
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Pr=/'/g,Ir=/"/g,Tr=/^(?:script|style|textarea|title)$/i,qe=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Hr=qe(1),_r=qe(2),Dr=qe(3),ye=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Wr=new WeakMap,zt=kt.createTreeWalker(kt,129);function Ur(e,o){if(!Xe(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ar!==void 0?Ar.createHTML(o):o}var on=(e,o)=>{let a=e.length-1,i=[],l,c=o===2?"<svg>":o===3?"<math>":"",d=fe;for(let p=0;p<a;p++){let u=e[p],b,C,x=-1,w=0;for(;w<u.length&&(d.lastIndex=w,C=d.exec(u),C!==null);)w=d.lastIndex,d===fe?C[1]==="!--"?d=$r:C[1]!==void 0?d=Br:C[2]!==void 0?(Tr.test(C[2])&&(l=RegExp("</"+C[2],"g")),d=Wt):C[3]!==void 0&&(d=Wt):d===Wt?C[0]===">"?(d=l??fe,x=-1):C[1]===void 0?x=-2:(x=d.lastIndex-C[2].length,b=C[1],d=C[3]===void 0?Wt:C[3]==='"'?Ir:Pr):d===Ir||d===Pr?d=Wt:d===$r||d===Br?d=fe:(d=Wt,l=void 0);let v=d===Wt&&e[p+1].startsWith("/>")?" ":"";c+=d===fe?u+tn:x>=0?(i.push(b),u.slice(0,x)+zr+u.slice(x)+Lt+v):u+Lt+(x===-2?p:v)}return[Ur(e,c+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},ge=class e{constructor({strings:o,_$litType$:a},i){let l;this.parts=[];let c=0,d=0,p=o.length-1,u=this.parts,[b,C]=on(o,a);if(this.el=e.createElement(b,i),zt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(l=zt.nextNode())!==null&&u.length<p;){if(l.nodeType===1){if(l.hasAttributes())for(let x of l.getAttributeNames())if(x.endsWith(zr)){let w=C[d++],v=l.getAttribute(x).split(Lt),L=/([.?@])?(.*)/.exec(w);u.push({type:1,index:c,name:L[2],strings:v,ctor:L[1]==="."?Fe:L[1]==="?"?Ke:L[1]==="@"?Ve:Qt}),l.removeAttribute(x)}else x.startsWith(Lt)&&(u.push({type:6,index:c}),l.removeAttribute(x));if(Tr.test(l.tagName)){let x=l.textContent.split(Lt),w=x.length-1;if(w>0){l.textContent=$e?$e.emptyScript:"";for(let v=0;v<w;v++)l.append(x[v],Be()),zt.nextNode(),u.push({type:2,index:++c});l.append(x[w],Be())}}}else if(l.nodeType===8)if(l.data===kr)u.push({type:2,index:c});else{let x=-1;for(;(x=l.data.indexOf(Lt,x+1))!==-1;)u.push({type:7,index:c}),x+=Lt.length-1}c++}}static createElement(o,a){let i=kt.createElement("template");return i.innerHTML=o,i}};function qt(e,o,a=e,i){if(o===ye)return o;let l=i!==void 0?a._$Co?.[i]:a._$Cl,c=ue(o)?void 0:o._$litDirective$;return l?.constructor!==c&&(l?._$AO?.(!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,a,i)),i!==void 0?(a._$Co??=[])[i]=l:a._$Cl=l),l!==void 0&&(o=qt(e,l._$AS(e,o.values),l,i)),o}var Ze=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:i}=this._$AD,l=(o?.creationScope??kt).importNode(a,!0);zt.currentNode=l;let c=zt.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let b;u.type===2?b=new Pe(c,c.nextSibling,this,o):u.type===1?b=new u.ctor(c,u.name,u.strings,this,o):u.type===6&&(b=new je(c,this,o)),this._$AV.push(b),u=i[++p]}d!==u?.index&&(c=zt.nextNode(),d++)}return zt.currentNode=kt,l}p(o){let a=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,a),a+=i.strings.length-2):i._$AI(o[a])),a++}},Pe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,l){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=qt(this,o,a),ue(o)?o===M||o==null||o===""?(this._$AH!==M&&this._$AR(),this._$AH=M):o!==this._$AH&&o!==ye&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):en(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==M&&ue(this._$AH)?this._$AA.nextSibling.data=o:this.T(kt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,l=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ge.createElement(Ur(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===l)this._$AH.p(a);else{let c=new Ze(l,this),d=c.u(this.options);c.p(a),this.T(d),this._$AH=c}}_$AC(o){let a=Wr.get(o.strings);return a===void 0&&Wr.set(o.strings,a=new ge(o)),a}k(o){Xe(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,l=0;for(let c of o)l===a.length?a.push(i=new e(this.O(Be()),this.O(Be()),this,this.options)):i=a[l],i._$AI(c),l++;l<a.length&&(this._$AR(i&&i._$AB.nextSibling,l),a.length=l)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,l,c){this.type=1,this._$AH=M,this._$AN=void 0,this.element=o,this.name=a,this._$AM=l,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=M}_$AI(o,a=this,i,l){let c=this.strings,d=!1;if(c===void 0)o=qt(this,o,a,0),d=!ue(o)||o!==this._$AH&&o!==ye,d&&(this._$AH=o);else{let p=o,u,b;for(o=c[0],u=0;u<c.length-1;u++)b=qt(this,p[i+u],a,u),b===ye&&(b=this._$AH[u]),d||=!ue(b)||b!==this._$AH[u],b===M?o=M:o!==M&&(o+=(b??"")+c[u+1]),this._$AH[u]=b}d&&!l&&this.j(o)}j(o){o===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Fe=class extends Qt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===M?void 0:o}},Ke=class extends Qt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==M)}},Ve=class extends Qt{constructor(o,a,i,l,c){super(o,a,i,l,c),this.type=5}_$AI(o,a=this){if((o=qt(this,o,a,0)??M)===ye)return;let i=this._$AH,l=o===M&&i!==M||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,c=o!==M&&(i===M||l);l&&this.element.removeEventListener(this.name,this,i),c&&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,a,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){qt(this,o)}};var rn=Ye.litHtmlPolyfillSupport;rn?.(ge,Pe),(Ye.litHtmlVersions??=[]).push("3.3.0");var Mr=Symbol.for(""),an=e=>{if(e?.r===Mr)return e?._$litStatic$},Qe=e=>({_$litStatic$:e,r:Mr});var Gr=new Map,Je=e=>(o,...a)=>{let i=a.length,l,c,d=[],p=[],u,b=0,C=!1;for(;b<i;){for(u=o[b];b<i&&(c=a[b],(l=an(c))!==void 0);)u+=l+o[++b],C=!0;b!==i&&p.push(c),d.push(u),b++}if(b===i&&d.push(o[i]),C){let x=d.join("$$lit$$");(o=Gr.get(x))===void 0&&(d.raw=d,Gr.set(x,o=d)),a=p}return e(o,...a)},to=Je(Hr),ls=Je(_r),cs=Je(Dr);var eo=h(it()),Fr=h(R());var At;(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"})(At||(At={}));var Zr=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},q=class extends Fr.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?to`
495
495
  <${Qe(this.element)}
496
496
  part="text"
497
497
  class="ft-typography ft-typography--${this.variant}">
@@ -528,7 +528,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
528
528
  position: relative;
529
529
  word-break: break-word;
530
530
  }
531
- `;var Xr=["top","right","bottom","left"],Yr=["start","end"],ro=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),qr=Math.min,Qr=Math.max;var nn={left:"right",right:"left",bottom:"top",top:"bottom"},ln={start:"end",end:"start"};function ao(e,o,a){return Qr(e,qr(o,a))}function Ie(e,o){return typeof e=="function"?e(o):e}function te(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function no(e){return e==="x"?"y":"x"}function io(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(te(e))?"y":"x"}function lo(e){return no(We(e))}function Jr(e,o,a){a===void 0&&(a=!1);let i=$t(e),l=lo(e),c=io(l),d=l==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(d=oo(d)),[d,oo(d)]}function ta(e){return e.replace(/start|end/g,o=>ln[o])}function oo(e){return e.replace(/left|right|bottom|top/g,o=>nn[o])}function cn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ea(e){return typeof e!="number"?cn(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){let{x:o,y:a,width:i,height:l}=e;return{width:i,height:l,top:a,left:o,right:o+i,bottom:a+l,x:o,y:a}}function oa(e,o,a){let{reference:i,floating:l}=e,c=We(o),d=lo(o),p=io(d),u=te(o),b=c==="y",C=i.x+i.width/2-l.width/2,x=i.y+i.height/2-l.height/2,w=i[p]/2-l[p]/2,v;switch(u){case"top":v={x:C,y:i.y-l.height};break;case"bottom":v={x:C,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:x};break;case"left":v={x:i.x-l.width,y:x};break;default:v={x:i.x,y:i.y}}switch($t(o)){case"start":v[d]-=w*(a&&b?-1:1);break;case"end":v[d]+=w*(a&&b?-1:1);break}return v}var ra=async(e,o,a)=>{let{placement:i="bottom",strategy:l="absolute",middleware:c=[],platform:d}=a,p=c.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),b=await d.getElementRects({reference:e,floating:o,strategy:l}),{x:C,y:x}=oa(b,i,u),w=i,v={},L=0;for(let k=0;k<p.length;k++){let{name:_,fn:T}=p[k],{x:D,y:Y,data:Et,reset:j}=await T({x:C,y:x,initialPlacement:i,placement:w,strategy:l,middlewareData:v,rects:b,platform:d,elements:{reference:e,floating:o}});C=D??C,x=Y??x,v={...v,[_]:{...v[_],...Et}},j&&L<=50&&(L++,typeof j=="object"&&(j.placement&&(w=j.placement),j.rects&&(b=j.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:l}):j.rects),{x:C,y:x}=oa(b,w,u)),k=-1)}return{x:C,y:x,placement:w,strategy:l,middlewareData:v}};async function co(e,o){var a;o===void 0&&(o={});let{x:i,y:l,platform:c,rects:d,elements:p,strategy:u}=e,{boundary:b="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:w=!1,padding:v=0}=Ie(o,e),L=ea(v),_=p[w?x==="floating"?"reference":"floating":x],T=Tt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(_)))==null||a?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:b,rootBoundary:C,strategy:u})),D=x==="floating"?{x:i,y:l,width:d.floating.width,height:d.floating.height}:d.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),Et=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},j=Tt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:D,offsetParent:Y,strategy:u}):D);return{top:(T.top-j.top+L.top)/Et.y,bottom:(j.bottom-T.bottom+L.bottom)/Et.y,left:(T.left-j.left+L.left)/Et.x,right:(j.right-T.right+L.right)/Et.x}}function dn(e,o,a){return(e?[...a.filter(l=>$t(l)===e),...a.filter(l=>$t(l)!==e)]:a.filter(l=>te(l)===l)).filter(l=>e?$t(l)===e||(o?ta(l)!==l:!1):!0)}var so=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,l;let{rects:c,middlewareData:d,placement:p,platform:u,elements:b}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:w=ro,autoAlignment:v=!0,...L}=Ie(e,o),k=x!==void 0||w===ro?dn(x||null,v,w):w,_=await co(o,L),T=((a=d.autoPlacement)==null?void 0:a.index)||0,D=k[T];if(D==null)return{};let Y=Jr(D,c,await(u.isRTL==null?void 0:u.isRTL(b.floating)));if(p!==D)return{reset:{placement:k[0]}};let Et=[_[te(D)],_[Y[0]],_[Y[1]]],j=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:D,overflows:Et}],bo=k[T+1];if(bo)return{data:{index:T+1,overflows:j},reset:{placement:bo}};let ho=j.map(pt=>{let le=$t(pt.placement);return[pt.placement,le&&C?pt.overflows.slice(0,2).reduce((Fa,Ka)=>Fa+Ka,0):pt.overflows[0],pt.overflows]}).sort((pt,le)=>pt[1]-le[1]),xo=((l=ho.filter(pt=>pt[2].slice(0,$t(pt[0])?2:3).every(le=>le<=0))[0])==null?void 0:l[0])||ho[0][0];return xo!==p?{data:{index:T+1,overflows:j},reset:{placement:xo}}:{}}}};var po=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:l}=o,{mainAxis:c=!0,crossAxis:d=!1,limiter:p={fn:_=>{let{x:T,y:D}=_;return{x:T,y:D}}},...u}=Ie(e,o),b={x:a,y:i},C=await co(o,u),x=We(te(l)),w=no(x),v=b[w],L=b[x];if(c){let _=w==="y"?"top":"left",T=w==="y"?"bottom":"right",D=v+C[_],Y=v-C[T];v=ao(D,v,Y)}if(d){let _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",D=L+C[_],Y=L-C[T];L=ao(D,L,Y)}let k=p.fn({...o,[w]:v,[x]:L});return{...k,data:{x:k.x-a,y:k.y-i,enabled:{[w]:c,[x]:d}}}}}};var fo=Math.min,ee=Math.max,me=Math.round;var Ot=e=>({x:e,y:e});function vt(e){return na(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(na(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function na(e){return e instanceof Node||e instanceof J(e).Node}function yt(e){return e instanceof Element||e instanceof J(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function aa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function oe(e){let{overflow:o,overflowX:a,overflowY:i,display:l}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(l)}function ia(e){return["table","td","th"].includes(vt(e))}function ke(e){let o=Te(),a=et(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function la(e){let o=Ht(e);for(;dt(o)&&!be(o);){if(ke(o))return o;o=Ht(o)}return null}function Te(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(vt(e))}function et(e){return J(e).getComputedStyle(e)}function he(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(vt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||aa(e)&&e.host||Nt(e);return aa(o)?o.host:o}function ca(e){let o=Ht(e);return be(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&oe(o)?o:ca(o)}function ze(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let l=ca(e),c=l===((i=e.ownerDocument)==null?void 0:i.body),d=J(l);return c?o.concat(d,d.visualViewport||[],oe(l)?l:[],d.frameElement&&a?ze(d.frameElement):[]):o.concat(l,ze(l,[],a))}function pa(e){let o=et(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,l=dt(e),c=l?e.offsetWidth:a,d=l?e.offsetHeight:i,p=me(a)!==c||me(i)!==d;return p&&(a=c,i=d),{width:a,height:i,$:p}}function fa(e){return yt(e)?e:e.contextElement}function re(e){let o=fa(e);if(!dt(o))return Ot(1);let a=o.getBoundingClientRect(),{width:i,height:l,$:c}=pa(o),d=(c?me(a.width):a.width)/i,p=(c?me(a.height):a.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var fn=Ot(0);function ua(e){let o=J(e);return!Te()||!o.visualViewport?fn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function un(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function xe(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let l=e.getBoundingClientRect(),c=fa(e),d=Ot(1);o&&(i?yt(i)&&(d=re(i)):d=re(e));let p=un(c,a,i)?ua(c):Ot(0),u=(l.left+p.x)/d.x,b=(l.top+p.y)/d.y,C=l.width/d.x,x=l.height/d.y;if(c){let w=J(c),v=i&&yt(i)?J(i):i,L=w.frameElement;for(;L&&i&&v!==w;){let k=re(L),_=L.getBoundingClientRect(),T=et(L),D=_.left+(L.clientLeft+parseFloat(T.paddingLeft))*k.x,Y=_.top+(L.clientTop+parseFloat(T.paddingTop))*k.y;u*=k.x,b*=k.y,C*=k.x,x*=k.y,u+=D,b+=Y,L=J(L).frameElement}}return Tt({width:C,height:x,x:u,y:b})}function yn(e){let{rect:o,offsetParent:a,strategy:i}=e,l=dt(a),c=Nt(a);if(a===c)return o;let d={scrollLeft:0,scrollTop:0},p=Ot(1),u=Ot(0);if((l||!l&&i!=="fixed")&&((vt(a)!=="body"||oe(c))&&(d=he(a)),dt(a))){let b=xe(a);p=re(a),u.x=b.x+a.clientLeft,u.y=b.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+u.x,y:o.y*p.y-d.scrollTop*p.y+u.y}}function gn(e){return Array.from(e.getClientRects())}function ya(e){return xe(Nt(e)).left+he(e).scrollLeft}function mn(e){let o=Nt(e),a=he(e),i=e.ownerDocument.body,l=ee(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=ee(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ya(e),p=-a.scrollTop;return et(i).direction==="rtl"&&(d+=ee(o.clientWidth,i.clientWidth)-l),{width:l,height:c,x:d,y:p}}function bn(e,o){let a=J(e),i=Nt(e),l=a.visualViewport,c=i.clientWidth,d=i.clientHeight,p=0,u=0;if(l){c=l.width,d=l.height;let b=Te();(!b||b&&o==="fixed")&&(p=l.offsetLeft,u=l.offsetTop)}return{width:c,height:d,x:p,y:u}}function hn(e,o){let a=xe(e,!0,o==="fixed"),i=a.top+e.clientTop,l=a.left+e.clientLeft,c=dt(e)?re(e):Ot(1),d=e.clientWidth*c.x,p=e.clientHeight*c.y,u=l*c.x,b=i*c.y;return{width:d,height:p,x:u,y:b}}function da(e,o,a){let i;if(o==="viewport")i=bn(e,a);else if(o==="document")i=mn(Nt(e));else if(yt(o))i=hn(o,a);else{let l=ua(e);i={...o,x:o.x-l.x,y:o.y-l.y}}return Tt(i)}function ga(e,o){let a=Ht(e);return a===o||!yt(a)||be(a)?!1:et(a).position==="fixed"||ga(a,o)}function xn(e,o){let a=o.get(e);if(a)return a;let i=ze(e,[],!1).filter(p=>yt(p)&&vt(p)!=="body"),l=null,c=et(e).position==="fixed",d=c?Ht(e):e;for(;yt(d)&&!be(d);){let p=et(d),u=ke(d);!u&&p.position==="fixed"&&(l=null),(c?!u&&!l:!u&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||oe(d)&&!u&&ga(e,d))?i=i.filter(C=>C!==d):l=p,d=Ht(d)}return o.set(e,i),i}function Sn(e){let{element:o,boundary:a,rootBoundary:i,strategy:l}=e,d=[...a==="clippingAncestors"?xn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((b,C)=>{let x=da(o,C,l);return b.top=ee(x.top,b.top),b.right=fo(x.right,b.right),b.bottom=fo(x.bottom,b.bottom),b.left=ee(x.left,b.left),b},da(o,p,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Cn(e){return pa(e)}function On(e,o,a){let i=dt(o),l=Nt(o),c=a==="fixed",d=xe(e,!0,c,o),p={scrollLeft:0,scrollTop:0},u=Ot(0);if(i||!i&&!c)if((vt(o)!=="body"||oe(l))&&(p=he(o)),i){let b=xe(o,!0,c,o);u.x=b.x+o.clientLeft,u.y=b.y+o.clientTop}else l&&(u.x=ya(l));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function sa(e,o){return!dt(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function ma(e,o){let a=J(e);if(!dt(e))return a;let i=sa(e,o);for(;i&&ia(i)&&et(i).position==="static";)i=sa(i,o);return i&&(vt(i)==="html"||vt(i)==="body"&&et(i).position==="static"&&!ke(i))?a:i||la(e)||a}var vn=async function(e){let{reference:o,floating:a,strategy:i}=e,l=this.getOffsetParent||ma,c=this.getDimensions;return{reference:On(o,await l(a),i),floating:{x:0,y:0,...await c(a)}}};function Nn(e){return et(e).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:yn,getDocumentElement:Nt,getClippingRect:Sn,getOffsetParent:ma,getElementRects:vn,getClientRects:gn,getDimensions:Cn,getScale:re,isElement:yt,isRTL:Nn};var ba=(e,o,a)=>{let i=new Map,l={platform:He,...a},c={...l.platform,_c:i};return ra(e,o,{...l,platform:c})};function ha(e){return wn(e)}function uo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function wn(e){for(let o=e;o;o=uo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=uo(e);o;o=uo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function xa(e,o,a){return ba(e,o,{platform:{...He,getOffsetParent:i=>He.getOffsetParent(i,ha)},middleware:[po({crossAxis:!0}),so({allowedPlacements:[a]})]})}var tt=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},W=class extends Se.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 Se.Debouncer,this.revealDebouncer=new Se.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sa.html`
531
+ `;var Xr=["top","right","bottom","left"],Yr=["start","end"],ro=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),qr=Math.min,Qr=Math.max;var nn={left:"right",right:"left",bottom:"top",top:"bottom"},ln={start:"end",end:"start"};function ao(e,o,a){return Qr(e,qr(o,a))}function Ie(e,o){return typeof e=="function"?e(o):e}function te(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function no(e){return e==="x"?"y":"x"}function io(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(te(e))?"y":"x"}function lo(e){return no(We(e))}function Jr(e,o,a){a===void 0&&(a=!1);let i=$t(e),l=lo(e),c=io(l),d=l==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(d=oo(d)),[d,oo(d)]}function ta(e){return e.replace(/start|end/g,o=>ln[o])}function oo(e){return e.replace(/left|right|bottom|top/g,o=>nn[o])}function cn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ea(e){return typeof e!="number"?cn(e):{top:e,right:e,bottom:e,left:e}}function Tt(e){let{x:o,y:a,width:i,height:l}=e;return{width:i,height:l,top:a,left:o,right:o+i,bottom:a+l,x:o,y:a}}function oa(e,o,a){let{reference:i,floating:l}=e,c=We(o),d=lo(o),p=io(d),u=te(o),b=c==="y",C=i.x+i.width/2-l.width/2,x=i.y+i.height/2-l.height/2,w=i[p]/2-l[p]/2,v;switch(u){case"top":v={x:C,y:i.y-l.height};break;case"bottom":v={x:C,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:x};break;case"left":v={x:i.x-l.width,y:x};break;default:v={x:i.x,y:i.y}}switch($t(o)){case"start":v[d]-=w*(a&&b?-1:1);break;case"end":v[d]+=w*(a&&b?-1:1);break}return v}var ra=async(e,o,a)=>{let{placement:i="bottom",strategy:l="absolute",middleware:c=[],platform:d}=a,p=c.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),b=await d.getElementRects({reference:e,floating:o,strategy:l}),{x:C,y:x}=oa(b,i,u),w=i,v={},L=0;for(let k=0;k<p.length;k++){let{name:_,fn:T}=p[k],{x:D,y:Y,data:Et,reset:V}=await T({x:C,y:x,initialPlacement:i,placement:w,strategy:l,middlewareData:v,rects:b,platform:d,elements:{reference:e,floating:o}});C=D??C,x=Y??x,v={...v,[_]:{...v[_],...Et}},V&&L<=50&&(L++,typeof V=="object"&&(V.placement&&(w=V.placement),V.rects&&(b=V.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:l}):V.rects),{x:C,y:x}=oa(b,w,u)),k=-1)}return{x:C,y:x,placement:w,strategy:l,middlewareData:v}};async function co(e,o){var a;o===void 0&&(o={});let{x:i,y:l,platform:c,rects:d,elements:p,strategy:u}=e,{boundary:b="clippingAncestors",rootBoundary:C="viewport",elementContext:x="floating",altBoundary:w=!1,padding:v=0}=Ie(o,e),L=ea(v),_=p[w?x==="floating"?"reference":"floating":x],T=Tt(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(_)))==null||a?_:_.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:b,rootBoundary:C,strategy:u})),D=x==="floating"?{x:i,y:l,width:d.floating.width,height:d.floating.height}:d.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),Et=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},V=Tt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:D,offsetParent:Y,strategy:u}):D);return{top:(T.top-V.top+L.top)/Et.y,bottom:(V.bottom-T.bottom+L.bottom)/Et.y,left:(T.left-V.left+L.left)/Et.x,right:(V.right-T.right+L.right)/Et.x}}function dn(e,o,a){return(e?[...a.filter(l=>$t(l)===e),...a.filter(l=>$t(l)!==e)]:a.filter(l=>te(l)===l)).filter(l=>e?$t(l)===e||(o?ta(l)!==l:!1):!0)}var so=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,l;let{rects:c,middlewareData:d,placement:p,platform:u,elements:b}=o,{crossAxis:C=!1,alignment:x,allowedPlacements:w=ro,autoAlignment:v=!0,...L}=Ie(e,o),k=x!==void 0||w===ro?dn(x||null,v,w):w,_=await co(o,L),T=((a=d.autoPlacement)==null?void 0:a.index)||0,D=k[T];if(D==null)return{};let Y=Jr(D,c,await(u.isRTL==null?void 0:u.isRTL(b.floating)));if(p!==D)return{reset:{placement:k[0]}};let Et=[_[te(D)],_[Y[0]],_[Y[1]]],V=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:D,overflows:Et}],bo=k[T+1];if(bo)return{data:{index:T+1,overflows:V},reset:{placement:bo}};let ho=V.map(pt=>{let le=$t(pt.placement);return[pt.placement,le&&C?pt.overflows.slice(0,2).reduce((Fa,Ka)=>Fa+Ka,0):pt.overflows[0],pt.overflows]}).sort((pt,le)=>pt[1]-le[1]),xo=((l=ho.filter(pt=>pt[2].slice(0,$t(pt[0])?2:3).every(le=>le<=0))[0])==null?void 0:l[0])||ho[0][0];return xo!==p?{data:{index:T+1,overflows:V},reset:{placement:xo}}:{}}}};var po=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:l}=o,{mainAxis:c=!0,crossAxis:d=!1,limiter:p={fn:_=>{let{x:T,y:D}=_;return{x:T,y:D}}},...u}=Ie(e,o),b={x:a,y:i},C=await co(o,u),x=We(te(l)),w=no(x),v=b[w],L=b[x];if(c){let _=w==="y"?"top":"left",T=w==="y"?"bottom":"right",D=v+C[_],Y=v-C[T];v=ao(D,v,Y)}if(d){let _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",D=L+C[_],Y=L-C[T];L=ao(D,L,Y)}let k=p.fn({...o,[w]:v,[x]:L});return{...k,data:{x:k.x-a,y:k.y-i,enabled:{[w]:c,[x]:d}}}}}};var fo=Math.min,ee=Math.max,me=Math.round;var Ot=e=>({x:e,y:e});function vt(e){return na(e)?(e.nodeName||"").toLowerCase():"#document"}function J(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Nt(e){var o;return(o=(na(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function na(e){return e instanceof Node||e instanceof J(e).Node}function yt(e){return e instanceof Element||e instanceof J(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof J(e).HTMLElement}function aa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof J(e).ShadowRoot}function oe(e){let{overflow:o,overflowX:a,overflowY:i,display:l}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(l)}function ia(e){return["table","td","th"].includes(vt(e))}function ke(e){let o=Te(),a=et(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function la(e){let o=Ht(e);for(;dt(o)&&!be(o);){if(ke(o))return o;o=Ht(o)}return null}function Te(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(vt(e))}function et(e){return J(e).getComputedStyle(e)}function he(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(vt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||aa(e)&&e.host||Nt(e);return aa(o)?o.host:o}function ca(e){let o=Ht(e);return be(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&oe(o)?o:ca(o)}function ze(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let l=ca(e),c=l===((i=e.ownerDocument)==null?void 0:i.body),d=J(l);return c?o.concat(d,d.visualViewport||[],oe(l)?l:[],d.frameElement&&a?ze(d.frameElement):[]):o.concat(l,ze(l,[],a))}function pa(e){let o=et(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,l=dt(e),c=l?e.offsetWidth:a,d=l?e.offsetHeight:i,p=me(a)!==c||me(i)!==d;return p&&(a=c,i=d),{width:a,height:i,$:p}}function fa(e){return yt(e)?e:e.contextElement}function re(e){let o=fa(e);if(!dt(o))return Ot(1);let a=o.getBoundingClientRect(),{width:i,height:l,$:c}=pa(o),d=(c?me(a.width):a.width)/i,p=(c?me(a.height):a.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var fn=Ot(0);function ua(e){let o=J(e);return!Te()||!o.visualViewport?fn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function un(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==J(e)?!1:o}function xe(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let l=e.getBoundingClientRect(),c=fa(e),d=Ot(1);o&&(i?yt(i)&&(d=re(i)):d=re(e));let p=un(c,a,i)?ua(c):Ot(0),u=(l.left+p.x)/d.x,b=(l.top+p.y)/d.y,C=l.width/d.x,x=l.height/d.y;if(c){let w=J(c),v=i&&yt(i)?J(i):i,L=w.frameElement;for(;L&&i&&v!==w;){let k=re(L),_=L.getBoundingClientRect(),T=et(L),D=_.left+(L.clientLeft+parseFloat(T.paddingLeft))*k.x,Y=_.top+(L.clientTop+parseFloat(T.paddingTop))*k.y;u*=k.x,b*=k.y,C*=k.x,x*=k.y,u+=D,b+=Y,L=J(L).frameElement}}return Tt({width:C,height:x,x:u,y:b})}function yn(e){let{rect:o,offsetParent:a,strategy:i}=e,l=dt(a),c=Nt(a);if(a===c)return o;let d={scrollLeft:0,scrollTop:0},p=Ot(1),u=Ot(0);if((l||!l&&i!=="fixed")&&((vt(a)!=="body"||oe(c))&&(d=he(a)),dt(a))){let b=xe(a);p=re(a),u.x=b.x+a.clientLeft,u.y=b.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+u.x,y:o.y*p.y-d.scrollTop*p.y+u.y}}function gn(e){return Array.from(e.getClientRects())}function ya(e){return xe(Nt(e)).left+he(e).scrollLeft}function mn(e){let o=Nt(e),a=he(e),i=e.ownerDocument.body,l=ee(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=ee(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ya(e),p=-a.scrollTop;return et(i).direction==="rtl"&&(d+=ee(o.clientWidth,i.clientWidth)-l),{width:l,height:c,x:d,y:p}}function bn(e,o){let a=J(e),i=Nt(e),l=a.visualViewport,c=i.clientWidth,d=i.clientHeight,p=0,u=0;if(l){c=l.width,d=l.height;let b=Te();(!b||b&&o==="fixed")&&(p=l.offsetLeft,u=l.offsetTop)}return{width:c,height:d,x:p,y:u}}function hn(e,o){let a=xe(e,!0,o==="fixed"),i=a.top+e.clientTop,l=a.left+e.clientLeft,c=dt(e)?re(e):Ot(1),d=e.clientWidth*c.x,p=e.clientHeight*c.y,u=l*c.x,b=i*c.y;return{width:d,height:p,x:u,y:b}}function da(e,o,a){let i;if(o==="viewport")i=bn(e,a);else if(o==="document")i=mn(Nt(e));else if(yt(o))i=hn(o,a);else{let l=ua(e);i={...o,x:o.x-l.x,y:o.y-l.y}}return Tt(i)}function ga(e,o){let a=Ht(e);return a===o||!yt(a)||be(a)?!1:et(a).position==="fixed"||ga(a,o)}function xn(e,o){let a=o.get(e);if(a)return a;let i=ze(e,[],!1).filter(p=>yt(p)&&vt(p)!=="body"),l=null,c=et(e).position==="fixed",d=c?Ht(e):e;for(;yt(d)&&!be(d);){let p=et(d),u=ke(d);!u&&p.position==="fixed"&&(l=null),(c?!u&&!l:!u&&p.position==="static"&&!!l&&["absolute","fixed"].includes(l.position)||oe(d)&&!u&&ga(e,d))?i=i.filter(C=>C!==d):l=p,d=Ht(d)}return o.set(e,i),i}function Sn(e){let{element:o,boundary:a,rootBoundary:i,strategy:l}=e,d=[...a==="clippingAncestors"?xn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((b,C)=>{let x=da(o,C,l);return b.top=ee(x.top,b.top),b.right=fo(x.right,b.right),b.bottom=fo(x.bottom,b.bottom),b.left=ee(x.left,b.left),b},da(o,p,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Cn(e){return pa(e)}function On(e,o,a){let i=dt(o),l=Nt(o),c=a==="fixed",d=xe(e,!0,c,o),p={scrollLeft:0,scrollTop:0},u=Ot(0);if(i||!i&&!c)if((vt(o)!=="body"||oe(l))&&(p=he(o)),i){let b=xe(o,!0,c,o);u.x=b.x+o.clientLeft,u.y=b.y+o.clientTop}else l&&(u.x=ya(l));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function sa(e,o){return!dt(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function ma(e,o){let a=J(e);if(!dt(e))return a;let i=sa(e,o);for(;i&&ia(i)&&et(i).position==="static";)i=sa(i,o);return i&&(vt(i)==="html"||vt(i)==="body"&&et(i).position==="static"&&!ke(i))?a:i||la(e)||a}var vn=async function(e){let{reference:o,floating:a,strategy:i}=e,l=this.getOffsetParent||ma,c=this.getDimensions;return{reference:On(o,await l(a),i),floating:{x:0,y:0,...await c(a)}}};function Nn(e){return et(e).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:yn,getDocumentElement:Nt,getClippingRect:Sn,getOffsetParent:ma,getElementRects:vn,getClientRects:gn,getDimensions:Cn,getScale:re,isElement:yt,isRTL:Nn};var ba=(e,o,a)=>{let i=new Map,l={platform:He,...a},c={...l.platform,_c:i};return ra(e,o,{...l,platform:c})};function ha(e){return wn(e)}function uo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function wn(e){for(let o=e;o;o=uo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=uo(e);o;o=uo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function xa(e,o,a){return ba(e,o,{platform:{...He,getOffsetParent:i=>He.getOffsetParent(i,ha)},middleware:[po({crossAxis:!0}),so({allowedPlacements:[a]})]})}var tt=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},W=class extends Se.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 Se.Debouncer,this.revealDebouncer=new Se.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sa.html`
532
532
  <div part="container"
533
533
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
534
534
  @mouseenter=${this.onHover}
@@ -558,7 +558,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
558
558
  <div></div>
559
559
  <div></div>
560
560
  </div>
561
- `}};Dt.styles=hr;(0,Aa.customElement)("ft-loader")(Dt);var Pt=h(z()),yo=h(se()),G=h(it()),V=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},I=class extends(0,It.toFtFormComponent)(It.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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 a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,i;let l=Pt.html`
561
+ `}};Dt.styles=hr;(0,Aa.customElement)("ft-loader")(Dt);var Pt=h(z()),yo=h(se()),Z=h(it()),j=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},I=class extends(0,It.toFtFormComponent)(It.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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 a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,i;let l=Pt.html`
562
562
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
563
563
  <ft-typography part="label"
564
564
  variant=${this.typographyVariant}
@@ -595,7 +595,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
595
595
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
596
596
  `:Pt.html`
597
597
  <slot part="icon" name="icon"></slot>
598
- `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(o,a){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(o,a)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,It.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};I.elementDefinitions={"ft-ripple":P,"ft-tooltip":W,"ft-typography":q,"ft-icon":ot,"ft-loader":Dt};V([(0,G.property)()],I.prototype,"href",void 0);V([(0,G.property)()],I.prototype,"target",void 0);V([(0,G.property)({type:String,reflect:!0})],I.prototype,"role",void 0);V([(0,G.property)()],I.prototype,"type",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"disabled",void 0);V([(0,G.property)()],I.prototype,"label",void 0);V([(0,G.property)()],I.prototype,"icon",void 0);V([(0,G.property)()],I.prototype,"iconVariant",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"trailingIcon",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"loading",void 0);V([(0,G.property)({attribute:"aria-label"})],I.prototype,"ariaLabel",void 0);V([(0,G.property)()],I.prototype,"tooltipPosition",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"hideTooltip",void 0);V([(0,G.property)({type:Boolean})],I.prototype,"forceTooltip",void 0);V([(0,G.query)(".ft-button")],I.prototype,"button",void 0);V([(0,G.query)(".ft-button--label slot")],I.prototype,"slottedContent",void 0);V([(0,G.query)("[part=tooltip]")],I.prototype,"tooltip",void 0);var _e=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},st=class extends I{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"}};st.styles=[$a.safariEllipsisFix,Nr];_e([(0,ve.property)({type:Boolean})],st.prototype,"primary",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"outlined",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"dense",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"round",void 0);var Ne=h(it());var Ue=h(R());var Ba=h(z()),f=h(R());var Pa=[Ba.css`
598
+ `}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(o,a){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(o,a)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,It.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};I.elementDefinitions={"ft-ripple":P,"ft-tooltip":W,"ft-typography":q,"ft-icon":ot,"ft-loader":Dt};j([(0,Z.property)()],I.prototype,"href",void 0);j([(0,Z.property)()],I.prototype,"target",void 0);j([(0,Z.property)()],I.prototype,"type",void 0);j([(0,Z.property)({type:Boolean})],I.prototype,"disabled",void 0);j([(0,Z.property)()],I.prototype,"label",void 0);j([(0,Z.property)()],I.prototype,"icon",void 0);j([(0,Z.property)()],I.prototype,"iconVariant",void 0);j([(0,Z.property)({type:Boolean})],I.prototype,"trailingIcon",void 0);j([(0,Z.property)({type:Boolean})],I.prototype,"loading",void 0);j([(0,Z.property)({attribute:"aria-label"})],I.prototype,"ariaLabel",void 0);j([(0,Z.property)()],I.prototype,"tooltipPosition",void 0);j([(0,Z.property)({type:Boolean})],I.prototype,"hideTooltip",void 0);j([(0,Z.property)({type:Boolean})],I.prototype,"forceTooltip",void 0);j([(0,Z.query)(".ft-button")],I.prototype,"button",void 0);j([(0,Z.query)(".ft-button--label slot")],I.prototype,"slottedContent",void 0);j([(0,Z.query)("[part=tooltip]")],I.prototype,"tooltip",void 0);var _e=function(e,o,a,i){var l=arguments.length,c=l<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(c=(l<3?d(c):l>3?d(o,a,c):d(o,a))||c);return l>3&&c&&Object.defineProperty(o,a,c),c},st=class extends I{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"}};st.styles=[$a.safariEllipsisFix,Nr];_e([(0,ve.property)({type:Boolean})],st.prototype,"primary",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"outlined",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"dense",void 0);_e([(0,ve.property)({type:Boolean})],st.prototype,"round",void 0);var Ne=h(it());var Ue=h(R());var Ba=h(z()),f=h(R());var Pa=[Ba.css`
599
599
  :host {
600
600
  display: inline-block;
601
601
  max-width: 100%;