@fluid-topics/ft-file-button 1.2.61 → 1.2.63
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.
- package/build/ft-file-button.light.js +24 -21
- package/build/ft-file-button.min.js +17 -14
- package/package.json +4 -4
|
@@ -332,7 +332,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
332
332
|
.ft-icon--material {
|
|
333
333
|
font-family: ${K.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`,J.noTextSelect];var cr=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),
|
|
335
|
+
`,J.noTextSelect];var cr=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),H={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:cr,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",at.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",cr),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},lr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),Le={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:lr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",lr)},nt={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},sr=[dr.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -343,7 +343,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
343
343
|
box-shadow: 0px 0px 0px transparent;
|
|
344
344
|
border: 0px solid transparent;
|
|
345
345
|
text-shadow: 0px 0px 0px transparent;
|
|
346
|
-
font-size: ${
|
|
346
|
+
font-size: ${H.fontSize};
|
|
347
347
|
text-decoration: none;
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -373,21 +373,21 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
373
373
|
border: none;
|
|
374
374
|
pointer-events: auto;
|
|
375
375
|
|
|
376
|
-
--ft-button-internal-line-height: max(calc(${
|
|
377
|
-
--ft-button-internal-color: ${
|
|
378
|
-
${(0,C.setVariable)(K.size,
|
|
379
|
-
${(0,C.setVariable)(u.color,
|
|
376
|
+
--ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
|
|
377
|
+
--ft-button-internal-color: ${H.color};
|
|
378
|
+
${(0,C.setVariable)(K.size,H.iconSize)};
|
|
379
|
+
${(0,C.setVariable)(u.color,H.rippleColor)};
|
|
380
380
|
|
|
381
|
-
border-radius: ${
|
|
382
|
-
padding: ${
|
|
383
|
-
background-color: ${
|
|
381
|
+
border-radius: ${H.borderRadius};
|
|
382
|
+
padding: ${H.verticalPadding} ${H.horizontalPadding};
|
|
383
|
+
background-color: ${H.backgroundColor};
|
|
384
384
|
color: var(--ft-button-internal-color);
|
|
385
385
|
-webkit-mask-image: radial-gradient(white, black);
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
.ft-button.ft-button--outlined {
|
|
389
389
|
border: 1px solid var(--ft-button-internal-color);
|
|
390
|
-
padding: calc(${
|
|
390
|
+
padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.ft-button.ft-button--dense {
|
|
@@ -405,7 +405,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
405
405
|
}
|
|
406
406
|
|
|
407
407
|
.ft-button--round {
|
|
408
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
408
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${H.verticalPadding});
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-button--round.ft-button--dense {
|
|
@@ -414,7 +414,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
414
414
|
|
|
415
415
|
.ft-button[disabled] {
|
|
416
416
|
filter: grayscale(1);
|
|
417
|
-
opacity: ${
|
|
417
|
+
opacity: ${H.opacityDisabled};
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button.ft-button--primary {
|
|
@@ -433,7 +433,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
433
433
|
white-space: nowrap;
|
|
434
434
|
text-overflow: ellipsis;
|
|
435
435
|
display: block;
|
|
436
|
-
margin: 0 ${
|
|
436
|
+
margin: 0 ${H.iconPadding};
|
|
437
437
|
${(0,C.setVariable)(at.fontSize,"1em")};
|
|
438
438
|
${(0,C.setVariable)(at.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
439
439
|
}
|
|
@@ -452,8 +452,8 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button--label[hidden] + [part="icon"] {
|
|
455
|
-
margin: 0 calc(${
|
|
456
|
-
padding: 0 ${
|
|
455
|
+
margin: 0 calc(${H.horizontalPadding} * -1);
|
|
456
|
+
padding: 0 ${H.verticalPadding};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -466,7 +466,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
ft-loader {
|
|
469
|
-
${(0,C.setVariable)(R.size,
|
|
469
|
+
${(0,C.setVariable)(R.size,H.iconSize)};
|
|
470
470
|
${(0,C.setVariable)(R.color,"var(--ft-button-internal-color)")};
|
|
471
471
|
}
|
|
472
472
|
`,C.noTextSelect];var Nt=x(E());var ur=x(E());var fr=x(D()),U=x(dt()),yr=x(Ae()),Qt=x(E());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 Qt.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Qt.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Qt.Debouncer(10),this.moveRipple=o=>{var a,i;let{x:c,y:l}=this.getCoordinates(o),d=(i=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(c!=null?c-d.x:d.width/2),this.originY=Math.round(l!=null?l-d.y:d.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return fr.html`
|
|
@@ -482,7 +482,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
482
482
|
</div>
|
|
483
483
|
`}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)=>y=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(y)},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()}};A.elementDefinitions={};A.styles=ho;F([(0,U.property)({type:Boolean})],A.prototype,"primary",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"secondary",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"unbounded",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"activated",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"selected",void 0);F([(0,U.property)({type:Boolean})],A.prototype,"disabled",void 0);F([(0,U.state)()],A.prototype,"hovered",void 0);F([(0,U.state)()],A.prototype,"focused",void 0);F([(0,U.state)()],A.prototype,"pressed",void 0);F([(0,U.state)()],A.prototype,"rippling",void 0);F([(0,U.state)()],A.prototype,"originX",void 0);F([(0,U.state)()],A.prototype,"originY",void 0);F([(0,U.query)(".ft-ripple")],A.prototype,"ripple",void 0);F([(0,U.query)(".ft-ripple--effect")],A.prototype,"rippleEffect",void 0);(0,ur.customElement)("ft-ripple")(A);var ca=x(E());var ia=x(D()),T=x(dt()),ce=x(E());var $r=x(E());var Te=globalThis,ge=Te.trustedTypes,gr=ge?ge.createPolicy("lit-html",{createHTML:e=>e}):void 0,Or="$lit$",xt=`lit$${Math.random().toFixed(9).slice(2)}$`,Cr="?"+xt,Pa=`<${Cr}>`,Lt=document,me=()=>Lt.createComment(""),te=e=>e===null||typeof e!="object"&&typeof e!="function",ze=Array.isArray,Wa=e=>ze(e)||typeof e?.[Symbol.iterator]=="function",Be=`[
|
|
484
484
|
\f\r]`,Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,mr=/-->/g,hr=/>/g,Et=RegExp(`>|${Be}(?:([^\\s"'>=/]+)(${Be}*=${Be}*(?:[^
|
|
485
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),br=/'/g,xr=/"/g,vr=/^(?:script|style|textarea|title)$/i,He=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Nr=He(1),wr=He(2),Er=He(3),ee=Symbol.for("lit-noChange"),
|
|
485
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),br=/'/g,xr=/"/g,vr=/^(?:script|style|textarea|title)$/i,He=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),Nr=He(1),wr=He(2),Er=He(3),ee=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),Sr=new WeakMap,Rt=Lt.createTreeWalker(Lt,129);function Rr(e,o){if(!ze(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return gr!==void 0?gr.createHTML(o):o}var ka=(e,o)=>{let a=e.length-1,i=[],c,l=o===2?"<svg>":o===3?"<math>":"",d=Jt;for(let p=0;p<a;p++){let y=e[p],h,O,b=-1,N=0;for(;N<y.length&&(d.lastIndex=N,O=d.exec(y),O!==null);)N=d.lastIndex,d===Jt?O[1]==="!--"?d=mr:O[1]!==void 0?d=hr:O[2]!==void 0?(vr.test(O[2])&&(c=RegExp("</"+O[2],"g")),d=Et):O[3]!==void 0&&(d=Et):d===Et?O[0]===">"?(d=c??Jt,b=-1):O[1]===void 0?b=-2:(b=d.lastIndex-O[2].length,h=O[1],d=O[3]===void 0?Et:O[3]==='"'?xr:br):d===xr||d===br?d=Et:d===mr||d===hr?d=Jt:(d=Et,c=void 0);let v=d===Et&&e[p+1].startsWith("/>")?" ":"";l+=d===Jt?y+Pa:b>=0?(i.push(h),y.slice(0,b)+Or+y.slice(b)+xt+v):y+xt+(b===-2?p:v)}return[Rr(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,y=this.parts,[h,O]=ka(o,a);if(this.el=e.createElement(h,i),Rt.currentNode=this.el.content,a===2||a===3){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(c=Rt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let b of c.getAttributeNames())if(b.endsWith(Or)){let N=O[d++],v=c.getAttribute(b).split(xt),w=/([.?@])?(.*)/.exec(N);y.push({type:1,index:l,name:w[2],strings:v,ctor:w[1]==="."?$e:w[1]==="?"?Pe:w[1]==="@"?We:Zt}),c.removeAttribute(b)}else b.startsWith(xt)&&(y.push({type:6,index:l}),c.removeAttribute(b));if(vr.test(c.tagName)){let b=c.textContent.split(xt),N=b.length-1;if(N>0){c.textContent=ge?ge.emptyScript:"";for(let v=0;v<N;v++)c.append(b[v],me()),Rt.nextNode(),y.push({type:2,index:++l});c.append(b[N],me())}}}else if(c.nodeType===8)if(c.data===Cr)y.push({type:2,index:l});else{let b=-1;for(;(b=c.data.indexOf(xt,b+1))!==-1;)y.push({type:7,index:l}),b+=xt.length-1}l++}}static createElement(o,a){let i=Lt.createElement("template");return i.innerHTML=o,i}};function Gt(e,o,a=e,i){if(o===ee)return o;let c=i!==void 0?a._$Co?.[i]:a._$Cl,l=te(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=Gt(e,c._$AS(e,o.values),c,i)),o}var Ie=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??Lt).importNode(a,!0);Rt.currentNode=c;let l=Rt.nextNode(),d=0,p=0,y=i[0];for(;y!==void 0;){if(d===y.index){let h;y.type===2?h=new he(l,l.nextSibling,this,o):y.type===1?h=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(h=new ke(l,this,o)),this._$AV.push(h),y=i[++p]}d!==y?.index&&(l=Rt.nextNode(),d++)}return Rt.currentNode=Lt,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++}},he=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,i,c){this.type=2,this._$AH=_,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=Gt(this,o,a),te(o)?o===_||o==null||o===""?(this._$AH!==_&&this._$AR(),this._$AH=_):o!==this._$AH&&o!==ee&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Wa(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!==_&&te(this._$AH)?this._$AA.nextSibling.data=o:this.T(Lt.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(Rr(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new Ie(c,this),d=l.u(this.options);l.p(a),this.T(d),this._$AH=l}}_$AC(o){let a=Sr.get(o.strings);return a===void 0&&Sr.set(o.strings,a=new oe(o)),a}k(o){ze(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(me()),this.O(me()),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))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,i,c,l){this.type=1,this._$AH=_,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=_}_$AI(o,a=this,i,c){let l=this.strings,d=!1;if(l===void 0)o=Gt(this,o,a,0),d=!te(o)||o!==this._$AH&&o!==ee,d&&(this._$AH=o);else{let p=o,y,h;for(o=l[0],y=0;y<l.length-1;y++)h=Gt(this,p[i+y],a,y),h===ee&&(h=this._$AH[y]),d||=!te(h)||h!==this._$AH[y],h===_?o=_:o!==_&&(o+=(h??"")+l[y+1]),this._$AH[y]=h}d&&!c&&this.j(o)}j(o){o===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},$e=class extends Zt{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===_?void 0:o}},Pe=class extends Zt{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==_)}},We=class extends Zt{constructor(o,a,i,c,l){super(o,a,i,c,l),this.type=5}_$AI(o,a=this){if((o=Gt(this,o,a,0)??_)===ee)return;let i=this._$AH,c=o===_&&i!==_||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==_&&(i===_||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)}},ke=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){Gt(this,o)}};var Ta=Te.litHtmlPolyfillSupport;Ta?.(oe,he),(Te.litHtmlVersions??=[]).push("3.3.0");var Ar=Symbol.for(""),za=e=>{if(e?.r===Ar)return e?._$litStatic$},_e=e=>({_$litStatic$:e,r:Ar});var Lr=new Map,De=e=>(o,...a)=>{let i=a.length,c,l,d=[],p=[],y,h=0,O=!1;for(;h<i;){for(y=o[h];h<i&&(l=a[h],(c=za(l))!==void 0);)y+=c+o[++h],O=!0;h!==i&&p.push(l),d.push(y),h++}if(h===i&&d.push(o[i]),O){let b=d.join("$$lit$$");(o=Lr.get(b))===void 0&&(d.raw=d,Lr.set(b,o=d)),a=p}return e(o,...a)},Ue=De(Nr),Hd=De(wr),_d=De(Er);var Ge=x(dt()),Ir=x(E());var St;(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"})(St||(St={}));var Br=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 Ir.FtLitElement{constructor(){super(...arguments),this.variant=St.body1}render(){return this.element?Ue`
|
|
486
486
|
<${_e(this.element)}
|
|
487
487
|
part="text"
|
|
488
488
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -519,7 +519,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
519
519
|
position: relative;
|
|
520
520
|
word-break: break-word;
|
|
521
521
|
}
|
|
522
|
-
`;var Tr=["top","right","bottom","left"],kr=["start","end"],Me=Tr.reduce((e,o)=>e.concat(o,o+"-"+kr[0],o+"-"+kr[1]),[]),zr=Math.min,Hr=Math.max;var Ha={left:"right",right:"left",bottom:"top",top:"bottom"},_a={start:"end",end:"start"};function Ke(e,o,a){return Hr(e,zr(o,a))}function be(e,o){return typeof e=="function"?e(o):e}function Kt(e){return e.split("-")[0]}function Ot(e){return e.split("-")[1]}function Fe(e){return e==="x"?"y":"x"}function Ve(e){return e==="y"?"height":"width"}function xe(e){return["top","bottom"].includes(Kt(e))?"y":"x"}function je(e){return Fe(xe(e))}function _r(e,o,a){a===void 0&&(a=!1);let i=Ot(e),c=je(e),l=Ve(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=Ze(d)),[d,Ze(d)]}function Dr(e){return e.replace(/start|end/g,o=>_a[o])}function Ze(e){return e.replace(/left|right|bottom|top/g,o=>Ha[o])}function Da(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ur(e){return typeof e!="number"?Da(e):{top:e,right:e,bottom:e,left:e}}function At(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 Gr(e,o,a){let{reference:i,floating:c}=e,l=xe(o),d=je(o),p=Ve(d),y=Kt(o),h=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,N=i[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:i.y-c.height};break;case"bottom":v={x:O,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:b};break;case"left":v={x:i.x-c.width,y:b};break;default:v={x:i.x,y:i.y}}switch(Ot(o)){case"start":v[d]-=N*(a&&h?-1:1);break;case"end":v[d]+=N*(a&&h?-1:1);break}return v}var Zr=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),y=await(d.isRTL==null?void 0:d.isRTL(o)),h=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=Gr(h,i,y),N=i,v={},w=0;for(let I=0;I<p.length;I++){let{name:W,fn:$}=p[I],{x:k,y:M,data:ht,reset:G}=await $({x:O,y:b,initialPlacement:i,placement:N,strategy:c,middlewareData:v,rects:h,platform:d,elements:{reference:e,floating:o}});O=k??O,b=M??b,v={...v,[W]:{...v[W],...ht}},G&&w<=50&&(w++,typeof G=="object"&&(G.placement&&(N=G.placement),G.rects&&(h=G.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):G.rects),{x:O,y:b}=Gr(h,N,y)),I=-1)}return{x:O,y:b,placement:N,strategy:c,middlewareData:v}};async function Ye(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:N=!1,padding:v=0}=be(o,e),w=Ur(v),W=p[N?b==="floating"?"reference":"floating":b],$=At(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(W)))==null||a?W:W.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),k=b==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,M=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),ht=await(l.isElement==null?void 0:l.isElement(M))?await(l.getScale==null?void 0:l.getScale(M))||{x:1,y:1}:{x:1,y:1},G=At(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:k,offsetParent:M,strategy:y}):k);return{top:($.top-G.top+w.top)/ht.y,bottom:(G.bottom-$.bottom+w.bottom)/ht.y,left:($.left-G.left+w.left)/ht.x,right:(G.right-$.right+w.right)/ht.x}}function Ua(e,o,a){return(e?[...a.filter(c=>Ot(c)===e),...a.filter(c=>Ot(c)!==e)]:a.filter(c=>Kt(c)===c)).filter(c=>e?Ot(c)===e||(o?Dr(c)!==c:!1):!0)}var Xe=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:y,elements:h}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:N=Me,autoAlignment:v=!0,...w}=be(e,o),I=b!==void 0||N===Me?Ua(b||null,v,N):N,W=await Ye(o,w),$=((a=d.autoPlacement)==null?void 0:a.index)||0,k=I[$];if(k==null)return{};let M=_r(k,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==k)return{reset:{placement:I[0]}};let ht=[W[Kt(k)],W[M[0]],W[M[1]]],G=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:k,overflows:ht}],ro=I[$+1];if(ro)return{data:{index:$+1,overflows:G},reset:{placement:ro}};let ao=G.map(rt=>{let Yt=Ot(rt.placement);return[rt.placement,Yt&&O?rt.overflows.slice(0,2).reduce((Na,wa)=>Na+wa,0):rt.overflows[0],rt.overflows]}).sort((rt,Yt)=>rt[1]-Yt[1]),no=((c=ao.filter(rt=>rt[2].slice(0,Ot(rt[0])?2:3).every(Yt=>Yt<=0))[0])==null?void 0:c[0])||ao[0][0];return no!==p?{data:{index:$+1,overflows:G},reset:{placement:no}}:{}}}};var qe=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:W=>{let{x:$,y:k}=W;return{x:$,y:k}}},...y}=be(e,o),h={x:a,y:i},O=await Ye(o,y),b=xe(Kt(c)),N=Fe(b),v=h[N],w=h[b];if(l){let W=N==="y"?"top":"left",$=N==="y"?"bottom":"right",k=v+O[W],M=v-O[$];v=Ke(k,v,M)}if(d){let W=b==="y"?"top":"left",$=b==="y"?"bottom":"right",k=w+O[W],M=w-O[$];w=Ke(k,w,M)}let I=p.fn({...o,[N]:v,[b]:w});return{...I,data:{x:I.x-a,y:I.y-i,enabled:{[N]:l,[b]:d}}}}}};var Qe=Math.min,Ft=Math.max,re=Math.round;var yt=e=>({x:e,y:e});function ut(e){return Kr(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function gt(e){var o;return(o=(Kr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Kr(e){return e instanceof Node||e instanceof V(e).Node}function it(e){return e instanceof Element||e instanceof V(e).Element}function et(e){return e instanceof HTMLElement||e instanceof V(e).HTMLElement}function Mr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof V(e).ShadowRoot}function Vt(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=X(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function Fr(e){return["table","td","th"].includes(ut(e))}function Oe(e){let o=Ce(),a=X(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function Vr(e){let o=Bt(e);for(;et(o)&&!ae(o);){if(Oe(o))return o;o=Bt(o)}return null}function Ce(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ae(e){return["html","body","#document"].includes(ut(e))}function X(e){return V(e).getComputedStyle(e)}function ne(e){return it(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bt(e){if(ut(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Mr(e)&&e.host||gt(e);return Mr(o)?o.host:o}function jr(e){let o=Bt(e);return ae(o)?e.ownerDocument?e.ownerDocument.body:e.body:et(o)&&Vt(o)?o:jr(o)}function Se(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=jr(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=V(c);return l?o.concat(d,d.visualViewport||[],Vt(c)?c:[],d.frameElement&&a?Se(d.frameElement):[]):o.concat(c,Se(c,[],a))}function qr(e){let o=X(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=et(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=re(a)!==l||re(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function Qr(e){return it(e)?e:e.contextElement}function jt(e){let o=Qr(e);if(!et(o))return yt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=qr(o),d=(l?re(a.width):a.width)/i,p=(l?re(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var Ma=yt(0);function Jr(e){let o=V(e);return!Ce()||!o.visualViewport?Ma:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ka(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==V(e)?!1:o}function ie(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Qr(e),d=yt(1);o&&(i?it(i)&&(d=jt(i)):d=jt(e));let p=Ka(l,a,i)?Jr(l):yt(0),y=(c.left+p.x)/d.x,h=(c.top+p.y)/d.y,O=c.width/d.x,b=c.height/d.y;if(l){let N=V(l),v=i&&it(i)?V(i):i,w=N.frameElement;for(;w&&i&&v!==N;){let I=jt(w),W=w.getBoundingClientRect(),$=X(w),k=W.left+(w.clientLeft+parseFloat($.paddingLeft))*I.x,M=W.top+(w.clientTop+parseFloat($.paddingTop))*I.y;y*=I.x,h*=I.y,O*=I.x,b*=I.y,y+=k,h+=M,w=V(w).frameElement}}return At({width:O,height:b,x:y,y:h})}function Fa(e){let{rect:o,offsetParent:a,strategy:i}=e,c=et(a),l=gt(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=yt(1),y=yt(0);if((c||!c&&i!=="fixed")&&((ut(a)!=="body"||Vt(l))&&(d=ne(a)),et(a))){let h=ie(a);p=jt(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+y.x,y:o.y*p.y-d.scrollTop*p.y+y.y}}function Va(e){return Array.from(e.getClientRects())}function ta(e){return ie(gt(e)).left+ne(e).scrollLeft}function ja(e){let o=gt(e),a=ne(e),i=e.ownerDocument.body,c=Ft(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Ft(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ta(e),p=-a.scrollTop;return X(i).direction==="rtl"&&(d+=Ft(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Ya(e,o){let a=V(e),i=gt(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,y=0;if(c){l=c.width,d=c.height;let h=Ce();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:d,x:p,y}}function Xa(e,o){let a=ie(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=et(e)?jt(e):yt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=i*l.y;return{width:d,height:p,x:y,y:h}}function Yr(e,o,a){let i;if(o==="viewport")i=Ya(e,a);else if(o==="document")i=ja(gt(e));else if(it(o))i=Xa(o,a);else{let c=Jr(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return At(i)}function ea(e,o){let a=Bt(e);return a===o||!it(a)||ae(a)?!1:X(a).position==="fixed"||ea(a,o)}function qa(e,o){let a=o.get(e);if(a)return a;let i=Se(e,[],!1).filter(p=>it(p)&&ut(p)!=="body"),c=null,l=X(e).position==="fixed",d=l?Bt(e):e;for(;it(d)&&!ae(d);){let p=X(d),y=Oe(d);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||Vt(d)&&!y&&ea(e,d))?i=i.filter(O=>O!==d):c=p,d=Bt(d)}return o.set(e,i),i}function Qa(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?qa(o,this._c):[].concat(a),i],p=d[0],y=d.reduce((h,O)=>{let b=Yr(o,O,c);return h.top=Ft(b.top,h.top),h.right=Qe(b.right,h.right),h.bottom=Qe(b.bottom,h.bottom),h.left=Ft(b.left,h.left),h},Yr(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function Ja(e){return qr(e)}function tn(e,o,a){let i=et(o),c=gt(o),l=a==="fixed",d=ie(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=yt(0);if(i||!i&&!l)if((ut(o)!=="body"||Vt(c))&&(p=ne(o)),i){let h=ie(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ta(c));return{x:d.left+p.scrollLeft-y.x,y:d.top+p.scrollTop-y.y,width:d.width,height:d.height}}function Xr(e,o){return!et(e)||X(e).position==="fixed"?null:o?o(e):e.offsetParent}function oa(e,o){let a=V(e);if(!et(e))return a;let i=Xr(e,o);for(;i&&Fr(i)&&X(i).position==="static";)i=Xr(i,o);return i&&(ut(i)==="html"||ut(i)==="body"&&X(i).position==="static"&&!Oe(i))?a:i||Vr(e)||a}var en=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||oa,l=this.getDimensions;return{reference:tn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function on(e){return X(e).direction==="rtl"}var ve={convertOffsetParentRelativeRectToViewportRelativeRect:Fa,getDocumentElement:gt,getClippingRect:Qa,getOffsetParent:oa,getElementRects:en,getClientRects:Va,getDimensions:Ja,getScale:jt,isElement:it,isRTL:on};var ra=(e,o,a)=>{let i=new Map,c={platform:ve,...a},l={...c.platform,_c:i};return Zr(e,o,{...c,platform:l})};function aa(e){return rn(e)}function Je(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function rn(e){for(let o=e;o;o=Je(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Je(e);o;o=Je(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 na(e,o,a){return ra(e,o,{platform:{...ve,getOffsetParent:i=>ve.getOffsetParent(i,aa)},middleware:[qe({crossAxis:!0}),Xe({allowedPlacements:[a]})]})}var j=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},B=class extends ce.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 ce.Debouncer,this.revealDebouncer=new ce.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ia.html`
|
|
522
|
+
`;var Tr=["top","right","bottom","left"],kr=["start","end"],Me=Tr.reduce((e,o)=>e.concat(o,o+"-"+kr[0],o+"-"+kr[1]),[]),zr=Math.min,Hr=Math.max;var Ha={left:"right",right:"left",bottom:"top",top:"bottom"},_a={start:"end",end:"start"};function Ke(e,o,a){return Hr(e,zr(o,a))}function be(e,o){return typeof e=="function"?e(o):e}function Kt(e){return e.split("-")[0]}function Ot(e){return e.split("-")[1]}function Fe(e){return e==="x"?"y":"x"}function Ve(e){return e==="y"?"height":"width"}function xe(e){return["top","bottom"].includes(Kt(e))?"y":"x"}function je(e){return Fe(xe(e))}function _r(e,o,a){a===void 0&&(a=!1);let i=Ot(e),c=je(e),l=Ve(c),d=c==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(d=Ze(d)),[d,Ze(d)]}function Dr(e){return e.replace(/start|end/g,o=>_a[o])}function Ze(e){return e.replace(/left|right|bottom|top/g,o=>Ha[o])}function Da(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ur(e){return typeof e!="number"?Da(e):{top:e,right:e,bottom:e,left:e}}function At(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 Gr(e,o,a){let{reference:i,floating:c}=e,l=xe(o),d=je(o),p=Ve(d),y=Kt(o),h=l==="y",O=i.x+i.width/2-c.width/2,b=i.y+i.height/2-c.height/2,N=i[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:i.y-c.height};break;case"bottom":v={x:O,y:i.y+i.height};break;case"right":v={x:i.x+i.width,y:b};break;case"left":v={x:i.x-c.width,y:b};break;default:v={x:i.x,y:i.y}}switch(Ot(o)){case"start":v[d]-=N*(a&&h?-1:1);break;case"end":v[d]+=N*(a&&h?-1:1);break}return v}var Zr=async(e,o,a)=>{let{placement:i="bottom",strategy:c="absolute",middleware:l=[],platform:d}=a,p=l.filter(Boolean),y=await(d.isRTL==null?void 0:d.isRTL(o)),h=await d.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:b}=Gr(h,i,y),N=i,v={},w=0;for(let I=0;I<p.length;I++){let{name:W,fn:$}=p[I],{x:k,y:M,data:ht,reset:Z}=await $({x:O,y:b,initialPlacement:i,placement:N,strategy:c,middlewareData:v,rects:h,platform:d,elements:{reference:e,floating:o}});O=k??O,b=M??b,v={...v,[W]:{...v[W],...ht}},Z&&w<=50&&(w++,typeof Z=="object"&&(Z.placement&&(N=Z.placement),Z.rects&&(h=Z.rects===!0?await d.getElementRects({reference:e,floating:o,strategy:c}):Z.rects),{x:O,y:b}=Gr(h,N,y)),I=-1)}return{x:O,y:b,placement:N,strategy:c,middlewareData:v}};async function Ye(e,o){var a;o===void 0&&(o={});let{x:i,y:c,platform:l,rects:d,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:b="floating",altBoundary:N=!1,padding:v=0}=be(o,e),w=Ur(v),W=p[N?b==="floating"?"reference":"floating":b],$=At(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(W)))==null||a?W:W.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),k=b==="floating"?{x:i,y:c,width:d.floating.width,height:d.floating.height}:d.reference,M=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),ht=await(l.isElement==null?void 0:l.isElement(M))?await(l.getScale==null?void 0:l.getScale(M))||{x:1,y:1}:{x:1,y:1},Z=At(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:k,offsetParent:M,strategy:y}):k);return{top:($.top-Z.top+w.top)/ht.y,bottom:(Z.bottom-$.bottom+w.bottom)/ht.y,left:($.left-Z.left+w.left)/ht.x,right:(Z.right-$.right+w.right)/ht.x}}function Ua(e,o,a){return(e?[...a.filter(c=>Ot(c)===e),...a.filter(c=>Ot(c)!==e)]:a.filter(c=>Kt(c)===c)).filter(c=>e?Ot(c)===e||(o?Dr(c)!==c:!1):!0)}var Xe=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:y,elements:h}=o,{crossAxis:O=!1,alignment:b,allowedPlacements:N=Me,autoAlignment:v=!0,...w}=be(e,o),I=b!==void 0||N===Me?Ua(b||null,v,N):N,W=await Ye(o,w),$=((a=d.autoPlacement)==null?void 0:a.index)||0,k=I[$];if(k==null)return{};let M=_r(k,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==k)return{reset:{placement:I[0]}};let ht=[W[Kt(k)],W[M[0]],W[M[1]]],Z=[...((i=d.autoPlacement)==null?void 0:i.overflows)||[],{placement:k,overflows:ht}],ro=I[$+1];if(ro)return{data:{index:$+1,overflows:Z},reset:{placement:ro}};let ao=Z.map(rt=>{let Yt=Ot(rt.placement);return[rt.placement,Yt&&O?rt.overflows.slice(0,2).reduce((Na,wa)=>Na+wa,0):rt.overflows[0],rt.overflows]}).sort((rt,Yt)=>rt[1]-Yt[1]),no=((c=ao.filter(rt=>rt[2].slice(0,Ot(rt[0])?2:3).every(Yt=>Yt<=0))[0])==null?void 0:c[0])||ao[0][0];return no!==p?{data:{index:$+1,overflows:Z},reset:{placement:no}}:{}}}};var qe=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:W=>{let{x:$,y:k}=W;return{x:$,y:k}}},...y}=be(e,o),h={x:a,y:i},O=await Ye(o,y),b=xe(Kt(c)),N=Fe(b),v=h[N],w=h[b];if(l){let W=N==="y"?"top":"left",$=N==="y"?"bottom":"right",k=v+O[W],M=v-O[$];v=Ke(k,v,M)}if(d){let W=b==="y"?"top":"left",$=b==="y"?"bottom":"right",k=w+O[W],M=w-O[$];w=Ke(k,w,M)}let I=p.fn({...o,[N]:v,[b]:w});return{...I,data:{x:I.x-a,y:I.y-i,enabled:{[N]:l,[b]:d}}}}}};var Qe=Math.min,Ft=Math.max,re=Math.round;var yt=e=>({x:e,y:e});function ut(e){return Kr(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function gt(e){var o;return(o=(Kr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Kr(e){return e instanceof Node||e instanceof V(e).Node}function it(e){return e instanceof Element||e instanceof V(e).Element}function et(e){return e instanceof HTMLElement||e instanceof V(e).HTMLElement}function Mr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof V(e).ShadowRoot}function Vt(e){let{overflow:o,overflowX:a,overflowY:i,display:c}=X(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+a)&&!["inline","contents"].includes(c)}function Fr(e){return["table","td","th"].includes(ut(e))}function Oe(e){let o=Ce(),a=X(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(a.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(a.contain||"").includes(i))}function Vr(e){let o=Bt(e);for(;et(o)&&!ae(o);){if(Oe(o))return o;o=Bt(o)}return null}function Ce(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ae(e){return["html","body","#document"].includes(ut(e))}function X(e){return V(e).getComputedStyle(e)}function ne(e){return it(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bt(e){if(ut(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Mr(e)&&e.host||gt(e);return Mr(o)?o.host:o}function jr(e){let o=Bt(e);return ae(o)?e.ownerDocument?e.ownerDocument.body:e.body:et(o)&&Vt(o)?o:jr(o)}function Se(e,o,a){var i;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=jr(e),l=c===((i=e.ownerDocument)==null?void 0:i.body),d=V(c);return l?o.concat(d,d.visualViewport||[],Vt(c)?c:[],d.frameElement&&a?Se(d.frameElement):[]):o.concat(c,Se(c,[],a))}function qr(e){let o=X(e),a=parseFloat(o.width)||0,i=parseFloat(o.height)||0,c=et(e),l=c?e.offsetWidth:a,d=c?e.offsetHeight:i,p=re(a)!==l||re(i)!==d;return p&&(a=l,i=d),{width:a,height:i,$:p}}function Qr(e){return it(e)?e:e.contextElement}function jt(e){let o=Qr(e);if(!et(o))return yt(1);let a=o.getBoundingClientRect(),{width:i,height:c,$:l}=qr(o),d=(l?re(a.width):a.width)/i,p=(l?re(a.height):a.height)/c;return(!d||!Number.isFinite(d))&&(d=1),(!p||!Number.isFinite(p))&&(p=1),{x:d,y:p}}var Ma=yt(0);function Jr(e){let o=V(e);return!Ce()||!o.visualViewport?Ma:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ka(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==V(e)?!1:o}function ie(e,o,a,i){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=Qr(e),d=yt(1);o&&(i?it(i)&&(d=jt(i)):d=jt(e));let p=Ka(l,a,i)?Jr(l):yt(0),y=(c.left+p.x)/d.x,h=(c.top+p.y)/d.y,O=c.width/d.x,b=c.height/d.y;if(l){let N=V(l),v=i&&it(i)?V(i):i,w=N.frameElement;for(;w&&i&&v!==N;){let I=jt(w),W=w.getBoundingClientRect(),$=X(w),k=W.left+(w.clientLeft+parseFloat($.paddingLeft))*I.x,M=W.top+(w.clientTop+parseFloat($.paddingTop))*I.y;y*=I.x,h*=I.y,O*=I.x,b*=I.y,y+=k,h+=M,w=V(w).frameElement}}return At({width:O,height:b,x:y,y:h})}function Fa(e){let{rect:o,offsetParent:a,strategy:i}=e,c=et(a),l=gt(a);if(a===l)return o;let d={scrollLeft:0,scrollTop:0},p=yt(1),y=yt(0);if((c||!c&&i!=="fixed")&&((ut(a)!=="body"||Vt(l))&&(d=ne(a)),et(a))){let h=ie(a);p=jt(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+y.x,y:o.y*p.y-d.scrollTop*p.y+y.y}}function Va(e){return Array.from(e.getClientRects())}function ta(e){return ie(gt(e)).left+ne(e).scrollLeft}function ja(e){let o=gt(e),a=ne(e),i=e.ownerDocument.body,c=Ft(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Ft(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),d=-a.scrollLeft+ta(e),p=-a.scrollTop;return X(i).direction==="rtl"&&(d+=Ft(o.clientWidth,i.clientWidth)-c),{width:c,height:l,x:d,y:p}}function Ya(e,o){let a=V(e),i=gt(e),c=a.visualViewport,l=i.clientWidth,d=i.clientHeight,p=0,y=0;if(c){l=c.width,d=c.height;let h=Ce();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:d,x:p,y}}function Xa(e,o){let a=ie(e,!0,o==="fixed"),i=a.top+e.clientTop,c=a.left+e.clientLeft,l=et(e)?jt(e):yt(1),d=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=i*l.y;return{width:d,height:p,x:y,y:h}}function Yr(e,o,a){let i;if(o==="viewport")i=Ya(e,a);else if(o==="document")i=ja(gt(e));else if(it(o))i=Xa(o,a);else{let c=Jr(e);i={...o,x:o.x-c.x,y:o.y-c.y}}return At(i)}function ea(e,o){let a=Bt(e);return a===o||!it(a)||ae(a)?!1:X(a).position==="fixed"||ea(a,o)}function qa(e,o){let a=o.get(e);if(a)return a;let i=Se(e,[],!1).filter(p=>it(p)&&ut(p)!=="body"),c=null,l=X(e).position==="fixed",d=l?Bt(e):e;for(;it(d)&&!ae(d);){let p=X(d),y=Oe(d);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||Vt(d)&&!y&&ea(e,d))?i=i.filter(O=>O!==d):c=p,d=Bt(d)}return o.set(e,i),i}function Qa(e){let{element:o,boundary:a,rootBoundary:i,strategy:c}=e,d=[...a==="clippingAncestors"?qa(o,this._c):[].concat(a),i],p=d[0],y=d.reduce((h,O)=>{let b=Yr(o,O,c);return h.top=Ft(b.top,h.top),h.right=Qe(b.right,h.right),h.bottom=Qe(b.bottom,h.bottom),h.left=Ft(b.left,h.left),h},Yr(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function Ja(e){return qr(e)}function tn(e,o,a){let i=et(o),c=gt(o),l=a==="fixed",d=ie(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=yt(0);if(i||!i&&!l)if((ut(o)!=="body"||Vt(c))&&(p=ne(o)),i){let h=ie(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=ta(c));return{x:d.left+p.scrollLeft-y.x,y:d.top+p.scrollTop-y.y,width:d.width,height:d.height}}function Xr(e,o){return!et(e)||X(e).position==="fixed"?null:o?o(e):e.offsetParent}function oa(e,o){let a=V(e);if(!et(e))return a;let i=Xr(e,o);for(;i&&Fr(i)&&X(i).position==="static";)i=Xr(i,o);return i&&(ut(i)==="html"||ut(i)==="body"&&X(i).position==="static"&&!Oe(i))?a:i||Vr(e)||a}var en=async function(e){let{reference:o,floating:a,strategy:i}=e,c=this.getOffsetParent||oa,l=this.getDimensions;return{reference:tn(o,await c(a),i),floating:{x:0,y:0,...await l(a)}}};function on(e){return X(e).direction==="rtl"}var ve={convertOffsetParentRelativeRectToViewportRelativeRect:Fa,getDocumentElement:gt,getClippingRect:Qa,getOffsetParent:oa,getElementRects:en,getClientRects:Va,getDimensions:Ja,getScale:jt,isElement:it,isRTL:on};var ra=(e,o,a)=>{let i=new Map,c={platform:ve,...a},l={...c.platform,_c:i};return Zr(e,o,{...c,platform:l})};function aa(e){return rn(e)}function Je(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function rn(e){for(let o=e;o;o=Je(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Je(e);o;o=Je(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 na(e,o,a){return ra(e,o,{platform:{...ve,getOffsetParent:i=>ve.getOffsetParent(i,aa)},middleware:[qe({crossAxis:!0}),Xe({allowedPlacements:[a]})]})}var j=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},B=class extends ce.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 ce.Debouncer,this.revealDebouncer=new ce.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ia.html`
|
|
523
523
|
<div part="container"
|
|
524
524
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
525
525
|
@mouseenter=${this.onHover}
|
|
@@ -549,8 +549,11 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
549
549
|
<div></div>
|
|
550
550
|
<div></div>
|
|
551
551
|
</div>
|
|
552
|
-
`}};It.styles=ar;(0,ga.customElement)("ft-loader")(It);var vt=x(D()),to=x(Ae()),
|
|
553
|
-
<ft-ripple part="ripple"
|
|
552
|
+
`}};It.styles=ar;(0,ga.customElement)("ft-loader")(It);var vt=x(D()),to=x(Ae()),z=x(dt()),G=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},L=class extends(0,Nt.toFtFormComponent)(Nt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.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=vt.html`
|
|
553
|
+
<ft-ripple part="ripple"
|
|
554
|
+
?disabled=${this.isDisabled()}
|
|
555
|
+
?activated=${this.activated}
|
|
556
|
+
></ft-ripple>
|
|
554
557
|
<ft-typography part="label"
|
|
555
558
|
variant=${this.typographyVariant}
|
|
556
559
|
element="span"
|
|
@@ -586,7 +589,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
586
589
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
587
590
|
`:vt.html`
|
|
588
591
|
<slot part="icon" name="icon"></slot>
|
|
589
|
-
`}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,Nt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":A,"ft-tooltip":B,"ft-typography":tt,"ft-icon":q,"ft-loader":It};
|
|
592
|
+
`}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,Nt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};L.elementDefinitions={"ft-ripple":A,"ft-tooltip":B,"ft-typography":tt,"ft-icon":q,"ft-loader":It};G([(0,z.property)()],L.prototype,"href",void 0);G([(0,z.property)()],L.prototype,"target",void 0);G([(0,z.property)()],L.prototype,"type",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"disabled",void 0);G([(0,z.property)()],L.prototype,"label",void 0);G([(0,z.property)()],L.prototype,"icon",void 0);G([(0,z.property)()],L.prototype,"iconVariant",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"trailingIcon",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"loading",void 0);G([(0,z.property)({attribute:"aria-label"})],L.prototype,"ariaLabel",void 0);G([(0,z.property)()],L.prototype,"tooltipPosition",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"hideTooltip",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"forceTooltip",void 0);G([(0,z.property)({type:Boolean})],L.prototype,"activated",void 0);G([(0,z.query)(".ft-button")],L.prototype,"button",void 0);G([(0,z.query)(".ft-button--label slot")],L.prototype,"slottedContent",void 0);G([(0,z.query)("[part=tooltip]")],L.prototype,"tooltip",void 0);var we=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},ot=class extends L{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ot.styles=[ma.safariEllipsisFix,sr];we([(0,se.property)({type:Boolean})],ot.prototype,"primary",void 0);we([(0,se.property)({type:Boolean})],ot.prototype,"outlined",void 0);we([(0,se.property)({type:Boolean})],ot.prototype,"dense",void 0);we([(0,se.property)({type:Boolean})],ot.prototype,"round",void 0);var pe=x(dt());var Re=x(E());var ha=x(D()),f=x(E());var ba=[ha.css`
|
|
590
593
|
:host {
|
|
591
594
|
display: inline-block;
|
|
592
595
|
max-width: 100%;
|