@fluid-topics/ft-select 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,127 +1,137 @@
1
- "use strict";(()=>{var ui=Object.create;var Je=Object.defineProperty;var xi=Object.getOwnPropertyDescriptor;var mi=Object.getOwnPropertyNames;var yi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var te=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(i){throw t=0,i}};var bi=(e,t,i,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of mi(t))!gi.call(e,r)&&r!==i&&Je(e,r,{get:()=>t[r],enumerable:!(o=xi(t,r))||o.enumerable});return e};var h=(e,t,i)=>(i=e!=null?ui(yi(e)):{},bi(t||!e||!e.__esModule?Je(i,"default",{value:e,enumerable:!0}):i,e));var O=te(($i,Qe)=>{Qe.exports=ftGlobals.wcUtils});var P=te((Ti,Ie)=>{Ie.exports=ftGlobals.lit});var K=te((Ci,Fe)=>{Fe.exports=ftGlobals.litDecorators});var xe=te((Ri,et)=>{et.exports=ftGlobals.litClassMap});var it=te((Li,tt)=>{tt.exports=ftGlobals.litRepeat});var ei=te((wo,Ft)=>{Ft.exports=ftGlobals.litUnsafeHTML});var ci=h(O());var ue=h(P()),E=h(K()),fi=h(xe()),di=h(it());function me(e,t,i){return e?t(e):i?.(e)}var ze=globalThis,ot=e=>e,$e=ze.trustedTypes,rt=$e?$e.createPolicy("lit-html",{createHTML:e=>e}):void 0,ft="$lit$",j=`lit$${Math.random().toFixed(9).slice(2)}$`,dt="?"+j,vi=`<${dt}>`,Q=document,Te=()=>Q.createComment(""),ge=e=>e===null||typeof e!="object"&&typeof e!="function",We=Array.isArray,Si=e=>We(e)||typeof e?.[Symbol.iterator]=="function",De=`[
2
- \f\r]`,ye=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nt=/-->/g,lt=/>/g,q=RegExp(`>|${De}(?:([^\\s"'>=/]+)(${De}*=${De}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),st=/'/g,at=/"/g,ht=/^(?:script|style|textarea|title)$/i,Ue=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),ct=Ue(1),ut=Ue(2),xt=Ue(3),be=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),pt=new WeakMap,J=Q.createTreeWalker(Q,129);function mt(e,t){if(!We(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return rt!==void 0?rt.createHTML(t):t}var _i=(e,t)=>{let i=e.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",l=ye;for(let p=0;p<i;p++){let d=e[p],m,S,y=-1,W=0;for(;W<d.length&&(l.lastIndex=W,S=l.exec(d),S!==null);)W=l.lastIndex,l===ye?S[1]==="!--"?l=nt:S[1]!==void 0?l=lt:S[2]!==void 0?(ht.test(S[2])&&(r=RegExp("</"+S[2],"g")),l=q):S[3]!==void 0&&(l=q):l===q?S[0]===">"?(l=r??ye,y=-1):S[1]===void 0?y=-2:(y=l.lastIndex-S[2].length,m=S[1],l=S[3]===void 0?q:S[3]==='"'?at:st):l===at||l===st?l=q:l===nt||l===lt?l=ye:(l=q,r=void 0);let V=l===q&&e[p+1].startsWith("/>")?" ":"";n+=l===ye?d+vi:y>=0?(o.push(m),d.slice(0,y)+ft+d.slice(y)+j+V):d+j+(y===-2?p:V)}return[mt(e,n+(e[i]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},ve=class e{constructor({strings:t,_$litType$:i},o){let r;this.parts=[];let n=0,l=0,p=t.length-1,d=this.parts,[m,S]=_i(t,i);if(this.el=e.createElement(m,o),J.currentNode=this.el.content,i===2||i===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(r=J.nextNode())!==null&&d.length<p;){if(r.nodeType===1){if(r.hasAttributes())for(let y of r.getAttributeNames())if(y.endsWith(ft)){let W=S[l++],V=r.getAttribute(y).split(j),Oe=/([.?@])?(.*)/.exec(W);d.push({type:1,index:n,name:Oe[2],strings:V,ctor:Oe[1]==="."?He:Oe[1]==="?"?we:Oe[1]==="@"?Me:oe}),r.removeAttribute(y)}else y.startsWith(j)&&(d.push({type:6,index:n}),r.removeAttribute(y));if(ht.test(r.tagName)){let y=r.textContent.split(j),W=y.length-1;if(W>0){r.textContent=$e?$e.emptyScript:"";for(let V=0;V<W;V++)r.append(y[V],Te()),J.nextNode(),d.push({type:2,index:++n});r.append(y[W],Te())}}}else if(r.nodeType===8)if(r.data===dt)d.push({type:2,index:n});else{let y=-1;for(;(y=r.data.indexOf(j,y+1))!==-1;)d.push({type:7,index:n}),y+=j.length-1}n++}}static createElement(t,i){let o=Q.createElement("template");return o.innerHTML=t,o}};function ie(e,t,i=e,o){if(t===be)return t;let r=o!==void 0?i._$Co?.[o]:i._$Cl,n=ge(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(e),r._$AT(e,i,o)),o!==void 0?(i._$Co??=[])[o]=r:i._$Cl=r),r!==void 0&&(t=ie(e,r._$AS(e,t.values),r,o)),t}var Pe=class{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){let{el:{content:i},parts:o}=this._$AD,r=(t?.creationScope??Q).importNode(i,!0);J.currentNode=r;let n=J.nextNode(),l=0,p=0,d=o[0];for(;d!==void 0;){if(l===d.index){let m;d.type===2?m=new Ce(n,n.nextSibling,this,t):d.type===1?m=new d.ctor(n,d.name,d.strings,this,t):d.type===6&&(m=new Be(n,this,t)),this._$AV.push(m),d=o[++p]}l!==d?.index&&(n=J.nextNode(),l++)}return J.currentNode=Q,r}p(t){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,i),i+=o.strings.length-2):o._$AI(t[i])),i++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,o,r){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,i=this._$AM;return i!==void 0&&t?.nodeType===11&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=ie(this,t,i),ge(t)?t===_||t==null||t===""?(this._$AH!==_&&this._$AR(),this._$AH=_):t!==this._$AH&&t!==be&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Si(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==_&&ge(this._$AH)?this._$AA.nextSibling.data=t:this.T(Q.createTextNode(t)),this._$AH=t}$(t){let{values:i,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=ve.createElement(mt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{let n=new Pe(r,this),l=n.u(this.options);n.p(i),this.T(l),this._$AH=n}}_$AC(t){let i=pt.get(t.strings);return i===void 0&&pt.set(t.strings,i=new ve(t)),i}k(t){We(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,r=0;for(let n of t)r===i.length?i.push(o=new e(this.O(Te()),this.O(Te()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){let o=ot(t).nextSibling;ot(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,o,r,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=t,this.name=i,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(t,i=this,o,r){let n=this.strings,l=!1;if(n===void 0)t=ie(this,t,i,0),l=!ge(t)||t!==this._$AH&&t!==be,l&&(this._$AH=t);else{let p=t,d,m;for(t=n[0],d=0;d<n.length-1;d++)m=ie(this,p[o+d],i,d),m===be&&(m=this._$AH[d]),l||=!ge(m)||m!==this._$AH[d],m===_?t=_:t!==_&&(t+=(m??"")+n[d+1]),this._$AH[d]=m}l&&!r&&this.j(t)}j(t){t===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},He=class extends oe{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===_?void 0:t}},we=class extends oe{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==_)}},Me=class extends oe{constructor(t,i,o,r,n){super(t,i,o,r,n),this.type=5}_$AI(t,i=this){if((t=ie(this,t,i,0)??_)===be)return;let o=this._$AH,r=t===_&&o!==_||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==_&&(o===_||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Be=class{constructor(t,i,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}};var Ai=ze.litHtmlPolyfillSupport;Ai?.(ve,Ce),(ze.litHtmlVersions??=[]).push("3.3.3");var Ge=e=>e??_;var w=h(O());var gt=Symbol.for(""),Ei=e=>{if(e?.r===gt)return e?._$litStatic$},ke=e=>({_$litStatic$:e,r:gt});var yt=new Map,Ve=e=>(t,...i)=>{let o=i.length,r,n,l=[],p=[],d,m=0,S=!1;for(;m<o;){for(d=t[m];m<o&&(n=i[m],(r=Ei(n))!==void 0);)d+=r+t[++m],S=!0;m!==o&&p.push(n),l.push(d),m++}if(m===o&&l.push(t[o]),S){let y=l.join("$$lit$$");(t=yt.get(y))===void 0&&(l.raw=l,yt.set(y,t=l)),i=p}return e(t,...i)},Ke=Ve(ct),Ui=Ve(ut),Gi=Ve(xt);var je=h(K()),Lt=h(O());var I;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(I||(I={}));var H=h(P()),a=h(O()),bt=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.titleFont),G=a.FtCssVariableFactory.extend("--ft-typography-font-family","",a.designSystemVariables.contentFont),f={fontFamily:G,fontSize:a.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:a.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:a.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:a.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:a.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},re={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-font-family","",bt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-font-size","",f.fontSize,"20px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",f.letterSpacing,"0.15px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-line-height","",f.lineHeight,"1.2"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",f.textTransform,"inherit")},ne={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",bt),fontSize:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",f.letterSpacing,"0.105px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",f.textTransform,"inherit")},le={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",f.letterSpacing,"0.144px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",f.textTransform,"inherit")},se={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",f.letterSpacing,"0.098px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",f.lineHeight,"1.7"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",f.textTransform,"inherit")},U={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",f.fontSize,"16px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",f.letterSpacing,"0.496px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",f.lineHeight,"1.5"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",f.textTransform,"inherit")},ae={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",f.letterSpacing,"0.252px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",f.lineHeight,"1.4"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",f.textTransform,"inherit")},N={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",f.fontSize,"12px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",f.letterSpacing,"0.396px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",f.lineHeight,"1.33"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",f.textTransform,"inherit")},pe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",f.letterSpacing,"0.33px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",f.textTransform,"inherit")},fe={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",f.fontSize,"10px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",f.fontWeight,"normal"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",f.letterSpacing,"1.5px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",f.lineHeight,"1.6"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",f.textTransform,"uppercase")},de={fontFamily:a.FtCssVariableFactory.extend("--ft-typography-button-font-family","",G),fontSize:a.FtCssVariableFactory.extend("--ft-typography-button-font-size","",f.fontSize,"14px"),fontWeight:a.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",f.fontWeight,"600"),letterSpacing:a.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",f.letterSpacing,"1.246px"),lineHeight:a.FtCssVariableFactory.extend("--ft-typography-button-line-height","",f.lineHeight,"1.15"),textTransform:a.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",f.textTransform,"uppercase")},vt=H.css`
1
+ "use strict";(()=>{var xi=Object.create;var Jt=Object.defineProperty;var ui=Object.getOwnPropertyDescriptor;var mi=Object.getOwnPropertyNames;var yi=Object.getPrototypeOf,gi=Object.prototype.hasOwnProperty;var pt=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(i){throw e=0,i}};var bi=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of mi(e))!gi.call(t,r)&&r!==i&&Jt(t,r,{get:()=>e[r],enumerable:!(o=ui(e,r))||o.enumerable});return t};var h=(t,e,i)=>(i=t!=null?xi(yi(t)):{},bi(e||!t||!t.__esModule?Jt(i,"default",{value:t,enumerable:!0}):i,t));var $=pt((Oi,Qt)=>{Qt.exports=ftGlobals.wcUtils});var P=pt((Ti,It)=>{It.exports=ftGlobals.lit});var V=pt((Ci,Ft)=>{Ft.exports=ftGlobals.litDecorators});var ut=pt((Ri,te)=>{te.exports=ftGlobals.litClassMap});var ie=pt((Li,ee)=>{ee.exports=ftGlobals.litRepeat});var ti=pt((wo,Fe)=>{Fe.exports=ftGlobals.litUnsafeHTML});var ci=h($());var xt=h(P()),E=h(V()),fi=h(ut()),di=h(ie());function mt(t,e,i){return t?e(t):i?.(t)}var zt=globalThis,oe=t=>t,Ot=zt.trustedTypes,re=Ot?Ot.createPolicy("lit-html",{createHTML:t=>t}):void 0,fe="$lit$",j=`lit$${Math.random().toFixed(9).slice(2)}$`,de="?"+j,vi=`<${de}>`,Q=document,Tt=()=>Q.createComment(""),gt=t=>t===null||typeof t!="object"&&typeof t!="function",Wt=Array.isArray,Si=t=>Wt(t)||typeof t?.[Symbol.iterator]=="function",Nt=`[
2
+ \f\r]`,yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ne=/-->/g,ae=/>/g,q=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),le=/'/g,se=/"/g,he=/^(?:script|style|textarea|title)$/i,Ut=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ce=Ut(1),xe=Ut(2),ue=Ut(3),bt=Symbol.for("lit-noChange"),_=Symbol.for("lit-nothing"),pe=new WeakMap,J=Q.createTreeWalker(Q,129);function me(t,e){if(!Wt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return re!==void 0?re.createHTML(e):e}var _i=(t,e)=>{let i=t.length-1,o=[],r,n=e===2?"<svg>":e===3?"<math>":"",a=yt;for(let f=0;f<i;f++){let d=t[f],m,S,y=-1,U=0;for(;U<d.length&&(a.lastIndex=U,S=a.exec(d),S!==null);)U=a.lastIndex,a===yt?S[1]==="!--"?a=ne:S[1]!==void 0?a=ae:S[2]!==void 0?(he.test(S[2])&&(r=RegExp("</"+S[2],"g")),a=q):S[3]!==void 0&&(a=q):a===q?S[0]===">"?(a=r??yt,y=-1):S[1]===void 0?y=-2:(y=a.lastIndex-S[2].length,m=S[1],a=S[3]===void 0?q:S[3]==='"'?se:le):a===se||a===le?a=q:a===ne||a===ae?a=yt:(a=q,r=void 0);let K=a===q&&t[f+1].startsWith("/>")?" ":"";n+=a===yt?d+vi:y>=0?(o.push(m),d.slice(0,y)+fe+d.slice(y)+j+K):d+j+(y===-2?f:K)}return[me(t,n+(t[i]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),o]},vt=class t{constructor({strings:e,_$litType$:i},o){let r;this.parts=[];let n=0,a=0,f=e.length-1,d=this.parts,[m,S]=_i(e,i);if(this.el=t.createElement(m,o),J.currentNode=this.el.content,i===2||i===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(r=J.nextNode())!==null&&d.length<f;){if(r.nodeType===1){if(r.hasAttributes())for(let y of r.getAttributeNames())if(y.endsWith(fe)){let U=S[a++],K=r.getAttribute(y).split(j),$t=/([.?@])?(.*)/.exec(U);d.push({type:1,index:n,name:$t[2],strings:K,ctor:$t[1]==="."?Ht:$t[1]==="?"?wt:$t[1]==="@"?Mt:dt}),r.removeAttribute(y)}else y.startsWith(j)&&(d.push({type:6,index:n}),r.removeAttribute(y));if(he.test(r.tagName)){let y=r.textContent.split(j),U=y.length-1;if(U>0){r.textContent=Ot?Ot.emptyScript:"";for(let K=0;K<U;K++)r.append(y[K],Tt()),J.nextNode(),d.push({type:2,index:++n});r.append(y[U],Tt())}}}else if(r.nodeType===8)if(r.data===de)d.push({type:2,index:n});else{let y=-1;for(;(y=r.data.indexOf(j,y+1))!==-1;)d.push({type:7,index:n}),y+=j.length-1}n++}}static createElement(e,i){let o=Q.createElement("template");return o.innerHTML=e,o}};function ft(t,e,i=t,o){if(e===bt)return e;let r=o!==void 0?i._$Co?.[o]:i._$Cl,n=gt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(t),r._$AT(t,i,o)),o!==void 0?(i._$Co??=[])[o]=r:i._$Cl=r),r!==void 0&&(e=ft(t,r._$AS(t,e.values),r,o)),e}var Pt=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:i},parts:o}=this._$AD,r=(e?.creationScope??Q).importNode(i,!0);J.currentNode=r;let n=J.nextNode(),a=0,f=0,d=o[0];for(;d!==void 0;){if(a===d.index){let m;d.type===2?m=new Ct(n,n.nextSibling,this,e):d.type===1?m=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(m=new Bt(n,this,e)),this._$AV.push(m),d=o[++f]}a!==d?.index&&(n=J.nextNode(),a++)}return J.currentNode=Q,r}p(e){let i=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,i),i+=o.strings.length-2):o._$AI(e[i])),i++}},Ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,i,o,r){this.type=2,this._$AH=_,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=ft(this,e,i),gt(e)?e===_||e==null||e===""?(this._$AH!==_&&this._$AR(),this._$AH=_):e!==this._$AH&&e!==bt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Si(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==_&&gt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Q.createTextNode(e)),this._$AH=e}$(e){let{values:i,_$litType$:o}=e,r=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=vt.createElement(me(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(i);else{let n=new Pt(r,this),a=n.u(this.options);n.p(i),this.T(a),this._$AH=n}}_$AC(e){let i=pe.get(e.strings);return i===void 0&&pe.set(e.strings,i=new vt(e)),i}k(e){Wt(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,o,r=0;for(let n of e)r===i.length?i.push(o=new t(this.O(Tt()),this.O(Tt()),this,this.options)):o=i[r],o._$AI(n),r++;r<i.length&&(this._$AR(o&&o._$AB.nextSibling,r),i.length=r)}_$AR(e=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);e!==this._$AB;){let o=oe(e).nextSibling;oe(e).remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},dt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,i,o,r,n){this.type=1,this._$AH=_,this._$AN=void 0,this.element=e,this.name=i,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=_}_$AI(e,i=this,o,r){let n=this.strings,a=!1;if(n===void 0)e=ft(this,e,i,0),a=!gt(e)||e!==this._$AH&&e!==bt,a&&(this._$AH=e);else{let f=e,d,m;for(e=n[0],d=0;d<n.length-1;d++)m=ft(this,f[o+d],i,d),m===bt&&(m=this._$AH[d]),a||=!gt(m)||m!==this._$AH[d],m===_?e=_:e!==_&&(e+=(m??"")+n[d+1]),this._$AH[d]=m}a&&!r&&this.j(e)}j(e){e===_?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ht=class extends dt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===_?void 0:e}},wt=class extends dt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==_)}},Mt=class extends dt{constructor(e,i,o,r,n){super(e,i,o,r,n),this.type=5}_$AI(e,i=this){if((e=ft(this,e,i,0)??_)===bt)return;let o=this._$AH,r=e===_&&o!==_||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,n=e!==_&&(o===_||r);r&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Bt=class{constructor(e,i,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){ft(this,e)}};var Ai=zt.litHtmlPolyfillSupport;Ai?.(vt,Ct),(zt.litHtmlVersions??=[]).push("3.3.3");var Gt=t=>t??_;var w=h($());var ge=Symbol.for(""),Ei=t=>{if(t?.r===ge)return t?._$litStatic$},kt=t=>({_$litStatic$:t,r:ge});var ye=new Map,Kt=t=>(e,...i)=>{let o=i.length,r,n,a=[],f=[],d,m=0,S=!1;for(;m<o;){for(d=e[m];m<o&&(n=i[m],(r=Ei(n))!==void 0);)d+=r+e[++m],S=!0;m!==o&&f.push(n),a.push(d),m++}if(m===o&&a.push(e[o]),S){let y=a.join("$$lit$$");(e=ye.get(y))===void 0&&(a.raw=a,ye.set(y,e=a)),i=f}return t(e,...i)},Vt=Kt(ce),Ui=Kt(xe),Gi=Kt(ue);var jt=h(V()),Le=h($());var I;(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"})(I||(I={}));var H=h(P()),l=h($()),be=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.titleFont),G=l.FtCssVariableFactory.extend("--ft-typography-font-family","",l.designSystemVariables.contentFont),p={fontFamily:G,fontSize:l.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:l.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:l.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:l.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:l.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:l.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},F={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-font-family","",be),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-font-size","",p.fontSize,"20px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",p.letterSpacing,"0.15px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-line-height","",p.lineHeight,"1.2"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",p.textDecoration,"inherit")},tt={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",be),fontSize:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",p.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",p.letterSpacing,"0.105px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",p.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",p.textDecoration,"inherit")},et={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",p.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",p.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",p.letterSpacing,"0.144px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",p.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",p.textDecoration,"inherit")},it={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",p.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",p.letterSpacing,"0.098px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",p.lineHeight,"1.7"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",p.textDecoration,"inherit")},W={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",p.fontSize,"16px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",p.letterSpacing,"0.496px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",p.lineHeight,"1.5"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",p.textDecoration,"inherit")},ot={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",p.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",p.letterSpacing,"0.252px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",p.lineHeight,"1.4"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",p.textDecoration,"inherit")},C={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",p.fontSize,"12px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",p.letterSpacing,"0.396px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",p.lineHeight,"1.33"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",p.textDecoration,"inherit")},rt={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",p.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",p.letterSpacing,"0.33px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",p.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",p.textTransform,"inherit"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",p.textDecoration,"inherit")},nt={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",p.fontSize,"10px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",p.fontWeight,"normal"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",p.letterSpacing,"1.5px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",p.lineHeight,"1.6"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",p.textTransform,"uppercase"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",p.textDecoration,"inherit")},at={fontFamily:l.FtCssVariableFactory.extend("--ft-typography-button-font-family","",G),fontSize:l.FtCssVariableFactory.extend("--ft-typography-button-font-size","",p.fontSize,"14px"),fontWeight:l.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",p.fontWeight,"600"),letterSpacing:l.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",p.letterSpacing,"1.246px"),lineHeight:l.FtCssVariableFactory.extend("--ft-typography-button-line-height","",p.lineHeight,"1.15"),textTransform:l.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",p.textTransform,"uppercase"),textDecoration:l.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",p.textDecoration,"inherit")},ve=H.css`
4
4
  .ft-typography--title {
5
- font-family: ${re.fontFamily};
6
- font-size: ${re.fontSize};
7
- font-weight: ${re.fontWeight};
8
- letter-spacing: ${re.letterSpacing};
9
- line-height: ${re.lineHeight};
10
- text-transform: ${re.textTransform};
11
- }
12
- `,St=H.css`
5
+ font-family: ${F.fontFamily};
6
+ font-size: ${F.fontSize};
7
+ font-weight: ${F.fontWeight};
8
+ letter-spacing: ${F.letterSpacing};
9
+ line-height: ${F.lineHeight};
10
+ text-transform: ${F.textTransform};
11
+ text-decoration: ${F.textDecoration};
12
+ }
13
+ `,Se=H.css`
13
14
  .ft-typography--title-dense {
14
- font-family: ${ne.fontFamily};
15
- font-size: ${ne.fontSize};
16
- font-weight: ${ne.fontWeight};
17
- letter-spacing: ${ne.letterSpacing};
18
- line-height: ${ne.lineHeight};
19
- text-transform: ${ne.textTransform};
20
- }
21
- `,_t=H.css`
15
+ font-family: ${tt.fontFamily};
16
+ font-size: ${tt.fontSize};
17
+ font-weight: ${tt.fontWeight};
18
+ letter-spacing: ${tt.letterSpacing};
19
+ line-height: ${tt.lineHeight};
20
+ text-transform: ${tt.textTransform};
21
+ text-decoration: ${tt.textDecoration};
22
+ }
23
+ `,_e=H.css`
22
24
  .ft-typography--subtitle1 {
23
- font-family: ${le.fontFamily};
24
- font-size: ${le.fontSize};
25
- font-weight: ${le.fontWeight};
26
- letter-spacing: ${le.letterSpacing};
27
- line-height: ${le.lineHeight};
28
- text-transform: ${le.textTransform};
29
- }
30
- `,At=H.css`
25
+ font-family: ${et.fontFamily};
26
+ font-size: ${et.fontSize};
27
+ font-weight: ${et.fontWeight};
28
+ letter-spacing: ${et.letterSpacing};
29
+ line-height: ${et.lineHeight};
30
+ text-transform: ${et.textTransform};
31
+ text-decoration: ${et.textDecoration};
32
+ }
33
+ `,Ae=H.css`
31
34
  .ft-typography--subtitle2 {
32
- font-family: ${se.fontFamily};
33
- font-size: ${se.fontSize};
34
- font-weight: ${se.fontWeight};
35
- letter-spacing: ${se.letterSpacing};
36
- line-height: ${se.lineHeight};
37
- text-transform: ${se.textTransform};
35
+ font-family: ${it.fontFamily};
36
+ font-size: ${it.fontSize};
37
+ font-weight: ${it.fontWeight};
38
+ letter-spacing: ${it.letterSpacing};
39
+ line-height: ${it.lineHeight};
40
+ text-transform: ${it.textTransform};
41
+ text-decoration: ${it.textDecoration};
38
42
  }
39
43
 
40
- `,Et=H.css`
44
+ `,Ee=H.css`
41
45
  .ft-typography--body1 {
42
- font-family: ${U.fontFamily};
43
- font-size: ${U.fontSize};
44
- font-weight: ${U.fontWeight};
45
- letter-spacing: ${U.letterSpacing};
46
- line-height: ${U.lineHeight};
47
- text-transform: ${U.textTransform};
48
- }
49
- `,Re=H.css`
46
+ font-family: ${W.fontFamily};
47
+ font-size: ${W.fontSize};
48
+ font-weight: ${W.fontWeight};
49
+ letter-spacing: ${W.letterSpacing};
50
+ line-height: ${W.lineHeight};
51
+ text-transform: ${W.textTransform};
52
+ text-decoration: ${W.textDecoration};
53
+ }
54
+ `,Rt=H.css`
50
55
  .ft-typography--body2 {
51
- font-family: ${ae.fontFamily};
52
- font-size: ${ae.fontSize};
53
- font-weight: ${ae.fontWeight};
54
- letter-spacing: ${ae.letterSpacing};
55
- line-height: ${ae.lineHeight};
56
- text-transform: ${ae.textTransform};
57
- }
58
- `,he=H.css`
56
+ font-family: ${ot.fontFamily};
57
+ font-size: ${ot.fontSize};
58
+ font-weight: ${ot.fontWeight};
59
+ letter-spacing: ${ot.letterSpacing};
60
+ line-height: ${ot.lineHeight};
61
+ text-transform: ${ot.textTransform};
62
+ text-decoration: ${ot.textDecoration};
63
+ }
64
+ `,ht=H.css`
59
65
  .ft-typography--caption {
60
- font-family: ${N.fontFamily};
61
- font-size: ${N.fontSize};
62
- font-weight: ${N.fontWeight};
63
- letter-spacing: ${N.letterSpacing};
64
- line-height: ${N.lineHeight};
65
- text-transform: ${N.textTransform};
66
- }
67
- `,Ot=H.css`
66
+ font-family: ${C.fontFamily};
67
+ font-size: ${C.fontSize};
68
+ font-weight: ${C.fontWeight};
69
+ letter-spacing: ${C.letterSpacing};
70
+ line-height: ${C.lineHeight};
71
+ text-transform: ${C.textTransform};
72
+ text-decoration: ${C.textDecoration};
73
+ }
74
+ `,$e=H.css`
68
75
  .ft-typography--breadcrumb {
69
- font-family: ${pe.fontFamily};
70
- font-size: ${pe.fontSize};
71
- font-weight: ${pe.fontWeight};
72
- letter-spacing: ${pe.letterSpacing};
73
- line-height: ${pe.lineHeight};
74
- text-transform: ${pe.textTransform};
75
- }
76
- `,$t=H.css`
76
+ font-family: ${rt.fontFamily};
77
+ font-size: ${rt.fontSize};
78
+ font-weight: ${rt.fontWeight};
79
+ letter-spacing: ${rt.letterSpacing};
80
+ line-height: ${rt.lineHeight};
81
+ text-transform: ${rt.textTransform};
82
+ text-decoration: ${rt.textDecoration};
83
+ }
84
+ `,Oe=H.css`
77
85
  .ft-typography--overline {
78
- font-family: ${fe.fontFamily};
79
- font-size: ${fe.fontSize};
80
- font-weight: ${fe.fontWeight};
81
- letter-spacing: ${fe.letterSpacing};
82
- line-height: ${fe.lineHeight};
83
- text-transform: ${fe.textTransform};
84
- }
85
- `,Tt=H.css`
86
+ font-family: ${nt.fontFamily};
87
+ font-size: ${nt.fontSize};
88
+ font-weight: ${nt.fontWeight};
89
+ letter-spacing: ${nt.letterSpacing};
90
+ line-height: ${nt.lineHeight};
91
+ text-transform: ${nt.textTransform};
92
+ text-decoration: ${nt.textDecoration};
93
+ }
94
+ `,Te=H.css`
86
95
  .ft-typography--button {
87
- font-family: ${de.fontFamily};
88
- font-size: ${de.fontSize};
89
- font-weight: ${de.fontWeight};
90
- letter-spacing: ${de.letterSpacing};
91
- line-height: ${de.lineHeight};
92
- text-transform: ${de.textTransform};
93
- }
94
- `,Ct=H.css`
96
+ font-family: ${at.fontFamily};
97
+ font-size: ${at.fontSize};
98
+ font-weight: ${at.fontWeight};
99
+ letter-spacing: ${at.letterSpacing};
100
+ line-height: ${at.lineHeight};
101
+ text-transform: ${at.textTransform};
102
+ text-decoration: ${at.textDecoration};
103
+ }
104
+ `,Ce=H.css`
95
105
  .ft-typography {
96
106
  vertical-align: inherit;
97
107
  }
98
- `;var Rt=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},k=class extends Lt.FtLitElement{constructor(){super(...arguments),this.variant=I.body1}render(){return this.element?Ke`
99
- <${ke(this.element)}
108
+ `;var Re=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},k=class extends Le.FtLitElement{constructor(){super(...arguments),this.variant=I.body1}render(){return this.element?Vt`
109
+ <${kt(this.element)}
100
110
  part="text"
101
111
  class="ft-typography ft-typography--${this.variant}">
102
112
  <slot></slot>
103
- </${ke(this.element)}>
104
- `:Ke`
113
+ </${kt(this.element)}>
114
+ `:Vt`
105
115
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
106
- `}};k.styles=[vt,St,_t,At,Et,Re,he,Ot,$t,Tt,Ct];Rt([(0,je.property)()],k.prototype,"element",void 0);Rt([(0,je.property)()],k.prototype,"variant",void 0);var Dt=h(O());var Nt={"ft-typography":k};(0,Dt.customElements)(Nt);var Le=h(K());var Pt=h(P()),g=h(O());var x={fontSize:g.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:g.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:g.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:g.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:g.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:g.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:g.FtCssVariableFactory.extend("--ft-input-label-border-color","",g.designSystemVariables.colorOutline),textColor:g.FtCssVariableFactory.extend("--ft-input-label-text-color","",g.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:g.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",g.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:g.FtCssVariableFactory.extend("--ft-input-label-background-color","",g.designSystemVariables.colorSurface),borderRadius:g.FtCssVariableFactory.extend("--ft-input-label-border-radius","",g.designSystemVariables.borderRadiusS),colorError:g.FtCssVariableFactory.external(g.designSystemVariables.colorError,"Design system")},Ht=Pt.css`
116
+ `}};k.styles=[ve,Se,_e,Ae,Ee,Rt,ht,$e,Oe,Te,Ce];Re([(0,jt.property)()],k.prototype,"element",void 0);Re([(0,jt.property)()],k.prototype,"variant",void 0);var Ne=h($());var De={"ft-typography":k};(0,Ne.customElements)(De);var Lt=h(V());var Pe=h(P()),g=h($());var u={fontSize:g.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:g.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:g.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:g.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:g.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:g.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:g.FtCssVariableFactory.extend("--ft-input-label-border-color","",g.designSystemVariables.colorOutline),textColor:g.FtCssVariableFactory.extend("--ft-input-label-text-color","",g.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:g.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",g.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:g.FtCssVariableFactory.extend("--ft-input-label-background-color","",g.designSystemVariables.colorSurface),borderRadius:g.FtCssVariableFactory.extend("--ft-input-label-border-radius","",g.designSystemVariables.borderRadiusS),colorError:g.FtCssVariableFactory.external(g.designSystemVariables.colorError,"Design system")},He=Pe.css`
107
117
  .ft-input-label {
108
118
  position: absolute;
109
119
  inset: 0;
110
120
  display: flex;
111
- background-color: ${x.backgroundColor};
112
- border-radius: ${x.borderRadius} ${x.borderRadius} 0 0;
121
+ background-color: ${u.backgroundColor};
122
+ border-radius: ${u.borderRadius} ${u.borderRadius} 0 0;
113
123
  }
114
124
 
115
125
  .ft-input-label--outlined {
116
- border-radius: ${x.borderRadius};
126
+ border-radius: ${u.borderRadius};
117
127
  }
118
128
 
119
129
  .ft-input-label {
120
- border-color: ${x.borderColor};
130
+ border-color: ${u.borderColor};
121
131
  }
122
132
 
123
133
  .ft-input-label.ft-input-label--in-error {
124
- border-color: ${x.colorError}
134
+ border-color: ${u.colorError}
125
135
  }
126
136
 
127
137
  .ft-input-label:before,
@@ -134,7 +144,7 @@
134
144
  }
135
145
 
136
146
  .ft-input-label:before {
137
- width: calc(${x.horizontalSpacing} - 4px);
147
+ width: calc(${u.horizontalSpacing} - 4px);
138
148
  flex-shrink: 0;
139
149
  }
140
150
 
@@ -150,20 +160,20 @@
150
160
  border-bottom-width: 1px;
151
161
  border-bottom-style: solid;
152
162
  border-color: inherit;
153
- color: ${x.textColor};
163
+ color: ${u.textColor};
154
164
  transition: font-size 250ms, line-height 250ms, color 250ms;
155
- max-width: calc(${x.labelMaxWidth} - 2 * (${x.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
165
+ max-width: calc(${u.labelMaxWidth} - 2 * (${u.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
156
166
  text-overflow: ellipsis;
157
- ${(0,g.setVariable)(N.fontSize,x.fontSize)};
158
- ${(0,g.setVariable)(N.lineHeight,x.fontSize)};
167
+ ${(0,g.setVariable)(C.fontSize,u.fontSize)};
168
+ ${(0,g.setVariable)(C.lineHeight,u.fontSize)};
159
169
  }
160
170
 
161
171
  .ft-input-label--in-error .ft-input-label--text {
162
- color: ${x.colorError}
172
+ color: ${u.colorError}
163
173
  }
164
174
 
165
175
  .ft-input-label--disabled .ft-input-label--text {
166
- color: ${x.disabledTextColor};
176
+ color: ${u.disabledTextColor};
167
177
  }
168
178
 
169
179
  .ft-input-label--hidden-text {
@@ -175,24 +185,24 @@
175
185
 
176
186
  .ft-input-label--floating-text {
177
187
  position: absolute;
178
- top: calc(50% - ${N.lineHeight} / 2);
188
+ top: calc(50% - ${C.lineHeight} / 2);
179
189
  transition: top 250ms;
180
190
  overflow: hidden;
181
191
  white-space: nowrap;
182
192
  text-overflow: ellipsis;
183
- padding: ${x.verticalSpacing} 4px;
184
- margin: calc(${x.verticalSpacing} * -1) 0;
193
+ padding: ${u.verticalSpacing} 4px;
194
+ margin: calc(${u.verticalSpacing} * -1) 0;
185
195
  max-width: 100%;
186
196
  box-sizing: border-box;
187
197
  }
188
198
 
189
199
  .ft-input-label--raised .ft-input-label--text {
190
- ${(0,g.setVariable)(N.fontSize,x.raisedFontSize)};
191
- ${(0,g.setVariable)(N.lineHeight,x.raisedFontSize)};
200
+ ${(0,g.setVariable)(C.fontSize,u.raisedFontSize)};
201
+ ${(0,g.setVariable)(C.lineHeight,u.raisedFontSize)};
192
202
  }
193
203
 
194
204
  .ft-input-label--raised .ft-input-label--floating-text {
195
- top: ${x.verticalSpacing};
205
+ top: ${u.verticalSpacing};
196
206
  }
197
207
 
198
208
  .ft-input-label--outlined .ft-input-label--text,
@@ -205,36 +215,36 @@
205
215
  .ft-input-label--outlined:before {
206
216
  border-left-width: 1px;
207
217
  border-left-style: solid;
208
- border-radius: ${x.borderRadius} 0 0 ${x.borderRadius};
218
+ border-radius: ${u.borderRadius} 0 0 ${u.borderRadius};
209
219
  }
210
220
 
211
221
  .ft-input-label--outlined:after {
212
222
  border-right-width: 1px;
213
223
  border-right-style: solid;
214
- border-radius: 0 ${x.borderRadius} ${x.borderRadius} 0;
224
+ border-radius: 0 ${u.borderRadius} ${u.borderRadius} 0;
215
225
  }
216
226
 
217
227
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
218
228
  padding: 2px 4px;
219
- z-index: ${x.raisedZIndex};
220
- background-color: ${x.backgroundColor};
221
- border-radius: ${x.borderRadius};
222
- top: calc((${N.lineHeight} / -2) + 2px);
229
+ z-index: ${u.raisedZIndex};
230
+ background-color: ${u.backgroundColor};
231
+ border-radius: ${u.borderRadius};
232
+ top: calc((${C.lineHeight} / -2) + 2px);
223
233
  }
224
234
 
225
235
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
226
236
  border-top: none;
227
237
  }
228
- `;var Ze=h(P()),Ye=h(K());var Mt=h(xe()),Bt=h(O()),wt=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},F=class extends Bt.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Ze.html`
229
- <div class="${(0,Mt.classMap)(this.inputLabelClasses)}">
230
- ${me(this.text,()=>Ze.html`
238
+ `;var Zt=h(P()),Yt=h(V());var Me=h(ut()),Be=h($()),we=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},lt=class extends Be.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Zt.html`
239
+ <div class="${(0,Me.classMap)(this.inputLabelClasses)}">
240
+ ${mt(this.text,()=>Zt.html`
231
241
  <div class="ft-input-label--text ft-typography--caption">
232
242
  <label class="ft-input-label--floating-text">${this.text}</label>
233
243
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
234
244
  </div>
235
245
  `)}
236
246
  </div>
237
- `}};F.elementDefinitions={};wt([(0,Ye.property)({type:String})],F.prototype,"text",void 0);wt([(0,Ye.property)({type:Boolean})],F.prototype,"raised",void 0);var Xe=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},M=class extends F{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};M.elementDefinitions={};M.styles=[he,Ht];Xe([(0,Le.property)({type:Boolean})],M.prototype,"outlined",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"error",void 0);Xe([(0,Le.property)({type:Boolean})],M.prototype,"disabled",void 0);var Wt=h(O());var zt={"ft-input-label":M};(0,Wt.customElements)(zt);var Yt=h(P()),$=h(K()),Xt=h(xe()),Se=h(O());var jt=h(P()),A=h(O()),Ut=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorContent),C={color:Ut,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ut),opacityContentOnSurfacePressed:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:A.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Gt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorPrimary),kt={color:Gt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Gt)},Vt=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorSecondary),Kt={color:Vt,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Vt)},Zt=jt.css`
247
+ `}};lt.elementDefinitions={};we([(0,Yt.property)({type:String})],lt.prototype,"text",void 0);we([(0,Yt.property)({type:Boolean})],lt.prototype,"raised",void 0);var Xt=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},M=class extends lt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};M.elementDefinitions={};M.styles=[ht,He];Xt([(0,Lt.property)({type:Boolean})],M.prototype,"outlined",void 0);Xt([(0,Lt.property)({type:Boolean})],M.prototype,"error",void 0);Xt([(0,Lt.property)({type:Boolean})],M.prototype,"disabled",void 0);var We=h($());var ze={"ft-input-label":M};(0,We.customElements)(ze);var Ye=h(P()),O=h(V()),Xe=h(ut()),St=h($());var je=h(P()),A=h($()),Ue=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorContent),R={color:Ue,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ue),opacityContentOnSurfacePressed:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:A.FtCssVariableFactory.external(A.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:A.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ge=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorPrimary),ke={color:Ge,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ge)},Ke=A.FtCssVariableFactory.extend("--ft-ripple-color","",A.designSystemVariables.colorSecondary),Ve={color:Ke,backgroundColor:A.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ke)},Ze=je.css`
238
248
  :host {
239
249
  display: contents;
240
250
  }
@@ -247,7 +257,7 @@
247
257
 
248
258
  .ft-ripple:not(.ft-ripple--unbounded) {
249
259
  overflow: hidden;
250
- border-radius: ${C.borderRadius};
260
+ border-radius: ${R.borderRadius};
251
261
  }
252
262
 
253
263
  .ft-ripple .ft-ripple--background,
@@ -281,27 +291,27 @@
281
291
  }
282
292
 
283
293
  .ft-ripple .ft-ripple--background {
284
- background-color: ${C.backgroundColor};
294
+ background-color: ${R.backgroundColor};
285
295
  }
286
296
 
287
297
  .ft-ripple .ft-ripple--effect {
288
- background-color: ${C.color};
298
+ background-color: ${R.color};
289
299
  }
290
300
 
291
301
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
292
- background-color: ${Kt.backgroundColor};
302
+ background-color: ${Ve.backgroundColor};
293
303
  }
294
304
 
295
305
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
296
- background-color: ${Kt.color};
306
+ background-color: ${Ve.color};
297
307
  }
298
308
 
299
309
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
300
- background-color: ${kt.backgroundColor};
310
+ background-color: ${ke.backgroundColor};
301
311
  }
302
312
 
303
313
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
304
- background-color: ${kt.color};
314
+ background-color: ${ke.color};
305
315
  }
306
316
 
307
317
  .ft-ripple .ft-ripple--background {
@@ -331,33 +341,33 @@
331
341
  }
332
342
 
333
343
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
334
- opacity: ${C.opacityContentOnSurfaceHover};
344
+ opacity: ${R.opacityContentOnSurfaceHover};
335
345
  }
336
346
 
337
347
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
338
- opacity: ${C.opacityContentOnSurfaceSelected};
348
+ opacity: ${R.opacityContentOnSurfaceSelected};
339
349
  }
340
350
 
341
351
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
342
- opacity: ${C.opacityContentOnSurfaceFocused};
352
+ opacity: ${R.opacityContentOnSurfaceFocused};
343
353
  }
344
354
 
345
355
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
346
- opacity: ${C.opacityContentOnSurfacePressed};
356
+ opacity: ${R.opacityContentOnSurfacePressed};
347
357
  transform: translate(-50%, -50%) scale(1);
348
358
  }
349
- `;var R=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},b=class extends Se.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 Se.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Se.Debouncer(10),this.moveRipple=t=>{var i,o;let{x:r,y:n}=this.getCoordinates(t),l=(o=(i=this.ripple)===null||i===void 0?void 0:i.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(r!=null?r-l.x:l.width/2),this.originY=Math.round(n!=null?n-l.y:l.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(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 Yt.html`
359
+ `;var L=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},b=class extends St.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 St.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new St.Debouncer(10),this.moveRipple=e=>{var i,o;let{x:r,y:n}=this.getCoordinates(e),a=(o=(i=this.ripple)===null||i===void 0?void 0:i.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(r!=null?r-a.x:a.width/2),this.originY=Math.round(n!=null?n-a.y:a.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 Ye.html`
350
360
  <style>
351
361
  .ft-ripple .ft-ripple--effect {
352
362
  left: ${this.originX}px;
353
363
  top: ${this.originY}px;
354
364
  }
355
365
  </style>
356
- <div class="${(0,Xt.classMap)(t)}">
366
+ <div class="${(0,Xe.classMap)(e)}">
357
367
  <div class="ft-ripple--background"></div>
358
368
  <div class="ft-ripple--effect"></div>
359
369
  </div>
360
- `}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,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(i=this.target)===null||i===void 0||i.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.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;let o=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;o&&this.setupFor((i=this.target)!==null&&i!==void 0?i:o)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}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");let i=(...p)=>d=>{p.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(d)},o=i("mouseup","contextmenu"),r=i("touchend","touchcancel"),n=p=>{["Enter"," "].includes(p.key)&&i("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",o,l),t.addEventListener("touchstart",r,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",n,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",o,l),t.removeEventListener("touchstart",r,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",n,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let i=t,o=t,r,n;return i.x!=null?{x:r,y:n}=i:o.touches!=null&&(r=o.touches[0].clientX,n=o.touches[0].clientY),{x:r,y:n}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)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()}};b.elementDefinitions={};b.styles=Zt;R([(0,$.property)({type:Boolean})],b.prototype,"primary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"secondary",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"unbounded",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"activated",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"selected",void 0);R([(0,$.property)({type:Boolean})],b.prototype,"disabled",void 0);R([(0,$.state)()],b.prototype,"hovered",void 0);R([(0,$.state)()],b.prototype,"focused",void 0);R([(0,$.state)()],b.prototype,"pressed",void 0);R([(0,$.state)()],b.prototype,"rippling",void 0);R([(0,$.state)()],b.prototype,"originX",void 0);R([(0,$.state)()],b.prototype,"originY",void 0);R([(0,$.query)(".ft-ripple")],b.prototype,"ripple",void 0);R([(0,$.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var Jt=h(O());var qt={"ft-ripple":b};(0,Jt.customElements)(qt);var Qt=h(P()),z=h(O()),B={size:z.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:z.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:z.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:z.FtCssVariableFactory.extend("--ft-icon-material-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:z.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},It=[Qt.css`
370
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var i,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(i=this.target)===null||i===void 0||i.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||o.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 e,i;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((i=this.target)!==null&&i!==void 0?i:o)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let i=(...f)=>d=>{f.forEach(m=>window.addEventListener(m,this.endPress,{once:!0})),this.startPress(d)},o=i("mouseup","contextmenu"),r=i("touchend","touchcancel"),n=f=>{["Enter"," "].includes(f.key)&&i("keyup")(f)},a={passive:!0};e.addEventListener("mouseover",this.startHover,a),e.addEventListener("mousemove",this.moveRipple,a),e.addEventListener("mouseleave",this.endHover,a),e.addEventListener("mousedown",o,a),e.addEventListener("touchstart",r,a),e.addEventListener("touchmove",this.moveRipple,a),e.addEventListener("keydown",n,a),e.addEventListener("focus",this.startFocus,a),e.addEventListener("blur",this.endFocus,a),e.addEventListener("focusin",this.startFocus,a),e.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,a),e.removeEventListener("mousemove",this.moveRipple,a),e.removeEventListener("mouseleave",this.endHover,a),e.removeEventListener("mousedown",o,a),e.removeEventListener("touchstart",r,a),e.removeEventListener("touchmove",this.moveRipple,a),e.removeEventListener("keydown",n,a),e.removeEventListener("focus",this.startFocus,a),e.removeEventListener("blur",this.endFocus,a),e.removeEventListener("focusin",this.startFocus,a),e.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let i=e,o=e,r,n;return i.x!=null?{x:r,y:n}=i:o.touches!=null&&(r=o.touches[0].clientX,n=o.touches[0].clientY),{x:r,y:n}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let i of e.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()}};b.elementDefinitions={};b.styles=Ze;L([(0,O.property)({type:Boolean})],b.prototype,"primary",void 0);L([(0,O.property)({type:Boolean})],b.prototype,"secondary",void 0);L([(0,O.property)({type:Boolean})],b.prototype,"unbounded",void 0);L([(0,O.property)({type:Boolean})],b.prototype,"activated",void 0);L([(0,O.property)({type:Boolean})],b.prototype,"selected",void 0);L([(0,O.property)({type:Boolean})],b.prototype,"disabled",void 0);L([(0,O.state)()],b.prototype,"hovered",void 0);L([(0,O.state)()],b.prototype,"focused",void 0);L([(0,O.state)()],b.prototype,"pressed",void 0);L([(0,O.state)()],b.prototype,"rippling",void 0);L([(0,O.state)()],b.prototype,"originX",void 0);L([(0,O.state)()],b.prototype,"originY",void 0);L([(0,O.query)(".ft-ripple")],b.prototype,"ripple",void 0);L([(0,O.query)(".ft-ripple--effect")],b.prototype,"rippleEffect",void 0);var Je=h($());var qe={"ft-ripple":b};(0,Je.customElements)(qe);var Qe=h(P()),z=h($()),B={size:z.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:z.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:z.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:z.FtCssVariableFactory.extend("--ft-icon-material-font-family","",z.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:z.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ie=[Qe.css`
361
371
  :host, i.ft-icon {
362
372
  display: inline-flex;
363
373
  align-items: center;
@@ -405,12 +415,12 @@
405
415
  .ft-icon--material {
406
416
  font-family: ${B.materialFontFamily}, "Material Icons", sans-serif;
407
417
  }
408
- `,z.noTextSelect];var Z;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Z||(Z={}));var _e=h(P()),Y=h(K()),ti=h(O()),ii=h(ei());var ee;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ee||(ee={}));var s;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(s||(s={}));var Mo=new Map([...["abw"].map(e=>[e,s.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,s.AUDIO]),...["avi"].map(e=>[e,s.AVI]),...["chm","xhs"].map(e=>[e,s.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,s.CODE]),...["csv"].map(e=>[e,s.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,s.DITA]),...["epub"].map(e=>[e,s.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,s.EXCEL]),...["flac"].map(e=>[e,s.FLAC]),...["gif"].map(e=>[e,s.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,s.GZIP]),...["html","htm","xhtml"].map(e=>[e,s.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,s.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,s.JPEG]),...["json"].map(e=>[e,s.JSON]),...["m4a","m4p"].map(e=>[e,s.M4A]),...["mov","qt"].map(e=>[e,s.MOV]),...["mp3"].map(e=>[e,s.MP3]),...["mp4","m4v"].map(e=>[e,s.MP4]),...["ogg","oga"].map(e=>[e,s.OGG]),...["pdf","ps"].map(e=>[e,s.PDF]),...["png"].map(e=>[e,s.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,s.POWERPOINT]),...["rar"].map(e=>[e,s.RAR]),...["stp"].map(e=>[e,s.STP]),...["txt","rtf","md","mdown"].map(e=>[e,s.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,s.VIDEO]),...["wav"].map(e=>[e,s.WAV]),...["wma"].map(e=>[e,s.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,s.WORD]),...["xml","xsl","rdf"].map(e=>[e,s.XML]),...["yaml","yml","x-yaml"].map(e=>[e,s.YAML]),...["zip"].map(e=>[e,s.ZIP])]);var Bo={[s.ABW]:"#91ABC6",[s.AUDIO]:"#1795E3",[s.AVI]:"#E63324",[s.CHM]:"#71C3EB",[s.CODE]:"#71C3EB",[s.CSV]:"#1F7345",[s.DITA]:"#71C3EB",[s.EPUB]:"#85B926",[s.EXCEL]:"#1F7345",[s.FLAC]:"#1795E3",[s.GIF]:"#59B031",[s.GZIP]:"#F8AB36",[s.HTML]:"#71C3EB",[s.IMAGE]:"#59B031",[s.JPEG]:"#59B031",[s.JSON]:"#71C3EB",[s.M4A]:"#1795E3",[s.MOV]:"#E63324",[s.MP3]:"#1795E3",[s.MP4]:"#E63324",[s.OGG]:"#1795E3",[s.PDF]:"#E44948",[s.PNG]:"#59B031",[s.POWERPOINT]:"#B54A2B",[s.RAR]:"#F8AB36",[s.STP]:"#3764B1",[s.TEXT]:"#3162AB",[s.UNKNOWN]:"#999999",[s.VIDEO]:"#E63324",[s.WAV]:"#1795E3",[s.WMA]:"#1795E3",[s.WORD]:"#3162AB",[s.XML]:"#71C3EB",[s.YAML]:"#71C3EB",[s.ZIP]:"#F8AB36"};var Ae=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},D=class extends ti.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_e.nothing}render(){let t=this.variant&&Object.values(Z).includes(this.variant)?this.variant:Z.fluid_topics,i=t!==Z.material||!!this.value;return _e.html`
409
- <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
418
+ `,z.noTextSelect];var Z;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Z||(Z={}));var _t=h(P()),Y=h(V()),ei=h($()),ii=h(ti());var st;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",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="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(st||(st={}));var s;(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;"})(s||(s={}));var Mo=new Map([...["abw"].map(t=>[t,s.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,s.AUDIO]),...["avi"].map(t=>[t,s.AVI]),...["chm","xhs"].map(t=>[t,s.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,s.CODE]),...["csv"].map(t=>[t,s.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,s.DITA]),...["epub"].map(t=>[t,s.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,s.EXCEL]),...["flac"].map(t=>[t,s.FLAC]),...["gif"].map(t=>[t,s.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,s.GZIP]),...["html","htm","xhtml"].map(t=>[t,s.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,s.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,s.JPEG]),...["json"].map(t=>[t,s.JSON]),...["m4a","m4p"].map(t=>[t,s.M4A]),...["mov","qt"].map(t=>[t,s.MOV]),...["mp3"].map(t=>[t,s.MP3]),...["mp4","m4v"].map(t=>[t,s.MP4]),...["ogg","oga"].map(t=>[t,s.OGG]),...["pdf","ps"].map(t=>[t,s.PDF]),...["png"].map(t=>[t,s.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,s.POWERPOINT]),...["rar"].map(t=>[t,s.RAR]),...["stp"].map(t=>[t,s.STP]),...["txt","rtf","md","mdown"].map(t=>[t,s.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,s.VIDEO]),...["wav"].map(t=>[t,s.WAV]),...["wma"].map(t=>[t,s.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,s.WORD]),...["xml","xsl","rdf"].map(t=>[t,s.XML]),...["yaml","yml","x-yaml"].map(t=>[t,s.YAML]),...["zip"].map(t=>[t,s.ZIP])]);var Bo={[s.ABW]:"#91ABC6",[s.AUDIO]:"#1795E3",[s.AVI]:"#E63324",[s.CHM]:"#71C3EB",[s.CODE]:"#71C3EB",[s.CSV]:"#1F7345",[s.DITA]:"#71C3EB",[s.EPUB]:"#85B926",[s.EXCEL]:"#1F7345",[s.FLAC]:"#1795E3",[s.GIF]:"#59B031",[s.GZIP]:"#F8AB36",[s.HTML]:"#71C3EB",[s.IMAGE]:"#59B031",[s.JPEG]:"#59B031",[s.JSON]:"#71C3EB",[s.M4A]:"#1795E3",[s.MOV]:"#E63324",[s.MP3]:"#1795E3",[s.MP4]:"#E63324",[s.OGG]:"#1795E3",[s.PDF]:"#E44948",[s.PNG]:"#59B031",[s.POWERPOINT]:"#B54A2B",[s.RAR]:"#F8AB36",[s.STP]:"#3764B1",[s.TEXT]:"#3162AB",[s.UNKNOWN]:"#999999",[s.VIDEO]:"#E63324",[s.WAV]:"#1795E3",[s.WMA]:"#1795E3",[s.WORD]:"#3162AB",[s.XML]:"#71C3EB",[s.YAML]:"#71C3EB",[s.ZIP]:"#F8AB36"};var At=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},N=class extends ei.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=_t.nothing}render(){let e=this.variant&&Object.values(Z).includes(this.variant)?this.variant:Z.fluid_topics,i=e!==Z.material||!!this.value;return _t.html`
419
+ <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
410
420
  ${(0,ii.unsafeHTML)(this.resolvedIcon)}
411
421
  <slot ?hidden=${i}></slot>
412
422
  </i>
413
- `}getTextContent(){var t,i;return(i=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&i!==void 0?i:""}update(t){super.update(t),["value","variant"].some(i=>t.has(i))&&this.resolveIcon()}resolveIcon(){var t,i;let o=this.value||this.getTextContent();switch(this.variant){case Z.file_format:this.resolvedIcon=(t=s[o.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:o;break;case Z.material:this.resolvedIcon=this.value||_e.nothing;break;default:this.resolvedIcon=(i=ee[o.replace("-","_").toUpperCase()])!==null&&i!==void 0?i:o;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};D.elementDefinitions={};D.styles=It;Ae([(0,Y.property)()],D.prototype,"variant",void 0);Ae([(0,Y.property)()],D.prototype,"value",void 0);Ae([(0,Y.property)({reflect:!0,attribute:"aria-hidden"})],D.prototype,"ariaHidden",void 0);Ae([(0,Y.state)()],D.prototype,"resolvedIcon",void 0);Ae([(0,Y.query)("slot")],D.prototype,"slottedContent",void 0);var ri=h(O());var oi={"ft-icon":D};(0,ri.customElements)(oi);var ni=h(P()),c=h(O());var u={labelSize:c.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:c.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:c.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:c.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:c.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:c.FtCssVariableFactory.extend("--ft-select-selected-option-color","",c.designSystemVariables.colorOnSurface),helperColor:c.FtCssVariableFactory.extend("--ft-select-helper-color","",c.designSystemVariables.colorOnSurfaceMedium),optionsColor:c.FtCssVariableFactory.extend("--ft-select-options-color","",c.designSystemVariables.colorOnSurface),optionsZIndex:c.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:c.FtCssVariableFactory.extend("--ft-select-background-color","",c.designSystemVariables.colorSurface),colorOnSurfaceDisabled:c.FtCssVariableFactory.external(c.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:c.FtCssVariableFactory.external(c.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:c.FtCssVariableFactory.external(c.designSystemVariables.borderRadiusS,"Design system"),elevation02:c.FtCssVariableFactory.external(c.designSystemVariables.elevation02,"Design system"),colorError:c.FtCssVariableFactory.external(c.designSystemVariables.colorError,"Design system")},li=ni.css`
423
+ `}getTextContent(){var e,i;return(i=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&i!==void 0?i:""}update(e){super.update(e),["value","variant"].some(i=>e.has(i))&&this.resolveIcon()}resolveIcon(){var e,i;let o=this.value||this.getTextContent();switch(this.variant){case Z.file_format:this.resolvedIcon=(e=s[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case Z.material:this.resolvedIcon=this.value||_t.nothing;break;default:this.resolvedIcon=(i=st[o.replace("-","_").toUpperCase()])!==null&&i!==void 0?i:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};N.elementDefinitions={};N.styles=Ie;At([(0,Y.property)()],N.prototype,"variant",void 0);At([(0,Y.property)()],N.prototype,"value",void 0);At([(0,Y.property)({reflect:!0,attribute:"aria-hidden"})],N.prototype,"ariaHidden",void 0);At([(0,Y.state)()],N.prototype,"resolvedIcon",void 0);At([(0,Y.query)("slot")],N.prototype,"slottedContent",void 0);var ri=h($());var oi={"ft-icon":N};(0,ri.customElements)(oi);var ni=h(P()),c=h($());var x={labelSize:c.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:c.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:c.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:c.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:c.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:c.FtCssVariableFactory.extend("--ft-select-selected-option-color","",c.designSystemVariables.colorOnSurface),helperColor:c.FtCssVariableFactory.extend("--ft-select-helper-color","",c.designSystemVariables.colorOnSurfaceMedium),optionsColor:c.FtCssVariableFactory.extend("--ft-select-options-color","",c.designSystemVariables.colorOnSurface),optionsZIndex:c.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:c.FtCssVariableFactory.extend("--ft-select-background-color","",c.designSystemVariables.colorSurface),colorOnSurfaceDisabled:c.FtCssVariableFactory.external(c.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:c.FtCssVariableFactory.external(c.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:c.FtCssVariableFactory.external(c.designSystemVariables.borderRadiusS,"Design system"),elevation02:c.FtCssVariableFactory.external(c.designSystemVariables.elevation02,"Design system"),colorError:c.FtCssVariableFactory.external(c.designSystemVariables.colorError,"Design system")},ai=ni.css`
414
424
  *:focus {
415
425
  outline: none;
416
426
  }
@@ -425,7 +435,7 @@
425
435
  .ft-select--main-panel {
426
436
  position: relative;
427
437
  display: flex;
428
- height: calc(4 * ${u.verticalSpacing} + ${u.labelSize} + ${u.selectedOptionSize});
438
+ height: calc(4 * ${x.verticalSpacing} + ${x.labelSize} + ${x.selectedOptionSize});
429
439
  }
430
440
 
431
441
  .ft-select--input-panel {
@@ -434,17 +444,17 @@
434
444
  display: flex;
435
445
  align-items: center;
436
446
  overflow: hidden;
437
- padding-left: ${u.horizontalSpacing};
438
- padding-right: ${u.horizontalSpacing};
447
+ padding-left: ${x.horizontalSpacing};
448
+ padding-right: ${x.horizontalSpacing};
439
449
  gap: 8px;
440
- color: ${u.selectedOptionColor};
441
- ${(0,c.setVariable)(C.color,u.selectedOptionColor)};
450
+ color: ${x.selectedOptionColor};
451
+ ${(0,c.setVariable)(R.color,x.selectedOptionColor)};
442
452
  }
443
453
 
444
454
  .ft-select--input-panel,
445
455
  .ft-select--options {
446
- ${(0,c.setVariable)(C.opacityContentOnSurfaceHover,"0.08")};
447
- ${(0,c.setVariable)(C.opacityContentOnSurfacePressed,"0.04")};
456
+ ${(0,c.setVariable)(R.opacityContentOnSurfaceHover,"0.08")};
457
+ ${(0,c.setVariable)(R.opacityContentOnSurfacePressed,"0.04")};
448
458
  }
449
459
 
450
460
  .ft-select--input-panel > *:not(ft-ripple) {
@@ -453,7 +463,7 @@
453
463
 
454
464
  .ft-select--disabled .ft-select--input-panel,
455
465
  .ft-select--disabled .ft-select--options {
456
- color: ${u.colorOnSurfaceDisabled};
466
+ color: ${x.colorOnSurfaceDisabled};
457
467
  }
458
468
 
459
469
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -462,21 +472,21 @@
462
472
  }
463
473
 
464
474
  ft-input-label {
465
- ${(0,c.setVariable)(x.fontSize,u.selectedOptionSize)};
466
- ${(0,c.setVariable)(x.raisedFontSize,u.labelSize)};
467
- ${(0,c.setVariable)(x.verticalSpacing,u.verticalSpacing)};
468
- ${(0,c.setVariable)(x.horizontalSpacing,u.horizontalSpacing)};
469
- ${(0,c.setVariable)(x.backgroundColor,u.backgroundColor)};
470
- ${(0,c.setVariable)(x.labelMaxWidth,`calc(100% - ${B.size} - 8px)`)};
475
+ ${(0,c.setVariable)(u.fontSize,x.selectedOptionSize)};
476
+ ${(0,c.setVariable)(u.raisedFontSize,x.labelSize)};
477
+ ${(0,c.setVariable)(u.verticalSpacing,x.verticalSpacing)};
478
+ ${(0,c.setVariable)(u.horizontalSpacing,x.horizontalSpacing)};
479
+ ${(0,c.setVariable)(u.backgroundColor,x.backgroundColor)};
480
+ ${(0,c.setVariable)(u.labelMaxWidth,`calc(100% - ${B.size} - 8px)`)};
471
481
  }
472
482
 
473
483
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
474
- color: ${u.colorPrimary};
484
+ color: ${x.colorPrimary};
475
485
  }
476
486
 
477
487
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
478
- ${(0,c.setVariable)(x.borderColor,u.colorPrimary)};
479
- ${(0,c.setVariable)(x.textColor,u.colorPrimary)};
488
+ ${(0,c.setVariable)(u.borderColor,x.colorPrimary)};
489
+ ${(0,c.setVariable)(u.textColor,x.colorPrimary)};
480
490
  }
481
491
 
482
492
  .ft-select--selected-option {
@@ -486,12 +496,12 @@
486
496
  overflow: hidden;
487
497
  white-space: nowrap;
488
498
  text-overflow: ellipsis;
489
- ${(0,c.setVariable)(U.fontSize,u.selectedOptionSize)};
490
- ${(0,c.setVariable)(U.lineHeight,u.selectedOptionSize)};
499
+ ${(0,c.setVariable)(W.fontSize,x.selectedOptionSize)};
500
+ ${(0,c.setVariable)(W.lineHeight,x.selectedOptionSize)};
491
501
  }
492
502
 
493
503
  .ft-select--in-error .ft-select--selected-option {
494
- color: ${u.colorError};
504
+ color: ${x.colorError};
495
505
  }
496
506
 
497
507
  ft-icon {
@@ -501,26 +511,26 @@
501
511
 
502
512
 
503
513
  .ft-select--filled .ft-select--input-panel {
504
- border-radius: ${u.borderRadiusS} ${u.borderRadiusS} 0 0;
514
+ border-radius: ${x.borderRadiusS} ${x.borderRadiusS} 0 0;
505
515
  }
506
516
 
507
517
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
508
518
  align-self: stretch;
509
- padding-top: calc(${u.labelSize} + 2 * ${u.verticalSpacing});
519
+ padding-top: calc(${x.labelSize} + 2 * ${x.verticalSpacing});
510
520
  }
511
521
 
512
522
  .ft-select--outlined .ft-select--input-panel {
513
- border-radius: ${u.borderRadiusS};
523
+ border-radius: ${x.borderRadiusS};
514
524
  }
515
525
 
516
526
  .ft-select--options {
517
527
  display: none;
518
528
  position: absolute;
519
529
  top: 100%;
520
- color: ${u.optionsColor};
521
- background: ${u.backgroundColor};
522
- z-index: ${u.optionsZIndex};
523
- box-shadow: ${u.elevation02};
530
+ color: ${x.optionsColor};
531
+ background: ${x.backgroundColor};
532
+ z-index: ${x.optionsZIndex};
533
+ box-shadow: ${x.elevation02};
524
534
  width: max-content;
525
535
  }
526
536
 
@@ -530,26 +540,26 @@
530
540
 
531
541
  .ft-select--options-displayed .ft-select--options {
532
542
  display: block;
533
- max-height: ${u.optionsHeight};
543
+ max-height: ${x.optionsHeight};
534
544
  overflow-y: auto;
535
545
  }
536
546
 
537
547
  .ft-select--helper-text {
538
- padding: 0 ${u.horizontalSpacing};
539
- color: ${u.helperColor};
548
+ padding: 0 ${x.horizontalSpacing};
549
+ color: ${x.helperColor};
540
550
  }
541
551
 
542
552
  .ft-select--in-error .ft-select--helper-text {
543
- color: ${u.colorError};
553
+ color: ${x.colorError};
544
554
  }
545
555
 
546
556
  .ft-select:not(.ft-select--has-option-selected) .ft-select--selected-option {
547
557
  opacity: 0;
548
558
  }
549
- `;var Ne=h(O());var ce=h(P()),pi=h(xe()),X=h(K());var qe=h(O());var si=h(P()),ai=si.css`
559
+ `;var Dt=h($());var ct=h(P()),pi=h(ut()),X=h(V());var qt=h($());var li=h(P()),si=li.css`
550
560
  .ft-select--option {
551
- ${(0,qe.setVariable)(C.opacityContentOnSurfaceHover,"0.08")};
552
- ${(0,qe.setVariable)(C.opacityContentOnSurfacePressed,"0.04")};
561
+ ${(0,qt.setVariable)(R.opacityContentOnSurfaceHover,"0.08")};
562
+ ${(0,qt.setVariable)(R.opacityContentOnSurfacePressed,"0.04")};
553
563
  }
554
564
 
555
565
  .ft-select--option > *:not(ft-ripple) {
@@ -558,14 +568,14 @@
558
568
 
559
569
  .ft-select--option {
560
570
  position: relative;
561
- padding: 4px ${u.horizontalSpacing};
571
+ padding: 4px ${x.horizontalSpacing};
562
572
  min-height: 32px;
563
573
  display: flex;
564
574
  align-items: center;
565
575
  }
566
576
 
567
577
  .ft-select--option:hover {
568
- border-left: 2px ${u.colorPrimary} solid;
578
+ border-left: 2px ${x.colorPrimary} solid;
569
579
  }
570
580
 
571
581
  .ft-select--option span {
@@ -573,9 +583,9 @@
573
583
  overflow: hidden;
574
584
  }
575
585
 
576
- `;var Ee=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},L=class extends Ne.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var t,i;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return ce.html`
586
+ `;var Et=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n},D=class extends Dt.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var e,i;let o={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return ct.html`
577
587
  <div class="${(0,pi.classMap)(o)}"
578
- part="option option-${(i=(t=this.value)===null||t===void 0?void 0:t.toString())===null||i===void 0?void 0:i.replace(/[^\w-]/g,"")}"
588
+ part="option option-${(i=(e=this.value)===null||e===void 0?void 0:e.toString())===null||i===void 0?void 0:i.replace(/[^\w-]/g,"")}"
579
589
  tabindex="0"
580
590
  aria-label="${this.label}"
581
591
  data-value="${this.value}"
@@ -583,31 +593,31 @@
583
593
  <ft-ripple ?primary=${this.selected} ?activated=${this.selected}></ft-ripple>
584
594
  <slot @slotchange=${this.onSlotChange}>
585
595
  </slot>
586
- ${this.isSlotEmpty?ce.html`<span>${this.label}</span>`:ce.html``}
596
+ ${this.isSlotEmpty?ct.html`<span>${this.label}</span>`:ct.html``}
587
597
  </div>
588
- `}onSlotChange(){this.isSlotEmpty=(0,Ne.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};L.elementDefinitions={"ft-ripple":b};L.shadowRootOptions={...ce.LitElement.shadowRootOptions,delegatesFocus:!0};L.styles=[ai,Re];Ee([(0,X.property)({type:String})],L.prototype,"label",void 0);Ee([(0,X.property)({type:Object,converter:e=>e})],L.prototype,"value",void 0);Ee([(0,X.property)({type:Boolean,reflect:!0})],L.prototype,"selected",void 0);Ee([(0,X.query)("slot")],L.prototype,"slotElement",void 0);Ee([(0,X.state)()],L.prototype,"isSlotEmpty",void 0);var T=function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,o);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(n=(r<3?l(n):r>3?l(t,i,n):l(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};var v=class e extends w.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let t=[...this.querySelectorAll("ft-select-option")];return t.length>0?t:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(t=>t.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(t=>t.selected)}get lastOption(){return(0,w.last)(this.optionsList)}render(){var t,i,o,r,n;let l=this.hasOptionsMenuOpen,p=this.disabled||!this.hasOptions,d=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((o=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&o!==void 0?o:"").length>0,m={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":p,"ft-select--options-displayed":l,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ue.html`
598
+ `}onSlotChange(){this.isSlotEmpty=(0,Dt.isSlotEmptyOrWithoutContent)(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};D.elementDefinitions={"ft-ripple":b};D.shadowRootOptions={...ct.LitElement.shadowRootOptions,delegatesFocus:!0};D.styles=[si,Rt];Et([(0,X.property)({type:String})],D.prototype,"label",void 0);Et([(0,X.property)({type:Object,converter:t=>t})],D.prototype,"value",void 0);Et([(0,X.property)({type:Boolean,reflect:!0})],D.prototype,"selected",void 0);Et([(0,X.query)("slot")],D.prototype,"slotElement",void 0);Et([(0,X.state)()],D.prototype,"isSlotEmpty",void 0);var T=function(t,e,i,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,i):o,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,i,o);else for(var f=t.length-1;f>=0;f--)(a=t[f])&&(n=(r<3?a(n):r>3?a(e,i,n):a(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};var v=class t extends w.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let e=[...this.querySelectorAll("ft-select-option")];return e.length>0?e:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(e=>e.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(e=>e.selected)}get lastOption(){return(0,w.last)(this.optionsList)}render(){var e,i,o,r,n;let a=this.hasOptionsMenuOpen,f=this.disabled||!this.hasOptions,d=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((o=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&o!==void 0?o:"").length>0,m={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":f,"ft-select--options-displayed":a,"ft-select--has-option-selected":d,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return xt.html`
589
599
  <div class="${(0,fi.classMap)(m)}" part="container">
590
600
  <div class="ft-select--main-panel" part="main-panel">
591
601
  <ft-input-label text="${this.label}"
592
602
  part="label"
593
603
  id="label"
594
- ?disabled=${p}
604
+ ?disabled=${f}
595
605
  ?outlined=${this.outlined}
596
- ?raised=${d||l}
606
+ ?raised=${d||a}
597
607
  ?error=${this.error}
598
608
  ></ft-input-label>
599
609
  <div class="ft-select--input-panel"
600
610
  part="selected-value"
601
- tabindex="${p?"-1":"0"}"
611
+ tabindex="${f?"-1":"0"}"
602
612
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
603
613
  @keydown=${this.onMainPanelKeyDown}
604
- aria-label="${Ge(this.ariaLabel)}"
605
- aria-labelledby="${me(!this.ariaLabel,()=>"label")}"
614
+ aria-label="${Gt(this.ariaLabel)}"
615
+ aria-labelledby="${mt(!this.ariaLabel,()=>"label")}"
606
616
  aria-haspopup="listbox"
607
- aria-expanded="${l}"
608
- aria-activedescendant="${Ge(this.getOptionId(this.selectedOption))}"
617
+ aria-expanded="${a}"
618
+ aria-activedescendant="${Gt(this.getOptionId(this.selectedOption))}"
609
619
  role="combobox">
610
- <ft-ripple ?disabled=${p} ?activated=${!this.outlined}></ft-ripple>
620
+ <ft-ripple ?disabled=${f} ?activated=${!this.outlined}></ft-ripple>
611
621
  <slot name="input-value">
612
622
  <ft-typography variant="${I.body1}"
613
623
  aria-hidden="${d?"false":"true"}"
@@ -615,7 +625,7 @@
615
625
  ${(n=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&n!==void 0?n:this.label}
616
626
  </ft-typography>
617
627
  </slot>
618
- <ft-icon aria-hidden="true" .value=${l?ee.THIN_ARROW_UP:ee.THIN_ARROW}></ft-icon>
628
+ <ft-icon aria-hidden="true" .value=${a?st.THIN_ARROW_UP:st.THIN_ARROW}></ft-icon>
619
629
  </div>
620
630
  <div class="ft-select--options"
621
631
  part="options"
@@ -626,22 +636,22 @@
626
636
  @option-change=${this.updateOptionsFromSlot}
627
637
  >
628
638
  </slot>
629
- ${me(this.isSlotEmpty,()=>(0,di.repeat)(this.options,S=>S.value,S=>this.renderOption(S)))}
639
+ ${mt(this.isSlotEmpty,()=>(0,di.repeat)(this.options,S=>S.value,S=>this.renderOption(S)))}
630
640
  </div>
631
641
  </div>
632
642
  <slot name="helper" part="helper">
633
- ${this.helper?ue.html`
643
+ ${this.helper?xt.html`
634
644
  <ft-typography class="ft-select--helper-text" variant="${I.caption}">${this.helper}
635
- </ft-typography>`:ue.nothing}
645
+ </ft-typography>`:xt.nothing}
636
646
  </slot>
637
647
  </div>
638
- `}renderOption(t){let i=this.selectedOption===t;return ue.html`
648
+ `}renderOption(e){let i=this.selectedOption===e;return xt.html`
639
649
  <ft-select-option
640
650
  ?selected=${i}
641
- label="${t.label}"
642
- .value=${t.value}
651
+ label="${e.label}"
652
+ .value=${e.value}
643
653
  ></ft-select-option>
644
- `}willUpdate(t){super.willUpdate(t),t.has("options")&&(this.selectedOption=this.options.filter(i=>i.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var i,o;if(super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((o=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let r=["bottom","top"];(0,w.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",r,"fixed",u.optionsHeight,0).then(({x:n,y:l})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${l}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var i;t.stopPropagation(),this.isSlotEmpty=(0,w.isSlotEmptyOrWithoutContent)(this.optionsSlot);let o=(i=this.optionsSlot)===null||i===void 0?void 0:i.assignedElements().map(r=>r);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key===" "&&(t.preventDefault(),t.stopPropagation()),t.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var i,o;let r,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(t.key){case" ":case"Enter":t.preventDefault(),t.stopPropagation(),this.onSelectOption(t),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),r=this.optionsList[(n+1)%this.optionsList.length];break;default:if(t.key.length!=1)break;this.isKeyAlphanumeric(t.key)&&(r=this.handleAlphanumericPress(t.key));break}r?.focus()}isKeyAlphanumeric(t){let i=t.charCodeAt(0);return i>47&&i<58||i>64&&i<91||i>96&&i<123}handleAlphanumericPress(t){let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>e.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=t.toLowerCase();let o=this.options.find(r=>{var n;return((n=r.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=i,o&&this.optionsList.find(r=>r.value===o.value)}getOptionId(t){if(!t)return;let i=this.options.findIndex(o=>(0,w.deepEqual)(o.value,t.value));if(i!==-1)return`option-${i}`}onSelectOption(t){t.stopPropagation(),this.setValue(t.target.value)}setValue(t,i=!0){let o=this.options.find(r=>(0,w.deepEqual)(r.value,t));o&&this.selectOption(o,i)}selectOption(t,i=!0){var o,r;if(!(0,w.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,t?.value)){this.selectedOption=t;for(let n of this.options)n.selected=n===t;i&&this.dispatchEvent(new CustomEvent("change",{detail:(r=this.selectedOption)===null||r===void 0?void 0:r.value}))}this.optionsDisplayed=!1}};v.elementDefinitions={"ft-input-label":M,"ft-typography":k,"ft-ripple":b,"ft-icon":D,"ft-select-option":L};v.searchTimeoutMilliseconds=2e3;v.styles=[he,li];T([(0,E.property)({type:String})],v.prototype,"label",void 0);T([(0,E.property)({type:String})],v.prototype,"ariaLabel",void 0);T([(0,E.property)({type:String})],v.prototype,"helper",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"outlined",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"disabled",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"error",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"fixedMenuPosition",void 0);T([(0,E.property)({type:Array})],v.prototype,"options",void 0);T([(0,E.state)()],v.prototype,"selectedOption",void 0);T([(0,E.state)()],v.prototype,"optionsDisplayed",void 0);T([(0,E.state)()],v.prototype,"focusOptions",void 0);T([(0,E.state)()],v.prototype,"currentSearch",void 0);T([(0,E.state)()],v.prototype,"lastSearchInputDate",void 0);T([(0,E.query)(".ft-select")],v.prototype,"container",void 0);T([(0,E.query)(".ft-select--options")],v.prototype,"optionsMenu",void 0);T([(0,E.query)(".ft-select--input-panel")],v.prototype,"mainPanel",void 0);T([(0,E.query)("slot:not([name])")],v.prototype,"optionsSlot",void 0);var hi={"ft-select":v,"ft-select-option":L};(0,ci.customElements)(hi);})();
654
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(i=>i.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var i,o;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((o=(i=this.selectedOptionElement)!==null&&i!==void 0?i:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let r=["bottom","top"];(0,w.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",r,"fixed",x.optionsHeight,0).then(({x:n,y:a})=>{this.optionsMenu.style.left=`${n}px`,this.optionsMenu.style.top=`${a}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var i;e.stopPropagation(),this.isSlotEmpty=(0,w.isSlotEmptyOrWithoutContent)(this.optionsSlot);let o=(i=this.optionsSlot)===null||i===void 0?void 0:i.assignedElements().map(r=>r);o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(e){switch(e.key===" "&&(e.preventDefault(),e.stopPropagation()),e.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var i,o;let r,n=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(e.key){case" ":case"Enter":e.preventDefault(),e.stopPropagation(),this.onSelectOption(e),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus();break;case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),r=this.optionsList[(n-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),r=this.optionsList[(n+1)%this.optionsList.length];break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(r=this.handleAlphanumericPress(e.key));break}r?.focus()}isKeyAlphanumeric(e){let i=e.charCodeAt(0);return i>47&&i<58||i>64&&i<91||i>96&&i<123}handleAlphanumericPress(e){let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let o=this.options.find(r=>{var n;return((n=r.label)===null||n===void 0?void 0:n.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=i,o&&this.optionsList.find(r=>r.value===o.value)}getOptionId(e){if(!e)return;let i=this.options.findIndex(o=>(0,w.deepEqual)(o.value,e.value));if(i!==-1)return`option-${i}`}onSelectOption(e){e.stopPropagation(),this.setValue(e.target.value)}setValue(e,i=!0){let o=this.options.find(r=>(0,w.deepEqual)(r.value,e));o&&this.selectOption(o,i)}selectOption(e,i=!0){var o,r;if(!(0,w.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e?.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;i&&this.dispatchEvent(new CustomEvent("change",{detail:(r=this.selectedOption)===null||r===void 0?void 0:r.value}))}this.optionsDisplayed=!1}};v.elementDefinitions={"ft-input-label":M,"ft-typography":k,"ft-ripple":b,"ft-icon":N,"ft-select-option":D};v.searchTimeoutMilliseconds=2e3;v.styles=[ht,ai];T([(0,E.property)({type:String})],v.prototype,"label",void 0);T([(0,E.property)({type:String})],v.prototype,"ariaLabel",void 0);T([(0,E.property)({type:String})],v.prototype,"helper",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"outlined",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"disabled",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"error",void 0);T([(0,E.property)({type:Boolean})],v.prototype,"fixedMenuPosition",void 0);T([(0,E.property)({type:Array})],v.prototype,"options",void 0);T([(0,E.state)()],v.prototype,"selectedOption",void 0);T([(0,E.state)()],v.prototype,"optionsDisplayed",void 0);T([(0,E.state)()],v.prototype,"focusOptions",void 0);T([(0,E.state)()],v.prototype,"currentSearch",void 0);T([(0,E.state)()],v.prototype,"lastSearchInputDate",void 0);T([(0,E.query)(".ft-select")],v.prototype,"container",void 0);T([(0,E.query)(".ft-select--options")],v.prototype,"optionsMenu",void 0);T([(0,E.query)(".ft-select--input-panel")],v.prototype,"mainPanel",void 0);T([(0,E.query)("slot:not([name])")],v.prototype,"optionsSlot",void 0);var hi={"ft-select":v,"ft-select-option":D};(0,ci.customElements)(hi);})();
645
655
  /*! Bundled license information:
646
656
 
647
657
  lit-html/directives/when.js: