@fluid-topics/ft-reader-navigation-button 1.2.59 → 1.2.60

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.
@@ -349,7 +349,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
349
349
  .ft-icon--material {
350
350
  font-family: ${F.materialFontFamily}, "Material Icons", sans-serif;
351
351
  }
352
- `,tt.noTextSelect];var Or=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),_={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:Or,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",ct.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Or),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},Cr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),ze={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:Cr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Cr)},lt={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nr=[vr.css`
352
+ `,tt.noTextSelect];var Or=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),H={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:Or,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",ct.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Or),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},Cr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),ze={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:Cr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Cr)},lt={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Nr=[vr.css`
353
353
  :host {
354
354
  display: inline-block;
355
355
  max-width: 100%;
@@ -360,7 +360,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
360
360
  box-shadow: 0px 0px 0px transparent;
361
361
  border: 0px solid transparent;
362
362
  text-shadow: 0px 0px 0px transparent;
363
- font-size: ${_.fontSize};
363
+ font-size: ${H.fontSize};
364
364
  text-decoration: none;
365
365
  }
366
366
 
@@ -390,21 +390,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
390
390
  border: none;
391
391
  pointer-events: auto;
392
392
 
393
- --ft-button-internal-line-height: max(calc(${_.fontSize} + 2px), ${_.iconSize});
394
- --ft-button-internal-color: ${_.color};
395
- ${(0,C.setVariable)(F.size,_.iconSize)};
396
- ${(0,C.setVariable)(u.color,_.rippleColor)};
393
+ --ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
394
+ --ft-button-internal-color: ${H.color};
395
+ ${(0,C.setVariable)(F.size,H.iconSize)};
396
+ ${(0,C.setVariable)(u.color,H.rippleColor)};
397
397
 
398
- border-radius: ${_.borderRadius};
399
- padding: ${_.verticalPadding} ${_.horizontalPadding};
400
- background-color: ${_.backgroundColor};
398
+ border-radius: ${H.borderRadius};
399
+ padding: ${H.verticalPadding} ${H.horizontalPadding};
400
+ background-color: ${H.backgroundColor};
401
401
  color: var(--ft-button-internal-color);
402
402
  -webkit-mask-image: radial-gradient(white, black);
403
403
  }
404
404
 
405
405
  .ft-button.ft-button--outlined {
406
406
  border: 1px solid var(--ft-button-internal-color);
407
- padding: calc(${_.verticalPadding} - 1px) calc(${_.horizontalPadding} - 1px);
407
+ padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
408
408
  }
409
409
 
410
410
  .ft-button.ft-button--dense {
@@ -422,7 +422,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
422
422
  }
423
423
 
424
424
  .ft-button--round {
425
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_.verticalPadding});
425
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
426
426
  }
427
427
 
428
428
  .ft-button--round.ft-button--dense {
@@ -431,7 +431,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
431
431
 
432
432
  .ft-button[disabled] {
433
433
  filter: grayscale(1);
434
- opacity: ${_.opacityDisabled};
434
+ opacity: ${H.opacityDisabled};
435
435
  }
436
436
 
437
437
  .ft-button.ft-button--primary {
@@ -450,7 +450,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
450
450
  white-space: nowrap;
451
451
  text-overflow: ellipsis;
452
452
  display: block;
453
- margin: 0 ${_.iconPadding};
453
+ margin: 0 ${H.iconPadding};
454
454
  ${(0,C.setVariable)(ct.fontSize,"1em")};
455
455
  ${(0,C.setVariable)(ct.lineHeight,"var(--ft-button-internal-line-height)")};
456
456
  }
@@ -469,8 +469,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
469
469
  }
470
470
 
471
471
  .ft-button--label[hidden] + [part="icon"] {
472
- margin: 0 calc(${_.horizontalPadding} * -1);
473
- padding: 0 ${_.verticalPadding};
472
+ margin: 0 calc(${H.horizontalPadding} * -1);
473
+ padding: 0 ${H.verticalPadding};
474
474
  }
475
475
 
476
476
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
@@ -483,7 +483,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
483
483
  }
484
484
 
485
485
  ft-loader {
486
- ${(0,C.setVariable)(R.size,_.iconSize)};
486
+ ${(0,C.setVariable)(R.size,H.iconSize)};
487
487
  ${(0,C.setVariable)(R.color,"var(--ft-button-internal-color)")};
488
488
  }
489
489
  `,C.noTextSelect];var Et=b(E());var Lr=b(E());var Er=b(T()),G=b(J()),Rr=b(Oe()),ee=b(E());var V=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},A=class extends ee.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 ee.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 ee.Debouncer(10),this.moveRipple=o=>{var a,n;let{x:c,y:l}=this.getCoordinates(o),s=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(c!=null?c-s.x:s.width/2),this.originY=Math.round(l!=null?l-s.y:s.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`
@@ -499,7 +499,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
499
499
  </div>
500
500
  `}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,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((a=this.target)!==null&&a!==void 0?a:n)}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)=>y=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(y)},n=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",n,s),o.addEventListener("touchstart",c,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",l,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",n,s),o.removeEventListener("touchstart",c,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",l,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,n=o,c,l;return a.x!=null?{x:c,y:l}=a:n.touches!=null&&(c=n.touches[0].clientX,l=n.touches[0].clientY),{x:c,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 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()}};A.elementDefinitions={};A.styles=Bo;V([(0,G.property)({type:Boolean})],A.prototype,"primary",void 0);V([(0,G.property)({type:Boolean})],A.prototype,"secondary",void 0);V([(0,G.property)({type:Boolean})],A.prototype,"unbounded",void 0);V([(0,G.property)({type:Boolean})],A.prototype,"activated",void 0);V([(0,G.property)({type:Boolean})],A.prototype,"selected",void 0);V([(0,G.property)({type:Boolean})],A.prototype,"disabled",void 0);V([(0,G.state)()],A.prototype,"hovered",void 0);V([(0,G.state)()],A.prototype,"focused",void 0);V([(0,G.state)()],A.prototype,"pressed",void 0);V([(0,G.state)()],A.prototype,"rippling",void 0);V([(0,G.state)()],A.prototype,"originX",void 0);V([(0,G.state)()],A.prototype,"originY",void 0);V([(0,G.query)(".ft-ripple")],A.prototype,"ripple",void 0);V([(0,G.query)(".ft-ripple--effect")],A.prototype,"rippleEffect",void 0);(0,Lr.customElement)("ft-ripple")(A);var Oa=b(E());var Sa=b(T()),z=b(J()),de=b(E());var Fr=b(E());var Ze=globalThis,Ce=Ze.trustedTypes,Ar=Ce?Ce.createPolicy("lit-html",{createHTML:e=>e}):void 0,kr="$lit$",Ot=`lit$${Math.random().toFixed(9).slice(2)}$`,Tr="?"+Ot,Xa=`<${Tr}>`,At=document,ve=()=>At.createComment(""),re=e=>e===null||typeof e!="object"&&typeof e!="function",Ke=Array.isArray,qa=e=>Ke(e)||typeof e?.[Symbol.iterator]=="function",He=`[
501
501
  \f\r]`,oe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ir=/-->/g,Br=/>/g,Rt=RegExp(`>|${He}(?:([^\\s"'>=/]+)(${He}*=${He}*(?:[^
502
- \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Pr=/"/g,zr=/^(?:script|style|textarea|title)$/i,Fe=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Hr=Fe(1),_r=Fe(2),Dr=Fe(3),ae=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Wr=new WeakMap,Lt=At.createTreeWalker(At,129);function Gr(e,o){if(!Ke(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ar!==void 0?Ar.createHTML(o):o}var Qa=(e,o)=>{let a=e.length-1,n=[],c,l=o===2?"<svg>":o===3?"<math>":"",s=oe;for(let p=0;p<a;p++){let y=e[p],h,O,x=-1,N=0;for(;N<y.length&&(s.lastIndex=N,O=s.exec(y),O!==null);)N=s.lastIndex,s===oe?O[1]==="!--"?s=Ir:O[1]!==void 0?s=Br:O[2]!==void 0?(zr.test(O[2])&&(c=RegExp("</"+O[2],"g")),s=Rt):O[3]!==void 0&&(s=Rt):s===Rt?O[0]===">"?(s=c??oe,x=-1):O[1]===void 0?x=-2:(x=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Rt:O[3]==='"'?Pr:$r):s===Pr||s===$r?s=Rt:s===Ir||s===Br?s=oe:(s=Rt,c=void 0);let v=s===Rt&&e[p+1].startsWith("/>")?" ":"";l+=s===oe?y+Xa:x>=0?(n.push(h),y.slice(0,x)+kr+y.slice(x)+Ot+v):y+Ot+(x===-2?p:v)}return[Gr(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),n]},ne=class e{constructor({strings:o,_$litType$:a},n){let c;this.parts=[];let l=0,s=0,p=o.length-1,y=this.parts,[h,O]=Qa(o,a);if(this.el=e.createElement(h,n),Lt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Lt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(kr)){let N=O[s++],v=c.getAttribute(x).split(Ot),w=/([.?@])?(.*)/.exec(N);y.push({type:1,index:l,name:w[2],strings:v,ctor:w[1]==="."?De:w[1]==="?"?Ge:w[1]==="@"?Ue:Kt}),c.removeAttribute(x)}else x.startsWith(Ot)&&(y.push({type:6,index:l}),c.removeAttribute(x));if(zr.test(c.tagName)){let x=c.textContent.split(Ot),N=x.length-1;if(N>0){c.textContent=Ce?Ce.emptyScript:"";for(let v=0;v<N;v++)c.append(x[v],ve()),Lt.nextNode(),y.push({type:2,index:++l});c.append(x[N],ve())}}}else if(c.nodeType===8)if(c.data===Tr)y.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(Ot,x+1))!==-1;)y.push({type:7,index:l}),x+=Ot.length-1}l++}}static createElement(o,a){let n=At.createElement("template");return n.innerHTML=o,n}};function Zt(e,o,a=e,n){if(o===ae)return o;let c=n!==void 0?a._$Co?.[n]:a._$Cl,l=re(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=c:a._$Cl=c),c!==void 0&&(o=Zt(e,c._$AS(e,o.values),c,n)),o}var _e=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:n}=this._$AD,c=(o?.creationScope??At).importNode(a,!0);Lt.currentNode=c;let l=Lt.nextNode(),s=0,p=0,y=n[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new Ne(l,l.nextSibling,this,o):y.type===1?h=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(h=new Me(l,this,o)),this._$AV.push(h),y=n[++p]}s!==y?.index&&(l=Lt.nextNode(),s++)}return Lt.currentNode=At,c}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},Ne=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,c){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=c,this._$Cv=c?.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=Zt(this,o,a),re(o)?o===D||o==null||o===""?(this._$AH!==D&&this._$AR(),this._$AH=D):o!==this._$AH&&o!==ae&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):qa(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!==D&&re(this._$AH)?this._$AA.nextSibling.data=o:this.T(At.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:n}=o,c=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ne.createElement(Gr(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new _e(c,this),s=l.u(this.options);l.p(a),this.T(s),this._$AH=l}}_$AC(o){let a=Wr.get(o.strings);return a===void 0&&Wr.set(o.strings,a=new ne(o)),a}k(o){Ke(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,c=0;for(let l of o)c===a.length?a.push(n=new e(this.O(ve()),this.O(ve()),this,this.options)):n=a[c],n._$AI(l),c++;c<a.length&&(this._$AR(n&&n._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}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,a,n,c,l){this.type=1,this._$AH=D,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}_$AI(o,a=this,n,c){let l=this.strings,s=!1;if(l===void 0)o=Zt(this,o,a,0),s=!re(o)||o!==this._$AH&&o!==ae,s&&(this._$AH=o);else{let p=o,y,h;for(o=l[0],y=0;y<l.length-1;y++)h=Zt(this,p[n+y],a,y),h===ae&&(h=this._$AH[y]),s||=!re(h)||h!==this._$AH[y],h===D?o=D:o!==D&&(o+=(h??"")+l[y+1]),this._$AH[y]=h}s&&!c&&this.j(o)}j(o){o===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},De=class extends Kt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===D?void 0:o}},Ge=class extends Kt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==D)}},Ue=class extends Kt{constructor(o,a,n,c,l){super(o,a,n,c,l),this.type=5}_$AI(o,a=this){if((o=Zt(this,o,a,0)??D)===ae)return;let n=this._$AH,c=o===D&&n!==D||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,l=o!==D&&(n===D||c);c&&this.element.removeEventListener(this.name,this,n),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)}},Me=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Zt(this,o)}};var Ja=Ze.litHtmlPolyfillSupport;Ja?.(ne,Ne),(Ze.litHtmlVersions??=[]).push("3.3.0");var Mr=Symbol.for(""),tn=e=>{if(e?.r===Mr)return e?._$litStatic$},Ve=e=>({_$litStatic$:e,r:Mr});var Ur=new Map,je=e=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],y,h=0,O=!1;for(;h<n;){for(y=o[h];h<n&&(l=a[h],(c=tn(l))!==void 0);)y+=c+o[++h],O=!0;h!==n&&p.push(l),s.push(y),h++}if(h===n&&s.push(o[n]),O){let x=s.join("$$lit$$");(o=Ur.get(x))===void 0&&(s.raw=s,Ur.set(x,o=s)),a=p}return e(o,...a)},Ye=je(Hr),cd=je(_r),ld=je(Dr);var Xe=b(J()),Kr=b(E());var Ct;(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"})(Ct||(Ct={}));var Zr=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},et=class extends Kr.FtLitElement{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?Ye`
502
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),$r=/'/g,Pr=/"/g,zr=/^(?:script|style|textarea|title)$/i,Fe=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Hr=Fe(1),_r=Fe(2),Dr=Fe(3),ae=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),Wr=new WeakMap,Lt=At.createTreeWalker(At,129);function Gr(e,o){if(!Ke(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ar!==void 0?Ar.createHTML(o):o}var Qa=(e,o)=>{let a=e.length-1,n=[],c,l=o===2?"<svg>":o===3?"<math>":"",s=oe;for(let p=0;p<a;p++){let y=e[p],h,O,x=-1,N=0;for(;N<y.length&&(s.lastIndex=N,O=s.exec(y),O!==null);)N=s.lastIndex,s===oe?O[1]==="!--"?s=Ir:O[1]!==void 0?s=Br:O[2]!==void 0?(zr.test(O[2])&&(c=RegExp("</"+O[2],"g")),s=Rt):O[3]!==void 0&&(s=Rt):s===Rt?O[0]===">"?(s=c??oe,x=-1):O[1]===void 0?x=-2:(x=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Rt:O[3]==='"'?Pr:$r):s===Pr||s===$r?s=Rt:s===Ir||s===Br?s=oe:(s=Rt,c=void 0);let v=s===Rt&&e[p+1].startsWith("/>")?" ":"";l+=s===oe?y+Xa:x>=0?(n.push(h),y.slice(0,x)+kr+y.slice(x)+Ot+v):y+Ot+(x===-2?p:v)}return[Gr(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),n]},ne=class e{constructor({strings:o,_$litType$:a},n){let c;this.parts=[];let l=0,s=0,p=o.length-1,y=this.parts,[h,O]=Qa(o,a);if(this.el=e.createElement(h,n),Lt.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Lt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(kr)){let N=O[s++],v=c.getAttribute(x).split(Ot),w=/([.?@])?(.*)/.exec(N);y.push({type:1,index:l,name:w[2],strings:v,ctor:w[1]==="."?De:w[1]==="?"?Ge:w[1]==="@"?Ue:Kt}),c.removeAttribute(x)}else x.startsWith(Ot)&&(y.push({type:6,index:l}),c.removeAttribute(x));if(zr.test(c.tagName)){let x=c.textContent.split(Ot),N=x.length-1;if(N>0){c.textContent=Ce?Ce.emptyScript:"";for(let v=0;v<N;v++)c.append(x[v],ve()),Lt.nextNode(),y.push({type:2,index:++l});c.append(x[N],ve())}}}else if(c.nodeType===8)if(c.data===Tr)y.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(Ot,x+1))!==-1;)y.push({type:7,index:l}),x+=Ot.length-1}l++}}static createElement(o,a){let n=At.createElement("template");return n.innerHTML=o,n}};function Zt(e,o,a=e,n){if(o===ae)return o;let c=n!==void 0?a._$Co?.[n]:a._$Cl,l=re(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=c:a._$Cl=c),c!==void 0&&(o=Zt(e,c._$AS(e,o.values),c,n)),o}var _e=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:n}=this._$AD,c=(o?.creationScope??At).importNode(a,!0);Lt.currentNode=c;let l=Lt.nextNode(),s=0,p=0,y=n[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new Ne(l,l.nextSibling,this,o):y.type===1?h=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(h=new Me(l,this,o)),this._$AV.push(h),y=n[++p]}s!==y?.index&&(l=Lt.nextNode(),s++)}return Lt.currentNode=At,c}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},Ne=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,c){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=c,this._$Cv=c?.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=Zt(this,o,a),re(o)?o===_||o==null||o===""?(this._$AH!==_&&this._$AR(),this._$AH=_):o!==this._$AH&&o!==ae&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):qa(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!==_&&re(this._$AH)?this._$AA.nextSibling.data=o:this.T(At.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:n}=o,c=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=ne.createElement(Gr(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new _e(c,this),s=l.u(this.options);l.p(a),this.T(s),this._$AH=l}}_$AC(o){let a=Wr.get(o.strings);return a===void 0&&Wr.set(o.strings,a=new ne(o)),a}k(o){Ke(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,c=0;for(let l of o)c===a.length?a.push(n=new e(this.O(ve()),this.O(ve()),this,this.options)):n=a[c],n._$AI(l),c++;c<a.length&&(this._$AR(n&&n._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}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,a,n,c,l){this.type=1,this._$AH=_,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=_}_$AI(o,a=this,n,c){let l=this.strings,s=!1;if(l===void 0)o=Zt(this,o,a,0),s=!re(o)||o!==this._$AH&&o!==ae,s&&(this._$AH=o);else{let p=o,y,h;for(o=l[0],y=0;y<l.length-1;y++)h=Zt(this,p[n+y],a,y),h===ae&&(h=this._$AH[y]),s||=!re(h)||h!==this._$AH[y],h===_?o=_:o!==_&&(o+=(h??"")+l[y+1]),this._$AH[y]=h}s&&!c&&this.j(o)}j(o){o===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},De=class extends Kt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===_?void 0:o}},Ge=class extends Kt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==_)}},Ue=class extends Kt{constructor(o,a,n,c,l){super(o,a,n,c,l),this.type=5}_$AI(o,a=this){if((o=Zt(this,o,a,0)??_)===ae)return;let n=this._$AH,c=o===_&&n!==_||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,l=o!==_&&(n===_||c);c&&this.element.removeEventListener(this.name,this,n),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)}},Me=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Zt(this,o)}};var Ja=Ze.litHtmlPolyfillSupport;Ja?.(ne,Ne),(Ze.litHtmlVersions??=[]).push("3.3.0");var Mr=Symbol.for(""),tn=e=>{if(e?.r===Mr)return e?._$litStatic$},Ve=e=>({_$litStatic$:e,r:Mr});var Ur=new Map,je=e=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],y,h=0,O=!1;for(;h<n;){for(y=o[h];h<n&&(l=a[h],(c=tn(l))!==void 0);)y+=c+o[++h],O=!0;h!==n&&p.push(l),s.push(y),h++}if(h===n&&s.push(o[n]),O){let x=s.join("$$lit$$");(o=Ur.get(x))===void 0&&(s.raw=s,Ur.set(x,o=s)),a=p}return e(o,...a)},Ye=je(Hr),cd=je(_r),ld=je(Dr);var Xe=b(J()),Kr=b(E());var Ct;(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"})(Ct||(Ct={}));var Zr=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},et=class extends Kr.FtLitElement{constructor(){super(...arguments),this.variant=Ct.body1}render(){return this.element?Ye`
503
503
  <${Ve(this.element)}
504
504
  part="text"
505
505
  class="ft-typography ft-typography--${this.variant}">
@@ -536,7 +536,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
536
536
  position: relative;
537
537
  word-break: break-word;
538
538
  }
539
- `;var Xr=["top","right","bottom","left"],Yr=["start","end"],Qe=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),qr=Math.min,Qr=Math.max;var en={left:"right",right:"left",bottom:"top",top:"bottom"},on={start:"end",end:"start"};function Je(e,o,a){return Qr(e,qr(o,a))}function we(e,o){return typeof e=="function"?e(o):e}function Vt(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function to(e){return e==="x"?"y":"x"}function eo(e){return e==="y"?"height":"width"}function Ee(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function oo(e){return to(Ee(e))}function Jr(e,o,a){a===void 0&&(a=!1);let n=vt(e),c=oo(e),l=eo(c),s=c==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=qe(s)),[s,qe(s)]}function ta(e){return e.replace(/start|end/g,o=>on[o])}function qe(e){return e.replace(/left|right|bottom|top/g,o=>en[o])}function rn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ea(e){return typeof e!="number"?rn(e):{top:e,right:e,bottom:e,left:e}}function It(e){let{x:o,y:a,width:n,height:c}=e;return{width:n,height:c,top:a,left:o,right:o+n,bottom:a+c,x:o,y:a}}function oa(e,o,a){let{reference:n,floating:c}=e,l=Ee(o),s=oo(o),p=eo(s),y=Vt(o),h=l==="y",O=n.x+n.width/2-c.width/2,x=n.y+n.height/2-c.height/2,N=n[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:n.y-c.height};break;case"bottom":v={x:O,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-c.width,y:x};break;default:v={x:n.x,y:n.y}}switch(vt(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var ra=async(e,o,a)=>{let{placement:n="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:x}=oa(h,n,y),N=n,v={},w=0;for(let B=0;B<p.length;B++){let{name:W,fn:$}=p[B],{x:k,y:K,data:xt,reset:M}=await $({x:O,y:x,initialPlacement:n,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});O=k??O,x=K??x,v={...v,[W]:{...v[W],...xt}},M&&w<=50&&(w++,typeof M=="object"&&(M.placement&&(N=M.placement),M.rects&&(h=M.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):M.rects),{x:O,y:x}=oa(h,N,y)),B=-1)}return{x:O,y:x,placement:N,strategy:c,middlewareData:v}};async function ro(e,o){var a;o===void 0&&(o={});let{x:n,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:x="floating",altBoundary:N=!1,padding:v=0}=we(o,e),w=ea(v),W=p[N?x==="floating"?"reference":"floating":x],$=It(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(W)))==null||a?W:W.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),k=x==="floating"?{x:n,y:c,width:s.floating.width,height:s.floating.height}:s.reference,K=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),xt=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=It(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:k,offsetParent:K,strategy:y}):k);return{top:($.top-M.top+w.top)/xt.y,bottom:(M.bottom-$.bottom+w.bottom)/xt.y,left:($.left-M.left+w.left)/xt.x,right:(M.right-$.right+w.right)/xt.x}}function an(e,o,a){return(e?[...a.filter(c=>vt(c)===e),...a.filter(c=>vt(c)!==e)]:a.filter(c=>Vt(c)===c)).filter(c=>e?vt(c)===e||(o?ta(c)!==c:!1):!0)}var ao=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:x,allowedPlacements:N=Qe,autoAlignment:v=!0,...w}=we(e,o),B=x!==void 0||N===Qe?an(x||null,v,N):N,W=await ro(o,w),$=((a=s.autoPlacement)==null?void 0:a.index)||0,k=B[$];if(k==null)return{};let K=Jr(k,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==k)return{reset:{placement:B[0]}};let xt=[W[Vt(k)],W[K[0]],W[K[1]]],M=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:xt}],yo=B[$+1];if(yo)return{data:{index:$+1,overflows:M},reset:{placement:yo}};let uo=M.map(it=>{let Qt=vt(it.placement);return[it.placement,Qt&&O?it.overflows.slice(0,2).reduce((Ga,Ua)=>Ga+Ua,0):it.overflows[0],it.overflows]}).sort((it,Qt)=>it[1]-Qt[1]),go=((c=uo.filter(it=>it[2].slice(0,vt(it[0])?2:3).every(Qt=>Qt<=0))[0])==null?void 0:c[0])||uo[0][0];return go!==p?{data:{index:$+1,overflows:M},reset:{placement:go}}:{}}}};var no=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:c}=o,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:W=>{let{x:$,y:k}=W;return{x:$,y:k}}},...y}=we(e,o),h={x:a,y:n},O=await ro(o,y),x=Ee(Vt(c)),N=to(x),v=h[N],w=h[x];if(l){let W=N==="y"?"top":"left",$=N==="y"?"bottom":"right",k=v+O[W],K=v-O[$];v=Je(k,v,K)}if(s){let W=x==="y"?"top":"left",$=x==="y"?"bottom":"right",k=w+O[W],K=w-O[$];w=Je(k,w,K)}let B=p.fn({...o,[N]:v,[x]:w});return{...B,data:{x:B.x-a,y:B.y-n,enabled:{[N]:l,[x]:s}}}}}};var io=Math.min,jt=Math.max,ie=Math.round;var gt=e=>({x:e,y:e});function mt(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 ht(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 st(e){return e instanceof Element||e instanceof j(e).Element}function ot(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 Yt(e){let{overflow:o,overflowX:a,overflowY:n,display:c}=X(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(c)}function ia(e){return["table","td","th"].includes(mt(e))}function Le(e){let o=Ae(),a=X(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(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function ca(e){let o=Bt(e);for(;ot(o)&&!ce(o);){if(Le(o))return o;o=Bt(o)}return null}function Ae(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ce(e){return["html","body","#document"].includes(mt(e))}function X(e){return j(e).getComputedStyle(e)}function le(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bt(e){if(mt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||aa(e)&&e.host||ht(e);return aa(o)?o.host:o}function la(e){let o=Bt(e);return ce(o)?e.ownerDocument?e.ownerDocument.body:e.body:ot(o)&&Yt(o)?o:la(o)}function Re(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=la(e),l=c===((n=e.ownerDocument)==null?void 0:n.body),s=j(c);return l?o.concat(s,s.visualViewport||[],Yt(c)?c:[],s.frameElement&&a?Re(s.frameElement):[]):o.concat(c,Re(c,[],a))}function pa(e){let o=X(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,c=ot(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:n,p=ie(a)!==l||ie(n)!==s;return p&&(a=l,n=s),{width:a,height:n,$:p}}function fa(e){return st(e)?e:e.contextElement}function Xt(e){let o=fa(e);if(!ot(o))return gt(1);let a=o.getBoundingClientRect(),{width:n,height:c,$:l}=pa(o),s=(l?ie(a.width):a.width)/n,p=(l?ie(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var ln=gt(0);function ya(e){let o=j(e);return!Ae()||!o.visualViewport?ln:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function sn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==j(e)?!1:o}function se(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=fa(e),s=gt(1);o&&(n?st(n)&&(s=Xt(n)):s=Xt(e));let p=sn(l,a,n)?ya(l):gt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,O=c.width/s.x,x=c.height/s.y;if(l){let N=j(l),v=n&&st(n)?j(n):n,w=N.frameElement;for(;w&&n&&v!==N;){let B=Xt(w),W=w.getBoundingClientRect(),$=X(w),k=W.left+(w.clientLeft+parseFloat($.paddingLeft))*B.x,K=W.top+(w.clientTop+parseFloat($.paddingTop))*B.y;y*=B.x,h*=B.y,O*=B.x,x*=B.y,y+=k,h+=K,w=j(w).frameElement}}return It({width:O,height:x,x:y,y:h})}function dn(e){let{rect:o,offsetParent:a,strategy:n}=e,c=ot(a),l=ht(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=gt(1),y=gt(0);if((c||!c&&n!=="fixed")&&((mt(a)!=="body"||Yt(l))&&(s=le(a)),ot(a))){let h=se(a);p=Xt(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function pn(e){return Array.from(e.getClientRects())}function ua(e){return se(ht(e)).left+le(e).scrollLeft}function fn(e){let o=ht(e),a=le(e),n=e.ownerDocument.body,c=jt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),l=jt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+ua(e),p=-a.scrollTop;return X(n).direction==="rtl"&&(s+=jt(o.clientWidth,n.clientWidth)-c),{width:c,height:l,x:s,y:p}}function yn(e,o){let a=j(e),n=ht(e),c=a.visualViewport,l=n.clientWidth,s=n.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ae();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function un(e,o){let a=se(e,!0,o==="fixed"),n=a.top+e.clientTop,c=a.left+e.clientLeft,l=ot(e)?Xt(e):gt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=n*l.y;return{width:s,height:p,x:y,y:h}}function sa(e,o,a){let n;if(o==="viewport")n=yn(e,a);else if(o==="document")n=fn(ht(e));else if(st(o))n=un(o,a);else{let c=ya(e);n={...o,x:o.x-c.x,y:o.y-c.y}}return It(n)}function ga(e,o){let a=Bt(e);return a===o||!st(a)||ce(a)?!1:X(a).position==="fixed"||ga(a,o)}function gn(e,o){let a=o.get(e);if(a)return a;let n=Re(e,[],!1).filter(p=>st(p)&&mt(p)!=="body"),c=null,l=X(e).position==="fixed",s=l?Bt(e):e;for(;st(s)&&!ce(s);){let p=X(s),y=Le(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||Yt(s)&&!y&&ga(e,s))?n=n.filter(O=>O!==s):c=p,s=Bt(s)}return o.set(e,n),n}function mn(e){let{element:o,boundary:a,rootBoundary:n,strategy:c}=e,s=[...a==="clippingAncestors"?gn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,O)=>{let x=sa(o,O,c);return h.top=jt(x.top,h.top),h.right=io(x.right,h.right),h.bottom=io(x.bottom,h.bottom),h.left=jt(x.left,h.left),h},sa(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function hn(e){return pa(e)}function bn(e,o,a){let n=ot(o),c=ht(o),l=a==="fixed",s=se(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=gt(0);if(n||!n&&!l)if((mt(o)!=="body"||Yt(c))&&(p=le(o)),n){let h=se(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ua(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function da(e,o){return!ot(e)||X(e).position==="fixed"?null:o?o(e):e.offsetParent}function ma(e,o){let a=j(e);if(!ot(e))return a;let n=da(e,o);for(;n&&ia(n)&&X(n).position==="static";)n=da(n,o);return n&&(mt(n)==="html"||mt(n)==="body"&&X(n).position==="static"&&!Le(n))?a:n||ca(e)||a}var xn=async function(e){let{reference:o,floating:a,strategy:n}=e,c=this.getOffsetParent||ma,l=this.getDimensions;return{reference:bn(o,await c(a),n),floating:{x:0,y:0,...await l(a)}}};function Sn(e){return X(e).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:dn,getDocumentElement:ht,getClippingRect:mn,getOffsetParent:ma,getElementRects:xn,getClientRects:pn,getDimensions:hn,getScale:Xt,isElement:st,isRTL:Sn};var ha=(e,o,a)=>{let n=new Map,c={platform:Ie,...a},l={...c.platform,_c:n};return ra(e,o,{...c,platform:l})};function ba(e){return On(e)}function co(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function On(e){for(let o=e;o;o=co(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=co(e);o;o=co(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 ha(e,o,{platform:{...Ie,getOffsetParent:n=>Ie.getOffsetParent(n,ba)},middleware:[no({crossAxis:!0}),ao({allowedPlacements:[a]})]})}var Y=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},I=class extends de.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 de.Debouncer,this.revealDebouncer=new de.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sa.html`
539
+ `;var Xr=["top","right","bottom","left"],Yr=["start","end"],Qe=Xr.reduce((e,o)=>e.concat(o,o+"-"+Yr[0],o+"-"+Yr[1]),[]),qr=Math.min,Qr=Math.max;var en={left:"right",right:"left",bottom:"top",top:"bottom"},on={start:"end",end:"start"};function Je(e,o,a){return Qr(e,qr(o,a))}function we(e,o){return typeof e=="function"?e(o):e}function Vt(e){return e.split("-")[0]}function vt(e){return e.split("-")[1]}function to(e){return e==="x"?"y":"x"}function eo(e){return e==="y"?"height":"width"}function Ee(e){return["top","bottom"].includes(Vt(e))?"y":"x"}function oo(e){return to(Ee(e))}function Jr(e,o,a){a===void 0&&(a=!1);let n=vt(e),c=oo(e),l=eo(c),s=c==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=qe(s)),[s,qe(s)]}function ta(e){return e.replace(/start|end/g,o=>on[o])}function qe(e){return e.replace(/left|right|bottom|top/g,o=>en[o])}function rn(e){return{top:0,right:0,bottom:0,left:0,...e}}function ea(e){return typeof e!="number"?rn(e):{top:e,right:e,bottom:e,left:e}}function It(e){let{x:o,y:a,width:n,height:c}=e;return{width:n,height:c,top:a,left:o,right:o+n,bottom:a+c,x:o,y:a}}function oa(e,o,a){let{reference:n,floating:c}=e,l=Ee(o),s=oo(o),p=eo(s),y=Vt(o),h=l==="y",O=n.x+n.width/2-c.width/2,x=n.y+n.height/2-c.height/2,N=n[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:n.y-c.height};break;case"bottom":v={x:O,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-c.width,y:x};break;default:v={x:n.x,y:n.y}}switch(vt(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var ra=async(e,o,a)=>{let{placement:n="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:x}=oa(h,n,y),N=n,v={},w=0;for(let B=0;B<p.length;B++){let{name:W,fn:$}=p[B],{x:k,y:K,data:xt,reset:U}=await $({x:O,y:x,initialPlacement:n,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});O=k??O,x=K??x,v={...v,[W]:{...v[W],...xt}},U&&w<=50&&(w++,typeof U=="object"&&(U.placement&&(N=U.placement),U.rects&&(h=U.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):U.rects),{x:O,y:x}=oa(h,N,y)),B=-1)}return{x:O,y:x,placement:N,strategy:c,middlewareData:v}};async function ro(e,o){var a;o===void 0&&(o={});let{x:n,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:x="floating",altBoundary:N=!1,padding:v=0}=we(o,e),w=ea(v),W=p[N?x==="floating"?"reference":"floating":x],$=It(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(W)))==null||a?W:W.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),k=x==="floating"?{x:n,y:c,width:s.floating.width,height:s.floating.height}:s.reference,K=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),xt=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},U=It(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:k,offsetParent:K,strategy:y}):k);return{top:($.top-U.top+w.top)/xt.y,bottom:(U.bottom-$.bottom+w.bottom)/xt.y,left:($.left-U.left+w.left)/xt.x,right:(U.right-$.right+w.right)/xt.x}}function an(e,o,a){return(e?[...a.filter(c=>vt(c)===e),...a.filter(c=>vt(c)!==e)]:a.filter(c=>Vt(c)===c)).filter(c=>e?vt(c)===e||(o?ta(c)!==c:!1):!0)}var ao=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:x,allowedPlacements:N=Qe,autoAlignment:v=!0,...w}=we(e,o),B=x!==void 0||N===Qe?an(x||null,v,N):N,W=await ro(o,w),$=((a=s.autoPlacement)==null?void 0:a.index)||0,k=B[$];if(k==null)return{};let K=Jr(k,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==k)return{reset:{placement:B[0]}};let xt=[W[Vt(k)],W[K[0]],W[K[1]]],U=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:xt}],yo=B[$+1];if(yo)return{data:{index:$+1,overflows:U},reset:{placement:yo}};let uo=U.map(it=>{let Qt=vt(it.placement);return[it.placement,Qt&&O?it.overflows.slice(0,2).reduce((Ga,Ua)=>Ga+Ua,0):it.overflows[0],it.overflows]}).sort((it,Qt)=>it[1]-Qt[1]),go=((c=uo.filter(it=>it[2].slice(0,vt(it[0])?2:3).every(Qt=>Qt<=0))[0])==null?void 0:c[0])||uo[0][0];return go!==p?{data:{index:$+1,overflows:U},reset:{placement:go}}:{}}}};var no=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:c}=o,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:W=>{let{x:$,y:k}=W;return{x:$,y:k}}},...y}=we(e,o),h={x:a,y:n},O=await ro(o,y),x=Ee(Vt(c)),N=to(x),v=h[N],w=h[x];if(l){let W=N==="y"?"top":"left",$=N==="y"?"bottom":"right",k=v+O[W],K=v-O[$];v=Je(k,v,K)}if(s){let W=x==="y"?"top":"left",$=x==="y"?"bottom":"right",k=w+O[W],K=w-O[$];w=Je(k,w,K)}let B=p.fn({...o,[N]:v,[x]:w});return{...B,data:{x:B.x-a,y:B.y-n,enabled:{[N]:l,[x]:s}}}}}};var io=Math.min,jt=Math.max,ie=Math.round;var gt=e=>({x:e,y:e});function mt(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 ht(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 st(e){return e instanceof Element||e instanceof j(e).Element}function ot(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 Yt(e){let{overflow:o,overflowX:a,overflowY:n,display:c}=X(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(c)}function ia(e){return["table","td","th"].includes(mt(e))}function Le(e){let o=Ae(),a=X(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(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function ca(e){let o=Bt(e);for(;ot(o)&&!ce(o);){if(Le(o))return o;o=Bt(o)}return null}function Ae(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ce(e){return["html","body","#document"].includes(mt(e))}function X(e){return j(e).getComputedStyle(e)}function le(e){return st(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bt(e){if(mt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||aa(e)&&e.host||ht(e);return aa(o)?o.host:o}function la(e){let o=Bt(e);return ce(o)?e.ownerDocument?e.ownerDocument.body:e.body:ot(o)&&Yt(o)?o:la(o)}function Re(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=la(e),l=c===((n=e.ownerDocument)==null?void 0:n.body),s=j(c);return l?o.concat(s,s.visualViewport||[],Yt(c)?c:[],s.frameElement&&a?Re(s.frameElement):[]):o.concat(c,Re(c,[],a))}function pa(e){let o=X(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,c=ot(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:n,p=ie(a)!==l||ie(n)!==s;return p&&(a=l,n=s),{width:a,height:n,$:p}}function fa(e){return st(e)?e:e.contextElement}function Xt(e){let o=fa(e);if(!ot(o))return gt(1);let a=o.getBoundingClientRect(),{width:n,height:c,$:l}=pa(o),s=(l?ie(a.width):a.width)/n,p=(l?ie(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var ln=gt(0);function ya(e){let o=j(e);return!Ae()||!o.visualViewport?ln:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function sn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==j(e)?!1:o}function se(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=fa(e),s=gt(1);o&&(n?st(n)&&(s=Xt(n)):s=Xt(e));let p=sn(l,a,n)?ya(l):gt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,O=c.width/s.x,x=c.height/s.y;if(l){let N=j(l),v=n&&st(n)?j(n):n,w=N.frameElement;for(;w&&n&&v!==N;){let B=Xt(w),W=w.getBoundingClientRect(),$=X(w),k=W.left+(w.clientLeft+parseFloat($.paddingLeft))*B.x,K=W.top+(w.clientTop+parseFloat($.paddingTop))*B.y;y*=B.x,h*=B.y,O*=B.x,x*=B.y,y+=k,h+=K,w=j(w).frameElement}}return It({width:O,height:x,x:y,y:h})}function dn(e){let{rect:o,offsetParent:a,strategy:n}=e,c=ot(a),l=ht(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=gt(1),y=gt(0);if((c||!c&&n!=="fixed")&&((mt(a)!=="body"||Yt(l))&&(s=le(a)),ot(a))){let h=se(a);p=Xt(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function pn(e){return Array.from(e.getClientRects())}function ua(e){return se(ht(e)).left+le(e).scrollLeft}function fn(e){let o=ht(e),a=le(e),n=e.ownerDocument.body,c=jt(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),l=jt(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+ua(e),p=-a.scrollTop;return X(n).direction==="rtl"&&(s+=jt(o.clientWidth,n.clientWidth)-c),{width:c,height:l,x:s,y:p}}function yn(e,o){let a=j(e),n=ht(e),c=a.visualViewport,l=n.clientWidth,s=n.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=Ae();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function un(e,o){let a=se(e,!0,o==="fixed"),n=a.top+e.clientTop,c=a.left+e.clientLeft,l=ot(e)?Xt(e):gt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=n*l.y;return{width:s,height:p,x:y,y:h}}function sa(e,o,a){let n;if(o==="viewport")n=yn(e,a);else if(o==="document")n=fn(ht(e));else if(st(o))n=un(o,a);else{let c=ya(e);n={...o,x:o.x-c.x,y:o.y-c.y}}return It(n)}function ga(e,o){let a=Bt(e);return a===o||!st(a)||ce(a)?!1:X(a).position==="fixed"||ga(a,o)}function gn(e,o){let a=o.get(e);if(a)return a;let n=Re(e,[],!1).filter(p=>st(p)&&mt(p)!=="body"),c=null,l=X(e).position==="fixed",s=l?Bt(e):e;for(;st(s)&&!ce(s);){let p=X(s),y=Le(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||Yt(s)&&!y&&ga(e,s))?n=n.filter(O=>O!==s):c=p,s=Bt(s)}return o.set(e,n),n}function mn(e){let{element:o,boundary:a,rootBoundary:n,strategy:c}=e,s=[...a==="clippingAncestors"?gn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,O)=>{let x=sa(o,O,c);return h.top=jt(x.top,h.top),h.right=io(x.right,h.right),h.bottom=io(x.bottom,h.bottom),h.left=jt(x.left,h.left),h},sa(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function hn(e){return pa(e)}function bn(e,o,a){let n=ot(o),c=ht(o),l=a==="fixed",s=se(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=gt(0);if(n||!n&&!l)if((mt(o)!=="body"||Yt(c))&&(p=le(o)),n){let h=se(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ua(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function da(e,o){return!ot(e)||X(e).position==="fixed"?null:o?o(e):e.offsetParent}function ma(e,o){let a=j(e);if(!ot(e))return a;let n=da(e,o);for(;n&&ia(n)&&X(n).position==="static";)n=da(n,o);return n&&(mt(n)==="html"||mt(n)==="body"&&X(n).position==="static"&&!Le(n))?a:n||ca(e)||a}var xn=async function(e){let{reference:o,floating:a,strategy:n}=e,c=this.getOffsetParent||ma,l=this.getDimensions;return{reference:bn(o,await c(a),n),floating:{x:0,y:0,...await l(a)}}};function Sn(e){return X(e).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:dn,getDocumentElement:ht,getClippingRect:mn,getOffsetParent:ma,getElementRects:xn,getClientRects:pn,getDimensions:hn,getScale:Xt,isElement:st,isRTL:Sn};var ha=(e,o,a)=>{let n=new Map,c={platform:Ie,...a},l={...c.platform,_c:n};return ra(e,o,{...c,platform:l})};function ba(e){return On(e)}function co(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function On(e){for(let o=e;o;o=co(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=co(e);o;o=co(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 ha(e,o,{platform:{...Ie,getOffsetParent:n=>Ie.getOffsetParent(n,ba)},middleware:[no({crossAxis:!0}),ao({allowedPlacements:[a]})]})}var Y=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},I=class extends de.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 de.Debouncer,this.revealDebouncer=new de.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Sa.html`
540
540
  <div part="container"
541
541
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
542
542
  @mouseenter=${this.onHover}
@@ -566,7 +566,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
566
566
  <div></div>
567
567
  <div></div>
568
568
  </div>
569
- `}};Pt.styles=br;(0,Aa.customElement)("ft-loader")(Pt);var wt=b(T()),lo=b(Oe()),H=b(J()),U=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},L=class extends(0,Et.toFtFormComponent)(Et.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,n;let c=wt.html`
569
+ `}};Pt.styles=br;(0,Aa.customElement)("ft-loader")(Pt);var wt=b(T()),lo=b(Oe()),D=b(J()),M=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},L=class extends(0,Et.toFtFormComponent)(Et.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,n;let c=wt.html`
570
570
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
571
571
  <ft-typography part="label"
572
572
  variant=${this.typographyVariant}
@@ -603,7 +603,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
603
603
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
604
604
  `:wt.html`
605
605
  <slot part="icon" name="icon"></slot>
606
- `}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 n;return(n=this.tooltip)===null||n===void 0?void 0:n.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,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":A,"ft-tooltip":I,"ft-typography":et,"ft-icon":q,"ft-loader":Pt};U([(0,H.property)()],L.prototype,"href",void 0);U([(0,H.property)()],L.prototype,"target",void 0);U([(0,H.property)({type:String,reflect:!0})],L.prototype,"role",void 0);U([(0,H.property)()],L.prototype,"type",void 0);U([(0,H.property)({type:Boolean})],L.prototype,"disabled",void 0);U([(0,H.property)()],L.prototype,"label",void 0);U([(0,H.property)()],L.prototype,"icon",void 0);U([(0,H.property)()],L.prototype,"iconVariant",void 0);U([(0,H.property)({type:Boolean})],L.prototype,"trailingIcon",void 0);U([(0,H.property)({type:Boolean})],L.prototype,"loading",void 0);U([(0,H.property)({attribute:"aria-label"})],L.prototype,"ariaLabel",void 0);U([(0,H.property)()],L.prototype,"tooltipPosition",void 0);U([(0,H.property)({type:Boolean})],L.prototype,"hideTooltip",void 0);U([(0,H.property)({type:Boolean})],L.prototype,"forceTooltip",void 0);U([(0,H.query)(".ft-button")],L.prototype,"button",void 0);U([(0,H.query)(".ft-button--label slot")],L.prototype,"slottedContent",void 0);U([(0,H.query)("[part=tooltip]")],L.prototype,"tooltip",void 0);var Be=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},rt=class extends L{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};rt.styles=[Ia.safariEllipsisFix,Nr];Be([(0,ye.property)({type:Boolean})],rt.prototype,"primary",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"outlined",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"dense",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"round",void 0);var ue=b(J());var Pe=b(E());var Ba=b(T()),f=b(E());var $a=[Ba.css`
606
+ `}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 n;return(n=this.tooltip)===null||n===void 0?void 0:n.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,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":A,"ft-tooltip":I,"ft-typography":et,"ft-icon":q,"ft-loader":Pt};M([(0,D.property)()],L.prototype,"href",void 0);M([(0,D.property)()],L.prototype,"target",void 0);M([(0,D.property)()],L.prototype,"type",void 0);M([(0,D.property)({type:Boolean})],L.prototype,"disabled",void 0);M([(0,D.property)()],L.prototype,"label",void 0);M([(0,D.property)()],L.prototype,"icon",void 0);M([(0,D.property)()],L.prototype,"iconVariant",void 0);M([(0,D.property)({type:Boolean})],L.prototype,"trailingIcon",void 0);M([(0,D.property)({type:Boolean})],L.prototype,"loading",void 0);M([(0,D.property)({attribute:"aria-label"})],L.prototype,"ariaLabel",void 0);M([(0,D.property)()],L.prototype,"tooltipPosition",void 0);M([(0,D.property)({type:Boolean})],L.prototype,"hideTooltip",void 0);M([(0,D.property)({type:Boolean})],L.prototype,"forceTooltip",void 0);M([(0,D.query)(".ft-button")],L.prototype,"button",void 0);M([(0,D.query)(".ft-button--label slot")],L.prototype,"slottedContent",void 0);M([(0,D.query)("[part=tooltip]")],L.prototype,"tooltip",void 0);var Be=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},rt=class extends L{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};rt.styles=[Ia.safariEllipsisFix,Nr];Be([(0,ye.property)({type:Boolean})],rt.prototype,"primary",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"outlined",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"dense",void 0);Be([(0,ye.property)({type:Boolean})],rt.prototype,"round",void 0);var ue=b(J());var Pe=b(E());var Ba=b(T()),f=b(E());var $a=[Ba.css`
607
607
  :host {
608
608
  display: inline-block;
609
609
  max-width: 100%;