@fluid-topics/ft-chip-choice 1.3.28 → 1.3.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var un=Object.create;var zo=Object.defineProperty;var yn=Object.getOwnPropertyDescriptor;var gn=Object.getOwnPropertyNames;var hn=Object.getPrototypeOf,mn=Object.prototype.hasOwnProperty;var ge=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var bn=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of gn(o))!mn.call(e,c)&&c!==a&&zo(e,c,{get:()=>o[c],enumerable:!(i=yn(o,c))||i.enumerable});return e};var b=(e,o,a)=>(a=e!=null?un(hn(e)):{},bn(o||!e||!e.__esModule?zo(a,"default",{value:e,enumerable:!0}):a,e));var L=ge((Vn,ko)=>{ko.exports=ftGlobals.wcUtils});var I=ge((jn,Wo)=>{Wo.exports=ftGlobals.lit});var ct=ge((Yn,To)=>{To.exports=ftGlobals.litDecorators});var me=ge((Rs,Mr)=>{Mr.exports=ftGlobals.litClassMap});var Da=ge((Ip,Ga)=>{Ga.exports=ftGlobals.litUnsafeHTML});var $o=b(L());var Go=b(I()),vt=b(ct()),Do=b(L());var Ho=b(I()),Xn={},_o=Ho.css`
1
+ "use strict";(()=>{var un=Object.create;var zo=Object.defineProperty;var yn=Object.getOwnPropertyDescriptor;var gn=Object.getOwnPropertyNames;var hn=Object.getPrototypeOf,mn=Object.prototype.hasOwnProperty;var ge=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var bn=(e,o,a,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of gn(o))!mn.call(e,c)&&c!==a&&zo(e,c,{get:()=>o[c],enumerable:!(i=yn(o,c))||i.enumerable});return e};var b=(e,o,a)=>(a=e!=null?un(hn(e)):{},bn(o||!e||!e.__esModule?zo(a,"default",{value:e,enumerable:!0}):a,e));var L=ge((Vn,ko)=>{ko.exports=ftGlobals.wcUtils});var I=ge((jn,Wo)=>{Wo.exports=ftGlobals.lit});var ct=ge((Yn,To)=>{To.exports=ftGlobals.litDecorators});var me=ge((Rs,Mr)=>{Mr.exports=ftGlobals.litClassMap});var Ga=ge((Ip,Da)=>{Da.exports=ftGlobals.litUnsafeHTML});var $o=b(L());var Do=b(I()),vt=b(ct()),Go=b(L());var Ho=b(I()),Xn={},_o=Ho.css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -9,7 +9,7 @@
9
9
  :host(:focus-visible) {
10
10
  outline: none;
11
11
  }
12
- `;var Vt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},qe=class extends CustomEvent{constructor(o){super("change",{detail:{value:o}})}},ft=class extends Do.FtLitElement{constructor(){super(...arguments),this.name="",this.multiselect=!1,this.role="radiogroup",this.ariaLabelledBy="",this.selectedOptions=new Set}render(){return Go.html`
12
+ `;var Vt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},qe=class extends CustomEvent{constructor(o){super("change",{detail:{value:o}})}},ft=class extends Go.FtLitElement{constructor(){super(...arguments),this.name="",this.multiselect=!1,this.role="radiogroup",this.ariaLabelledBy="",this.selectedOptions=new Set}render(){return Do.html`
13
13
  <slot @slotchange=${this.onSlotChange}
14
14
  @ft-chip-choice-option-change=${this.onChange}>
15
15
  </slot>
@@ -279,7 +279,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
279
279
  .ft-icon--material {
280
280
  font-family: ${W.materialFontFamily}, "Material Icons", sans-serif;
281
281
  }
282
- `,ut.noTextSelect];var Eo=b(L());var Ae=b(ct()),Ya=b(L());var Dr=b(I()),v=b(L());var Tr=b(I()),he=b(L()),$={color:he.FtCssVariableFactory.extend("--ft-loader-color","",he.designSystemVariables.colorPrimary),size:he.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Hr=Tr.css`
282
+ `,ut.noTextSelect];var Eo=b(L());var Ae=b(ct()),Ya=b(L());var Gr=b(I()),v=b(L());var Tr=b(I()),he=b(L()),$={color:he.FtCssVariableFactory.extend("--ft-loader-color","",he.designSystemVariables.colorPrimary),size:he.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Hr=Tr.css`
283
283
  :host {
284
284
  line-height: 0;
285
285
  }
@@ -348,7 +348,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
348
348
  transform: translate(calc(0.35 * ${$.size}), 0);
349
349
  }
350
350
  }
351
- `;var _r=v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorPrimary),P={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorSurface),borderRadius:v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusL),color:_r,fontSize:v.FtCssVariableFactory.extend("--ft-button-font-size","",xt.fontSize),iconSize:v.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:v.FtCssVariableFactory.extend("--ft-button-ripple-color","",_r),verticalPadding:v.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOpacityDisabled,"Design system")},Gr=v.FtCssVariableFactory.extend("--ft-button-primary-color","",v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-primary-background-color","",v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorPrimary)),color:Gr,rippleColor:v.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Gr)},Ct={borderRadius:v.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusM)),verticalPadding:v.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ur=[Dr.css`
351
+ `;var _r=v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorPrimary),P={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorSurface),borderRadius:v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusL),color:_r,fontSize:v.FtCssVariableFactory.extend("--ft-button-font-size","",xt.fontSize),iconSize:v.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:v.FtCssVariableFactory.extend("--ft-button-ripple-color","",_r),verticalPadding:v.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:v.FtCssVariableFactory.external(v.designSystemVariables.colorOpacityDisabled,"Design system")},Dr=v.FtCssVariableFactory.extend("--ft-button-primary-color","",v.FtCssVariableFactory.extend("--ft-button-color","",v.designSystemVariables.colorOnPrimary)),Qe={backgroundColor:v.FtCssVariableFactory.extend("--ft-button-primary-background-color","",v.FtCssVariableFactory.extend("--ft-button-background-color","",v.designSystemVariables.colorPrimary)),color:Dr,rippleColor:v.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Dr)},Ct={borderRadius:v.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",v.FtCssVariableFactory.extend("--ft-button-border-radius","",v.designSystemVariables.borderRadiusM)),verticalPadding:v.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:v.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:v.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ur=[Gr.css`
352
352
  :host {
353
353
  display: inline-block;
354
354
  max-width: 100%;
@@ -497,8 +497,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
497
497
  <div class="ft-ripple--effect"></div>
498
498
  </div>
499
499
  `}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(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(u)},i=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=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",c,d),o.addEventListener("touchmove",this.moveRipple,d),o.addEventListener("keydown",l,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",c,d),o.removeEventListener("touchmove",this.moveRipple,d),o.removeEventListener("keydown",l,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,c,l;return a.x!=null?{x:c,y:l}=a:i.touches!=null&&(c=i.touches[0].clientX,l=i.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()}};B.elementDefinitions={};B.styles=jo;et([(0,j.property)({type:Boolean})],B.prototype,"primary",void 0);et([(0,j.property)({type:Boolean})],B.prototype,"secondary",void 0);et([(0,j.property)({type:Boolean})],B.prototype,"unbounded",void 0);et([(0,j.property)({type:Boolean})],B.prototype,"activated",void 0);et([(0,j.property)({type:Boolean})],B.prototype,"selected",void 0);et([(0,j.property)({type:Boolean})],B.prototype,"disabled",void 0);et([(0,j.state)()],B.prototype,"hovered",void 0);et([(0,j.state)()],B.prototype,"focused",void 0);et([(0,j.state)()],B.prototype,"pressed",void 0);et([(0,j.state)()],B.prototype,"rippling",void 0);et([(0,j.state)()],B.prototype,"originX",void 0);et([(0,j.state)()],B.prototype,"originY",void 0);et([(0,j.query)(".ft-ripple")],B.prototype,"ripple",void 0);et([(0,j.query)(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);(0,Kr.customElement)("ft-ripple")(B);var _a=b(L());var Ha=b(I()),Z=b(ct()),zt=b(L());var sa=b(L());var no=globalThis,ke=no.trustedTypes,Vr=ke?ke.createPolicy("lit-html",{createHTML:e=>e}):void 0,Jr="$lit$",It=`lit$${Math.random().toFixed(9).slice(2)}$`,ta="?"+It,Cn=`<${ta}>`,Mt=document,We=()=>Mt.createComment(""),Ce=e=>e===null||typeof e!="object"&&typeof e!="function",io=Array.isArray,Sn=e=>io(e)||typeof e?.[Symbol.iterator]=="function",Je=`[
500
- \f\r]`,xe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jr=/-->/g,Yr=/>/g,Dt=RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
501
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Xr=/'/g,qr=/"/g,ea=/^(?:script|style|textarea|title)$/i,co=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),oa=co(1),ra=co(2),aa=co(3),Se=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Qr=new WeakMap,Ut=Mt.createTreeWalker(Mt,129);function na(e,o){if(!io(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vr!==void 0?Vr.createHTML(o):o}var On=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=xe;for(let p=0;p<a;p++){let u=e[p],m,S,x=-1,E=0;for(;E<u.length&&(d.lastIndex=E,S=d.exec(u),S!==null);)E=d.lastIndex,d===xe?S[1]==="!--"?d=jr:S[1]!==void 0?d=Yr:S[2]!==void 0?(ea.test(S[2])&&(c=RegExp("</"+S[2],"g")),d=Dt):S[3]!==void 0&&(d=Dt):d===Dt?S[0]===">"?(d=c??xe,x=-1):S[1]===void 0?x=-2:(x=d.lastIndex-S[2].length,m=S[1],d=S[3]===void 0?Dt:S[3]==='"'?qr:Xr):d===qr||d===Xr?d=Dt:d===jr||d===Yr?d=xe:(d=Dt,c=void 0);let N=d===Dt&&e[p+1].startsWith("/>")?" ":"";l+=d===xe?u+Cn:x>=0?(i.push(m),u.slice(0,x)+Jr+u.slice(x)+It+N):u+It+(x===-2?p:N)}return[na(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},Oe=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,u=this.parts,[m,S]=On(o,a);if(this.el=e.createElement(m,i),Ut.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Ut.nextNode())!==null&&u.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(Jr)){let E=S[d++],N=c.getAttribute(x).split(It),R=/([.?@])?(.*)/.exec(E);u.push({type:1,index:l,name:R[2],strings:N,ctor:R[1]==="."?eo:R[1]==="?"?oo:R[1]==="@"?ro:ae}),c.removeAttribute(x)}else x.startsWith(It)&&(u.push({type:6,index:l}),c.removeAttribute(x));if(ea.test(c.tagName)){let x=c.textContent.split(It),E=x.length-1;if(E>0){c.textContent=ke?ke.emptyScript:"";for(let N=0;N<E;N++)c.append(x[N],We()),Ut.nextNode(),u.push({type:2,index:++l});c.append(x[E],We())}}}else if(c.nodeType===8)if(c.data===ta)u.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(It,x+1))!==-1;)u.push({type:7,index:l}),x+=It.length-1}l++}}static createElement(o,a){let i=Mt.createElement("template");return i.innerHTML=o,i}};function re(e,o,a=e,i){if(o===Se)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=Ce(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,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=re(e,c._$AS(e,o.values),c,i)),o}var to=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,c=(o?.creationScope??Mt).importNode(a,!0);Ut.currentNode=c;let l=Ut.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let m;u.type===2?m=new Te(l,l.nextSibling,this,o):u.type===1?m=new u.ctor(l,u.name,u.strings,this,o):u.type===6&&(m=new ao(l,this,o)),this._$AV.push(m),u=i[++p]}d!==u?.index&&(l=Ut.nextNode(),d++)}return Ut.currentNode=Mt,c}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++}},Te=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,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=re(this,o,a),Ce(o)?o===G||o==null||o===""?(this._$AH!==G&&this._$AR(),this._$AH=G):o!==this._$AH&&o!==Se&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Sn(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!==G&&Ce(this._$AH)?this._$AA.nextSibling.data=o:this.T(Mt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Oe.createElement(na(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new to(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=Qr.get(o.strings);return a===void 0&&Qr.set(o.strings,a=new Oe(o)),a}k(o){io(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(We()),this.O(We()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$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))}},ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=G,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=re(this,o,a,0),d=!Ce(o)||o!==this._$AH&&o!==Se,d&&(this._$AH=o);else{let p=o,u,m;for(o=l[0],u=0;u<l.length-1;u++)m=re(this,p[i+u],a,u),m===Se&&(m=this._$AH[u]),d||=!Ce(m)||m!==this._$AH[u],m===G?o=G:o!==G&&(o+=(m??"")+l[u+1]),this._$AH[u]=m}d&&!c&&this.j(o)}j(o){o===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},eo=class extends ae{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===G?void 0:o}},oo=class extends ae{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==G)}},ro=class extends ae{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=re(this,o,a,0)??G)===Se)return;let i=this._$AH,c=o===G&&i!==G||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==G&&(i===G||c);c&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},ao=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){re(this,o)}};var vn=no.litHtmlPolyfillSupport;vn?.(Oe,Te),(no.litHtmlVersions??=[]).push("3.3.0");var ca=Symbol.for(""),wn=e=>{if(e?.r===ca)return e?._$litStatic$},lo=e=>({_$litStatic$:e,r:ca});var ia=new Map,so=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],u,m=0,S=!1;for(;m<i;){for(u=o[m];m<i&&(l=a[m],(c=wn(l))!==void 0);)u+=c+o[++m],S=!0;m!==i&&p.push(l),d.push(u),m++}if(m===i&&d.push(o[i]),S){let x=d.join("$$lit$$");(o=ia.get(x))===void 0&&(d.raw=d,ia.set(x,o=d)),a=p}return e(o,...a)},po=so(oa),Hs=so(ra),_s=so(aa);var fo=b(ct()),da=b(L());var yt;(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"})(yt||(yt={}));var la=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},tt=class extends da.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?po`
500
+ \f\r]`,xe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jr=/-->/g,Yr=/>/g,Gt=RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
501
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xr=/'/g,qr=/"/g,ea=/^(?:script|style|textarea|title)$/i,co=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),oa=co(1),ra=co(2),aa=co(3),Se=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Qr=new WeakMap,Ut=Mt.createTreeWalker(Mt,129);function na(e,o){if(!io(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vr!==void 0?Vr.createHTML(o):o}var On=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=xe;for(let p=0;p<a;p++){let u=e[p],m,S,x=-1,E=0;for(;E<u.length&&(d.lastIndex=E,S=d.exec(u),S!==null);)E=d.lastIndex,d===xe?S[1]==="!--"?d=jr:S[1]!==void 0?d=Yr:S[2]!==void 0?(ea.test(S[2])&&(c=RegExp("</"+S[2],"g")),d=Gt):S[3]!==void 0&&(d=Gt):d===Gt?S[0]===">"?(d=c??xe,x=-1):S[1]===void 0?x=-2:(x=d.lastIndex-S[2].length,m=S[1],d=S[3]===void 0?Gt:S[3]==='"'?qr:Xr):d===qr||d===Xr?d=Gt:d===jr||d===Yr?d=xe:(d=Gt,c=void 0);let N=d===Gt&&e[p+1].startsWith("/>")?" ":"";l+=d===xe?u+Cn:x>=0?(i.push(m),u.slice(0,x)+Jr+u.slice(x)+It+N):u+It+(x===-2?p:N)}return[na(e,l+(e[a]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),i]},Oe=class e{constructor({strings:o,_$litType$:a},i){let c;this.parts=[];let l=0,d=0,p=o.length-1,u=this.parts,[m,S]=On(o,a);if(this.el=e.createElement(m,i),Ut.currentNode=this.el.content,a===2||a===3){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Ut.nextNode())!==null&&u.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(Jr)){let E=S[d++],N=c.getAttribute(x).split(It),R=/([.?@])?(.*)/.exec(E);u.push({type:1,index:l,name:R[2],strings:N,ctor:R[1]==="."?eo:R[1]==="?"?oo:R[1]==="@"?ro:ae}),c.removeAttribute(x)}else x.startsWith(It)&&(u.push({type:6,index:l}),c.removeAttribute(x));if(ea.test(c.tagName)){let x=c.textContent.split(It),E=x.length-1;if(E>0){c.textContent=ke?ke.emptyScript:"";for(let N=0;N<E;N++)c.append(x[N],We()),Ut.nextNode(),u.push({type:2,index:++l});c.append(x[E],We())}}}else if(c.nodeType===8)if(c.data===ta)u.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(It,x+1))!==-1;)u.push({type:7,index:l}),x+=It.length-1}l++}}static createElement(o,a){let i=Mt.createElement("template");return i.innerHTML=o,i}};function re(e,o,a=e,i){if(o===Se)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=Ce(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,i)),i!==void 0?(a._$Co??=[])[i]=c:a._$Cl=c),c!==void 0&&(o=re(e,c._$AS(e,o.values),c,i)),o}var to=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,c=(o?.creationScope??Mt).importNode(a,!0);Ut.currentNode=c;let l=Ut.nextNode(),d=0,p=0,u=i[0];for(;u!==void 0;){if(d===u.index){let m;u.type===2?m=new Te(l,l.nextSibling,this,o):u.type===1?m=new u.ctor(l,u.name,u.strings,this,o):u.type===6&&(m=new ao(l,this,o)),this._$AV.push(m),u=i[++p]}d!==u?.index&&(l=Ut.nextNode(),d++)}return Ut.currentNode=Mt,c}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++}},Te=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=i,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=re(this,o,a),Ce(o)?o===D||o==null||o===""?(this._$AH!==D&&this._$AR(),this._$AH=D):o!==this._$AH&&o!==Se&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Sn(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&&Ce(this._$AH)?this._$AA.nextSibling.data=o:this.T(Mt.createTextNode(o)),this._$AH=o}$(o){let{values:a,_$litType$:i}=o,c=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=Oe.createElement(na(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new to(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=Qr.get(o.strings);return a===void 0&&Qr.set(o.strings,a=new Oe(o)),a}k(o){io(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,i,c=0;for(let l of o)c===a.length?a.push(i=new e(this.O(We()),this.O(We()),this,this.options)):i=a[c],i._$AI(l),c++;c<a.length&&(this._$AR(i&&i._$AB.nextSibling,c),a.length=c)}_$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))}},ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=D,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=D}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=re(this,o,a,0),d=!Ce(o)||o!==this._$AH&&o!==Se,d&&(this._$AH=o);else{let p=o,u,m;for(o=l[0],u=0;u<l.length-1;u++)m=re(this,p[i+u],a,u),m===Se&&(m=this._$AH[u]),d||=!Ce(m)||m!==this._$AH[u],m===D?o=D:o!==D&&(o+=(m??"")+l[u+1]),this._$AH[u]=m}d&&!c&&this.j(o)}j(o){o===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},eo=class extends ae{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===D?void 0:o}},oo=class extends ae{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==D)}},ro=class extends ae{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=re(this,o,a,0)??D)===Se)return;let i=this._$AH,c=o===D&&i!==D||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==D&&(i===D||c);c&&this.element.removeEventListener(this.name,this,i),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},ao=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){re(this,o)}};var vn=no.litHtmlPolyfillSupport;vn?.(Oe,Te),(no.litHtmlVersions??=[]).push("3.3.0");var ca=Symbol.for(""),wn=e=>{if(e?.r===ca)return e?._$litStatic$},lo=e=>({_$litStatic$:e,r:ca});var ia=new Map,so=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],u,m=0,S=!1;for(;m<i;){for(u=o[m];m<i&&(l=a[m],(c=wn(l))!==void 0);)u+=c+o[++m],S=!0;m!==i&&p.push(l),d.push(u),m++}if(m===i&&d.push(o[i]),S){let x=d.join("$$lit$$");(o=ia.get(x))===void 0&&(d.raw=d,ia.set(x,o=d)),a=p}return e(o,...a)},po=so(oa),Hs=so(ra),_s=so(aa);var fo=b(ct()),da=b(L());var yt;(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"})(yt||(yt={}));var la=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},tt=class extends da.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?po`
502
502
  <${lo(this.element)}
503
503
  part="text"
504
504
  class="ft-typography ft-typography--${this.variant}">
@@ -535,7 +535,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
535
535
  position: relative;
536
536
  word-break: break-word;
537
537
  }
538
- `;var ya=["top","right","bottom","left"],ua=["start","end"],yo=ya.reduce((e,o)=>e.concat(o,o+"-"+ua[0],o+"-"+ua[1]),[]),ga=Math.min,ha=Math.max;var Nn={left:"right",right:"left",bottom:"top",top:"bottom"},En={start:"end",end:"start"};function go(e,o,a){return ha(e,ga(o,a))}function He(e,o){return typeof e=="function"?e(o):e}function ie(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function ho(e){return e==="x"?"y":"x"}function mo(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(ie(e))?"y":"x"}function bo(e){return ho(_e(e))}function ma(e,o,a){a===void 0&&(a=!1);let i=Pt(e),c=bo(e),l=mo(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=uo(d)),[d,uo(d)]}function ba(e){return e.replace(/start|end/g,o=>En[o])}function uo(e){return e.replace(/left|right|bottom|top/g,o=>Nn[o])}function Ln(e){return{top:0,right:0,bottom:0,left:0,...e}}function xa(e){return typeof e!="number"?Ln(e):{top:e,right:e,bottom:e,left:e}}function Zt(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function Ca(e,o,a){let{reference:i,floating:c}=e,l=_e(o),d=bo(o),p=mo(d),u=ie(o),m=l==="y",S=i.x+i.width/2-c.width/2,x=i.y+i.height/2-c.height/2,E=i[p]/2-c[p]/2,N;switch(u){case"top":N={x:S,y:i.y-c.height};break;case"bottom":N={x:S,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-c.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Pt(o)){case"start":N[d]-=E*(a&&m?-1:1);break;case"end":N[d]+=E*(a&&m?-1:1);break}return N}var Sa=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:S,y:x}=Ca(m,i,u),E=i,N={},R=0;for(let T=0;T<p.length;T++){let{name:U,fn:H}=p[T],{x:M,y:Q,data:$t,reset:X}=await H({x:S,y:x,initialPlacement:i,placement:E,strategy:c,middlewareData:N,rects:m,platform:d,elements:{reference:e,floating:o}});S=M??S,x=Q??x,N={...N,[U]:{...N[U],...$t}},X&&R<=50&&(R++,typeof X=="object"&&(X.placement&&(E=X.placement),X.rects&&(m=X.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):X.rects),{x:S,y:x}=Ca(m,E,u)),T=-1)}return{x:S,y:x,placement:E,strategy:c,middlewareData:N}};async function xo(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:u}=e,{boundary:m="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:E=!1,padding:N=0}=He(o,e),R=xa(N),U=p[E?x==="floating"?"reference":"floating":x],H=Zt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(U)))==null||a?U:U.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:S,strategy:u})),M=x==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,Q=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),$t=await(l.isElement==null?void 0:l.isElement(Q))?await(l.getScale==null?void 0:l.getScale(Q))||{x:1,y:1}:{x:1,y:1},X=Zt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:M,offsetParent:Q,strategy:u}):M);return{top:(H.top-X.top+R.top)/$t.y,bottom:(X.bottom-H.bottom+R.bottom)/$t.y,left:(H.left-X.left+R.left)/$t.x,right:(X.right-H.right+R.right)/$t.x}}function Rn(e,o,a){return(e?[...a.filter(c=>Pt(c)===e),...a.filter(c=>Pt(c)!==e)]:a.filter(c=>ie(c)===c)).filter(c=>e?Pt(c)===e||(o?ba(c)!==c:!1):!0)}var Co=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:u,elements:m}=o,{crossAxis:S=!1,alignment:x,allowedPlacements:E=yo,autoAlignment:N=!0,...R}=He(e,o),T=x!==void 0||E===yo?Rn(x||null,N,E):E,U=await xo(o,R),H=((a=d.autoPlacement)==null?void 0:a.index)||0,M=T[H];if(M==null)return{};let Q=ma(M,l,await(u.isRTL==null?void 0:u.isRTL(m.floating)));if(p!==M)return{reset:{placement:T[0]}};let $t=[U[ie(M)],U[Q[0]],U[Q[1]]],X=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:$t}],Bo=T[H+1];if(Bo)return{data:{index:H+1,overflows:X},reset:{placement:Bo}};let Io=X.map(bt=>{let ye=Pt(bt.placement);return[bt.placement,ye&&S?bt.overflows.slice(0,2).reduce((pn,fn)=>pn+fn,0):bt.overflows[0],bt.overflows]}).sort((bt,ye)=>bt[1]-ye[1]),Po=((c=Io.filter(bt=>bt[2].slice(0,Pt(bt[0])?2:3).every(ye=>ye<=0))[0])==null?void 0:c[0])||Io[0][0];return Po!==p?{data:{index:H+1,overflows:X},reset:{placement:Po}}:{}}}};var So=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:U=>{let{x:H,y:M}=U;return{x:H,y:M}}},...u}=He(e,o),m={x:a,y:i},S=await xo(o,u),x=_e(ie(c)),E=ho(x),N=m[E],R=m[x];if(l){let U=E==="y"?"top":"left",H=E==="y"?"bottom":"right",M=N+S[U],Q=N-S[H];N=go(M,N,Q)}if(d){let U=x==="y"?"top":"left",H=x==="y"?"bottom":"right",M=R+S[U],Q=R-S[H];R=go(M,R,Q)}let T=p.fn({...o,[E]:N,[x]:R});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[E]:l,[x]:d}}}}}};var Oo=Math.min,ce=Math.max,ve=Math.round;var Lt=e=>({x:e,y:e});function Rt(e){return va(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function At(e){var o;return(o=(va(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function va(e){return e instanceof Node||e instanceof ot(e).Node}function St(e){return e instanceof Element||e instanceof ot(e).Element}function gt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Oa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function le(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=it(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function wa(e){return["table","td","th"].includes(Rt(e))}function De(e){let o=Ue(),a=it(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 Na(e){let o=Ft(e);for(;gt(o)&&!we(o);){if(De(o))return o;o=Ft(o)}return null}function Ue(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function we(e){return["html","body","#document"].includes(Rt(e))}function it(e){return ot(e).getComputedStyle(e)}function Ne(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ft(e){if(Rt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Oa(e)&&e.host||At(e);return Oa(o)?o.host:o}function Ea(e){let o=Ft(e);return we(o)?e.ownerDocument?e.ownerDocument.body:e.body:gt(o)&&le(o)?o:Ea(o)}function Ge(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=Ea(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=ot(c);return l?o.concat(d,d.visualViewport||[],le(c)?c:[],d.frameElement&&a?Ge(d.frameElement):[]):o.concat(c,Ge(c,[],a))}function Aa(e){let o=it(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=gt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=ve(a)!==l||ve(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function $a(e){return St(e)?e:e.contextElement}function de(e){let o=$a(e);if(!gt(o))return Lt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=Aa(o),d=(l?ve(a.width):a.width)/i,p=(l?ve(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var Bn=Lt(0);function Ba(e){let o=ot(e);return!Ue()||!o.visualViewport?Bn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function In(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==ot(e)?!1:o}function Ee(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=$a(e),d=Lt(1);o&&(i?St(i)&&(d=de(i)):d=de(e));let p=In(l,a,i)?Ba(l):Lt(0),u=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,S=c.width/d.x,x=c.height/d.y;if(l){let E=ot(l),N=i&&St(i)?ot(i):i,R=E.frameElement;for(;R&&i&&N!==E;){let T=de(R),U=R.getBoundingClientRect(),H=it(R),M=U.left+(R.clientLeft+parseFloat(H.paddingLeft))*T.x,Q=U.top+(R.clientTop+parseFloat(H.paddingTop))*T.y;u*=T.x,m*=T.y,S*=T.x,x*=T.y,u+=M,m+=Q,R=ot(R).frameElement}}return Zt({width:S,height:x,x:u,y:m})}function Pn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=gt(a),l=At(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=Lt(1),u=Lt(0);if((c||!c&&i!=="fixed")&&((Rt(a)!=="body"||le(l))&&(d=Ne(a)),gt(a))){let m=Ee(a);p=de(a),u.x=m.x+a.clientLeft,u.y=m.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 zn(e){return Array.from(e.getClientRects())}function Ia(e){return Ee(At(e)).left+Ne(e).scrollLeft}function kn(e){let o=At(e),a=Ne(e),i=e.ownerDocument.body,c=ce(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=ce(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+Ia(e),p=-a.scrollTop;return it(i).direction==="rtl"&&(d+=ce(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Wn(e,o){let a=ot(e),i=At(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,u=0;if(c){l=c.width,d=c.height;let m=Ue();(!m||m&&o==="fixed")&&(p=c.offsetLeft,u=c.offsetTop)}return{width:l,height:d,x:p,y:u}}function Tn(e,o){let a=Ee(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=gt(e)?de(e):Lt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,u=c*l.x,m=i*l.y;return{width:d,height:p,x:u,y:m}}function La(e,o,a){let i;if(o==="viewport")i=Wn(e,a);else if(o==="document")i=kn(At(e));else if(St(o))i=Tn(o,a);else{let c=Ba(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Zt(i)}function Pa(e,o){let a=Ft(e);return a===o||!St(a)||we(a)?!1:it(a).position==="fixed"||Pa(a,o)}function Hn(e,o){let a=o.get(e);if(a)return a;let i=Ge(e,[],!1).filter(p=>St(p)&&Rt(p)!=="body"),c=null,l=it(e).position==="fixed",d=l?Ft(e):e;for(;St(d)&&!we(d);){let p=it(d),u=De(d);!u&&p.position==="fixed"&&(c=null),(l?!u&&!c:!u&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||le(d)&&!u&&Pa(e,d))?i=i.filter(S=>S!==d):c=p,d=Ft(d)}return o.set(e,i),i}function _n(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?Hn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((m,S)=>{let x=La(o,S,c);return m.top=ce(x.top,m.top),m.right=Oo(x.right,m.right),m.bottom=Oo(x.bottom,m.bottom),m.left=ce(x.left,m.left),m},La(o,p,c));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Gn(e){return Aa(e)}function Dn(e,o,a){let i=gt(o),c=At(o),l=a==="fixed",d=Ee(e,!0,l,o),p={scrollLeft:0,scrollTop:0},u=Lt(0);if(i||!i&&!l)if((Rt(o)!=="body"||le(c))&&(p=Ne(o)),i){let m=Ee(o,!0,l,o);u.x=m.x+o.clientLeft,u.y=m.y+o.clientTop}else c&&(u.x=Ia(c));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function Ra(e,o){return!gt(e)||it(e).position==="fixed"?null:o?o(e):e.offsetParent}function za(e,o){let a=ot(e);if(!gt(e))return a;let i=Ra(e,o);for(;i&&wa(i)&&it(i).position==="static";)i=Ra(i,o);return i&&(Rt(i)==="html"||Rt(i)==="body"&&it(i).position==="static"&&!De(i))?a:i||Na(e)||a}var Un=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||za,l=this.getDimensions;return{reference:Dn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function Mn(e){return it(e).direction==="rtl"}var Me={convertOffsetParentRelativeRectToViewportRelativeRect:Pn,getDocumentElement:At,getClippingRect:_n,getOffsetParent:za,getElementRects:Un,getClientRects:zn,getDimensions:Gn,getScale:de,isElement:St,isRTL:Mn};var ka=(e,o,a)=>{let i=new Map,c={platform:Me,...a},l={...c.platform,_c:i};return Sa(e,o,{...c,platform:l})};function Wa(e){return Zn(e)}function vo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zn(e){for(let o=e;o;o=vo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=vo(e);o;o=vo(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 Ta(e,o,a){return ka(e,o,{platform:{...Me,getOffsetParent:i=>Me.getOffsetParent(i,Wa)},middleware:[So({crossAxis:!0}),Co({allowedPlacements:[a]})]})}var rt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},z=class extends zt.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 zt.Debouncer,this.revealDebouncer=new zt.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ha.html`
538
+ `;var ya=["top","right","bottom","left"],ua=["start","end"],yo=ya.reduce((e,o)=>e.concat(o,o+"-"+ua[0],o+"-"+ua[1]),[]),ga=Math.min,ha=Math.max;var Nn={left:"right",right:"left",bottom:"top",top:"bottom"},En={start:"end",end:"start"};function go(e,o,a){return ha(e,ga(o,a))}function He(e,o){return typeof e=="function"?e(o):e}function ie(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function ho(e){return e==="x"?"y":"x"}function mo(e){return e==="y"?"height":"width"}function _e(e){return["top","bottom"].includes(ie(e))?"y":"x"}function bo(e){return ho(_e(e))}function ma(e,o,a){a===void 0&&(a=!1);let i=Pt(e),c=bo(e),l=mo(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=uo(d)),[d,uo(d)]}function ba(e){return e.replace(/start|end/g,o=>En[o])}function uo(e){return e.replace(/left|right|bottom|top/g,o=>Nn[o])}function Ln(e){return{top:0,right:0,bottom:0,left:0,...e}}function xa(e){return typeof e!="number"?Ln(e):{top:e,right:e,bottom:e,left:e}}function Zt(e){let{x:o,y:a,width:i,height:c}=e;return{width:i,height:c,top:a,left:o,right:o+i,bottom:a+c,x:o,y:a}}function Ca(e,o,a){let{reference:i,floating:c}=e,l=_e(o),d=bo(o),p=mo(d),u=ie(o),m=l==="y",S=i.x+i.width/2-c.width/2,x=i.y+i.height/2-c.height/2,E=i[p]/2-c[p]/2,N;switch(u){case"top":N={x:S,y:i.y-c.height};break;case"bottom":N={x:S,y:i.y+i.height};break;case"right":N={x:i.x+i.width,y:x};break;case"left":N={x:i.x-c.width,y:x};break;default:N={x:i.x,y:i.y}}switch(Pt(o)){case"start":N[d]-=E*(a&&m?-1:1);break;case"end":N[d]+=E*(a&&m?-1:1);break}return N}var Sa=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),u=await(d.isRTL==null?void 0:d.isRTL(o)),m=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:S,y:x}=Ca(m,i,u),E=i,N={},R=0;for(let T=0;T<p.length;T++){let{name:U,fn:H}=p[T],{x:M,y:Q,data:$t,reset:X}=await H({x:S,y:x,initialPlacement:i,placement:E,strategy:c,middlewareData:N,rects:m,platform:d,elements:{reference:e,floating:o}});S=M??S,x=Q??x,N={...N,[U]:{...N[U],...$t}},X&&R<=50&&(R++,typeof X=="object"&&(X.placement&&(E=X.placement),X.rects&&(m=X.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):X.rects),{x:S,y:x}=Ca(m,E,u)),T=-1)}return{x:S,y:x,placement:E,strategy:c,middlewareData:N}};async function xo(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:u}=e,{boundary:m="clippingAncestors",rootBoundary:S="viewport",elementContext:x="floating",altBoundary:E=!1,padding:N=0}=He(o,e),R=xa(N),U=p[E?x==="floating"?"reference":"floating":x],H=Zt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(U)))==null||a?U:U.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:m,rootBoundary:S,strategy:u})),M=x==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,Q=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),$t=await(l.isElement==null?void 0:l.isElement(Q))?await(l.getScale==null?void 0:l.getScale(Q))||{x:1,y:1}:{x:1,y:1},X=Zt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:M,offsetParent:Q,strategy:u}):M);return{top:(H.top-X.top+R.top)/$t.y,bottom:(X.bottom-H.bottom+R.bottom)/$t.y,left:(H.left-X.left+R.left)/$t.x,right:(X.right-H.right+R.right)/$t.x}}function Rn(e,o,a){return(e?[...a.filter(c=>Pt(c)===e),...a.filter(c=>Pt(c)!==e)]:a.filter(c=>ie(c)===c)).filter(c=>e?Pt(c)===e||(o?ba(c)!==c:!1):!0)}var Co=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,i,c;let{rects:l,middlewareData:d,placement:p,platform:u,elements:m}=o,{crossAxis:S=!1,alignment:x,allowedPlacements:E=yo,autoAlignment:N=!0,...R}=He(e,o),T=x!==void 0||E===yo?Rn(x||null,N,E):E,U=await xo(o,R),H=((a=d.autoPlacement)==null?void 0:a.index)||0,M=T[H];if(M==null)return{};let Q=ma(M,l,await(u.isRTL==null?void 0:u.isRTL(m.floating)));if(p!==M)return{reset:{placement:T[0]}};let $t=[U[ie(M)],U[Q[0]],U[Q[1]]],X=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:M,overflows:$t}],Bo=T[H+1];if(Bo)return{data:{index:H+1,overflows:X},reset:{placement:Bo}};let Io=X.map(bt=>{let ye=Pt(bt.placement);return[bt.placement,ye&&S?bt.overflows.slice(0,2).reduce((pn,fn)=>pn+fn,0):bt.overflows[0],bt.overflows]}).sort((bt,ye)=>bt[1]-ye[1]),Po=((c=Io.filter(bt=>bt[2].slice(0,Pt(bt[0])?2:3).every(ye=>ye<=0))[0])==null?void 0:c[0])||Io[0][0];return Po!==p?{data:{index:H+1,overflows:X},reset:{placement:Po}}:{}}}};var So=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:i,placement:c}=o,{mainAxis:l=!0,crossAxis:d=!1,limiter:p={fn:U=>{let{x:H,y:M}=U;return{x:H,y:M}}},...u}=He(e,o),m={x:a,y:i},S=await xo(o,u),x=_e(ie(c)),E=ho(x),N=m[E],R=m[x];if(l){let U=E==="y"?"top":"left",H=E==="y"?"bottom":"right",M=N+S[U],Q=N-S[H];N=go(M,N,Q)}if(d){let U=x==="y"?"top":"left",H=x==="y"?"bottom":"right",M=R+S[U],Q=R-S[H];R=go(M,R,Q)}let T=p.fn({...o,[E]:N,[x]:R});return{...T,data:{x:T.x-a,y:T.y-i,enabled:{[E]:l,[x]:d}}}}}};var Oo=Math.min,ce=Math.max,ve=Math.round;var Lt=e=>({x:e,y:e});function Rt(e){return va(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function At(e){var o;return(o=(va(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function va(e){return e instanceof Node||e instanceof ot(e).Node}function St(e){return e instanceof Element||e instanceof ot(e).Element}function gt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Oa(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function le(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=it(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function wa(e){return["table","td","th"].includes(Rt(e))}function Ge(e){let o=Ue(),a=it(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 Na(e){let o=Ft(e);for(;gt(o)&&!we(o);){if(Ge(o))return o;o=Ft(o)}return null}function Ue(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function we(e){return["html","body","#document"].includes(Rt(e))}function it(e){return ot(e).getComputedStyle(e)}function Ne(e){return St(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ft(e){if(Rt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Oa(e)&&e.host||At(e);return Oa(o)?o.host:o}function Ea(e){let o=Ft(e);return we(o)?e.ownerDocument?e.ownerDocument.body:e.body:gt(o)&&le(o)?o:Ea(o)}function De(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=Ea(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=ot(c);return l?o.concat(d,d.visualViewport||[],le(c)?c:[],d.frameElement&&a?De(d.frameElement):[]):o.concat(c,De(c,[],a))}function Aa(e){let o=it(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=gt(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=ve(a)!==l||ve(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function $a(e){return St(e)?e:e.contextElement}function de(e){let o=$a(e);if(!gt(o))return Lt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=Aa(o),d=(l?ve(a.width):a.width)/i,p=(l?ve(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var Bn=Lt(0);function Ba(e){let o=ot(e);return!Ue()||!o.visualViewport?Bn:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function In(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==ot(e)?!1:o}function Ee(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=$a(e),d=Lt(1);o&&(i?St(i)&&(d=de(i)):d=de(e));let p=In(l,a,i)?Ba(l):Lt(0),u=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,S=c.width/d.x,x=c.height/d.y;if(l){let E=ot(l),N=i&&St(i)?ot(i):i,R=E.frameElement;for(;R&&i&&N!==E;){let T=de(R),U=R.getBoundingClientRect(),H=it(R),M=U.left+(R.clientLeft+parseFloat(H.paddingLeft))*T.x,Q=U.top+(R.clientTop+parseFloat(H.paddingTop))*T.y;u*=T.x,m*=T.y,S*=T.x,x*=T.y,u+=M,m+=Q,R=ot(R).frameElement}}return Zt({width:S,height:x,x:u,y:m})}function Pn(e){let{rect:o,offsetParent:a,strategy:i}=e,c=gt(a),l=At(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=Lt(1),u=Lt(0);if((c||!c&&i!=="fixed")&&((Rt(a)!=="body"||le(l))&&(d=Ne(a)),gt(a))){let m=Ee(a);p=de(a),u.x=m.x+a.clientLeft,u.y=m.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 zn(e){return Array.from(e.getClientRects())}function Ia(e){return Ee(At(e)).left+Ne(e).scrollLeft}function kn(e){let o=At(e),a=Ne(e),i=e.ownerDocument.body,c=ce(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=ce(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+Ia(e),p=-a.scrollTop;return it(i).direction==="rtl"&&(d+=ce(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Wn(e,o){let a=ot(e),i=At(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,u=0;if(c){l=c.width,d=c.height;let m=Ue();(!m||m&&o==="fixed")&&(p=c.offsetLeft,u=c.offsetTop)}return{width:l,height:d,x:p,y:u}}function Tn(e,o){let a=Ee(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=gt(e)?de(e):Lt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,u=c*l.x,m=i*l.y;return{width:d,height:p,x:u,y:m}}function La(e,o,a){let i;if(o==="viewport")i=Wn(e,a);else if(o==="document")i=kn(At(e));else if(St(o))i=Tn(o,a);else{let c=Ba(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return Zt(i)}function Pa(e,o){let a=Ft(e);return a===o||!St(a)||we(a)?!1:it(a).position==="fixed"||Pa(a,o)}function Hn(e,o){let a=o.get(e);if(a)return a;let i=De(e,[],!1).filter(p=>St(p)&&Rt(p)!=="body"),c=null,l=it(e).position==="fixed",d=l?Ft(e):e;for(;St(d)&&!we(d);){let p=it(d),u=Ge(d);!u&&p.position==="fixed"&&(c=null),(l?!u&&!c:!u&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||le(d)&&!u&&Pa(e,d))?i=i.filter(S=>S!==d):c=p,d=Ft(d)}return o.set(e,i),i}function _n(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?Hn(o,this._c):[].concat(a),i],p=d[0],u=d.reduce((m,S)=>{let x=La(o,S,c);return m.top=ce(x.top,m.top),m.right=Oo(x.right,m.right),m.bottom=Oo(x.bottom,m.bottom),m.left=ce(x.left,m.left),m},La(o,p,c));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Dn(e){return Aa(e)}function Gn(e,o,a){let i=gt(o),c=At(o),l=a==="fixed",d=Ee(e,!0,l,o),p={scrollLeft:0,scrollTop:0},u=Lt(0);if(i||!i&&!l)if((Rt(o)!=="body"||le(c))&&(p=Ne(o)),i){let m=Ee(o,!0,l,o);u.x=m.x+o.clientLeft,u.y=m.y+o.clientTop}else c&&(u.x=Ia(c));return{x:d.left+p.scrollLeft-u.x,y:d.top+p.scrollTop-u.y,width:d.width,height:d.height}}function Ra(e,o){return!gt(e)||it(e).position==="fixed"?null:o?o(e):e.offsetParent}function za(e,o){let a=ot(e);if(!gt(e))return a;let i=Ra(e,o);for(;i&&wa(i)&&it(i).position==="static";)i=Ra(i,o);return i&&(Rt(i)==="html"||Rt(i)==="body"&&it(i).position==="static"&&!Ge(i))?a:i||Na(e)||a}var Un=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||za,l=this.getDimensions;return{reference:Gn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function Mn(e){return it(e).direction==="rtl"}var Me={convertOffsetParentRelativeRectToViewportRelativeRect:Pn,getDocumentElement:At,getClippingRect:_n,getOffsetParent:za,getElementRects:Un,getClientRects:zn,getDimensions:Dn,getScale:de,isElement:St,isRTL:Mn};var ka=(e,o,a)=>{let i=new Map,c={platform:Me,...a},l={...c.platform,_c:i};return Sa(e,o,{...c,platform:l})};function Wa(e){return Zn(e)}function vo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Zn(e){for(let o=e;o;o=vo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=vo(e);o;o=vo(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 Ta(e,o,a){return ka(e,o,{platform:{...Me,getOffsetParent:i=>Me.getOffsetParent(i,Wa)},middleware:[So({crossAxis:!0}),Co({allowedPlacements:[a]})]})}var rt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},z=class extends zt.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 zt.Debouncer,this.revealDebouncer=new zt.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ha.html`
539
539
  <div part="container"
540
540
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
541
541
  @mouseenter=${this.onHover}
@@ -553,7 +553,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
553
553
  </div>
554
554
  </div>
555
555
  </div>
556
- `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}async showTemporaryText(o,a){let i=this.manual;this.manual=!0;let c=this.text;this.text=o,await this.show(a),this.text=c,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ta(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${zt.designSystemVariables.transitionDuration}, left ${zt.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};z.elementDefinitions={"ft-typography":tt};z.styles=fa;rt([(0,Z.property)()],z.prototype,"text",void 0);rt([(0,Z.property)({type:Boolean})],z.prototype,"manual",void 0);rt([(0,Z.property)({type:Boolean})],z.prototype,"inline",void 0);rt([(0,Z.property)({type:Number})],z.prototype,"delay",void 0);rt([(0,Z.property)()],z.prototype,"position",void 0);rt([(0,Z.queryAssignedNodes)()],z.prototype,"slotNodes",void 0);rt([(0,Z.query)(".ft-tooltip--container")],z.prototype,"container",void 0);rt([(0,Z.query)(".ft-tooltip")],z.prototype,"tooltip",void 0);rt([(0,Z.query)(".ft-tooltip--content")],z.prototype,"tooltipContent",void 0);rt([(0,Z.state)()],z.prototype,"visible",void 0);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onTouch",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onHover",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onOut",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onClick",null);(0,_a.customElement)("ft-tooltip")(z);var Za=b(L());var Le=b(I()),kt=b(ct()),Ua=b(L()),Ma=b(Da());var se;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;"})(se||(se={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Pp=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var zp={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var st;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(st||(st={}));var Re=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Y=class extends Ua.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Le.nothing}render(){let o=this.variant&&Object.values(st).includes(this.variant)?this.variant:st.fluid_topics,a=o!==st.material||!!this.value;return Le.html`
556
+ `}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}async showTemporaryText(o,a){let i=this.manual;this.manual=!0;let c=this.text;this.text=o,await this.show(a),this.text=c,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ta(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${zt.designSystemVariables.transitionDuration}, left ${zt.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};z.elementDefinitions={"ft-typography":tt};z.styles=fa;rt([(0,Z.property)()],z.prototype,"text",void 0);rt([(0,Z.property)({type:Boolean})],z.prototype,"manual",void 0);rt([(0,Z.property)({type:Boolean})],z.prototype,"inline",void 0);rt([(0,Z.property)({type:Number})],z.prototype,"delay",void 0);rt([(0,Z.property)()],z.prototype,"position",void 0);rt([(0,Z.queryAssignedNodes)()],z.prototype,"slotNodes",void 0);rt([(0,Z.query)(".ft-tooltip--container")],z.prototype,"container",void 0);rt([(0,Z.query)(".ft-tooltip")],z.prototype,"tooltip",void 0);rt([(0,Z.query)(".ft-tooltip--content")],z.prototype,"tooltipContent",void 0);rt([(0,Z.state)()],z.prototype,"visible",void 0);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onTouch",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onHover",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onOut",null);rt([(0,Z.eventOptions)({passive:!0})],z.prototype,"onClick",null);(0,_a.customElement)("ft-tooltip")(z);var Za=b(L());var Le=b(I()),kt=b(ct()),Ua=b(L()),Ma=b(Ga());var se;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CLOUD_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;"})(se||(se={}));var g;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(g||(g={}));var Pp=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var zp={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var st;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(st||(st={}));var Re=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Y=class extends Ua.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Le.nothing}render(){let o=this.variant&&Object.values(st).includes(this.variant)?this.variant:st.fluid_topics,a=o!==st.material||!!this.value;return Le.html`
557
557
  <i class="ft-icon ft-icon--${o} ft-no-text-select" part="icon icon-${o}">
558
558
  ${(0,Ma.unsafeHTML)(this.resolvedIcon)}
559
559
  <slot ?hidden=${a}></slot>
@@ -565,7 +565,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
565
565
  <div></div>
566
566
  <div></div>
567
567
  </div>
568
- `}};Kt.styles=Hr;(0,Va.customElement)("ft-loader")(Kt);var Wt=b(I()),wo=b(me()),D=b(ct());var ja=e=>e??G;var F=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},A=class extends(0,Tt.toFtFormComponent)(Tt.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.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!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 c=Wt.html`
568
+ `}};Kt.styles=Hr;(0,Va.customElement)("ft-loader")(Kt);var Wt=b(I()),wo=b(me()),G=b(ct());var ja=e=>e??D;var F=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},A=class extends(0,Tt.toFtFormComponent)(Tt.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.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!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 c=Wt.html`
569
569
  <ft-ripple part="ripple"
570
570
  ?disabled=${this.isDisabled()}
571
571
  ?activated=${this.activated}
@@ -606,7 +606,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
606
606
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
607
607
  `:Wt.html`
608
608
  <slot part="icon" name="icon"></slot>
609
- `}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,Tt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":B,"ft-tooltip":z,"ft-typography":tt,"ft-icon":Y,"ft-loader":Kt};F([(0,D.property)()],A.prototype,"href",void 0);F([(0,D.property)()],A.prototype,"target",void 0);F([(0,D.property)()],A.prototype,"type",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"disabled",void 0);F([(0,D.property)()],A.prototype,"label",void 0);F([(0,D.property)()],A.prototype,"icon",void 0);F([(0,D.property)()],A.prototype,"iconVariant",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"trailingIcon",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"loading",void 0);F([(0,D.property)({attribute:"aria-label"})],A.prototype,"ariaLabel",void 0);F([(0,D.property)()],A.prototype,"ariaHasPopup",void 0);F([(0,D.property)()],A.prototype,"tooltipPosition",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"hideTooltip",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"forceTooltip",void 0);F([(0,D.property)({type:Boolean})],A.prototype,"activated",void 0);F([(0,D.query)(".ft-button")],A.prototype,"button",void 0);F([(0,D.query)(".ft-button--label slot")],A.prototype,"slottedContent",void 0);F([(0,D.query)("[part=tooltip]")],A.prototype,"tooltip",void 0);var Ze=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},ht=class extends A{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"}};ht.styles=[Ya.safariEllipsisFix,Ur];Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"primary",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"outlined",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"dense",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"round",void 0);var $e=b(ct());var Ke=b(L());var Xa=b(I()),f=b(L());var No={...s,iconOnlyScale:f.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},qa=[Xa.css`
609
+ `}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,Tt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};A.elementDefinitions={"ft-ripple":B,"ft-tooltip":z,"ft-typography":tt,"ft-icon":Y,"ft-loader":Kt};F([(0,G.property)()],A.prototype,"href",void 0);F([(0,G.property)()],A.prototype,"target",void 0);F([(0,G.property)()],A.prototype,"type",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"disabled",void 0);F([(0,G.property)()],A.prototype,"label",void 0);F([(0,G.property)()],A.prototype,"icon",void 0);F([(0,G.property)()],A.prototype,"iconVariant",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"trailingIcon",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"loading",void 0);F([(0,G.property)({attribute:"aria-label"})],A.prototype,"ariaLabel",void 0);F([(0,G.property)()],A.prototype,"ariaHasPopup",void 0);F([(0,G.property)()],A.prototype,"tooltipPosition",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"hideTooltip",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"forceTooltip",void 0);F([(0,G.property)({type:Boolean})],A.prototype,"activated",void 0);F([(0,G.query)(".ft-button")],A.prototype,"button",void 0);F([(0,G.query)(".ft-button--label slot")],A.prototype,"slottedContent",void 0);F([(0,G.query)("[part=tooltip]")],A.prototype,"tooltip",void 0);var Ze=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},ht=class extends A{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"}};ht.styles=[Ya.safariEllipsisFix,Ur];Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"primary",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"outlined",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"dense",void 0);Ze([(0,Ae.property)({type:Boolean})],ht.prototype,"round",void 0);var $e=b(ct());var Ke=b(L());var Xa=b(I()),f=b(L());var No={...s,iconOnlyScale:f.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},qa=[Xa.css`
610
610
  :host {
611
611
  display: inline-block;
612
612
  max-width: 100%;
@@ -1444,7 +1444,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1444
1444
  ></ftds-button>
1445
1445
  `:this.withAction?Ht.html`
1446
1446
  <slot name="action"></slot>
1447
- `:Ht.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Lo)}typographyVariant(){switch(this.size){case J.large:return yt.body2medium;case J.medium:case J.small:return yt.caption1medium}}};pt.elementDefinitions={"ft-typography":tt,"ft-icon":Y,"ftds-button":mt};pt.styles=cn;ue([(0,_t.property)({type:Boolean})],pt.prototype,"withAction",void 0);ue([(0,_t.property)({type:Boolean})],pt.prototype,"removable",void 0);ue([(0,_t.property)()],pt.prototype,"removeButtonLabel",void 0);ue([(0,_t.property)()],pt.prototype,"label",void 0);ue([(0,_t.property)()],pt.prototype,"icon",void 0);ue([(0,_t.query)("ft-typography slot")],pt.prototype,"slottedContent",void 0);(0,Ro.customElement)("ft-chip")(k);(0,Ro.customElement)("ftds-chip")(pt);var Gt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Ao=class extends CustomEvent{constructor(o,a){super("ft-chip-choice-option-change",{detail:{value:o,selected:a},bubbles:!0,composed:!0})}},nt=class extends sn.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.selected=!1,this.dense=!1,this.multiLine=!1,this.role="radio"}render(){return dn.html`
1447
+ `:Ht.nothing}resolveButtonSize(){switch(this.size){case J.large:return J.medium;case J.medium:case J.small:return J.small}}getLabel(){return this.label||this.textContent}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&a!==void 0?a:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Lo)}typographyVariant(){switch(this.size){case J.large:return yt.body2medium;case J.medium:case J.small:return yt.caption1medium}}};pt.elementDefinitions={"ft-typography":tt,"ft-icon":Y,"ftds-button":mt};pt.styles=cn;ue([(0,_t.property)({type:Boolean})],pt.prototype,"withAction",void 0);ue([(0,_t.property)({type:Boolean})],pt.prototype,"removable",void 0);ue([(0,_t.property)()],pt.prototype,"removeButtonLabel",void 0);ue([(0,_t.property)()],pt.prototype,"label",void 0);ue([(0,_t.property)()],pt.prototype,"icon",void 0);ue([(0,_t.query)("ft-typography slot")],pt.prototype,"slottedContent",void 0);(0,Ro.customElement)("ft-chip")(k);(0,Ro.customElement)("ftds-chip")(pt);var Dt=function(e,o,a,i){var c=arguments.length,l=c<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,a):i,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,i);else for(var p=e.length-1;p>=0;p--)(d=e[p])&&(l=(c<3?d(l):c>3?d(o,a,l):d(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Ao=class extends CustomEvent{constructor(o,a){super("ft-chip-choice-option-change",{detail:{value:o,selected:a},bubbles:!0,composed:!0})}},nt=class extends sn.FtLitElement{constructor(){super(...arguments),this.name="",this.value="",this.label="",this.selected=!1,this.dense=!1,this.multiLine=!1,this.role="radio"}render(){return dn.html`
1448
1448
  <ft-chip clickable
1449
1449
  part="chip"
1450
1450
  icon=${this.selected?"CHECK":""}
@@ -1456,7 +1456,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1456
1456
  @keydown=${this.onKeyDown}>
1457
1457
  <slot></slot>
1458
1458
  </ft-chip>
1459
- `}onKeyDown(o){o.key==" "&&o.preventDefault()}update(o){super.update(o),o.has("selected")&&(this.ariaChecked=this.selected?"true":"false")}onChange(o){o.preventDefault(),this.selected=!this.selected,this.dispatchEvent(new Ao(this.value,this.selected))}};nt.elementDefinitions={"ft-chip":k};nt.styles=rn;Gt([(0,Ot.property)()],nt.prototype,"name",void 0);Gt([(0,Ot.property)()],nt.prototype,"value",void 0);Gt([(0,Ot.property)()],nt.prototype,"label",void 0);Gt([(0,Ot.property)({type:Boolean})],nt.prototype,"selected",void 0);Gt([(0,Ot.property)({type:Boolean})],nt.prototype,"dense",void 0);Gt([(0,Ot.property)({type:Boolean})],nt.prototype,"multiLine",void 0);Gt([(0,Ot.property)({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);Gt([(0,Ot.query)("ft-chip")],nt.prototype,"chip",void 0);(0,$o.customElement)("ft-chip-choice")(ft);(0,$o.customElement)("ft-chip-choice-option")(nt);})();
1459
+ `}onKeyDown(o){o.key==" "&&o.preventDefault()}update(o){super.update(o),o.has("selected")&&(this.ariaChecked=this.selected?"true":"false")}onChange(o){o.preventDefault(),this.selected=!this.selected,this.dispatchEvent(new Ao(this.value,this.selected))}};nt.elementDefinitions={"ft-chip":k};nt.styles=rn;Dt([(0,Ot.property)()],nt.prototype,"name",void 0);Dt([(0,Ot.property)()],nt.prototype,"value",void 0);Dt([(0,Ot.property)()],nt.prototype,"label",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"selected",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"dense",void 0);Dt([(0,Ot.property)({type:Boolean})],nt.prototype,"multiLine",void 0);Dt([(0,Ot.property)({reflect:!0,attribute:"role"})],nt.prototype,"role",void 0);Dt([(0,Ot.query)("ft-chip")],nt.prototype,"chip",void 0);(0,$o.customElement)("ft-chip-choice")(ft);(0,$o.customElement)("ft-chip-choice-option")(nt);})();
1460
1460
  /*! Bundled license information:
1461
1461
 
1462
1462
  lit-html/lit-html.js: