@fluid-topics/ft-floating-menu 1.0.55 → 1.0.57

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.
@@ -51,6 +51,30 @@
51
51
  opacity: 0;
52
52
  }
53
53
 
54
+ .ft-ripple .ft-ripple--effect {
55
+ aspect-ratio: 1;
56
+ width: auto;
57
+ height: auto;
58
+ min-width: 170%;
59
+ min-height: 170%;
60
+ }
61
+
62
+ .ft-ripple .ft-ripple--background{
63
+ width: 100%;
64
+ height: 100%;
65
+ }
66
+
67
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
68
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
69
+ aspect-ratio: 1;
70
+ width: auto;
71
+ height: auto;
72
+ max-width: unset;
73
+ max-height: unset;
74
+ min-width: 100%;
75
+ min-height: 100%;
76
+ }
77
+
54
78
  .ft-ripple .ft-ripple--background {
55
79
  background-color: ${p.backgroundColor};
56
80
  }
@@ -78,8 +102,6 @@
78
102
  .ft-ripple .ft-ripple--background {
79
103
  top: 0;
80
104
  left: 0;
81
- height: 100%;
82
- width: 100%;
83
105
  transition: opacity 75ms linear;
84
106
  }
85
107
 
@@ -119,14 +141,8 @@
119
141
  opacity: ${p.opacityContentOnSurfacePressed};
120
142
  transform: translate(-50%, -50%) scale(1);
121
143
  }
122
- `;var y,b=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class v extends i.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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 e.html`
144
+ `;var y,b=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class v extends i.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 i.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i.Debouncer(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 e.html`
123
145
  <style>
124
- .ft-ripple .ft-ripple--effect,
125
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
126
- width: ${this.rippleSize}px;
127
- height: ${this.rippleSize}px;
128
- }
129
-
130
146
  .ft-ripple .ft-ripple--effect {
131
147
  left: ${this.originX}px;
132
148
  top: ${this.originY}px;
@@ -136,13 +152,13 @@
136
152
  <div class="ft-ripple--background"></div>
137
153
  <div class="ft-ripple--effect"></div>
138
154
  </div>
139
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}v.elementDefinitions={},v.styles=g,b([o.property({type:Boolean})],v.prototype,"primary",void 0),b([o.property({type:Boolean})],v.prototype,"secondary",void 0),b([o.property({type:Boolean})],v.prototype,"unbounded",void 0),b([o.property({type:Boolean})],v.prototype,"activated",void 0),b([o.property({type:Boolean})],v.prototype,"selected",void 0),b([o.property({type:Boolean})],v.prototype,"disabled",void 0),b([o.state()],v.prototype,"hovered",void 0),b([o.state()],v.prototype,"focused",void 0),b([o.state()],v.prototype,"pressed",void 0),b([o.state()],v.prototype,"rippling",void 0),b([o.state()],v.prototype,"rippleSize",void 0),b([o.state()],v.prototype,"originX",void 0),b([o.state()],v.prototype,"originY",void 0),b([o.query(".ft-ripple")],v.prototype,"ripple",void 0),b([o.query(".ft-ripple--effect")],v.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(v);const m=window,$=m.trustedTypes,w=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,S="?"+z,C=`<${S}>`,O=document,E=()=>O.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,I="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,B=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),F=/'/g,Z=/"/g,_=/^(?:script|style|textarea|title)$/i,U=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),R=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),D=new WeakMap,P=O.createTreeWalker(O,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=M;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===M?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=B):void 0!==a[3]&&(r=B):r===B?">"===a[0]?(r=null!=n?n:M,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?B:'"'===a[3]?Z:F):r===Z||r===F?r=B:r===T||r===A?r=M:(r=B,n=void 0);const f=r===B&&t[i+1].startsWith("/>")?" ":"";s+=r===M?e+C:p>=0?(o.push(l),e.slice(0,p)+k+e.slice(p)+z+f):e+z+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(l):l,o]};class K{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=H(t,i);if(this.el=K.createElement(a,e),P.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=P.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(k)||i.startsWith(z)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+k).split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?J:"@"===i[1]?Q:q})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(z),i=t.length-1;if(i>0){o.textContent=$?$.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],E()),P.nextNode(),l.push({type:2,index:++n});o.append(t[i],E())}}}else if(8===o.nodeType)if(o.data===S)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,i){const e=O.createElement("template");return e.innerHTML=t,e}}function L(t,i,e=t,o){var n,s,r,l;if(i===R)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=j(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=L(t,a._$AS(t,i.values),a,o)),i}class G{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:O).importNode(e,!0);P.currentNode=n;let s=P.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new V(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new tt(s,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=P.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class V{constructor(t,i,e,o){var n;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=L(this,t,i),j(t)?t===W||null==t||""===t?(this._$AH!==W&&this._$AR(),this._$AH=W):t!==this._$AH&&t!==R&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==W&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new G(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=D.get(t.strings);return void 0===i&&D.set(t.strings,i=new K(t)),i}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new V(this.k(E()),this.k(E()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class q{constructor(t,i,e,o,n){this.type=1,this._$AH=W,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=W}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=L(this,t,i,0),s=!j(t)||t!==this._$AH&&t!==R,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=L(this,o[e+r],i,r),l===R&&(l=this._$AH[r]),s||(s=!j(l)||l!==this._$AH[r]),l===W?t=W:t!==W&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===W?void 0:t}}const Y=$?$.emptyScript:"";class J extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==W?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=L(this,t,i,0))&&void 0!==e?e:W)===R)return;const o=this._$AH,n=t===W&&o!==W||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==W&&(o===W||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const it=m.litHtmlPolyfillSupport;null==it||it(K,V),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.7.3");
155
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}v.elementDefinitions={},v.styles=g,b([o.property({type:Boolean})],v.prototype,"primary",void 0),b([o.property({type:Boolean})],v.prototype,"secondary",void 0),b([o.property({type:Boolean})],v.prototype,"unbounded",void 0),b([o.property({type:Boolean})],v.prototype,"activated",void 0),b([o.property({type:Boolean})],v.prototype,"selected",void 0),b([o.property({type:Boolean})],v.prototype,"disabled",void 0),b([o.state()],v.prototype,"hovered",void 0),b([o.state()],v.prototype,"focused",void 0),b([o.state()],v.prototype,"pressed",void 0),b([o.state()],v.prototype,"rippling",void 0),b([o.state()],v.prototype,"originX",void 0),b([o.state()],v.prototype,"originY",void 0),b([o.query(".ft-ripple")],v.prototype,"ripple",void 0),b([o.query(".ft-ripple--effect")],v.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(v);const m=window,$=m.trustedTypes,w=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,S="?"+z,C=`<${S}>`,O=document,E=()=>O.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,N=Array.isArray,I="[ \t\n\f\r]",M=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,A=/>/g,B=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),F=/'/g,Z=/"/g,_=/^(?:script|style|textarea|title)$/i,U=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),W=Symbol.for("lit-noChange"),R=Symbol.for("lit-nothing"),D=new WeakMap,P=O.createTreeWalker(O,129,null,!1),H=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=M;for(let i=0;i<e;i++){const e=t[i];let l,a,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,a=r.exec(e),null!==a);)h=r.lastIndex,r===M?"!--"===a[1]?r=T:void 0!==a[1]?r=A:void 0!==a[2]?(_.test(a[2])&&(n=RegExp("</"+a[2],"g")),r=B):void 0!==a[3]&&(r=B):r===B?">"===a[0]?(r=null!=n?n:M,p=-1):void 0===a[1]?p=-2:(p=r.lastIndex-a[2].length,l=a[1],r=void 0===a[3]?B:'"'===a[3]?Z:F):r===Z||r===F?r=B:r===T||r===A?r=M:(r=B,n=void 0);const f=r===B&&t[i+1].startsWith("/>")?" ":"";s+=r===M?e+C:p>=0?(o.push(l),e.slice(0,p)+k+e.slice(p)+z+f):e+z+(-2===p?(o.push(void 0),i):f)}const l=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==w?w.createHTML(l):l,o]};class K{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,l=this.parts,[a,p]=H(t,i);if(this.el=K.createElement(a,e),P.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=P.nextNode())&&l.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(k)||i.startsWith(z)){const e=p[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+k).split(z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?X:"?"===i[1]?J:"@"===i[1]?Q:q})}else l.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(_.test(o.tagName)){const t=o.textContent.split(z),i=t.length-1;if(i>0){o.textContent=$?$.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],E()),P.nextNode(),l.push({type:2,index:++n});o.append(t[i],E())}}}else if(8===o.nodeType)if(o.data===S)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,i){const e=O.createElement("template");return e.innerHTML=t,e}}function L(t,i,e=t,o){var n,s,r,l;if(i===W)return i;let a=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const p=j(i)?void 0:i._$litDirective$;return(null==a?void 0:a.constructor)!==p&&(null===(s=null==a?void 0:a._$AO)||void 0===s||s.call(a,!1),void 0===p?a=void 0:(a=new p(t),a._$AT(t,e,o)),void 0!==o?(null!==(r=(l=e)._$Co)&&void 0!==r?r:l._$Co=[])[o]=a:e._$Cl=a),void 0!==a&&(i=L(t,a._$AS(t,i.values),a,o)),i}class G{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:O).importNode(e,!0);P.currentNode=n;let s=P.nextNode(),r=0,l=0,a=o[0];for(;void 0!==a;){if(r===a.index){let i;2===a.type?i=new V(s,s.nextSibling,this,t):1===a.type?i=new a.ctor(s,a.name,a.strings,this,t):6===a.type&&(i=new tt(s,this,t)),this._$AV.push(i),a=o[++l]}r!==(null==a?void 0:a.index)&&(s=P.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class V{constructor(t,i,e,o){var n;this.type=2,this._$AH=R,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=L(this,t,i),j(t)?t===R||null==t||""===t?(this._$AH!==R&&this._$AR(),this._$AH=R):t!==this._$AH&&t!==W&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>N(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==R&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(O.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=K.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new G(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=D.get(t.strings);return void 0===i&&D.set(t.strings,i=new K(t)),i}T(t){N(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new V(this.k(E()),this.k(E()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class q{constructor(t,i,e,o,n){this.type=1,this._$AH=R,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=R}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=L(this,t,i,0),s=!j(t)||t!==this._$AH&&t!==W,s&&(this._$AH=t);else{const o=t;let r,l;for(t=n[0],r=0;r<n.length-1;r++)l=L(this,o[e+r],i,r),l===W&&(l=this._$AH[r]),s||(s=!j(l)||l!==this._$AH[r]),l===R?t=R:t!==R&&(t+=(null!=l?l:"")+n[r+1]),this._$AH[r]=l}s&&!o&&this.j(t)}j(t){t===R?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class X extends q{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===R?void 0:t}}const Y=$?$.emptyScript:"";class J extends q{constructor(){super(...arguments),this.type=4}j(t){t&&t!==R?this.element.setAttribute(this.name,Y):this.element.removeAttribute(this.name)}}class Q extends q{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=L(this,t,i,0))&&void 0!==e?e:R)===W)return;const o=this._$AH,n=t===R&&o!==R||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==R&&(o===R||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class tt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){L(this,t)}}const it=m.litHtmlPolyfillSupport;null==it||it(K,V),(null!==(y=m.litHtmlVersions)&&void 0!==y?y:m.litHtmlVersions=[]).push("2.7.3");
140
156
  /**
141
157
  * @license
142
158
  * Copyright 2020 Google LLC
143
159
  * SPDX-License-Identifier: BSD-3-Clause
144
160
  */
145
- const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void 0:t._$litStatic$},nt=t=>({_$litStatic$:t,r:et}),st=new Map,rt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=ot(s));)a+=n+i[++p],h=!0;p!==o&&l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=st.get(t))&&(r.raw=r,st.set(t,i=r)),e=l}return t(i,...e)})(U);var lt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(lt||(lt={}));const at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),pt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ht={fontFamily:pt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ft=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",at),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ht.fontSize,"20px"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ht.fontWeight,"normal"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ht.letterSpacing,"0.15px"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ht.lineHeight,"1.2"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ht.textTransform,"inherit"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",at),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ht.fontSize,"14px"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ht.fontWeight,"normal"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ht.letterSpacing,"0.105px"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ht.lineHeight,"1.7"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ht.textTransform,"inherit"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",pt),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ht.fontSize,"16px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ht.fontWeight,"600"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ht.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ht.lineHeight,"1.5"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ht.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",pt),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ht.fontSize,"14px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ht.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ht.letterSpacing,"0.098px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ht.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ht.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",pt),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ht.fontSize,"16px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ht.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ht.letterSpacing,"0.496px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ht.lineHeight,"1.5"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ht.textTransform,"inherit"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",pt),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ht.fontSize,"14px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ht.fontWeight,"normal"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ht.letterSpacing,"0.252px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ht.lineHeight,"1.4"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ht.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",pt),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ht.fontSize,"12px"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ht.fontWeight,"normal"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ht.letterSpacing,"0.396px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ht.lineHeight,"1.33"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ht.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",pt),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ht.fontSize,"10px"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ht.fontWeight,"normal"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ht.letterSpacing,"0.33px"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ht.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ht.textTransform,"inherit"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",pt),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ht.fontSize,"10px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ht.fontWeight,"normal"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ht.letterSpacing,"1.5px"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ht.lineHeight,"1.6"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ht.textTransform,"uppercase"),fi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",pt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ht.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ht.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ht.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ht.textTransform,"uppercase")},di=e.css`
161
+ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void 0:t._$litStatic$},nt=t=>({_$litStatic$:t,r:et}),st=new Map,rt=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],l=[];let a,p=0,h=!1;for(;p<o;){for(a=i[p];p<o&&void 0!==(s=e[p],n=ot(s));)a+=n+i[++p],h=!0;p!==o&&l.push(s),r.push(a),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=st.get(t))&&(r.raw=r,st.set(t,i=r)),e=l}return t(i,...e)})(U);var lt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(lt||(lt={}));const at=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),pt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),ht={fontFamily:pt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},ft=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",at),dt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",ht.fontSize,"20px"),ct=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",ht.fontWeight,"normal"),ut=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",ht.letterSpacing,"0.15px"),xt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",ht.lineHeight,"1.2"),gt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",ht.textTransform,"inherit"),yt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",at),bt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",ht.fontSize,"14px"),vt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",ht.fontWeight,"normal"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",ht.letterSpacing,"0.105px"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",ht.lineHeight,"1.7"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",ht.textTransform,"inherit"),kt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",pt),zt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",ht.fontSize,"16px"),St=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",ht.fontWeight,"600"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",ht.letterSpacing,"0.144px"),Ot=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",ht.lineHeight,"1.5"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",ht.textTransform,"inherit"),jt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",pt),Nt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",ht.fontSize,"14px"),It=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",ht.fontWeight,"normal"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",ht.letterSpacing,"0.098px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",ht.lineHeight,"1.7"),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",ht.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",pt),Ft=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",ht.fontSize,"16px"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",ht.fontWeight,"normal"),_t=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",ht.letterSpacing,"0.496px"),Ut=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",ht.lineHeight,"1.5"),Wt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",ht.textTransform,"inherit"),Rt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",pt),Dt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",ht.fontSize,"14px"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",ht.fontWeight,"normal"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",ht.letterSpacing,"0.252px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",ht.lineHeight,"1.4"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",ht.textTransform,"inherit"),Gt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",pt),Vt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",ht.fontSize,"12px"),qt=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",ht.fontWeight,"normal"),Xt=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",ht.letterSpacing,"0.396px"),Yt=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",ht.lineHeight,"1.33"),Jt=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",ht.textTransform,"inherit"),Qt=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",pt),ti=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",ht.fontSize,"10px"),ii=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",ht.fontWeight,"normal"),ei=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",ht.letterSpacing,"0.33px"),oi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",ht.lineHeight,"1.6"),ni=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",ht.textTransform,"inherit"),si=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",pt),ri=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",ht.fontSize,"10px"),li=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",ht.fontWeight,"normal"),ai=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",ht.letterSpacing,"1.5px"),pi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",ht.lineHeight,"1.6"),hi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",ht.textTransform,"uppercase"),fi={fontFamily:i.FtCssVariableFactory.extend("--ft-typography-button-font-family",pt),fontSize:i.FtCssVariableFactory.extend("--ft-typography-button-font-size",ht.fontSize,"14px"),fontWeight:i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",ht.fontWeight,"600"),letterSpacing:i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",ht.letterSpacing,"1.246px"),lineHeight:i.FtCssVariableFactory.extend("--ft-typography-button-line-height",ht.lineHeight,"1.15"),textTransform:i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",ht.textTransform,"uppercase")},di=e.css`
146
162
  .ft-typography--title {
147
163
  font-family: ${ft};
148
164
  font-size: ${dt};
@@ -186,11 +202,11 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
186
202
  font-weight: ${Zt};
187
203
  letter-spacing: ${_t};
188
204
  line-height: ${Ut};
189
- text-transform: ${Rt};
205
+ text-transform: ${Wt};
190
206
  }
191
207
  `,yi=e.css`
192
208
  .ft-typography--body2 {
193
- font-family: ${Wt};
209
+ font-family: ${Rt};
194
210
  font-size: ${Dt};
195
211
  font-weight: ${Pt};
196
212
  letter-spacing: ${Ht};
@@ -367,7 +383,7 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
367
383
  <div></div>
368
384
  <div></div>
369
385
  </div>
370
- `}}var Zi,_i;Fi.styles=Bi,i.customElement("ft-loader")(Fi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Zi||(Zi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(_i||(_i={})),new Map([...["abw"].map((t=>[t,_i.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((t=>[t,_i.AUDIO])),...["avi"].map((t=>[t,_i.AVI])),...["chm","xhs"].map((t=>[t,_i.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((t=>[t,_i.CODE])),...["csv"].map((t=>[t,_i.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_i.DITA])),...["epub"].map((t=>[t,_i.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_i.EXCEL])),...["flac"].map((t=>[t,_i.FLAC])),...["gif"].map((t=>[t,_i.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_i.GZIP])),...["html","htm","xhtml"].map((t=>[t,_i.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,_i.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_i.JPEG])),...["json"].map((t=>[t,_i.JSON])),...["m4a","m4p"].map((t=>[t,_i.M4A])),...["mov","qt"].map((t=>[t,_i.MOV])),...["mp3"].map((t=>[t,_i.MP3])),...["mp4","m4v"].map((t=>[t,_i.MP4])),...["ogg","oga"].map((t=>[t,_i.OGG])),...["pdf","ps"].map((t=>[t,_i.PDF])),...["png"].map((t=>[t,_i.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_i.POWERPOINT])),...["rar"].map((t=>[t,_i.RAR])),...["stp"].map((t=>[t,_i.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_i.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((t=>[t,_i.VIDEO])),...["wav"].map((t=>[t,_i.WAV])),...["wma"].map((t=>[t,_i.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_i.WORD])),...["xml","xsl","rdf"].map((t=>[t,_i.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_i.YAML])),...["zip"].map((t=>[t,_i.ZIP]))]);const Ui={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Ri=e.css`
386
+ `}}var Zi,_i;Fi.styles=Bi,i.customElement("ft-loader")(Fi),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Zi||(Zi={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(_i||(_i={})),new Map([...["abw"].map((t=>[t,_i.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((t=>[t,_i.AUDIO])),...["avi"].map((t=>[t,_i.AVI])),...["chm","xhs"].map((t=>[t,_i.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((t=>[t,_i.CODE])),...["csv"].map((t=>[t,_i.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,_i.DITA])),...["epub"].map((t=>[t,_i.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,_i.EXCEL])),...["flac"].map((t=>[t,_i.FLAC])),...["gif"].map((t=>[t,_i.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,_i.GZIP])),...["html","htm","xhtml"].map((t=>[t,_i.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,_i.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,_i.JPEG])),...["json"].map((t=>[t,_i.JSON])),...["m4a","m4p"].map((t=>[t,_i.M4A])),...["mov","qt"].map((t=>[t,_i.MOV])),...["mp3"].map((t=>[t,_i.MP3])),...["mp4","m4v"].map((t=>[t,_i.MP4])),...["ogg","oga"].map((t=>[t,_i.OGG])),...["pdf","ps"].map((t=>[t,_i.PDF])),...["png"].map((t=>[t,_i.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,_i.POWERPOINT])),...["rar"].map((t=>[t,_i.RAR])),...["stp"].map((t=>[t,_i.STP])),...["txt","rtf","md","mdown"].map((t=>[t,_i.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((t=>[t,_i.VIDEO])),...["wav"].map((t=>[t,_i.WAV])),...["wma"].map((t=>[t,_i.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,_i.WORD])),...["xml","xsl","rdf"].map((t=>[t,_i.XML])),...["yaml","yml","x-yaml"].map((t=>[t,_i.YAML])),...["zip"].map((t=>[t,_i.ZIP]))]);const Ui={size:i.FtCssVariableFactory.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:i.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:i.FtCssVariableFactory.extend("--ft-icon-file-format-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:i.FtCssVariableFactory.extend("--ft-icon-material-font-family",i.FtCssVariableFactory.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:i.FtCssVariableFactory.create("--ft-icon-vertical-align","UNKNOWN","unset")},Wi=e.css`
371
387
  :host, i.ft-icon {
372
388
  display: inline-flex;
373
389
  align-items: center;
@@ -415,12 +431,12 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
415
431
  .ft-icon--material {
416
432
  font-family: ${Ui.materialFontFamily}, "Material Icons", sans-serif;
417
433
  }
418
- `;var Wi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Wi||(Wi={}));var Di=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Pi extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Wi).includes(this.variant)?this.variant:Wi.fluid_topics,i=t!==Wi.material||!!this.value;return e.html`
434
+ `;var Ri;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Ri||(Ri={}));var Di=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Pi extends i.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Ri).includes(this.variant)?this.variant:Ri.fluid_topics,i=t!==Ri.material||!!this.value;return e.html`
419
435
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
420
436
  ${s.unsafeHTML(this.resolvedIcon)}
421
437
  <slot ?hidden=${i}></slot>
422
438
  </i>
423
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Wi.file_format:this.resolvedIcon=null!==(t=_i[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Wi.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Zi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Ri,Di([o.property()],Pi.prototype,"variant",void 0),Di([o.property()],Pi.prototype,"value",void 0),Di([o.state()],Pi.prototype,"resolvedIcon",void 0),Di([o.query("slot")],Pi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Pi);const Hi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ki={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Hi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",fi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Hi),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Li=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Gi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Li,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Li)},Vi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),qi=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),Xi=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Yi=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),Ji=[e.css`
439
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.textContent;switch(this.variant){case Ri.file_format:this.resolvedIcon=null!==(t=_i[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Ri.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(i=Zi[o.replace("-","_").toUpperCase()])&&void 0!==i?i:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Pi.elementDefinitions={},Pi.styles=Wi,Di([o.property()],Pi.prototype,"variant",void 0),Di([o.property()],Pi.prototype,"value",void 0),Di([o.state()],Pi.prototype,"resolvedIcon",void 0),Di([o.query("slot")],Pi.prototype,"slottedContent",void 0),i.customElement("ft-icon")(Pi);const Hi=i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorPrimary),Ki={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorSurface),borderRadius:i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusL),color:Hi,fontSize:i.FtCssVariableFactory.extend("--ft-button-font-size",fi.fontSize),iconSize:i.FtCssVariableFactory.create("--ft-button-icon-size","SIZE","24px"),rippleColor:i.FtCssVariableFactory.extend("--ft-button-ripple-color",Hi),verticalPadding:i.FtCssVariableFactory.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:i.FtCssVariableFactory.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:i.FtCssVariableFactory.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:i.FtCssVariableFactory.external(i.designSystemVariables.colorOpacityDisabled,"Design system")},Li=i.FtCssVariableFactory.extend("--ft-button-primary-color",i.FtCssVariableFactory.extend("--ft-button-color",i.designSystemVariables.colorOnPrimary)),Gi={backgroundColor:i.FtCssVariableFactory.extend("--ft-button-primary-background-color",i.FtCssVariableFactory.extend("--ft-button-background-color",i.designSystemVariables.colorPrimary)),color:Li,rippleColor:i.FtCssVariableFactory.extend("--ft-button-primary-ripple-color",Li)},Vi=i.FtCssVariableFactory.extend("--ft-button-dense-border-radius",i.FtCssVariableFactory.extend("--ft-button-border-radius",i.designSystemVariables.borderRadiusM)),qi=i.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","SIZE","2px"),Xi=i.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Yi=i.FtCssVariableFactory.create("--ft-button-dense-icon-padding","SIZE","4px"),Ji=[e.css`
424
440
  :host {
425
441
  display: inline-block;
426
442
  max-width: 100%;
@@ -621,7 +637,7 @@ const et=Symbol.for(""),ot=t=>{if((null==t?void 0:t.r)===et)return null==t?void
621
637
  <slot></slot>
622
638
  </ft-typography>
623
639
  </div>
624
- `}onClick(t){this.dispatchEvent(new ne(this.value))}}se.elementDefinitions={"ft-icon":Pi,"ft-ripple":v,"ft-typography":zi},se.styles=ee,oe([o.property()],se.prototype,"iconVariant",void 0),oe([o.property()],se.prototype,"icon",void 0),oe([o.property()],se.prototype,"value",void 0);var re=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class le extends CustomEvent{constructor(){super("close-ft-floating-menu")}}class ae extends i.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.iconVariant=Wi.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
640
+ `}onClick(t){this.dispatchEvent(new ne(this.value))}}se.elementDefinitions={"ft-icon":Pi,"ft-ripple":v,"ft-typography":zi},se.styles=ee,oe([o.property()],se.prototype,"iconVariant",void 0),oe([o.property()],se.prototype,"icon",void 0),oe([o.property()],se.prototype,"value",void 0);var re=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class le extends CustomEvent{constructor(){super("close-ft-floating-menu")}}class ae extends i.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.iconVariant=Ri.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
625
641
  <div class="${n.classMap(t)}">
626
642
  <ft-button id="actions-button"
627
643
  part="button"
@@ -55,7 +55,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,z=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,P=document,L=()=>P.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=P.createTreeWalker(P,129,null,!1),it=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=W;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(r.lastIndex=c,l=r.exec(e),null!==l);)c=r.lastIndex,r===W?"!--"===l[1]?r=H:void 0!==l[1]?r=K:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?J:V):r===J||r===V?r=Z:r===H||r===K?r=W:(r=Z,n=void 0);const p=r===Z&&t[i+1].startsWith("/>")?" ":"";s+=r===W?e+T:h>=0?(o.push(a),e.slice(0,h)+F+e.slice(h)+B+p):e+B+(-2===h?(o.push(void 0),i):p)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==z?z.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=it(t,i);if(this.el=et.createElement(l,e),tt.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=tt.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(F)||i.startsWith(B)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+F).split(B),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?at:"?"===i[1]?ht:"@"===i[1]?ct:rt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(q.test(o.tagName)){const t=o.textContent.split(B),i=t.length-1;if(i>0){o.textContent=j?j.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],L()),tt.nextNode(),a.push({type:2,index:++n});o.append(t[i],L())}}}else if(8===o.nodeType)if(o.data===A)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,i){const e=P.createElement("template");return e.innerHTML=t,e}}function ot(t,i,e=t,o){var n,s,r,a;if(i===Y)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=I(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=ot(t,l._$AS(t,i.values),l,o)),i}class nt{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:P).importNode(e,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new st(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new pt(s,this,t)),this._$AV.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=tt.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class st{constructor(t,i,e,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ot(this,t,i),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new nt(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Q.get(t.strings);return void 0===i&&Q.set(t.strings,i=new et(t)),i}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new st(this.k(L()),this.k(L()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class rt{constructor(t,i,e,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=ot(this,t,i,0),s=!I(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ot(this,o[e+r],i,r),a===Y&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=j?j.emptyScript:"";class ht extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends rt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=ot(this,t,i,0))&&void 0!==e?e:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}}const ft=U.litHtmlPolyfillSupport;null==ft||ft(et,st),(null!==(R=U.litHtmlVersions)&&void 0!==R?R:U.litHtmlVersions=[]).push("2.7.3");
58
+ var R;M.finalized=!0,M.elementProperties=new Map,M.elementStyles=[],M.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:M}),(null!==(w=$.reactiveElementVersions)&&void 0!==w?w:$.reactiveElementVersions=[]).push("1.6.1");const U=window,j=U.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,z="$lit$",B=`lit$${(Math.random()+"").slice(9)}$`,A="?"+B,T=`<${A}>`,P=document,L=()=>P.createComment(""),I=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,D="[ \t\n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,K=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),Y=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Q=new WeakMap,tt=P.createTreeWalker(P,129,null,!1),it=(t,i)=>{const e=t.length-1,o=[];let n,s=2===i?"<svg>":"",r=W;for(let i=0;i<e;i++){const e=t[i];let a,l,h=-1,c=0;for(;c<e.length&&(r.lastIndex=c,l=r.exec(e),null!==l);)c=r.lastIndex,r===W?"!--"===l[1]?r=H:void 0!==l[1]?r=K:void 0!==l[2]?(q.test(l[2])&&(n=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=n?n:W,h=-1):void 0===l[1]?h=-2:(h=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?J:V):r===J||r===V?r=Z:r===H||r===K?r=W:(r=Z,n=void 0);const p=r===Z&&t[i+1].startsWith("/>")?" ":"";s+=r===W?e+T:h>=0?(o.push(a),e.slice(0,h)+z+e.slice(h)+B+p):e+B+(-2===h?(o.push(void 0),i):p)}const a=s+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(a):a,o]};class et{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let n=0,s=0;const r=t.length-1,a=this.parts,[l,h]=it(t,i);if(this.el=et.createElement(l,e),tt.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=tt.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(z)||i.startsWith(B)){const e=h[s++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+z).split(B),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:i[2],strings:t,ctor:"."===i[1]?at:"?"===i[1]?ht:"@"===i[1]?ct:rt})}else a.push({type:6,index:n})}for(const i of t)o.removeAttribute(i)}if(q.test(o.tagName)){const t=o.textContent.split(B),i=t.length-1;if(i>0){o.textContent=j?j.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],L()),tt.nextNode(),a.push({type:2,index:++n});o.append(t[i],L())}}}else if(8===o.nodeType)if(o.data===A)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(B,t+1));)a.push({type:7,index:n}),t+=B.length-1}n++}}static createElement(t,i){const e=P.createElement("template");return e.innerHTML=t,e}}function ot(t,i,e=t,o){var n,s,r,a;if(i===Y)return i;let l=void 0!==o?null===(n=e._$Co)||void 0===n?void 0:n[o]:e._$Cl;const h=I(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==h&&(null===(s=null==l?void 0:l._$AO)||void 0===s||s.call(l,!1),void 0===h?l=void 0:(l=new h(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=ot(t,l._$AS(t,i.values),l,o)),i}class nt{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,n=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:P).importNode(e,!0);tt.currentNode=n;let s=tt.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new st(s,s.nextSibling,this,t):1===l.type?i=new l.ctor(s,l.name,l.strings,this,t):6===l.type&&(i=new pt(s,this,t)),this._$AV.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(s=tt.nextNode(),r++)}return n}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class st{constructor(t,i,e,o){var n;this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(n=null==o?void 0:o.isConnected)||void 0===n||n}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ot(this,t,i),I(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==Y&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==G&&I(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,n="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=et.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===n)this._$AH.v(e);else{const t=new nt(n,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=Q.get(t.strings);return void 0===i&&Q.set(t.strings,i=new et(t)),i}T(t){_(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const n of t)o===i.length?i.push(e=new st(this.k(L()),this.k(L()),this,this.options)):e=i[o],e._$AI(n),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class rt{constructor(t,i,e,o,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=G}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const n=this.strings;let s=!1;if(void 0===n)t=ot(this,t,i,0),s=!I(t)||t!==this._$AH&&t!==Y,s&&(this._$AH=t);else{const o=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=ot(this,o[e+r],i,r),a===Y&&(a=this._$AH[r]),s||(s=!I(a)||a!==this._$AH[r]),a===G?t=G:t!==G&&(t+=(null!=a?a:"")+n[r+1]),this._$AH[r]=a}s&&!o&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class at extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}const lt=j?j.emptyScript:"";class ht extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==G?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends rt{constructor(t,i,e,o,n){super(t,i,e,o,n),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=ot(this,t,i,0))&&void 0!==e?e:G)===Y)return;const o=this._$AH,n=t===G&&o!==G||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==G&&(o===G||n);n&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}}const ft=U.litHtmlPolyfillSupport;null==ft||ft(et,st),(null!==(R=U.litHtmlVersions)&&void 0!==R?R:U.litHtmlVersions=[]).push("2.7.3");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
@@ -93,9 +93,9 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
93
93
  display: inline-block;
94
94
  width: 0;
95
95
  }
96
- `;var Mt,Rt,Ut;window.ftReduxStores||(window.ftReduxStores={});const jt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ut=null===(Rt=null===(Mt=window.safari)||void 0===Mt?void 0:Mt.pushNotification)||void 0===Rt?void 0:Rt.toString())&&void 0!==Ut?Ut:""),zt={zIndex:bt.create("--ft-floating-menu-z-index","NUMBER","8"),maxWidth:bt.create("--ft-floating-menu-max-width","SIZE","300px"),maxHeight:bt.create("--ft-floating-menu-max-height","SIZE","500px"),textColor:bt.extend("--ft-floating-menu-text-color",gt.colorOnSurfaceHigh),colorSurface:bt.external(gt.colorSurface,"Design system"),menuElevation:bt.external(gt.elevation02,"Design system"),borderRadiusS:bt.external(gt.borderRadiusS,"Design system")},Ft=y`
96
+ `;var Mt,Rt,Ut;window.ftReduxStores||(window.ftReduxStores={});const jt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ut=null===(Rt=null===(Mt=window.safari)||void 0===Mt?void 0:Mt.pushNotification)||void 0===Rt?void 0:Rt.toString())&&void 0!==Ut?Ut:""),Ft={zIndex:bt.create("--ft-floating-menu-z-index","NUMBER","8"),maxWidth:bt.create("--ft-floating-menu-max-width","SIZE","300px"),maxHeight:bt.create("--ft-floating-menu-max-height","SIZE","500px"),textColor:bt.extend("--ft-floating-menu-text-color",gt.colorOnSurfaceHigh),colorSurface:bt.external(gt.colorSurface,"Design system"),menuElevation:bt.external(gt.elevation02,"Design system"),borderRadiusS:bt.external(gt.borderRadiusS,"Design system")},zt=y`
97
97
  .ft-floating-menu {
98
- color: ${zt.textColor};
98
+ color: ${Ft.textColor};
99
99
  display: inline-block;
100
100
  }
101
101
 
@@ -112,13 +112,13 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
112
112
  display: none;
113
113
  position: relative;
114
114
  overflow: auto;
115
- max-width: ${zt.maxWidth};
116
- max-height: ${zt.maxHeight};
117
- box-shadow: ${zt.menuElevation};
118
- background-color: ${zt.colorSurface};
119
- border-radius: ${zt.borderRadiusS};
120
- color: ${zt.textColor};
121
- z-index: ${zt.zIndex};
115
+ max-width: ${Ft.maxWidth};
116
+ max-height: ${Ft.maxHeight};
117
+ box-shadow: ${Ft.menuElevation};
118
+ background-color: ${Ft.colorSurface};
119
+ border-radius: ${Ft.borderRadiusS};
120
+ color: ${Ft.textColor};
121
+ z-index: ${Ft.zIndex};
122
122
  }
123
123
 
124
124
  .ft-floating-menu--open .ft-floating-menu--options {
@@ -156,6 +156,30 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
156
156
  opacity: 0;
157
157
  }
158
158
 
159
+ .ft-ripple .ft-ripple--effect {
160
+ aspect-ratio: 1;
161
+ width: auto;
162
+ height: auto;
163
+ min-width: 170%;
164
+ min-height: 170%;
165
+ }
166
+
167
+ .ft-ripple .ft-ripple--background{
168
+ width: 100%;
169
+ height: 100%;
170
+ }
171
+
172
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
173
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
174
+ aspect-ratio: 1;
175
+ width: auto;
176
+ height: auto;
177
+ max-width: unset;
178
+ max-height: unset;
179
+ min-width: 100%;
180
+ min-height: 100%;
181
+ }
182
+
159
183
  .ft-ripple .ft-ripple--background {
160
184
  background-color: ${_t.backgroundColor};
161
185
  }
@@ -183,8 +207,6 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
183
207
  .ft-ripple .ft-ripple--background {
184
208
  top: 0;
185
209
  left: 0;
186
- height: 100%;
187
- width: 100%;
188
210
  transition: opacity 75ms linear;
189
211
  }
190
212
 
@@ -224,14 +246,8 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
224
246
  opacity: ${_t.opacityContentOnSurfacePressed};
225
247
  transform: translate(-50%, -50%) scale(1);
226
248
  }
227
- `;var qt=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Xt extends Ct{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.rippleSize=0,this.originX=0,this.originY=0,this.resizeObserver=new ResizeObserver((()=>this.setRippleSize())),this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 X`
249
+ `;var qt=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Xt extends Ct{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 i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var i,e;let{x:o,y:n}=this.getCoordinates(t),s=null!==(e=null===(i=this.ripple)||void 0===i?void 0:i.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=o?o-s.x:s.width/2),this.originY=Math.round(null!=n?n-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 X`
228
250
  <style>
229
- .ft-ripple .ft-ripple--effect,
230
- .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
231
- width: ${this.rippleSize}px;
232
- height: ${this.rippleSize}px;
233
- }
234
-
235
251
  .ft-ripple .ft-ripple--effect {
236
252
  left: ${this.originX}px;
237
253
  top: ${this.originY}px;
@@ -241,13 +257,13 @@ var dt,ut;let xt=class extends M{constructor(){super(...arguments),this.renderOp
241
257
  <div class="ft-ripple--background"></div>
242
258
  <div class="ft-ripple--effect"></div>
243
259
  </div>
244
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.ripple&&this.resizeObserver.observe(this.ripple),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}updated(t){var i,e;super.updated(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true")),t.has("unbounded")&&this.setRippleSize()}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}setRippleSize(){if(this.ripple){const t=this.ripple.getBoundingClientRect();this.rippleSize=(this.unbounded?1:1.7)*Math.max(t.width,t.height)}}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e),this.setRippleSize()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.resizeObserver.disconnect(),this.endRipple()}}Xt.elementDefinitions={},Xt.styles=Jt,qt([o({type:Boolean})],Xt.prototype,"primary",void 0),qt([o({type:Boolean})],Xt.prototype,"secondary",void 0),qt([o({type:Boolean})],Xt.prototype,"unbounded",void 0),qt([o({type:Boolean})],Xt.prototype,"activated",void 0),qt([o({type:Boolean})],Xt.prototype,"selected",void 0),qt([o({type:Boolean})],Xt.prototype,"disabled",void 0),qt([n()],Xt.prototype,"hovered",void 0),qt([n()],Xt.prototype,"focused",void 0),qt([n()],Xt.prototype,"pressed",void 0),qt([n()],Xt.prototype,"rippling",void 0),qt([n()],Xt.prototype,"rippleSize",void 0),qt([n()],Xt.prototype,"originX",void 0),qt([n()],Xt.prototype,"originY",void 0),qt([r(".ft-ripple")],Xt.prototype,"ripple",void 0),qt([r(".ft-ripple--effect")],Xt.prototype,"rippleEffect",void 0),c("ft-ripple")(Xt);
260
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",n),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",n),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,n;return null!=i.x?({x:o,y:n}=i):null!=e.touches&&(o=e.touches[0].clientX,n=e.touches[0].clientY),{x:o,y:n}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Xt.elementDefinitions={},Xt.styles=Jt,qt([o({type:Boolean})],Xt.prototype,"primary",void 0),qt([o({type:Boolean})],Xt.prototype,"secondary",void 0),qt([o({type:Boolean})],Xt.prototype,"unbounded",void 0),qt([o({type:Boolean})],Xt.prototype,"activated",void 0),qt([o({type:Boolean})],Xt.prototype,"selected",void 0),qt([o({type:Boolean})],Xt.prototype,"disabled",void 0),qt([n()],Xt.prototype,"hovered",void 0),qt([n()],Xt.prototype,"focused",void 0),qt([n()],Xt.prototype,"pressed",void 0),qt([n()],Xt.prototype,"rippling",void 0),qt([n()],Xt.prototype,"originX",void 0),qt([n()],Xt.prototype,"originY",void 0),qt([r(".ft-ripple")],Xt.prototype,"ripple",void 0),qt([r(".ft-ripple--effect")],Xt.prototype,"rippleEffect",void 0),c("ft-ripple")(Xt);
245
261
  /**
246
262
  * @license
247
263
  * Copyright 2020 Google LLC
248
264
  * SPDX-License-Identifier: BSD-3-Clause
249
265
  */
250
- const Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void 0:t._$litStatic$},Qt=t=>({_$litStatic$:t,r:Yt}),ti=new Map,ii=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=Gt(s));)l+=n+i[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),c){const t=r.join("$$lit$$");void 0===(i=ti.get(t))&&(r.raw=r,ti.set(t,i=r)),e=a}return t(i,...e)})(X);var ei;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ei||(ei={}));const oi=bt.extend("--ft-typography-font-family",gt.titleFont),ni=bt.extend("--ft-typography-font-family",gt.contentFont),si={fontFamily:ni,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ri=bt.extend("--ft-typography-title-font-family",oi),ai=bt.extend("--ft-typography-title-font-size",si.fontSize,"20px"),li=bt.extend("--ft-typography-title-font-weight",si.fontWeight,"normal"),hi=bt.extend("--ft-typography-title-letter-spacing",si.letterSpacing,"0.15px"),ci=bt.extend("--ft-typography-title-line-height",si.lineHeight,"1.2"),pi=bt.extend("--ft-typography-title-text-transform",si.textTransform,"inherit"),fi=bt.extend("--ft-typography-title-dense-font-family",oi),di=bt.extend("--ft-typography-title-dense-font-size",si.fontSize,"14px"),ui=bt.extend("--ft-typography-title-dense-font-weight",si.fontWeight,"normal"),xi=bt.extend("--ft-typography-title-dense-letter-spacing",si.letterSpacing,"0.105px"),vi=bt.extend("--ft-typography-title-dense-line-height",si.lineHeight,"1.7"),bi=bt.extend("--ft-typography-title-dense-text-transform",si.textTransform,"inherit"),yi=bt.extend("--ft-typography-subtitle1-font-family",ni),gi=bt.extend("--ft-typography-subtitle1-font-size",si.fontSize,"16px"),mi=bt.extend("--ft-typography-subtitle1-font-weight",si.fontWeight,"600"),wi=bt.extend("--ft-typography-subtitle1-letter-spacing",si.letterSpacing,"0.144px"),$i=bt.extend("--ft-typography-subtitle1-line-height",si.lineHeight,"1.5"),Oi=bt.extend("--ft-typography-subtitle1-text-transform",si.textTransform,"inherit"),ki=bt.extend("--ft-typography-subtitle2-font-family",ni),Si=bt.extend("--ft-typography-subtitle2-font-size",si.fontSize,"14px"),Ci=bt.extend("--ft-typography-subtitle2-font-weight",si.fontWeight,"normal"),Ni=bt.extend("--ft-typography-subtitle2-letter-spacing",si.letterSpacing,"0.098px"),Ei=bt.extend("--ft-typography-subtitle2-line-height",si.lineHeight,"1.7"),Mi=bt.extend("--ft-typography-subtitle2-text-transform",si.textTransform,"inherit"),Ri=bt.extend("--ft-typography-body1-font-family",ni),Ui=bt.extend("--ft-typography-body1-font-size",si.fontSize,"16px"),ji=bt.extend("--ft-typography-body1-font-weight",si.fontWeight,"normal"),zi=bt.extend("--ft-typography-body1-letter-spacing",si.letterSpacing,"0.496px"),Fi=bt.extend("--ft-typography-body1-line-height",si.lineHeight,"1.5"),Bi=bt.extend("--ft-typography-body1-text-transform",si.textTransform,"inherit"),Ai=bt.extend("--ft-typography-body2-font-family",ni),Ti=bt.extend("--ft-typography-body2-font-size",si.fontSize,"14px"),Pi=bt.extend("--ft-typography-body2-font-weight",si.fontWeight,"normal"),Li=bt.extend("--ft-typography-body2-letter-spacing",si.letterSpacing,"0.252px"),Ii=bt.extend("--ft-typography-body2-line-height",si.lineHeight,"1.4"),_i=bt.extend("--ft-typography-body2-text-transform",si.textTransform,"inherit"),Di=bt.extend("--ft-typography-caption-font-family",ni),Wi=bt.extend("--ft-typography-caption-font-size",si.fontSize,"12px"),Hi=bt.extend("--ft-typography-caption-font-weight",si.fontWeight,"normal"),Ki=bt.extend("--ft-typography-caption-letter-spacing",si.letterSpacing,"0.396px"),Zi=bt.extend("--ft-typography-caption-line-height",si.lineHeight,"1.33"),Vi=bt.extend("--ft-typography-caption-text-transform",si.textTransform,"inherit"),Ji=bt.extend("--ft-typography-breadcrumb-font-family",ni),qi=bt.extend("--ft-typography-breadcrumb-font-size",si.fontSize,"10px"),Xi=bt.extend("--ft-typography-breadcrumb-font-weight",si.fontWeight,"normal"),Yi=bt.extend("--ft-typography-breadcrumb-letter-spacing",si.letterSpacing,"0.33px"),Gi=bt.extend("--ft-typography-breadcrumb-line-height",si.lineHeight,"1.6"),Qi=bt.extend("--ft-typography-breadcrumb-text-transform",si.textTransform,"inherit"),te=bt.extend("--ft-typography-overline-font-family",ni),ie=bt.extend("--ft-typography-overline-font-size",si.fontSize,"10px"),ee=bt.extend("--ft-typography-overline-font-weight",si.fontWeight,"normal"),oe=bt.extend("--ft-typography-overline-letter-spacing",si.letterSpacing,"1.5px"),ne=bt.extend("--ft-typography-overline-line-height",si.lineHeight,"1.6"),se=bt.extend("--ft-typography-overline-text-transform",si.textTransform,"uppercase"),re={fontFamily:bt.extend("--ft-typography-button-font-family",ni),fontSize:bt.extend("--ft-typography-button-font-size",si.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",si.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",si.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",si.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",si.textTransform,"uppercase")},ae=y`
266
+ const Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void 0:t._$litStatic$},Qt=t=>({_$litStatic$:t,r:Yt}),ti=new Map,ii=(t=>(i,...e)=>{const o=e.length;let n,s;const r=[],a=[];let l,h=0,c=!1;for(;h<o;){for(l=i[h];h<o&&void 0!==(s=e[h],n=Gt(s));)l+=n+i[++h],c=!0;h!==o&&a.push(s),r.push(l),h++}if(h===o&&r.push(i[o]),c){const t=r.join("$$lit$$");void 0===(i=ti.get(t))&&(r.raw=r,ti.set(t,i=r)),e=a}return t(i,...e)})(X);var ei;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(ei||(ei={}));const oi=bt.extend("--ft-typography-font-family",gt.titleFont),ni=bt.extend("--ft-typography-font-family",gt.contentFont),si={fontFamily:ni,fontSize:bt.create("--ft-typography-font-size","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","UNKNOWN","inherit")},ri=bt.extend("--ft-typography-title-font-family",oi),ai=bt.extend("--ft-typography-title-font-size",si.fontSize,"20px"),li=bt.extend("--ft-typography-title-font-weight",si.fontWeight,"normal"),hi=bt.extend("--ft-typography-title-letter-spacing",si.letterSpacing,"0.15px"),ci=bt.extend("--ft-typography-title-line-height",si.lineHeight,"1.2"),pi=bt.extend("--ft-typography-title-text-transform",si.textTransform,"inherit"),fi=bt.extend("--ft-typography-title-dense-font-family",oi),di=bt.extend("--ft-typography-title-dense-font-size",si.fontSize,"14px"),ui=bt.extend("--ft-typography-title-dense-font-weight",si.fontWeight,"normal"),xi=bt.extend("--ft-typography-title-dense-letter-spacing",si.letterSpacing,"0.105px"),vi=bt.extend("--ft-typography-title-dense-line-height",si.lineHeight,"1.7"),bi=bt.extend("--ft-typography-title-dense-text-transform",si.textTransform,"inherit"),yi=bt.extend("--ft-typography-subtitle1-font-family",ni),gi=bt.extend("--ft-typography-subtitle1-font-size",si.fontSize,"16px"),mi=bt.extend("--ft-typography-subtitle1-font-weight",si.fontWeight,"600"),wi=bt.extend("--ft-typography-subtitle1-letter-spacing",si.letterSpacing,"0.144px"),$i=bt.extend("--ft-typography-subtitle1-line-height",si.lineHeight,"1.5"),Oi=bt.extend("--ft-typography-subtitle1-text-transform",si.textTransform,"inherit"),ki=bt.extend("--ft-typography-subtitle2-font-family",ni),Si=bt.extend("--ft-typography-subtitle2-font-size",si.fontSize,"14px"),Ci=bt.extend("--ft-typography-subtitle2-font-weight",si.fontWeight,"normal"),Ni=bt.extend("--ft-typography-subtitle2-letter-spacing",si.letterSpacing,"0.098px"),Ei=bt.extend("--ft-typography-subtitle2-line-height",si.lineHeight,"1.7"),Mi=bt.extend("--ft-typography-subtitle2-text-transform",si.textTransform,"inherit"),Ri=bt.extend("--ft-typography-body1-font-family",ni),Ui=bt.extend("--ft-typography-body1-font-size",si.fontSize,"16px"),ji=bt.extend("--ft-typography-body1-font-weight",si.fontWeight,"normal"),Fi=bt.extend("--ft-typography-body1-letter-spacing",si.letterSpacing,"0.496px"),zi=bt.extend("--ft-typography-body1-line-height",si.lineHeight,"1.5"),Bi=bt.extend("--ft-typography-body1-text-transform",si.textTransform,"inherit"),Ai=bt.extend("--ft-typography-body2-font-family",ni),Ti=bt.extend("--ft-typography-body2-font-size",si.fontSize,"14px"),Pi=bt.extend("--ft-typography-body2-font-weight",si.fontWeight,"normal"),Li=bt.extend("--ft-typography-body2-letter-spacing",si.letterSpacing,"0.252px"),Ii=bt.extend("--ft-typography-body2-line-height",si.lineHeight,"1.4"),_i=bt.extend("--ft-typography-body2-text-transform",si.textTransform,"inherit"),Di=bt.extend("--ft-typography-caption-font-family",ni),Wi=bt.extend("--ft-typography-caption-font-size",si.fontSize,"12px"),Hi=bt.extend("--ft-typography-caption-font-weight",si.fontWeight,"normal"),Ki=bt.extend("--ft-typography-caption-letter-spacing",si.letterSpacing,"0.396px"),Zi=bt.extend("--ft-typography-caption-line-height",si.lineHeight,"1.33"),Vi=bt.extend("--ft-typography-caption-text-transform",si.textTransform,"inherit"),Ji=bt.extend("--ft-typography-breadcrumb-font-family",ni),qi=bt.extend("--ft-typography-breadcrumb-font-size",si.fontSize,"10px"),Xi=bt.extend("--ft-typography-breadcrumb-font-weight",si.fontWeight,"normal"),Yi=bt.extend("--ft-typography-breadcrumb-letter-spacing",si.letterSpacing,"0.33px"),Gi=bt.extend("--ft-typography-breadcrumb-line-height",si.lineHeight,"1.6"),Qi=bt.extend("--ft-typography-breadcrumb-text-transform",si.textTransform,"inherit"),te=bt.extend("--ft-typography-overline-font-family",ni),ie=bt.extend("--ft-typography-overline-font-size",si.fontSize,"10px"),ee=bt.extend("--ft-typography-overline-font-weight",si.fontWeight,"normal"),oe=bt.extend("--ft-typography-overline-letter-spacing",si.letterSpacing,"1.5px"),ne=bt.extend("--ft-typography-overline-line-height",si.lineHeight,"1.6"),se=bt.extend("--ft-typography-overline-text-transform",si.textTransform,"uppercase"),re={fontFamily:bt.extend("--ft-typography-button-font-family",ni),fontSize:bt.extend("--ft-typography-button-font-size",si.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight",si.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing",si.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height",si.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform",si.textTransform,"uppercase")},ae=y`
251
267
  .ft-typography--title {
252
268
  font-family: ${ri};
253
269
  font-size: ${ai};
@@ -289,8 +305,8 @@ const Yt=Symbol.for(""),Gt=t=>{if((null==t?void 0:t.r)===Yt)return null==t?void
289
305
  font-family: ${Ri};
290
306
  font-size: ${Ui};
291
307
  font-weight: ${ji};
292
- letter-spacing: ${zi};
293
- line-height: ${Fi};
308
+ letter-spacing: ${Fi};
309
+ line-height: ${zi};
294
310
  text-transform: ${Bi};
295
311
  }
296
312
  `,fe=y`
@@ -484,7 +500,7 @@ function(t,i,e){let o,n=t;return"object"==typeof t?(n=t.slot,o=t):o={flatten:i},
484
500
  * Copyright 2017 Google LLC
485
501
  * SPDX-License-Identifier: BSD-3-Clause
486
502
  */
487
- class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}je.directiveName="unsafeHTML",je.resultType=1;const ze=Tt(je);var Fe,Be;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Fe||(Fe={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Be||(Be={})),new Map([...["abw"].map((t=>[t,Be.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((t=>[t,Be.AUDIO])),...["avi"].map((t=>[t,Be.AVI])),...["chm","xhs"].map((t=>[t,Be.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((t=>[t,Be.CODE])),...["csv"].map((t=>[t,Be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Be.DITA])),...["epub"].map((t=>[t,Be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Be.EXCEL])),...["flac"].map((t=>[t,Be.FLAC])),...["gif"].map((t=>[t,Be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Be.GZIP])),...["html","htm","xhtml"].map((t=>[t,Be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Be.JPEG])),...["json"].map((t=>[t,Be.JSON])),...["m4a","m4p"].map((t=>[t,Be.M4A])),...["mov","qt"].map((t=>[t,Be.MOV])),...["mp3"].map((t=>[t,Be.MP3])),...["mp4","m4v"].map((t=>[t,Be.MP4])),...["ogg","oga"].map((t=>[t,Be.OGG])),...["pdf","ps"].map((t=>[t,Be.PDF])),...["png"].map((t=>[t,Be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Be.POWERPOINT])),...["rar"].map((t=>[t,Be.RAR])),...["stp"].map((t=>[t,Be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Be.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((t=>[t,Be.VIDEO])),...["wav"].map((t=>[t,Be.WAV])),...["wma"].map((t=>[t,Be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Be.WORD])),...["xml","xsl","rdf"].map((t=>[t,Be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Be.YAML])),...["zip"].map((t=>[t,Be.ZIP]))]);const Ae={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Te=y`
503
+ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||null==t)return this.ft=void 0,this.et=t;if(t===Y)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const i=[t];return i.raw=i,this.ft={_$litType$:this.constructor.resultType,strings:i,values:[]}}}je.directiveName="unsafeHTML",je.resultType=1;const Fe=Tt(je);var ze,Be;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(ze||(ze={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Be||(Be={})),new Map([...["abw"].map((t=>[t,Be.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((t=>[t,Be.AUDIO])),...["avi"].map((t=>[t,Be.AVI])),...["chm","xhs"].map((t=>[t,Be.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((t=>[t,Be.CODE])),...["csv"].map((t=>[t,Be.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Be.DITA])),...["epub"].map((t=>[t,Be.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Be.EXCEL])),...["flac"].map((t=>[t,Be.FLAC])),...["gif"].map((t=>[t,Be.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Be.GZIP])),...["html","htm","xhtml"].map((t=>[t,Be.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Be.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Be.JPEG])),...["json"].map((t=>[t,Be.JSON])),...["m4a","m4p"].map((t=>[t,Be.M4A])),...["mov","qt"].map((t=>[t,Be.MOV])),...["mp3"].map((t=>[t,Be.MP3])),...["mp4","m4v"].map((t=>[t,Be.MP4])),...["ogg","oga"].map((t=>[t,Be.OGG])),...["pdf","ps"].map((t=>[t,Be.PDF])),...["png"].map((t=>[t,Be.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Be.POWERPOINT])),...["rar"].map((t=>[t,Be.RAR])),...["stp"].map((t=>[t,Be.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Be.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((t=>[t,Be.VIDEO])),...["wav"].map((t=>[t,Be.WAV])),...["wma"].map((t=>[t,Be.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Be.WORD])),...["xml","xsl","rdf"].map((t=>[t,Be.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Be.YAML])),...["zip"].map((t=>[t,Be.ZIP]))]);const Ae={size:bt.create("--ft-icon-font-size","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family",bt.create("--ft-icon-font-family","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family",bt.create("--ft-icon-font-family","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","UNKNOWN","unset")},Te=y`
488
504
  :host, i.ft-icon {
489
505
  display: inline-flex;
490
506
  align-items: center;
@@ -534,10 +550,10 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
534
550
  }
535
551
  `;var Pe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Pe||(Pe={}));var Le=function(t,i,e,o){for(var n,s=arguments.length,r=s<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r);return s>3&&r&&Object.defineProperty(i,e,r),r};class Ie extends Ct{constructor(){super(...arguments),this.resolvedIcon=G}render(){const t=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,i=t!==Pe.material||!!this.value;return X`
536
552
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
537
- ${ze(this.resolvedIcon)}
553
+ ${Fe(this.resolvedIcon)}
538
554
  <slot ?hidden=${i}></slot>
539
555
  </i>
540
- `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Pe.file_format:this.resolvedIcon=null!==(t=Be[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Pe.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(i=Fe[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ie.elementDefinitions={},Ie.styles=Te,Le([o()],Ie.prototype,"variant",void 0),Le([o()],Ie.prototype,"value",void 0),Le([n()],Ie.prototype,"resolvedIcon",void 0),Le([r("slot")],Ie.prototype,"slottedContent",void 0),c("ft-icon")(Ie);const _e=bt.extend("--ft-button-color",gt.colorPrimary),De={backgroundColor:bt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",gt.borderRadiusL),color:_e,fontSize:bt.extend("--ft-button-font-size",re.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",_e),verticalPadding:bt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:bt.external(gt.colorOpacityDisabled,"Design system")},We=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",gt.colorOnPrimary)),He={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",gt.colorPrimary)),color:We,rippleColor:bt.extend("--ft-button-primary-ripple-color",We)},Ke=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",gt.borderRadiusM)),Ze=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ve=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Je=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),qe=[y`
556
+ `}get textContent(){var t,i;return null!==(i=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==i?i:""}update(t){super.update(t),["value","variant"].some((i=>t.has(i)))&&this.resolveIcon()}resolveIcon(){var t,i;let e=this.value||this.textContent;switch(this.variant){case Pe.file_format:this.resolvedIcon=null!==(t=Be[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Pe.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=null!==(i=ze[e.replace("-","_").toUpperCase()])&&void 0!==i?i:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Ie.elementDefinitions={},Ie.styles=Te,Le([o()],Ie.prototype,"variant",void 0),Le([o()],Ie.prototype,"value",void 0),Le([n()],Ie.prototype,"resolvedIcon",void 0),Le([r("slot")],Ie.prototype,"slottedContent",void 0),c("ft-icon")(Ie);const _e=bt.extend("--ft-button-color",gt.colorPrimary),De={backgroundColor:bt.extend("--ft-button-background-color",gt.colorSurface),borderRadius:bt.extend("--ft-button-border-radius",gt.borderRadiusL),color:_e,fontSize:bt.extend("--ft-button-font-size",re.fontSize),iconSize:bt.create("--ft-button-icon-size","SIZE","24px"),rippleColor:bt.extend("--ft-button-ripple-color",_e),verticalPadding:bt.create("--ft-button-vertical-padding","SIZE","6px"),horizontalPadding:bt.create("--ft-button-horizontal-padding","SIZE","8px"),iconPadding:bt.create("--ft-button-icon-padding","SIZE","8px"),opacityDisabled:bt.external(gt.colorOpacityDisabled,"Design system")},We=bt.extend("--ft-button-primary-color",bt.extend("--ft-button-color",gt.colorOnPrimary)),He={backgroundColor:bt.extend("--ft-button-primary-background-color",bt.extend("--ft-button-background-color",gt.colorPrimary)),color:We,rippleColor:bt.extend("--ft-button-primary-ripple-color",We)},Ke=bt.extend("--ft-button-dense-border-radius",bt.extend("--ft-button-border-radius",gt.borderRadiusM)),Ze=bt.create("--ft-button-dense-vertical-padding","SIZE","2px"),Ve=bt.create("--ft-button-dense-horizontal-padding","SIZE","4px"),Je=bt.create("--ft-button-dense-icon-padding","SIZE","4px"),qe=[y`
541
557
  :host {
542
558
  display: inline-block;
543
559
  max-width: 100%;
@@ -764,4 +780,4 @@ class je extends Pt{constructor(t){if(super(t),this.et=G,t.type!==At)throw Error
764
780
  </div>
765
781
  </div>
766
782
  </div>
767
- `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,i,e){if(i.length>0){const o=t.composedPath();for(let t of o){if(t===e)return!1;if(t.matches&&i.some((i=>t.matches(i))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((i=>t.has(i)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,i=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,o=this.actionButton.offsetHeight;let n=0,s=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":n=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":n=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":n=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":s=this.actionButton.offsetTop+o+4-this.menuWrapper.offsetTop;break;case"top":s=this.actionButton.offsetTop-i-4-this.menuWrapper.offsetTop}const r=this.menuWrapper.style;r.left=n+"px",r.top=s+"px";const a=this.menuWrapper.getBoundingClientRect();let l=-a.x,h=a.x+a.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(l,h))+"px";let c=-a.y,p=a.y+a.height-window.innerHeight;r.top=s+Math.round(this.correctOutOfWindowPixels(c,p))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}so.elementDefinitions={"ft-button":Ye,"ft-floating-menu-item":eo},so.styles=Ft,oo([n()],so.prototype,"menuOpen",void 0),oo([n()],so.prototype,"forceMenuOpen",void 0),oo([r(".ft-floating-menu")],so.prototype,"container",void 0),oo([r(".ft-floating-menu--wrapper")],so.prototype,"menuWrapper",void 0),oo([r("#ft-floating-menu-options")],so.prototype,"menuContent",void 0),oo([r("#actions-button")],so.prototype,"actionButton",void 0),oo([o()],so.prototype,"label",void 0),oo([o()],so.prototype,"tooltipPosition",void 0),oo([o()],so.prototype,"iconVariant",void 0),oo([o()],so.prototype,"icon",void 0),oo([o()],so.prototype,"text",void 0),oo([o()],so.prototype,"horizontalAlignment",void 0),oo([o()],so.prototype,"verticalAlignment",void 0),oo([o({type:Boolean})],so.prototype,"disabled",void 0),oo([p([])],so.prototype,"closeMenuMatchers",void 0),c("ft-floating-menu")(so),c("ft-floating-menu-item")(eo),t.FloatingMenuCloseEvent=no,t.FtFloatingMenu=so,t.FtFloatingMenuCssVariables=zt,t.FtFloatingMenuItem=eo,t.FtFloatingMenuItemCssVariables=Ge,t.FtFloatingMenuItemSelect=io,t.itemStyles=Qe,t.styles=Ft}({});
783
+ `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,i,e){if(i.length>0){const o=t.composedPath();for(let t of o){if(t===e)return!1;if(t.matches&&i.some((i=>t.matches(i))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((i=>t.has(i)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){const t=this.menuContent.offsetWidth,i=this.menuContent.offsetHeight,e=this.actionButton.offsetWidth,o=this.actionButton.offsetHeight;let n=0,s=0;switch(this.menuWrapper.style.left="0",this.menuWrapper.style.top="0",this.horizontalAlignment){case"left":n=this.actionButton.offsetLeft-this.menuWrapper.offsetLeft;break;case"right":n=this.actionButton.offsetLeft+e-t-this.menuWrapper.offsetLeft;break;case"center":n=this.actionButton.offsetLeft+e/2-t/2-this.menuWrapper.offsetLeft}switch(this.verticalAlignment){case"bottom":s=this.actionButton.offsetTop+o+4-this.menuWrapper.offsetTop;break;case"top":s=this.actionButton.offsetTop-i-4-this.menuWrapper.offsetTop}const r=this.menuWrapper.style;r.left=n+"px",r.top=s+"px";const a=this.menuWrapper.getBoundingClientRect();let l=-a.x,h=a.x+a.width-window.innerWidth;r.left=n+Math.round(this.correctOutOfWindowPixels(l,h))+"px";let c=-a.y,p=a.y+a.height-window.innerHeight;r.top=s+Math.round(this.correctOutOfWindowPixels(c,p))+"px",this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}correctOutOfWindowPixels(t,i){return Math.max(t,Math.min(0,-i))}}so.elementDefinitions={"ft-button":Ye,"ft-floating-menu-item":eo},so.styles=zt,oo([n()],so.prototype,"menuOpen",void 0),oo([n()],so.prototype,"forceMenuOpen",void 0),oo([r(".ft-floating-menu")],so.prototype,"container",void 0),oo([r(".ft-floating-menu--wrapper")],so.prototype,"menuWrapper",void 0),oo([r("#ft-floating-menu-options")],so.prototype,"menuContent",void 0),oo([r("#actions-button")],so.prototype,"actionButton",void 0),oo([o()],so.prototype,"label",void 0),oo([o()],so.prototype,"tooltipPosition",void 0),oo([o()],so.prototype,"iconVariant",void 0),oo([o()],so.prototype,"icon",void 0),oo([o()],so.prototype,"text",void 0),oo([o()],so.prototype,"horizontalAlignment",void 0),oo([o()],so.prototype,"verticalAlignment",void 0),oo([o({type:Boolean})],so.prototype,"disabled",void 0),oo([p([])],so.prototype,"closeMenuMatchers",void 0),c("ft-floating-menu")(so),c("ft-floating-menu-item")(eo),t.FloatingMenuCloseEvent=no,t.FtFloatingMenu=so,t.FtFloatingMenuCssVariables=Ft,t.FtFloatingMenuItem=eo,t.FtFloatingMenuItemCssVariables=Ge,t.FtFloatingMenuItemSelect=io,t.itemStyles=Qe,t.styles=zt}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-floating-menu",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "description": "Floating menu component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-button": "1.0.55",
23
- "@fluid-topics/ft-icon": "1.0.55",
24
- "@fluid-topics/ft-ripple": "1.0.55",
25
- "@fluid-topics/ft-typography": "1.0.55",
26
- "@fluid-topics/ft-wc-utils": "1.0.55",
22
+ "@fluid-topics/ft-button": "1.0.57",
23
+ "@fluid-topics/ft-icon": "1.0.57",
24
+ "@fluid-topics/ft-ripple": "1.0.57",
25
+ "@fluid-topics/ft-typography": "1.0.57",
26
+ "@fluid-topics/ft-wc-utils": "1.0.57",
27
27
  "lit": "2.7.2"
28
28
  },
29
- "gitHead": "4eca32ed1fec3fd25b6d76b26895a6318cfa8ca2"
29
+ "gitHead": "f4480503246fb16f02f9e0265e15b7e53e09a23a"
30
30
  }