@fluid-topics/ft-reorderable-list 1.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/build/ft-reorderable-list.light.js +1338 -0
- package/build/ft-reorderable-list.min.js +1553 -0
- package/build/ftds-reorderable-list.d.ts +30 -0
- package/build/ftds-reorderable-list.js +257 -0
- package/build/ftds-reorderable-list.properties.d.ts +19 -0
- package/build/ftds-reorderable-list.properties.js +1 -0
- package/build/ftds-reorderable-list.styles.d.ts +4 -0
- package/build/ftds-reorderable-list.styles.js +70 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +6 -0
- package/package.json +30 -0
|
@@ -0,0 +1,1338 @@
|
|
|
1
|
+
"use strict";(()=>{var on=Object.create;var Co=Object.defineProperty;var rn=Object.getOwnPropertyDescriptor;var an=Object.getOwnPropertyNames;var nn=Object.getPrototypeOf,cn=Object.prototype.hasOwnProperty;var Kt=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ln=(e,o,a,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of an(o))!cn.call(e,c)&&c!==a&&Co(e,c,{get:()=>o[c],enumerable:!(n=rn(o,c))||n.enumerable});return e};var b=(e,o,a)=>(a=e!=null?on(nn(e)):{},ln(o||!e||!e.__esModule?Co(a,"default",{value:e,enumerable:!0}):a,e));var w=Kt((_n,vo)=>{vo.exports=ftGlobals.wcUtils});var T=Kt((Hn,No)=>{No.exports=ftGlobals.lit});var it=Kt((Fn,Do)=>{Do.exports=ftGlobals.litDecorators});var Go=Kt((Kn,Uo)=>{Uo.exports=ftGlobals.litRepeat});var Te=Kt((Id,oa)=>{oa.exports=ftGlobals.litClassMap});var Wa=Kt((hp,Pa)=>{Pa.exports=ftGlobals.litUnsafeHTML});var Ja=b(w());var tt=b(T());var Ye=globalThis,Ne=Ye.trustedTypes,Eo=Ne?Ne.createPolicy("lit-html",{createHTML:e=>e}):void 0,Xe="$lit$",bt=`lit$${(Math.random()+"").slice(9)}$`,qe="?"+bt,sn=`<${qe}>`,kt=document,Ee=()=>kt.createComment(""),se=e=>e===null||typeof e!="object"&&typeof e!="function",Io=Array.isArray,Bo=e=>Io(e)||typeof e?.[Symbol.iterator]=="function",je=`[
|
|
2
|
+
\f\r]`,le=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wo=/-->/g,Lo=/>/g,Wt=RegExp(`>|${je}(?:([^\\s"'>=/]+)(${je}*=${je}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ro=/'/g,$o=/"/g,Po=/^(?:script|style|textarea|title)$/i,Wo=e=>(o,...a)=>({_$litType$:e,strings:o,values:a}),To=Wo(1),ko=Wo(2),dt=Symbol.for("lit-noChange"),A=Symbol.for("lit-nothing"),Ao=new WeakMap,Tt=kt.createTreeWalker(kt,129);function zo(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Eo!==void 0?Eo.createHTML(o):o}var _o=(e,o)=>{let a=e.length-1,n=[],c,l=o===2?"<svg>":"",s=le;for(let p=0;p<a;p++){let y=e[p],h,O,x=-1,N=0;for(;N<y.length&&(s.lastIndex=N,O=s.exec(y),O!==null);)N=s.lastIndex,s===le?O[1]==="!--"?s=wo:O[1]!==void 0?s=Lo:O[2]!==void 0?(Po.test(O[2])&&(c=RegExp("</"+O[2],"g")),s=Wt):O[3]!==void 0&&(s=Wt):s===Wt?O[0]===">"?(s=c??le,x=-1):O[1]===void 0?x=-2:(x=s.lastIndex-O[2].length,h=O[1],s=O[3]===void 0?Wt:O[3]==='"'?$o:Ro):s===$o||s===Ro?s=Wt:s===wo||s===Lo?s=le:(s=Wt,c=void 0);let v=s===Wt&&e[p+1].startsWith("/>")?" ":"";l+=s===le?y+sn:x>=0?(n.push(h),y.slice(0,x)+Xe+y.slice(x)+bt+v):y+bt+(x===-2?p:v)}return[zo(e,l+(e[a]||"<?>")+(o===2?"</svg>":"")),n]},de=class e{constructor({strings:o,_$litType$:a},n){let c;this.parts=[];let l=0,s=0,p=o.length-1,y=this.parts,[h,O]=_o(o,a);if(this.el=e.createElement(h,n),Tt.currentNode=this.el.content,a===2){let x=this.el.content.firstChild;x.replaceWith(...x.childNodes)}for(;(c=Tt.nextNode())!==null&&y.length<p;){if(c.nodeType===1){if(c.hasAttributes())for(let x of c.getAttributeNames())if(x.endsWith(Xe)){let N=O[s++],v=c.getAttribute(x).split(bt),E=/([.?@])?(.*)/.exec(N);y.push({type:1,index:l,name:E[2],strings:v,ctor:E[1]==="."?Le:E[1]==="?"?Re:E[1]==="@"?$e:_t}),c.removeAttribute(x)}else x.startsWith(bt)&&(y.push({type:6,index:l}),c.removeAttribute(x));if(Po.test(c.tagName)){let x=c.textContent.split(bt),N=x.length-1;if(N>0){c.textContent=Ne?Ne.emptyScript:"";for(let v=0;v<N;v++)c.append(x[v],Ee()),Tt.nextNode(),y.push({type:2,index:++l});c.append(x[N],Ee())}}}else if(c.nodeType===8)if(c.data===qe)y.push({type:2,index:l});else{let x=-1;for(;(x=c.data.indexOf(bt,x+1))!==-1;)y.push({type:7,index:l}),x+=bt.length-1}l++}}static createElement(o,a){let n=kt.createElement("template");return n.innerHTML=o,n}};function zt(e,o,a=e,n){if(o===dt)return o;let c=n!==void 0?a._$Co?.[n]:a._$Cl,l=se(o)?void 0:o._$litDirective$;return c?.constructor!==l&&(c?._$AO?.(!1),l===void 0?c=void 0:(c=new l(e),c._$AT(e,a,n)),n!==void 0?(a._$Co??=[])[n]=c:a._$Cl=c),c!==void 0&&(o=zt(e,c._$AS(e,o.values),c,n)),o}var we=class{constructor(o,a){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=a}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:a},parts:n}=this._$AD,c=(o?.creationScope??kt).importNode(a,!0);Tt.currentNode=c;let l=Tt.nextNode(),s=0,p=0,y=n[0];for(;y!==void 0;){if(s===y.index){let h;y.type===2?h=new pe(l,l.nextSibling,this,o):y.type===1?h=new y.ctor(l,y.name,y.strings,this,o):y.type===6&&(h=new Ae(l,this,o)),this._$AV.push(h),y=n[++p]}s!==y?.index&&(l=Tt.nextNode(),s++)}return Tt.currentNode=kt,c}p(o){let a=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,a),a+=n.strings.length-2):n._$AI(o[a])),a++}},pe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,a,n,c){this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=o,this._$AB=a,this._$AM=n,this.options=c,this._$Cv=c?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,a=this._$AM;return a!==void 0&&o?.nodeType===11&&(o=a.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,a=this){o=zt(this,o,a),se(o)?o===A||o==null||o===""?(this._$AH!==A&&this._$AR(),this._$AH=A):o!==this._$AH&&o!==dt&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Bo(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==A&&se(this._$AH)?this._$AA.nextSibling.data=o:this.$(kt.createTextNode(o)),this._$AH=o}g(o){let{values:a,_$litType$:n}=o,c=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=de.createElement(zo(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===c)this._$AH.p(a);else{let l=new we(c,this),s=l.u(this.options);l.p(a),this.$(s),this._$AH=l}}_$AC(o){let a=Ao.get(o.strings);return a===void 0&&Ao.set(o.strings,a=new de(o)),a}T(o){Io(this._$AH)||(this._$AH=[],this._$AR());let a=this._$AH,n,c=0;for(let l of o)c===a.length?a.push(n=new e(this.k(Ee()),this.k(Ee()),this,this.options)):n=a[c],n._$AI(l),c++;c<a.length&&(this._$AR(n&&n._$AB.nextSibling,c),a.length=c)}_$AR(o=this._$AA.nextSibling,a){for(this._$AP?.(!1,!0,a);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,a,n,c,l){this.type=1,this._$AH=A,this._$AN=void 0,this.element=o,this.name=a,this._$AM=c,this.options=l,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=A}_$AI(o,a=this,n,c){let l=this.strings,s=!1;if(l===void 0)o=zt(this,o,a,0),s=!se(o)||o!==this._$AH&&o!==dt,s&&(this._$AH=o);else{let p=o,y,h;for(o=l[0],y=0;y<l.length-1;y++)h=zt(this,p[n+y],a,y),h===dt&&(h=this._$AH[y]),s||=!se(h)||h!==this._$AH[y],h===A?o=A:o!==A&&(o+=(h??"")+l[y+1]),this._$AH[y]=h}s&&!c&&this.O(o)}O(o){o===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Le=class extends _t{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===A?void 0:o}},Re=class extends _t{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==A)}},$e=class extends _t{constructor(o,a,n,c,l){super(o,a,n,c,l),this.type=5}_$AI(o,a=this){if((o=zt(this,o,a,0)??A)===dt)return;let n=this._$AH,c=o===A&&n!==A||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,l=o!==A&&(n===A||c);c&&this.element.removeEventListener(this.name,this,n),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Ae=class{constructor(o,a,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=a,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){zt(this,o)}},Ho={j:Xe,P:bt,A:qe,C:1,M:_o,L:we,R:Bo,V:zt,D:pe,I:_t,H:Re,N:$e,U:Le,B:Ae},dn=Ye.litHtmlPolyfillSupport;dn?.(de,pe),(Ye.litHtmlVersions??=[]).push("3.1.0");var Qe=e=>e??A;var ht=b(it()),bo=b(Go());var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Zo=e=>(...o)=>({_$litDirective$:e,values:o}),Ie=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,a,n){this._$Ct=o,this._$AM=a,this._$Ci=n}_$AS(o,a){return this.update(o,a)}update(o,a){return this.render(...a)}};var{D:Yn}=Ho;var Mo=e=>e.strings===void 0;var pn={},Fo=(e,o=pn)=>e._$AH=o;var Ko=Zo(class extends Ie{constructor(e){if(super(e),e.type!==Ht.PROPERTY&&e.type!==Ht.ATTRIBUTE&&e.type!==Ht.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Mo(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[o]){if(o===dt||o===A)return o;let a=e.element,n=e.name;if(e.type===Ht.PROPERTY){if(o===a[n])return dt}else if(e.type===Ht.BOOLEAN_ATTRIBUTE){if(!!o===a.hasAttribute(n))return dt}else if(e.type===Ht.ATTRIBUTE&&a.getAttribute(n)===o+"")return dt;return Fo(e),o}});var rt=b(w());var br=b(T()),xr=b(w());var xt=b(T(),1),Rt=e=>typeof e=="string"?(0,xt.unsafeCSS)(e):e,t=class{static create(o,a,n,c){let l=p=>Rt(p??c),s=xt.css`var(${Rt(o)}, ${l(c)})`;return s.name=o,s.description=a,s.category=n,s.defaultValue=c,s.defaultCssValue=l,s.get=p=>xt.css`var(${Rt(o)}, ${l(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>c,s}static extend(o,a,n,c){let l=p=>n.get(p??c),s=xt.css`var(${Rt(o)}, ${l(c)})`;return s.name=o,s.description=a,s.category=n.category,s.fallbackVariable=n,s.defaultValue=c,s.defaultCssValue=l,s.get=p=>xt.css`var(${Rt(o)}, ${l(p)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>c??n.lastResortDefaultValue(),s}static external(o,a){let n=l=>o.fallbackVariable?o.fallbackVariable.get(l??o.defaultValue):Rt(l??o.lastResortDefaultValue()),c=xt.css`var(${Rt(o.name)}, ${n(o.defaultValue)})`;return c.name=o.name,c.category=o.category,c.fallbackVariable=o.fallbackVariable,c.defaultValue=o.defaultValue,c.context=a,c.defaultCssValue=n,c.get=l=>xt.css`var(${Rt(o.name)}, ${n(l)})`,c.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],c.lastResortDefaultValue=()=>o.lastResortDefaultValue(),c}};var r={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Vo={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yo={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Xo={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},qo={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qo={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Jo={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},tr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},er={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},fn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},or={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},rr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ar={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},nr={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ir={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},cr={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},lr={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},sr={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},dr={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},fr={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},yr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ur={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},hr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Be={display:Vo,"title-1":jo,"title-2":Yo,"title-3":Xo,"body-1-regular":qo,"body-1-medium":Qo,"body-1-semibold":Jo,"body-2-regular":tr,"body-2-medium":er,"body-2-medium-underline":fn,"body-2-semibold":or,"label-1-medium":rr,"label-1-semibold":ar,"label-1-bold":nr,"label-2-medium":ir,"label-2-semibold":cr,"label-2-bold":lr,"caption-1-medium":sr,"caption-1-semibold":dr,"caption-1-bold":pr,"caption-2-medium":fr,"caption-2-semibold":yr,"caption-2-bold":ur,"caption-3-medium":gr,"caption-3-semibold":mr,"caption-3-bold":hr};var i={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
+
Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",r.colorGray200)};var d={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:t.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",r.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",r.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",r.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",r.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",r.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",r.spacing2),smallGap:t.extend("--ft-button-small-gap","",r.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",r.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",r.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",r.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",i.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",i.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",i.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",i.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",r.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",r.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",r.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",i.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",i.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",i.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",i.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",r.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",r.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",r.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",r.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",i.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",i.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",i.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",r.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",r.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",r.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",r.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",i.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",i.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",i.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",r.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",r.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",r.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",r.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",i.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",i.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",i.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",r.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",r.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",r.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",r.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",i.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",i.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",i.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",r.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",r.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",r.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",r.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",i.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",i.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",i.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",r.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",r.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",r.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",r.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",i.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",i.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",i.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",r.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",r.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",r.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",r.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",i.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",r.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",r.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",r.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",r.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",i.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",i.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",i.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",i.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",r.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",r.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",r.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",r.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",i.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",i.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",i.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",i.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",r.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",r.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",r.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",r.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",i.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",i.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",i.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",i.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",r.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",r.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",r.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",r.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",i.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",i.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",i.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",i.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",r.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",r.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",r.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",r.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",i.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",i.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",i.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",i.contentErrorPrimary)};var hi={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",r.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",r.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",i.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",r.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",i.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",i.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",i.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",i.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",r.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",r.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",r.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",i.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",r.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",i.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",i.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",i.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",i.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",i.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",r.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",r.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",r.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",r.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",r.iconSize2)};var Ci={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",r.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",r.spacing1),largeGap:t.extend("--ft-chip-large-gap","",r.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",r.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",r.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",r.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",r.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",r.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",r.spacing05),smallGap:t.extend("--ft-chip-small-gap","",r.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",r.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",i.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",i.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",i.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",i.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",i.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",i.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",i.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",i.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",i.borderErrorSubtle)};var Li={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",r.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",i.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",i.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",i.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",i.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",i.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",r.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",i.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",i.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",i.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",i.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",i.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",i.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",i.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",i.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",i.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",i.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",r.colorBrand100)};var Bi={iconSize:t.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",r.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",r.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",i.borderInfoSubtle)};var zi={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:t.extend("--ft-badge-color","",i.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",i.contentActionPrimary)};var Gi={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",r.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",i.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",i.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",i.contentGlobalSubtle)};var Vi={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",r.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",r.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",r.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",r.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",i.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",i.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",r.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",r.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",r.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",r.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",r.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",r.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",r.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",r.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",r.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",r.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",r.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",r.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",r.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",r.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",r.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",i.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Qi={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",r.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",r.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",r.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",i.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",r.spacing4)};var oc={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",r.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",r.spacing6)};var cc={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",r.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",r.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",r.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",r.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",i.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",i.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",i.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:t.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var fc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",i.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",i.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",i.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",i.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",i.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",i.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",i.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",i.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",r.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",r.colorGray700)};var hc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",r.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-tabs-off-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",i.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",i.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",r.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity24),onColor:t.extend("--ft-tabs-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",i.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",i.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",i.borderActionFocusRing)};var Cc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",r.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",i.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",i.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",i.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var Lc={backgroundColor:t.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",i.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",i.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",i.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",r.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",r.borderRadiusM)};var Bc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",i.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",i.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",i.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",i.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",r.shadowElevation02)};var zc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",i.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",i.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",i.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",i.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var Gc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",i.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",i.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",i.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",i.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",i.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",i.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",i.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",i.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",i.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",i.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",r.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusM)};var Vc={backgroundColor:t.extend("--ft-popover-background-color","",i.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",r.spacing6),titleColor:t.extend("--ft-popover-title-color","",i.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",i.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",i.contentActionPrimary),gap:t.extend("--ft-popover-gap","",r.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var Qc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",i.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:t.extend("--ft-collapsible-color","",i.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",i.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",i.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",i.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",r.iconSize3)};var rl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:t.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",i.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",i.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-switch-off-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:t.extend("--ft-switch-on-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",i.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",i.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var cl={color1Light:t.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",r.colorRed40),color5Base:t.extend("--ft-chart-5-base","",r.colorRed60),color6Light:t.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",r.colorGray50),color10Base:t.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",r.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",r.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",r.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",r.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",r.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",r.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",r.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",r.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",r.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",r.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",r.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",r.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",r.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",r.colorCyan200)};var pl={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",r.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",r.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",r.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",r.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",r.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",r.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",r.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",r.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",r.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",r.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",r.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",r.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",r.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",r.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",r.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",r.colorBrown0)};var L={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:t.extend("--ft-notice-gap","",r.spacing2),iconSize:t.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",i.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",i.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",i.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",i.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",i.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",i.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",i.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",i.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",i.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",i.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",i.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",i.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",r.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",r.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Sl={color:t.extend("--ft-checkbox-color","",i.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",i.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",i.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",i.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",r.spacing3)};var El={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",i.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",i.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",i.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",i.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",i.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",i.contentActionPrimary),color:t.extend("--ft-toggle-color","",i.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",i.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",r.spacing3)};var Al={color:t.extend("--ft-radio-color","",i.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",i.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",i.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",i.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",i.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",i.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",r.spacing3)};var Tl={iconSize:t.extend("--ft-notification-icon-size","",r.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",r.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",r.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",r.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",i.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",i.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",i.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",i.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",i.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",i.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",i.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",i.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",i.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",i.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",i.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",i.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",i.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",i.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",i.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",i.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",r.spacing8)};var Dl={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:t.extend("--ft-tooltip-color","",i.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",i.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:t.extend("--ft-tooltip-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",r.spacing05)};var j={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",r.spacing4),gap:t.extend("--ft-reorderable-list-gap","",r.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",r.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",r.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",i.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",r.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",r.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",r.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",i.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",r.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",i.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",r.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",i.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",i.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",i.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",r.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",r.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",r.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",r.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",r.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",i.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",i.backgroundGlobalOnSurfaceDark)};var Pe;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Pe||(Pe={}));var Vt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Vt||(Vt={}));var yn={padding:xr.FtCssVariableFactory.create("--ftds-reorderable-list-item--padding","","SIZE","8px")},Sr=br.css`
|
|
5
|
+
.ftds-reorderable-list--container {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
background-color: ${j.backgroundColor};
|
|
9
|
+
border: ${j.borderWidth} solid ${j.borderColor};
|
|
10
|
+
border-radius: ${j.borderRadius};
|
|
11
|
+
padding: ${j.verticalPadding};
|
|
12
|
+
list-style-type: none;
|
|
13
|
+
gap: ${j.reorderableItemsGap};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
ol[role=listbox] {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: ${j.reorderableItemsGap};
|
|
20
|
+
list-style-type: none;
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
ol li {
|
|
26
|
+
display: flex;
|
|
27
|
+
background-color: ${j.reorderableItemBackgroundColor};
|
|
28
|
+
border-radius: ${j.borderRadius};
|
|
29
|
+
box-shadow: ${j.boxShadow};
|
|
30
|
+
padding: ${yn.padding};
|
|
31
|
+
gap: ${j.reorderableItemsGap};
|
|
32
|
+
min-height: 40px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ol li:hover {
|
|
36
|
+
cursor: grab
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ftds-reorderable-list-item--left {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: ${j.gap};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ftds-reorderable-list-item--left-actions {
|
|
47
|
+
display: flex;
|
|
48
|
+
gap: ${j.gap};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ftds-reorderable-list-item--right {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: end;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ftds-reorderable-list-item--drag-grip {
|
|
57
|
+
opacity: ${j.reorderableItemGripOpacity};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ftds-reorderable-list-item--drag-grip:focus {
|
|
61
|
+
outline: 2px solid #0e98b4;
|
|
62
|
+
outline-offset: 2px;
|
|
63
|
+
border-radius: 999px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
`;var Dr=b(w());var Cr=Symbol.for(""),un=e=>{if(e?.r===Cr)return e?._$litStatic$},Je=e=>({_$litStatic$:e,r:Cr});var Or=new Map,vr=e=>(o,...a)=>{let n=a.length,c,l,s=[],p=[],y,h=0,O=!1;for(;h<n;){for(y=o[h];h<n&&(l=a[h],(c=un(l))!==void 0);)y+=c+o[++h],O=!0;h!==n&&p.push(l),s.push(y),h++}if(h===n&&s.push(o[n]),O){let x=s.join("$$lit$$");(o=Or.get(x))===void 0&&(s.raw=s,Or.set(x,o=s)),a=p}return e(o,...a)},to=vr(To),Ps=vr(ko);var eo=b(it()),Hr=b(w());var Y;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Y||(Y={}));var nt=b(T()),m=b(w());var We=b(T());function Nr(e){let o=Be[e];return We.css`
|
|
67
|
+
.ft-typography--${(0,We.unsafeCSS)(e)} {
|
|
68
|
+
font-family: ${o.fontFamily};
|
|
69
|
+
font-size: ${o.fontSize};
|
|
70
|
+
font-weight: ${o.fontWeight};
|
|
71
|
+
letter-spacing: ${o.letterSpacing};
|
|
72
|
+
line-height: ${o.lineHeight};
|
|
73
|
+
text-transform: ${o.textCase};
|
|
74
|
+
}
|
|
75
|
+
`}var Er=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),St=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),S={fontFamily:St,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Er),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit")},Yt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Er),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit")},Xt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit")},qt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit")},Qt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},Jt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit")},te={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},ee={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit")},oe={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase")},pt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",St),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},wr=nt.css`
|
|
76
|
+
.ft-typography--title {
|
|
77
|
+
font-family: ${jt.fontFamily};
|
|
78
|
+
font-size: ${jt.fontSize};
|
|
79
|
+
font-weight: ${jt.fontWeight};
|
|
80
|
+
letter-spacing: ${jt.letterSpacing};
|
|
81
|
+
line-height: ${jt.lineHeight};
|
|
82
|
+
text-transform: ${jt.textTransform};
|
|
83
|
+
}
|
|
84
|
+
`,Lr=nt.css`
|
|
85
|
+
.ft-typography--title-dense {
|
|
86
|
+
font-family: ${Yt.fontFamily};
|
|
87
|
+
font-size: ${Yt.fontSize};
|
|
88
|
+
font-weight: ${Yt.fontWeight};
|
|
89
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
90
|
+
line-height: ${Yt.lineHeight};
|
|
91
|
+
text-transform: ${Yt.textTransform};
|
|
92
|
+
}
|
|
93
|
+
`,Rr=nt.css`
|
|
94
|
+
.ft-typography--subtitle1 {
|
|
95
|
+
font-family: ${Xt.fontFamily};
|
|
96
|
+
font-size: ${Xt.fontSize};
|
|
97
|
+
font-weight: ${Xt.fontWeight};
|
|
98
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
99
|
+
line-height: ${Xt.lineHeight};
|
|
100
|
+
text-transform: ${Xt.textTransform};
|
|
101
|
+
}
|
|
102
|
+
`,$r=nt.css`
|
|
103
|
+
.ft-typography--subtitle2 {
|
|
104
|
+
font-family: ${qt.fontFamily};
|
|
105
|
+
font-size: ${qt.fontSize};
|
|
106
|
+
font-weight: ${qt.fontWeight};
|
|
107
|
+
letter-spacing: ${qt.letterSpacing};
|
|
108
|
+
line-height: ${qt.lineHeight};
|
|
109
|
+
text-transform: ${qt.textTransform};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
`,Ar=nt.css`
|
|
113
|
+
.ft-typography--body1 {
|
|
114
|
+
font-family: ${Qt.fontFamily};
|
|
115
|
+
font-size: ${Qt.fontSize};
|
|
116
|
+
font-weight: ${Qt.fontWeight};
|
|
117
|
+
letter-spacing: ${Qt.letterSpacing};
|
|
118
|
+
line-height: ${Qt.lineHeight};
|
|
119
|
+
text-transform: ${Qt.textTransform};
|
|
120
|
+
}
|
|
121
|
+
`,Ir=nt.css`
|
|
122
|
+
.ft-typography--body2 {
|
|
123
|
+
font-family: ${Jt.fontFamily};
|
|
124
|
+
font-size: ${Jt.fontSize};
|
|
125
|
+
font-weight: ${Jt.fontWeight};
|
|
126
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
127
|
+
line-height: ${Jt.lineHeight};
|
|
128
|
+
text-transform: ${Jt.textTransform};
|
|
129
|
+
}
|
|
130
|
+
`,Br=nt.css`
|
|
131
|
+
.ft-typography--caption {
|
|
132
|
+
font-family: ${te.fontFamily};
|
|
133
|
+
font-size: ${te.fontSize};
|
|
134
|
+
font-weight: ${te.fontWeight};
|
|
135
|
+
letter-spacing: ${te.letterSpacing};
|
|
136
|
+
line-height: ${te.lineHeight};
|
|
137
|
+
text-transform: ${te.textTransform};
|
|
138
|
+
}
|
|
139
|
+
`,Pr=nt.css`
|
|
140
|
+
.ft-typography--breadcrumb {
|
|
141
|
+
font-family: ${ee.fontFamily};
|
|
142
|
+
font-size: ${ee.fontSize};
|
|
143
|
+
font-weight: ${ee.fontWeight};
|
|
144
|
+
letter-spacing: ${ee.letterSpacing};
|
|
145
|
+
line-height: ${ee.lineHeight};
|
|
146
|
+
text-transform: ${ee.textTransform};
|
|
147
|
+
}
|
|
148
|
+
`,Wr=nt.css`
|
|
149
|
+
.ft-typography--overline {
|
|
150
|
+
font-family: ${oe.fontFamily};
|
|
151
|
+
font-size: ${oe.fontSize};
|
|
152
|
+
font-weight: ${oe.fontWeight};
|
|
153
|
+
letter-spacing: ${oe.letterSpacing};
|
|
154
|
+
line-height: ${oe.lineHeight};
|
|
155
|
+
text-transform: ${oe.textTransform};
|
|
156
|
+
}
|
|
157
|
+
`,Tr=nt.css`
|
|
158
|
+
.ft-typography--button {
|
|
159
|
+
font-family: ${pt.fontFamily};
|
|
160
|
+
font-size: ${pt.fontSize};
|
|
161
|
+
font-weight: ${pt.fontWeight};
|
|
162
|
+
letter-spacing: ${pt.letterSpacing};
|
|
163
|
+
line-height: ${pt.lineHeight};
|
|
164
|
+
text-transform: ${pt.textTransform};
|
|
165
|
+
}
|
|
166
|
+
`,kr=nt.css`
|
|
167
|
+
.ft-typography {
|
|
168
|
+
vertical-align: inherit;
|
|
169
|
+
}
|
|
170
|
+
`,zr=[Object.keys(Be).map(e=>Nr(e))];var _r=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},X=class extends Hr.FtLitElement{constructor(){super(...arguments),this.variant=Y.body1}render(){return this.element?to`
|
|
171
|
+
<${Je(this.element)}
|
|
172
|
+
part="text"
|
|
173
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
174
|
+
<slot></slot>
|
|
175
|
+
</${Je(this.element)}>
|
|
176
|
+
`:to`
|
|
177
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
178
|
+
`}};X.styles=[wr,Lr,Rr,$r,Ar,Ir,Br,Pr,Wr,Tr,kr,...zr];_r([(0,eo.property)()],X.prototype,"element",void 0);_r([(0,eo.property)()],X.prototype,"variant",void 0);(0,Dr.customElement)("ft-typography")(X);var go=b(w());var Oe=b(it()),Ua=b(w());var ta=b(T()),C=b(w());var Kr=b(T()),k=b(w()),Ur=k.FtCssVariableFactory.extend("--ft-ripple-color","",k.designSystemVariables.colorContent),u={color:Ur,backgroundColor:k.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ur),opacityContentOnSurfacePressed:k.FtCssVariableFactory.external(k.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:k.FtCssVariableFactory.external(k.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:k.FtCssVariableFactory.external(k.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:k.FtCssVariableFactory.external(k.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:k.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Gr=k.FtCssVariableFactory.extend("--ft-ripple-color","",k.designSystemVariables.colorPrimary),Zr={color:Gr,backgroundColor:k.FtCssVariableFactory.extend("--ft-ripple-background-color","",Gr)},Mr=k.FtCssVariableFactory.extend("--ft-ripple-color","",k.designSystemVariables.colorSecondary),Fr={color:Mr,backgroundColor:k.FtCssVariableFactory.extend("--ft-ripple-background-color","",Mr)},Vr=Kr.css`
|
|
179
|
+
:host {
|
|
180
|
+
display: contents;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ft-ripple {
|
|
184
|
+
position: absolute;
|
|
185
|
+
inset: 0;
|
|
186
|
+
pointer-events: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
border-radius: ${u.borderRadius};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.ft-ripple .ft-ripple--background,
|
|
195
|
+
.ft-ripple .ft-ripple--effect {
|
|
196
|
+
position: absolute;
|
|
197
|
+
opacity: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.ft-ripple .ft-ripple--effect {
|
|
201
|
+
aspect-ratio: 1;
|
|
202
|
+
width: auto;
|
|
203
|
+
height: auto;
|
|
204
|
+
min-width: 170%;
|
|
205
|
+
min-height: 170%;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.ft-ripple .ft-ripple--background{
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: 100%;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
214
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
215
|
+
aspect-ratio: 1;
|
|
216
|
+
width: auto;
|
|
217
|
+
height: auto;
|
|
218
|
+
max-width: unset;
|
|
219
|
+
max-height: unset;
|
|
220
|
+
min-width: 100%;
|
|
221
|
+
min-height: 100%;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ft-ripple .ft-ripple--background {
|
|
225
|
+
background-color: ${u.backgroundColor};
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.ft-ripple .ft-ripple--effect {
|
|
229
|
+
background-color: ${u.color};
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
233
|
+
background-color: ${Fr.backgroundColor};
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
237
|
+
background-color: ${Fr.color};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
241
|
+
background-color: ${Zr.backgroundColor};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
245
|
+
background-color: ${Zr.color};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.ft-ripple .ft-ripple--background {
|
|
249
|
+
top: 0;
|
|
250
|
+
left: 0;
|
|
251
|
+
transition: opacity 75ms linear;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.ft-ripple .ft-ripple--effect,
|
|
255
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
256
|
+
border-radius: 50%;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.ft-ripple .ft-ripple--effect {
|
|
260
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
261
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
265
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
266
|
+
left: 50%;
|
|
267
|
+
top: 50%;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
271
|
+
transform: translate(-50%, -50%);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
275
|
+
opacity: ${u.opacityContentOnSurfaceHover};
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
279
|
+
opacity: ${u.opacityContentOnSurfaceSelected};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
283
|
+
opacity: ${u.opacityContentOnSurfaceFocused};
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
287
|
+
opacity: ${u.opacityContentOnSurfacePressed};
|
|
288
|
+
transform: translate(-50%, -50%) scale(1);
|
|
289
|
+
}
|
|
290
|
+
`;var jr=b(T()),fe=b(w()),R={color:fe.FtCssVariableFactory.extend("--ft-loader-color","",fe.designSystemVariables.colorPrimary),size:fe.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Yr=jr.css`
|
|
291
|
+
:host {
|
|
292
|
+
line-height: 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.ft-loader {
|
|
296
|
+
display: inline-block;
|
|
297
|
+
position: relative;
|
|
298
|
+
|
|
299
|
+
width: ${R.size};
|
|
300
|
+
height: ${R.size};
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.ft-loader div {
|
|
304
|
+
position: absolute;
|
|
305
|
+
top: 37.5%;
|
|
306
|
+
width: 25%;
|
|
307
|
+
height: 25%;
|
|
308
|
+
border-radius: 50%;
|
|
309
|
+
background: ${R.color};
|
|
310
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.ft-loader div:nth-child(1) {
|
|
314
|
+
left: 2.5%;
|
|
315
|
+
animation: appear 0.6s infinite;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.ft-loader div:nth-child(2) {
|
|
319
|
+
left: 2.5%;
|
|
320
|
+
animation: move 0.6s infinite;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.ft-loader div:nth-child(3) {
|
|
324
|
+
left: 37.5%;
|
|
325
|
+
animation: move 0.6s infinite;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.ft-loader div:nth-child(4) {
|
|
329
|
+
left: 72.5%;
|
|
330
|
+
animation: disappear 0.6s infinite;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@keyframes appear {
|
|
334
|
+
0% {
|
|
335
|
+
transform: scale(0);
|
|
336
|
+
}
|
|
337
|
+
100% {
|
|
338
|
+
transform: scale(1);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@keyframes disappear {
|
|
343
|
+
0% {
|
|
344
|
+
transform: scale(1);
|
|
345
|
+
}
|
|
346
|
+
100% {
|
|
347
|
+
transform: scale(0);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
@keyframes move {
|
|
352
|
+
0% {
|
|
353
|
+
transform: translate(0, 0);
|
|
354
|
+
}
|
|
355
|
+
100% {
|
|
356
|
+
transform: translate(calc(0.35 * ${R.size}), 0);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
`;var Xr=b(T()),Ot=b(w()),H={size:Ot.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ot.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ot.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},qr=Xr.css`
|
|
360
|
+
:host, i.ft-icon {
|
|
361
|
+
display: inline-flex;
|
|
362
|
+
align-items: center;
|
|
363
|
+
flex-shrink: 0;
|
|
364
|
+
flex-grow: 0;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
:host {
|
|
368
|
+
width: ${H.size};
|
|
369
|
+
height: ${H.size};
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
i.ft-icon {
|
|
373
|
+
width: 100%;
|
|
374
|
+
height: 100%;
|
|
375
|
+
font-size: ${H.size};
|
|
376
|
+
line-height: 1;
|
|
377
|
+
font-weight: normal;
|
|
378
|
+
text-transform: none;
|
|
379
|
+
font-style: normal;
|
|
380
|
+
font-variant: normal;
|
|
381
|
+
speak: none;
|
|
382
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
383
|
+
text-rendering: auto;
|
|
384
|
+
-webkit-font-smoothing: antialiased;
|
|
385
|
+
-moz-osx-font-smoothing: grayscale;
|
|
386
|
+
vertical-align: ${H.verticalAlign};
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
390
|
+
font-family: ${H.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
391
|
+
|
|
392
|
+
/* Ugly fix because font is broken */
|
|
393
|
+
font-size: calc(0.75 * ${H.size});
|
|
394
|
+
line-height: ${H.size};
|
|
395
|
+
position: relative;
|
|
396
|
+
top: -4%;
|
|
397
|
+
justify-content: center;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.ft-icon--file-format {
|
|
401
|
+
font-family: ${H.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.ft-icon--material {
|
|
405
|
+
font-family: ${H.materialFontFamily}, "Material Icons", sans-serif;
|
|
406
|
+
}
|
|
407
|
+
`;var Qr=C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorPrimary),G={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorSurface),borderRadius:C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusL),color:Qr,fontSize:C.FtCssVariableFactory.extend("--ft-button-font-size","",pt.fontSize),iconSize:C.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:C.FtCssVariableFactory.extend("--ft-button-ripple-color","",Qr),verticalPadding:C.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:C.FtCssVariableFactory.external(C.designSystemVariables.colorOpacityDisabled,"Design system")},Jr=C.FtCssVariableFactory.extend("--ft-button-primary-color","",C.FtCssVariableFactory.extend("--ft-button-color","",C.designSystemVariables.colorOnPrimary)),oo={backgroundColor:C.FtCssVariableFactory.extend("--ft-button-primary-background-color","",C.FtCssVariableFactory.extend("--ft-button-background-color","",C.designSystemVariables.colorPrimary)),color:Jr,rippleColor:C.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Jr)},ft={borderRadius:C.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",C.FtCssVariableFactory.extend("--ft-button-border-radius","",C.designSystemVariables.borderRadiusM)),verticalPadding:C.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:C.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:C.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ea=[ta.css`
|
|
408
|
+
:host {
|
|
409
|
+
display: inline-block;
|
|
410
|
+
max-width: 100%;
|
|
411
|
+
pointer-events: none;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.ft-button {
|
|
415
|
+
box-shadow: 0px 0px 0px transparent;
|
|
416
|
+
border: 0px solid transparent;
|
|
417
|
+
text-shadow: 0px 0px 0px transparent;
|
|
418
|
+
font-size: ${G.fontSize};
|
|
419
|
+
text-decoration: none;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.ft-button:hover {
|
|
423
|
+
box-shadow: 0px 0px 0px transparent;
|
|
424
|
+
border: 0px solid transparent;
|
|
425
|
+
text-shadow: 0px 0px 0px transparent;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.ft-button:active {
|
|
429
|
+
outline: none;
|
|
430
|
+
border: none;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.ft-button:focus {
|
|
434
|
+
outline: 0;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.ft-button {
|
|
438
|
+
position: relative;
|
|
439
|
+
display: flex;
|
|
440
|
+
justify-content: center;
|
|
441
|
+
align-items: center;
|
|
442
|
+
width: 100%;
|
|
443
|
+
overflow: hidden;
|
|
444
|
+
box-sizing: border-box;
|
|
445
|
+
border: none;
|
|
446
|
+
pointer-events: auto;
|
|
447
|
+
|
|
448
|
+
--ft-button-internal-line-height: max(calc(${G.fontSize} + 2px), ${G.iconSize});
|
|
449
|
+
--ft-button-internal-color: ${G.color};
|
|
450
|
+
${(0,C.setVariable)(H.size,G.iconSize)};
|
|
451
|
+
${(0,C.setVariable)(u.color,G.rippleColor)};
|
|
452
|
+
|
|
453
|
+
border-radius: ${G.borderRadius};
|
|
454
|
+
padding: ${G.verticalPadding} ${G.horizontalPadding};
|
|
455
|
+
background-color: ${G.backgroundColor};
|
|
456
|
+
color: var(--ft-button-internal-color);
|
|
457
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.ft-button.ft-button--outlined {
|
|
461
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
462
|
+
padding: calc(${G.verticalPadding} - 1px) calc(${G.horizontalPadding} - 1px);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.ft-button.ft-button--dense {
|
|
466
|
+
padding: ${ft.verticalPadding} ${ft.horizontalPadding};
|
|
467
|
+
border-radius: ${ft.borderRadius};
|
|
468
|
+
gap: ${ft.iconPadding};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
472
|
+
padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.ft-button:not([disabled]):hover {
|
|
476
|
+
cursor: pointer;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.ft-button--round {
|
|
480
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${G.verticalPadding});
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.ft-button--round.ft-button--dense {
|
|
484
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ft.verticalPadding});
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.ft-button[disabled] {
|
|
488
|
+
filter: grayscale(1);
|
|
489
|
+
opacity: ${G.opacityDisabled};
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.ft-button.ft-button--primary {
|
|
493
|
+
background-color: ${oo.backgroundColor};
|
|
494
|
+
--ft-button-internal-color: ${oo.color};
|
|
495
|
+
${(0,C.setVariable)(u.color,oo.rippleColor)};
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.ft-button:focus {
|
|
499
|
+
outline: none;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.ft-button--label {
|
|
503
|
+
position: relative;
|
|
504
|
+
overflow: hidden;
|
|
505
|
+
white-space: nowrap;
|
|
506
|
+
text-overflow: ellipsis;
|
|
507
|
+
display: block;
|
|
508
|
+
margin: 0 ${G.iconPadding};
|
|
509
|
+
${(0,C.setVariable)(pt.fontSize,"1em")};
|
|
510
|
+
${(0,C.setVariable)(pt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.ft-button--dense .ft-button--label {
|
|
514
|
+
margin: 0 ${ft.iconPadding};
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.ft-button--label[hidden] {
|
|
518
|
+
display: none;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
[part="icon"] {
|
|
522
|
+
flex-shrink: 0;
|
|
523
|
+
position: relative;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
527
|
+
margin: 0 calc(${G.horizontalPadding} * -1);
|
|
528
|
+
padding: 0 ${G.verticalPadding};
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
532
|
+
margin: 0 calc(${ft.horizontalPadding} * -1);
|
|
533
|
+
padding: 0 ${ft.verticalPadding};
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
537
|
+
order: 2;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
ft-loader {
|
|
541
|
+
${(0,C.setVariable)(R.size,G.iconSize)};
|
|
542
|
+
${(0,C.setVariable)(R.color,"var(--ft-button-internal-color)")};
|
|
543
|
+
}
|
|
544
|
+
`,C.noTextSelect];var Bt=b(w());var na=b(w());var ra=b(T()),Z=b(it()),aa=b(Te()),ye=b(w());var q=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},I=class extends ye.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 ye.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ye.Debouncer(10),this.moveRipple=o=>{var a,n;let{x:c,y:l}=this.getCoordinates(o),s=(n=(a=this.ripple)===null||a===void 0?void 0:a.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(c!=null?c-s.x:s.width/2),this.originY=Math.round(l!=null?l-s.y:s.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ra.html`
|
|
545
|
+
<style>
|
|
546
|
+
.ft-ripple .ft-ripple--effect {
|
|
547
|
+
left: ${this.originX}px;
|
|
548
|
+
top: ${this.originY}px;
|
|
549
|
+
}
|
|
550
|
+
</style>
|
|
551
|
+
<div class="${(0,aa.classMap)(o)}">
|
|
552
|
+
<div class="ft-ripple--background"></div>
|
|
553
|
+
<div class="ft-ripple--effect"></div>
|
|
554
|
+
</div>
|
|
555
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var a,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(a=this.target)===null||a===void 0||a.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,a;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((a=this.target)!==null&&a!==void 0?a:n)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let a=(...p)=>y=>{p.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(y)},n=a("mouseup","contextmenu"),c=a("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&a("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",n,s),o.addEventListener("touchstart",c,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",l,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",n,s),o.removeEventListener("touchstart",c,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",l,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let a=o,n=o,c,l;return a.x!=null?{x:c,y:l}=a:n.touches!=null&&(c=n.touches[0].clientX,l=n.touches[0].clientY),{x:c,y:l}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let a of o.composedPath()){if(a===this.target)break;if("hasAttribute"in a&&a.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};I.elementDefinitions={};I.styles=Vr;q([(0,Z.property)({type:Boolean})],I.prototype,"primary",void 0);q([(0,Z.property)({type:Boolean})],I.prototype,"secondary",void 0);q([(0,Z.property)({type:Boolean})],I.prototype,"unbounded",void 0);q([(0,Z.property)({type:Boolean})],I.prototype,"activated",void 0);q([(0,Z.property)({type:Boolean})],I.prototype,"selected",void 0);q([(0,Z.property)({type:Boolean})],I.prototype,"disabled",void 0);q([(0,Z.state)()],I.prototype,"hovered",void 0);q([(0,Z.state)()],I.prototype,"focused",void 0);q([(0,Z.state)()],I.prototype,"pressed",void 0);q([(0,Z.state)()],I.prototype,"rippling",void 0);q([(0,Z.state)()],I.prototype,"originX",void 0);q([(0,Z.state)()],I.prototype,"originY",void 0);q([(0,Z.query)(".ft-ripple")],I.prototype,"ripple",void 0);q([(0,Z.query)(".ft-ripple--effect")],I.prototype,"rippleEffect",void 0);(0,na.customElement)("ft-ripple")(I);var Ba=b(w());var Ia=b(T()),D=b(it()),xe=b(w());var ia=b(T()),Ct=b(w()),re={distance:Ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ct.FtCssVariableFactory.external(Ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ca=ia.css`
|
|
556
|
+
.ft-tooltip--container {
|
|
557
|
+
display: block;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.ft-tooltip--inline {
|
|
561
|
+
display: inline-block;
|
|
562
|
+
max-width: 100%;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.ft-tooltip {
|
|
566
|
+
position: fixed;
|
|
567
|
+
box-sizing: border-box;
|
|
568
|
+
overflow: hidden;
|
|
569
|
+
width: max-content;
|
|
570
|
+
max-width: ${re.maxWidth};
|
|
571
|
+
text-align: center;
|
|
572
|
+
padding: ${re.distance};
|
|
573
|
+
z-index: ${re.zIndex};
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.ft-tooltip--content {
|
|
577
|
+
padding: 4px 8px;
|
|
578
|
+
border-radius: ${re.borderRadiusS};
|
|
579
|
+
background-color: ${re.backgroundColor};
|
|
580
|
+
color: ${re.color};
|
|
581
|
+
position: relative;
|
|
582
|
+
word-break: break-word;
|
|
583
|
+
}
|
|
584
|
+
`;var sa=["top","right","bottom","left"],la=["start","end"],ao=sa.reduce((e,o)=>e.concat(o,o+"-"+la[0],o+"-"+la[1]),[]),ue=Math.min,$t=Math.max,ge=Math.round;var vt=e=>({x:e,y:e}),gn={left:"right",right:"left",bottom:"top",top:"bottom"},mn={start:"end",end:"start"};function no(e,o,a){return $t(e,ue(o,a))}function ke(e,o){return typeof e=="function"?e(o):e}function ae(e){return e.split("-")[0]}function At(e){return e.split("-")[1]}function io(e){return e==="x"?"y":"x"}function co(e){return e==="y"?"height":"width"}function ze(e){return["top","bottom"].includes(ae(e))?"y":"x"}function lo(e){return io(ze(e))}function da(e,o,a){a===void 0&&(a=!1);let n=At(e),c=lo(e),l=co(c),s=c==="x"?n===(a?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(s=ro(s)),[s,ro(s)]}function pa(e){return e.replace(/start|end/g,o=>mn[o])}function ro(e){return e.replace(/left|right|bottom|top/g,o=>gn[o])}function hn(e){return{top:0,right:0,bottom:0,left:0,...e}}function fa(e){return typeof e!="number"?hn(e):{top:e,right:e,bottom:e,left:e}}function Dt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ya(e,o,a){let{reference:n,floating:c}=e,l=ze(o),s=lo(o),p=co(s),y=ae(o),h=l==="y",O=n.x+n.width/2-c.width/2,x=n.y+n.height/2-c.height/2,N=n[p]/2-c[p]/2,v;switch(y){case"top":v={x:O,y:n.y-c.height};break;case"bottom":v={x:O,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:x};break;case"left":v={x:n.x-c.width,y:x};break;default:v={x:n.x,y:n.y}}switch(At(o)){case"start":v[s]-=N*(a&&h?-1:1);break;case"end":v[s]+=N*(a&&h?-1:1);break}return v}var ua=async(e,o,a)=>{let{placement:n="bottom",strategy:c="absolute",middleware:l=[],platform:s}=a,p=l.filter(Boolean),y=await(s.isRTL==null?void 0:s.isRTL(o)),h=await s.getElementRects({reference:e,floating:o,strategy:c}),{x:O,y:x}=ya(h,n,y),N=n,v={},E=0;for(let P=0;P<p.length;P++){let{name:z,fn:W}=p[P],{x:_,y:V,data:Lt,reset:F}=await W({x:O,y:x,initialPlacement:n,placement:N,strategy:c,middlewareData:v,rects:h,platform:s,elements:{reference:e,floating:o}});if(O=_??O,x=V??x,v={...v,[z]:{...v[z],...Lt}},F&&E<=50){E++,typeof F=="object"&&(F.placement&&(N=F.placement),F.rects&&(h=F.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:c}):F.rects),{x:O,y:x}=ya(h,N,y)),P=-1;continue}}return{x:O,y:x,placement:N,strategy:c,middlewareData:v}};async function so(e,o){var a;o===void 0&&(o={});let{x:n,y:c,platform:l,rects:s,elements:p,strategy:y}=e,{boundary:h="clippingAncestors",rootBoundary:O="viewport",elementContext:x="floating",altBoundary:N=!1,padding:v=0}=ke(o,e),E=fa(v),z=p[N?x==="floating"?"reference":"floating":x],W=Dt(await l.getClippingRect({element:(a=await(l.isElement==null?void 0:l.isElement(z)))==null||a?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:h,rootBoundary:O,strategy:y})),_=x==="floating"?{...s.floating,x:n,y:c}:s.reference,V=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Lt=await(l.isElement==null?void 0:l.isElement(V))?await(l.getScale==null?void 0:l.getScale(V))||{x:1,y:1}:{x:1,y:1},F=Dt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:V,strategy:y}):_);return{top:(W.top-F.top+E.top)/Lt.y,bottom:(F.bottom-W.bottom+E.bottom)/Lt.y,left:(W.left-F.left+E.left)/Lt.x,right:(F.right-W.right+E.right)/Lt.x}}function bn(e,o,a){return(e?[...a.filter(c=>At(c)===e),...a.filter(c=>At(c)!==e)]:a.filter(c=>ae(c)===c)).filter(c=>e?At(c)===e||(o?pa(c)!==c:!1):!0)}var po=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var a,n,c;let{rects:l,middlewareData:s,placement:p,platform:y,elements:h}=o,{crossAxis:O=!1,alignment:x,allowedPlacements:N=ao,autoAlignment:v=!0,...E}=ke(e,o),P=x!==void 0||N===ao?bn(x||null,v,N):N,z=await so(o,E),W=((a=s.autoPlacement)==null?void 0:a.index)||0,_=P[W];if(_==null)return{};let V=da(_,l,await(y.isRTL==null?void 0:y.isRTL(h.floating)));if(p!==_)return{reset:{placement:P[0]}};let Lt=[z[ae(_)],z[V[0]],z[V[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:Lt}],xo=P[W+1];if(xo)return{data:{index:W+1,overflows:F},reset:{placement:xo}};let So=F.map(st=>{let ce=At(st.placement);return[st.placement,ce&&O?st.overflows.slice(0,2).reduce((tn,en)=>tn+en,0):st.overflows[0],st.overflows]}).sort((st,ce)=>st[1]-ce[1]),Oo=((c=So.filter(st=>st[2].slice(0,At(st[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:c[0])||So[0][0];return Oo!==p?{data:{index:W+1,overflows:F},reset:{placement:Oo}}:{}}}};var fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:a,y:n,placement:c}=o,{mainAxis:l=!0,crossAxis:s=!1,limiter:p={fn:z=>{let{x:W,y:_}=z;return{x:W,y:_}}},...y}=ke(e,o),h={x:a,y:n},O=await so(o,y),x=ze(ae(c)),N=io(x),v=h[N],E=h[x];if(l){let z=N==="y"?"top":"left",W=N==="y"?"bottom":"right",_=v+O[z],V=v-O[W];v=no(_,v,V)}if(s){let z=x==="y"?"top":"left",W=x==="y"?"bottom":"right",_=E+O[z],V=E-O[W];E=no(_,E,V)}let P=p.fn({...o,[N]:v,[x]:E});return{...P,data:{x:P.x-a,y:P.y-n}}}}};function Nt(e){return ma(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Et(e){var o;return(o=(ma(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function ma(e){return e instanceof Node||e instanceof Q(e).Node}function yt(e){return e instanceof Element||e instanceof Q(e).Element}function ct(e){return e instanceof HTMLElement||e instanceof Q(e).HTMLElement}function ga(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot}function ne(e){let{overflow:o,overflowX:a,overflowY:n,display:c}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+a)&&!["inline","contents"].includes(c)}function ha(e){return["table","td","th"].includes(Nt(e))}function He(e){let o=De(),a=et(e);return a.transform!=="none"||a.perspective!=="none"||(a.containerType?a.containerType!=="normal":!1)||!o&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!o&&(a.filter?a.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(a.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(a.contain||"").includes(n))}function ba(e){let o=Ut(e);for(;ct(o)&&!me(o);){if(He(o))return o;o=Ut(o)}return null}function De(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function me(e){return["html","body","#document"].includes(Nt(e))}function et(e){return Q(e).getComputedStyle(e)}function he(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ut(e){if(Nt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||ga(e)&&e.host||Et(e);return ga(o)?o.host:o}function xa(e){let o=Ut(e);return me(o)?e.ownerDocument?e.ownerDocument.body:e.body:ct(o)&&ne(o)?o:xa(o)}function _e(e,o,a){var n;o===void 0&&(o=[]),a===void 0&&(a=!0);let c=xa(e),l=c===((n=e.ownerDocument)==null?void 0:n.body),s=Q(c);return l?o.concat(s,s.visualViewport||[],ne(c)?c:[],s.frameElement&&a?_e(s.frameElement):[]):o.concat(c,_e(c,[],a))}function Ca(e){let o=et(e),a=parseFloat(o.width)||0,n=parseFloat(o.height)||0,c=ct(e),l=c?e.offsetWidth:a,s=c?e.offsetHeight:n,p=ge(a)!==l||ge(n)!==s;return p&&(a=l,n=s),{width:a,height:n,$:p}}function va(e){return yt(e)?e:e.contextElement}function ie(e){let o=va(e);if(!ct(o))return vt(1);let a=o.getBoundingClientRect(),{width:n,height:c,$:l}=Ca(o),s=(l?ge(a.width):a.width)/n,p=(l?ge(a.height):a.height)/c;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var On=vt(0);function Na(e){let o=Q(e);return!De()||!o.visualViewport?On:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Cn(e,o,a){return o===void 0&&(o=!1),!a||o&&a!==Q(e)?!1:o}function be(e,o,a,n){o===void 0&&(o=!1),a===void 0&&(a=!1);let c=e.getBoundingClientRect(),l=va(e),s=vt(1);o&&(n?yt(n)&&(s=ie(n)):s=ie(e));let p=Cn(l,a,n)?Na(l):vt(0),y=(c.left+p.x)/s.x,h=(c.top+p.y)/s.y,O=c.width/s.x,x=c.height/s.y;if(l){let N=Q(l),v=n&&yt(n)?Q(n):n,E=N.frameElement;for(;E&&n&&v!==N;){let P=ie(E),z=E.getBoundingClientRect(),W=et(E),_=z.left+(E.clientLeft+parseFloat(W.paddingLeft))*P.x,V=z.top+(E.clientTop+parseFloat(W.paddingTop))*P.y;y*=P.x,h*=P.y,O*=P.x,x*=P.y,y+=_,h+=V,E=Q(E).frameElement}}return Dt({width:O,height:x,x:y,y:h})}function vn(e){let{rect:o,offsetParent:a,strategy:n}=e,c=ct(a),l=Et(a);if(a===l)return o;let s={scrollLeft:0,scrollTop:0},p=vt(1),y=vt(0);if((c||!c&&n!=="fixed")&&((Nt(a)!=="body"||ne(l))&&(s=he(a)),ct(a))){let h=be(a);p=ie(a),y.x=h.x+a.clientLeft,y.y=h.y+a.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+y.x,y:o.y*p.y-s.scrollTop*p.y+y.y}}function Nn(e){return Array.from(e.getClientRects())}function Ea(e){return be(Et(e)).left+he(e).scrollLeft}function En(e){let o=Et(e),a=he(e),n=e.ownerDocument.body,c=$t(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),l=$t(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),s=-a.scrollLeft+Ea(e),p=-a.scrollTop;return et(n).direction==="rtl"&&(s+=$t(o.clientWidth,n.clientWidth)-c),{width:c,height:l,x:s,y:p}}function wn(e,o){let a=Q(e),n=Et(e),c=a.visualViewport,l=n.clientWidth,s=n.clientHeight,p=0,y=0;if(c){l=c.width,s=c.height;let h=De();(!h||h&&o==="fixed")&&(p=c.offsetLeft,y=c.offsetTop)}return{width:l,height:s,x:p,y}}function Ln(e,o){let a=be(e,!0,o==="fixed"),n=a.top+e.clientTop,c=a.left+e.clientLeft,l=ct(e)?ie(e):vt(1),s=e.clientWidth*l.x,p=e.clientHeight*l.y,y=c*l.x,h=n*l.y;return{width:s,height:p,x:y,y:h}}function Sa(e,o,a){let n;if(o==="viewport")n=wn(e,a);else if(o==="document")n=En(Et(e));else if(yt(o))n=Ln(o,a);else{let c=Na(e);n={...o,x:o.x-c.x,y:o.y-c.y}}return Dt(n)}function wa(e,o){let a=Ut(e);return a===o||!yt(a)||me(a)?!1:et(a).position==="fixed"||wa(a,o)}function Rn(e,o){let a=o.get(e);if(a)return a;let n=_e(e,[],!1).filter(p=>yt(p)&&Nt(p)!=="body"),c=null,l=et(e).position==="fixed",s=l?Ut(e):e;for(;yt(s)&&!me(s);){let p=et(s),y=He(s);!y&&p.position==="fixed"&&(c=null),(l?!y&&!c:!y&&p.position==="static"&&!!c&&["absolute","fixed"].includes(c.position)||ne(s)&&!y&&wa(e,s))?n=n.filter(O=>O!==s):c=p,s=Ut(s)}return o.set(e,n),n}function $n(e){let{element:o,boundary:a,rootBoundary:n,strategy:c}=e,s=[...a==="clippingAncestors"?Rn(o,this._c):[].concat(a),n],p=s[0],y=s.reduce((h,O)=>{let x=Sa(o,O,c);return h.top=$t(x.top,h.top),h.right=ue(x.right,h.right),h.bottom=ue(x.bottom,h.bottom),h.left=$t(x.left,h.left),h},Sa(o,p,c));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}}function An(e){return Ca(e)}function In(e,o,a){let n=ct(o),c=Et(o),l=a==="fixed",s=be(e,!0,l,o),p={scrollLeft:0,scrollTop:0},y=vt(0);if(n||!n&&!l)if((Nt(o)!=="body"||ne(c))&&(p=he(o)),n){let h=be(o,!0,l,o);y.x=h.x+o.clientLeft,y.y=h.y+o.clientTop}else c&&(y.x=Ea(c));return{x:s.left+p.scrollLeft-y.x,y:s.top+p.scrollTop-y.y,width:s.width,height:s.height}}function Oa(e,o){return!ct(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function La(e,o){let a=Q(e);if(!ct(e))return a;let n=Oa(e,o);for(;n&&ha(n)&&et(n).position==="static";)n=Oa(n,o);return n&&(Nt(n)==="html"||Nt(n)==="body"&&et(n).position==="static"&&!He(n))?a:n||ba(e)||a}var Bn=async function(e){let{reference:o,floating:a,strategy:n}=e,c=this.getOffsetParent||La,l=this.getDimensions;return{reference:In(o,await c(a),n),floating:{x:0,y:0,...await l(a)}}};function Pn(e){return et(e).direction==="rtl"}var Ue={convertOffsetParentRelativeRectToViewportRelativeRect:vn,getDocumentElement:Et,getClippingRect:$n,getOffsetParent:La,getElementRects:Bn,getClientRects:Nn,getDimensions:An,getScale:ie,isElement:yt,isRTL:Pn};var Ra=(e,o,a)=>{let n=new Map,c={platform:Ue,...a},l={...c.platform,_c:n};return ua(e,o,{...c,platform:l})};function $a(e){return Wn(e)}function yo(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Wn(e){for(let o=e;o;o=yo(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=yo(e);o;o=yo(o)){if(!(o instanceof Element))continue;let a=getComputedStyle(o);if(a.display!=="contents"&&(a.position!=="static"||a.filter!=="none"||o.tagName==="BODY"))return o}return null}async function Aa(e,o,a){return Ra(e,o,{platform:{...Ue,getOffsetParent:n=>Ue.getOffsetParent(n,$a)},middleware:[fo({crossAxis:!0}),po({allowedPlacements:[a]})]})}var J=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},B=class extends xe.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new xe.Debouncer,this.revealDebouncer=new xe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ia.html`
|
|
585
|
+
<div part="container"
|
|
586
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
587
|
+
@mouseenter=${this.onHover}
|
|
588
|
+
@mouseleave=${this.onOut}
|
|
589
|
+
@focusin=${this.onHover}
|
|
590
|
+
@focusout=${this.onOut}
|
|
591
|
+
@touchstart=${this.onTouch}>
|
|
592
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
593
|
+
<div part="tooltip" role="tooltip" inert
|
|
594
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
595
|
+
?hidden=${!this.visible}>
|
|
596
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
597
|
+
<slot name="text"></slot>
|
|
598
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
599
|
+
</div>
|
|
600
|
+
</div>
|
|
601
|
+
</div>
|
|
602
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(a=>o.has(a))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(a=>a.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Aa(this.slottedElement,this.tooltip,this.position).then(({x:o,y:a})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${a}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(o,a){return Math.max(o,Math.min(0,-a))}};B.elementDefinitions={"ft-typography":X};B.styles=ca;J([(0,D.property)()],B.prototype,"text",void 0);J([(0,D.property)({type:Boolean})],B.prototype,"manual",void 0);J([(0,D.property)({type:Boolean})],B.prototype,"inline",void 0);J([(0,D.property)({type:Number})],B.prototype,"delay",void 0);J([(0,D.property)()],B.prototype,"position",void 0);J([(0,D.queryAssignedNodes)()],B.prototype,"slotNodes",void 0);J([(0,D.query)(".ft-tooltip--container")],B.prototype,"container",void 0);J([(0,D.query)(".ft-tooltip")],B.prototype,"tooltip",void 0);J([(0,D.query)(".ft-tooltip--content")],B.prototype,"tooltipContent",void 0);J([(0,D.state)()],B.prototype,"visible",void 0);J([(0,D.eventOptions)({passive:!0})],B.prototype,"onTouch",null);J([(0,D.eventOptions)({passive:!0})],B.prototype,"onHover",null);J([(0,D.eventOptions)({passive:!0})],B.prototype,"onOut",null);J([(0,D.eventOptions)({passive:!0})],B.prototype,"onClick",null);(0,Ba.customElement)("ft-tooltip")(B);var za=b(w());var Se=b(T()),Gt=b(it()),Ta=b(w()),ka=b(Wa());var ot;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE=""})(ot||(ot={}));var g;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(g||(g={}));var bp=new Map([...["abw"].map(e=>[e,g.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,g.AUDIO]),...["avi"].map(e=>[e,g.AVI]),...["chm","xhs"].map(e=>[e,g.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,g.CODE]),...["csv"].map(e=>[e,g.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,g.DITA]),...["epub"].map(e=>[e,g.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,g.EXCEL]),...["flac"].map(e=>[e,g.FLAC]),...["gif"].map(e=>[e,g.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,g.GZIP]),...["html","htm","xhtml"].map(e=>[e,g.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,g.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,g.JPEG]),...["json"].map(e=>[e,g.JSON]),...["m4a","m4p"].map(e=>[e,g.M4A]),...["mov","qt"].map(e=>[e,g.MOV]),...["mp3"].map(e=>[e,g.MP3]),...["mp4","m4v"].map(e=>[e,g.MP4]),...["ogg","oga"].map(e=>[e,g.OGG]),...["pdf","ps"].map(e=>[e,g.PDF]),...["png"].map(e=>[e,g.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,g.POWERPOINT]),...["rar"].map(e=>[e,g.RAR]),...["stp"].map(e=>[e,g.STP]),...["txt","rtf","md","mdown"].map(e=>[e,g.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,g.VIDEO]),...["wav"].map(e=>[e,g.WAV]),...["wma"].map(e=>[e,g.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,g.WORD]),...["xml","xsl","rdf"].map(e=>[e,g.XML]),...["yaml","yml","x-yaml"].map(e=>[e,g.YAML]),...["zip"].map(e=>[e,g.ZIP])]);var xp={[g.ABW]:"#91ABC6",[g.AUDIO]:"#1795E3",[g.AVI]:"#E63324",[g.CHM]:"#71C3EB",[g.CODE]:"#71C3EB",[g.CSV]:"#1F7345",[g.DITA]:"#71C3EB",[g.EPUB]:"#85B926",[g.EXCEL]:"#1F7345",[g.FLAC]:"#1795E3",[g.GIF]:"#59B031",[g.GZIP]:"#F8AB36",[g.HTML]:"#71C3EB",[g.IMAGE]:"#59B031",[g.JPEG]:"#59B031",[g.JSON]:"#71C3EB",[g.M4A]:"#1795E3",[g.MOV]:"#E63324",[g.MP3]:"#1795E3",[g.MP4]:"#E63324",[g.OGG]:"#1795E3",[g.PDF]:"#E44948",[g.PNG]:"#59B031",[g.POWERPOINT]:"#B54A2B",[g.RAR]:"#F8AB36",[g.STP]:"#3764B1",[g.TEXT]:"#3162AB",[g.UNKNOWN]:"#999999",[g.VIDEO]:"#E63324",[g.WAV]:"#1795E3",[g.WMA]:"#1795E3",[g.WORD]:"#3162AB",[g.XML]:"#71C3EB",[g.YAML]:"#71C3EB",[g.ZIP]:"#F8AB36"};var ut;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ut||(ut={}));var Ge=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},K=class extends Ta.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Se.nothing}render(){let o=this.variant&&Object.values(ut).includes(this.variant)?this.variant:ut.fluid_topics,a=o!==ut.material||!!this.value;return Se.html`
|
|
603
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
604
|
+
${(0,ka.unsafeHTML)(this.resolvedIcon)}
|
|
605
|
+
<slot ?hidden=${a}></slot>
|
|
606
|
+
</i>
|
|
607
|
+
`}get textContent(){var o,a;return(a=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&a!==void 0?a:""}update(o){super.update(o),["value","variant"].some(a=>o.has(a))&&this.resolveIcon()}resolveIcon(){var o,a;let n=this.value||this.textContent;switch(this.variant){case ut.file_format:this.resolvedIcon=(o=g[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case ut.material:this.resolvedIcon=this.value||Se.nothing;break;default:this.resolvedIcon=(a=ot[n.replace("-","_").toUpperCase()])!==null&&a!==void 0?a:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};K.elementDefinitions={};K.styles=qr;Ge([(0,Gt.property)()],K.prototype,"variant",void 0);Ge([(0,Gt.property)()],K.prototype,"value",void 0);Ge([(0,Gt.state)()],K.prototype,"resolvedIcon",void 0);Ge([(0,Gt.query)("slot")],K.prototype,"slottedContent",void 0);(0,za.customElement)("ft-icon")(K);var Da=b(w());var _a=b(T()),Ha=b(w());var Zt=class extends Ha.FtLitElement{render(){return _a.html`
|
|
608
|
+
<div class="ft-loader">
|
|
609
|
+
<div></div>
|
|
610
|
+
<div></div>
|
|
611
|
+
<div></div>
|
|
612
|
+
<div></div>
|
|
613
|
+
</div>
|
|
614
|
+
`}};Zt.styles=Yr;(0,Da.customElement)("ft-loader")(Zt);var It=b(T()),uo=b(Te()),U=b(it()),M=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},$=class extends(0,Bt.toFtFormComponent)(Bt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var a;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((a=this.form)===null||a===void 0||a.requestSubmit())})}render(){var o,a,n;let c=It.html`
|
|
615
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
616
|
+
<ft-typography part="label"
|
|
617
|
+
variant=${this.typographyVariant}
|
|
618
|
+
element="span"
|
|
619
|
+
class="ft-button--label ${Bt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
620
|
+
?hidden=${!this.hasTextContent()}>
|
|
621
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
622
|
+
</ft-typography>
|
|
623
|
+
${this.resolveIcon()}
|
|
624
|
+
`,l=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(l?It.html`
|
|
625
|
+
<a href="${l}"
|
|
626
|
+
target="${(o=this.target)!==null&&o!==void 0?o:"_self"}"
|
|
627
|
+
part="button"
|
|
628
|
+
class="${(0,uo.classMap)(this.buttonClasses)}"
|
|
629
|
+
aria-label="${(a=this.ariaLabel)!==null&&a!==void 0?a:this.getLabel()}"
|
|
630
|
+
?disabled=${this.isDisabled()}>
|
|
631
|
+
${c}
|
|
632
|
+
</a>
|
|
633
|
+
`:It.html`
|
|
634
|
+
<button part="button"
|
|
635
|
+
class="${(0,uo.classMap)(this.buttonClasses)}"
|
|
636
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
637
|
+
?disabled=${this.isDisabled()}>
|
|
638
|
+
${c}
|
|
639
|
+
</button>
|
|
640
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?It.html`
|
|
641
|
+
<ft-tooltip part="tooltip"
|
|
642
|
+
text="${this.getLabel()}"
|
|
643
|
+
position="${this.tooltipPosition}">
|
|
644
|
+
${o}
|
|
645
|
+
</ft-tooltip>
|
|
646
|
+
`:o}resolveIcon(){return this.loading?It.html`
|
|
647
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?It.html`
|
|
648
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
649
|
+
`:It.html`
|
|
650
|
+
<slot part="icon" name="icon"></slot>
|
|
651
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}focusWithoutTooltip(){var o;this.setTooltipManual(!0),(o=this.button)===null||o===void 0||o.focus(),this.setTooltipManual(!1)}setTooltipManual(o){this.tooltip&&(this.tooltip.manual=o)}click(){var o;(o=this.button)===null||o===void 0||o.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Bt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};$.elementDefinitions={"ft-ripple":I,"ft-tooltip":B,"ft-typography":X,"ft-icon":K,"ft-loader":Zt};M([(0,U.property)()],$.prototype,"href",void 0);M([(0,U.property)()],$.prototype,"target",void 0);M([(0,U.property)({type:String,reflect:!0})],$.prototype,"role",void 0);M([(0,U.property)()],$.prototype,"type",void 0);M([(0,U.property)({type:Boolean})],$.prototype,"disabled",void 0);M([(0,U.property)()],$.prototype,"label",void 0);M([(0,U.property)()],$.prototype,"icon",void 0);M([(0,U.property)()],$.prototype,"iconVariant",void 0);M([(0,U.property)({type:Boolean})],$.prototype,"trailingIcon",void 0);M([(0,U.property)({type:Boolean})],$.prototype,"loading",void 0);M([(0,U.property)({attribute:"aria-label"})],$.prototype,"ariaLabel",void 0);M([(0,U.property)()],$.prototype,"tooltipPosition",void 0);M([(0,U.property)({type:Boolean})],$.prototype,"hideTooltip",void 0);M([(0,U.property)({type:Boolean})],$.prototype,"forceTooltip",void 0);M([(0,U.query)(".ft-button")],$.prototype,"button",void 0);M([(0,U.query)(".ft-button--label slot")],$.prototype,"slottedContent",void 0);M([(0,U.query)("[part=tooltip]")],$.prototype,"tooltip",void 0);var Ze=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},wt=class extends ${constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};wt.styles=[Ua.safariEllipsisFix,ea];Ze([(0,Oe.property)({type:Boolean})],wt.prototype,"primary",void 0);Ze([(0,Oe.property)({type:Boolean})],wt.prototype,"outlined",void 0);Ze([(0,Oe.property)({type:Boolean})],wt.prototype,"dense",void 0);Ze([(0,Oe.property)({type:Boolean})],wt.prototype,"round",void 0);var Ce=b(it());var Fe=b(w());var Ga=b(T()),f=b(w());var Za=[Ga.css`
|
|
652
|
+
:host {
|
|
653
|
+
display: inline-block;
|
|
654
|
+
max-width: 100%;
|
|
655
|
+
pointer-events: none;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** Remove default button styles **/
|
|
659
|
+
|
|
660
|
+
.ft-button {
|
|
661
|
+
box-shadow: 0 0 0 transparent;
|
|
662
|
+
border: 0 solid transparent;
|
|
663
|
+
text-shadow: 0 0 0 transparent;
|
|
664
|
+
text-decoration: none;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.ft-button:hover {
|
|
668
|
+
box-shadow: 0 0 0 transparent;
|
|
669
|
+
text-shadow: 0 0 0 transparent;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.ft-button:active {
|
|
673
|
+
outline: none;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.ft-button:focus {
|
|
677
|
+
outline: 0;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/** Base styles **/
|
|
681
|
+
|
|
682
|
+
.ft-button {
|
|
683
|
+
position: relative;
|
|
684
|
+
display: flex;
|
|
685
|
+
justify-content: center;
|
|
686
|
+
align-items: center;
|
|
687
|
+
width: 100%;
|
|
688
|
+
overflow: hidden;
|
|
689
|
+
box-sizing: border-box;
|
|
690
|
+
pointer-events: auto;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.ft-button:not([disabled]):hover {
|
|
694
|
+
cursor: pointer;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.ft-button:focus {
|
|
698
|
+
outline: none;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.ft-button:focus-visible {
|
|
702
|
+
outline-color: ${d.focusFocusRingColor};
|
|
703
|
+
outline-style: solid;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
ft-icon {
|
|
707
|
+
flex-shrink: 0;
|
|
708
|
+
position: relative;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
712
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
713
|
+
order: -1;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.ft-button--label {
|
|
717
|
+
position: relative;
|
|
718
|
+
overflow: hidden;
|
|
719
|
+
white-space: nowrap;
|
|
720
|
+
text-overflow: ellipsis;
|
|
721
|
+
display: block;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.ft-button--label[hidden] {
|
|
725
|
+
display: none;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.ft-button.ft-button--icon-only {
|
|
729
|
+
padding: unset;
|
|
730
|
+
border-radius: 50%;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
/** Brand Primary styles **/
|
|
734
|
+
|
|
735
|
+
.ftds--family-brand.ft-button--primary {
|
|
736
|
+
${(0,f.setVariable)(R.color,d.primaryBrandIconColor)};
|
|
737
|
+
|
|
738
|
+
${(0,f.setVariable)(u.color,d.primaryBrandStateLayerColor)};
|
|
739
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.primaryBrandHoverStateLayerOpacity)};
|
|
740
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.primaryBrandFocusStateLayerOpacity)};
|
|
741
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.primaryBrandActiveStateLayerOpacity)};
|
|
742
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.primaryBrandActiveStateLayerOpacity)};
|
|
743
|
+
|
|
744
|
+
background-color: ${d.primaryBrandBackgroundColor};
|
|
745
|
+
color: ${d.primaryBrandColor};
|
|
746
|
+
border-style: none;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
750
|
+
opacity: ${d.primaryBrandDisabledComponentOpacity};
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
754
|
+
color: ${d.primaryBrandIconColor};
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/** Brand Secondary styles **/
|
|
758
|
+
|
|
759
|
+
.ftds--family-brand.ft-button--secondary {
|
|
760
|
+
${(0,f.setVariable)(R.color,d.secondaryBrandIconColor)};
|
|
761
|
+
|
|
762
|
+
${(0,f.setVariable)(u.color,d.secondaryBrandStateLayerColor)};
|
|
763
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondaryBrandHoverStateLayerOpacity)};
|
|
764
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondaryBrandFocusStateLayerOpacity)};
|
|
765
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondaryBrandActiveStateLayerOpacity)};
|
|
766
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondaryBrandActiveStateLayerOpacity)};
|
|
767
|
+
|
|
768
|
+
background-color: ${d.secondaryBrandBackgroundColor};
|
|
769
|
+
color: ${d.secondaryBrandColor};
|
|
770
|
+
border-color: ${d.secondaryBrandBorderColor};
|
|
771
|
+
border-style: solid;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
775
|
+
opacity: ${d.secondaryBrandDisabledComponentOpacity};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
779
|
+
color: ${d.secondaryBrandIconColor};
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/** Brand Tertiary styles **/
|
|
783
|
+
|
|
784
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
785
|
+
${(0,f.setVariable)(R.color,d.tertiaryBrandIconColor)};
|
|
786
|
+
|
|
787
|
+
${(0,f.setVariable)(u.color,d.tertiaryBrandStateLayerColor)};
|
|
788
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiaryBrandHoverStateLayerOpacity)};
|
|
789
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiaryBrandFocusStateLayerOpacity)};
|
|
790
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiaryBrandActiveStateLayerOpacity)};
|
|
791
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiaryBrandActiveStateLayerOpacity)};
|
|
792
|
+
|
|
793
|
+
background-color: ${d.tertiaryBrandBackgroundColor};
|
|
794
|
+
color: ${d.tertiaryBrandColor};
|
|
795
|
+
border-style: none;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
799
|
+
opacity: ${d.tertiaryBrandDisabledComponentOpacity};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
803
|
+
color: ${d.tertiaryBrandIconColor};
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/** Neutral Secondary styles **/
|
|
807
|
+
|
|
808
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
809
|
+
${(0,f.setVariable)(R.color,d.secondaryNeutralIconColor)};
|
|
810
|
+
|
|
811
|
+
${(0,f.setVariable)(u.backgroundColor,d.secondaryNeutralStateLayerColor)};
|
|
812
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondaryNeutralHoverStateLayerOpacity)};
|
|
813
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondaryNeutralFocusStateLayerOpacity)};
|
|
814
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondaryNeutralActiveStateLayerOpacity)};
|
|
815
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondaryNeutralActiveStateLayerOpacity)};
|
|
816
|
+
|
|
817
|
+
background-color: ${d.secondaryNeutralBackgroundColor};
|
|
818
|
+
color: ${d.secondaryNeutralColor};
|
|
819
|
+
border-color: ${d.secondaryNeutralBorderColor};
|
|
820
|
+
border-style: solid;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
824
|
+
opacity: ${d.secondaryNeutralDisabledComponentOpacity};
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
828
|
+
color: ${d.secondaryNeutralIconColor};
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/** Neutral Tertiary styles **/
|
|
832
|
+
|
|
833
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
834
|
+
${(0,f.setVariable)(R.color,d.tertiaryNeutralIconColor)};
|
|
835
|
+
|
|
836
|
+
${(0,f.setVariable)(u.backgroundColor,d.tertiaryNeutralStateLayerColor)};
|
|
837
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiaryNeutralHoverStateLayerOpacity)};
|
|
838
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiaryNeutralFocusStateLayerOpacity)};
|
|
839
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiaryNeutralActiveStateLayerOpacity)};
|
|
840
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiaryNeutralActiveStateLayerOpacity)};
|
|
841
|
+
|
|
842
|
+
background-color: ${d.tertiaryNeutralBackgroundColor};
|
|
843
|
+
color: ${d.tertiaryNeutralColor};
|
|
844
|
+
border-style: none;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
848
|
+
opacity: ${d.tertiaryNeutralDisabledComponentOpacity};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
852
|
+
color: ${d.tertiaryNeutralIconColor};
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/** Info Secondary styles **/
|
|
856
|
+
|
|
857
|
+
.ftds--family-info.ft-button--secondary {
|
|
858
|
+
${(0,f.setVariable)(R.color,d.secondaryInfoIconColor)};
|
|
859
|
+
|
|
860
|
+
${(0,f.setVariable)(u.backgroundColor,d.secondaryInfoStateLayerColor)};
|
|
861
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondaryInfoHoverStateLayerOpacity)};
|
|
862
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondaryInfoFocusStateLayerOpacity)};
|
|
863
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondaryInfoActiveStateLayerOpacity)};
|
|
864
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondaryInfoActiveStateLayerOpacity)};
|
|
865
|
+
|
|
866
|
+
background-color: ${d.secondaryInfoBackgroundColor};
|
|
867
|
+
color: ${d.secondaryInfoColor};
|
|
868
|
+
border-color: ${d.secondaryInfoBorderColor};
|
|
869
|
+
border-style: solid;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
873
|
+
opacity: ${d.secondaryInfoDisabledComponentOpacity};
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
877
|
+
color: ${d.secondaryInfoIconColor};
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/** Info Tertiary styles **/
|
|
881
|
+
|
|
882
|
+
.ftds--family-info.ft-button--tertiary {
|
|
883
|
+
${(0,f.setVariable)(R.color,d.tertiaryInfoIconColor)};
|
|
884
|
+
|
|
885
|
+
${(0,f.setVariable)(u.backgroundColor,d.tertiaryInfoStateLayerColor)};
|
|
886
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiaryInfoHoverStateLayerOpacity)};
|
|
887
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiaryInfoFocusStateLayerOpacity)};
|
|
888
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiaryInfoActiveStateLayerOpacity)};
|
|
889
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiaryInfoActiveStateLayerOpacity)};
|
|
890
|
+
|
|
891
|
+
background-color: ${d.tertiaryInfoBackgroundColor};
|
|
892
|
+
color: ${d.tertiaryInfoColor};
|
|
893
|
+
border-style: none;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
897
|
+
opacity: ${d.tertiaryInfoDisabledComponentOpacity};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
901
|
+
color: ${d.tertiaryInfoIconColor};
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/** Success Secondary styles **/
|
|
905
|
+
|
|
906
|
+
.ftds--family-success.ft-button--secondary {
|
|
907
|
+
${(0,f.setVariable)(R.color,d.secondarySuccessIconColor)};
|
|
908
|
+
|
|
909
|
+
${(0,f.setVariable)(u.backgroundColor,d.secondarySuccessStateLayerColor)};
|
|
910
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondarySuccessHoverStateLayerOpacity)};
|
|
911
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondarySuccessFocusStateLayerOpacity)};
|
|
912
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondarySuccessActiveStateLayerOpacity)};
|
|
913
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondarySuccessActiveStateLayerOpacity)};
|
|
914
|
+
|
|
915
|
+
background-color: ${d.secondarySuccessBackgroundColor};
|
|
916
|
+
color: ${d.secondarySuccessColor};
|
|
917
|
+
border-color: ${d.secondarySuccessBorderColor};
|
|
918
|
+
border-style: solid;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
922
|
+
opacity: ${d.secondarySuccessDisabledComponentOpacity};
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
926
|
+
color: ${d.secondarySuccessIconColor};
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/** Success Tertiary styles **/
|
|
930
|
+
|
|
931
|
+
.ftds--family-success.ft-button--tertiary {
|
|
932
|
+
${(0,f.setVariable)(R.color,d.tertiarySuccessIconColor)};
|
|
933
|
+
|
|
934
|
+
${(0,f.setVariable)(u.backgroundColor,d.tertiarySuccessStateLayerColor)};
|
|
935
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiarySuccessHoverStateLayerOpacity)};
|
|
936
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiarySuccessFocusStateLayerOpacity)};
|
|
937
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiarySuccessActiveStateLayerOpacity)};
|
|
938
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiarySuccessActiveStateLayerOpacity)};
|
|
939
|
+
|
|
940
|
+
background-color: ${d.tertiarySuccessBackgroundColor};
|
|
941
|
+
color: ${d.tertiarySuccessColor};
|
|
942
|
+
border-style: none;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
946
|
+
opacity: ${d.tertiarySuccessDisabledComponentOpacity};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
950
|
+
color: ${d.tertiarySuccessIconColor};
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/** Warning Secondary styles **/
|
|
954
|
+
|
|
955
|
+
.ftds--family-warning.ft-button--secondary {
|
|
956
|
+
${(0,f.setVariable)(R.color,d.secondaryWarningIconColor)};
|
|
957
|
+
|
|
958
|
+
${(0,f.setVariable)(u.backgroundColor,d.secondaryWarningStateLayerColor)};
|
|
959
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondaryWarningHoverStateLayerOpacity)};
|
|
960
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondaryWarningFocusStateLayerOpacity)};
|
|
961
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondaryWarningActiveStateLayerOpacity)};
|
|
962
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondaryWarningActiveStateLayerOpacity)};
|
|
963
|
+
|
|
964
|
+
background-color: ${d.secondaryWarningBackgroundColor};
|
|
965
|
+
color: ${d.secondaryWarningColor};
|
|
966
|
+
border-color: ${d.secondaryWarningBorderColor};
|
|
967
|
+
border-style: solid;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
971
|
+
opacity: ${d.secondaryWarningDisabledComponentOpacity};
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
975
|
+
color: ${d.secondaryWarningIconColor};
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/** Warning Tertiary styles **/
|
|
979
|
+
|
|
980
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
981
|
+
${(0,f.setVariable)(R.color,d.tertiaryWarningIconColor)};
|
|
982
|
+
|
|
983
|
+
${(0,f.setVariable)(u.backgroundColor,d.tertiaryWarningStateLayerColor)};
|
|
984
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiaryWarningHoverStateLayerOpacity)};
|
|
985
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiaryWarningFocusStateLayerOpacity)};
|
|
986
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiaryWarningActiveStateLayerOpacity)};
|
|
987
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiaryWarningActiveStateLayerOpacity)};
|
|
988
|
+
|
|
989
|
+
background-color: ${d.tertiaryWarningBackgroundColor};
|
|
990
|
+
color: ${d.tertiaryWarningColor};
|
|
991
|
+
border-style: none;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
995
|
+
opacity: ${d.tertiaryWarningDisabledComponentOpacity};
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
999
|
+
color: ${d.tertiaryWarningIconColor};
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/** Error Secondary styles **/
|
|
1003
|
+
|
|
1004
|
+
.ftds--family-error.ft-button--secondary {
|
|
1005
|
+
${(0,f.setVariable)(R.color,d.secondaryErrorIconColor)};
|
|
1006
|
+
|
|
1007
|
+
${(0,f.setVariable)(u.backgroundColor,d.secondaryErrorStateLayerColor)};
|
|
1008
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.secondaryErrorHoverStateLayerOpacity)};
|
|
1009
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.secondaryErrorFocusStateLayerOpacity)};
|
|
1010
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.secondaryErrorActiveStateLayerOpacity)};
|
|
1011
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.secondaryErrorActiveStateLayerOpacity)};
|
|
1012
|
+
|
|
1013
|
+
background-color: ${d.secondaryErrorBackgroundColor};
|
|
1014
|
+
color: ${d.secondaryErrorColor};
|
|
1015
|
+
border-color: ${d.secondaryErrorBorderColor};
|
|
1016
|
+
border-style: solid;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1020
|
+
opacity: ${d.secondaryErrorDisabledComponentOpacity};
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1024
|
+
color: ${d.secondaryErrorIconColor};
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/** Error Tertiary styles **/
|
|
1028
|
+
|
|
1029
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1030
|
+
${(0,f.setVariable)(R.color,d.tertiaryErrorIconColor)};
|
|
1031
|
+
|
|
1032
|
+
${(0,f.setVariable)(u.backgroundColor,d.tertiaryErrorStateLayerColor)};
|
|
1033
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceHover,d.tertiaryErrorHoverStateLayerOpacity)};
|
|
1034
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceFocused,d.tertiaryErrorFocusStateLayerOpacity)};
|
|
1035
|
+
${(0,f.setVariable)(u.opacityContentOnSurfaceSelected,d.tertiaryErrorActiveStateLayerOpacity)};
|
|
1036
|
+
${(0,f.setVariable)(u.opacityContentOnSurfacePressed,d.tertiaryErrorActiveStateLayerOpacity)};
|
|
1037
|
+
|
|
1038
|
+
background-color: ${d.tertiaryErrorBackgroundColor};
|
|
1039
|
+
color: ${d.tertiaryErrorColor};
|
|
1040
|
+
border-style: none;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1044
|
+
opacity: ${d.tertiaryErrorDisabledComponentOpacity};
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1048
|
+
color: ${d.tertiaryErrorIconColor};
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/** Large styles **/
|
|
1052
|
+
|
|
1053
|
+
.ftds--size-large {
|
|
1054
|
+
${(0,f.setVariable)(H.size,d.largeIconSize)};
|
|
1055
|
+
${(0,f.setVariable)(R.size,d.largeIconSize)};
|
|
1056
|
+
|
|
1057
|
+
height: ${d.largeHeight};
|
|
1058
|
+
padding: 0 ${d.largeHorizontalPadding};
|
|
1059
|
+
gap: ${d.largeGap};
|
|
1060
|
+
border-radius: ${d.largeBorderRadius};
|
|
1061
|
+
border-width: ${d.largeBorderWidth};
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
.ftds--size-large:focus-visible {
|
|
1065
|
+
outline-width: ${d.largeFocusOutlineWidth};
|
|
1066
|
+
outline-offset: ${d.largeFocusOutlineOffset};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1070
|
+
width: ${d.largeIconOnlyWidth};
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/** Small styles **/
|
|
1074
|
+
|
|
1075
|
+
.ftds--size-medium {
|
|
1076
|
+
${(0,f.setVariable)(H.size,d.mediumIconSize)};
|
|
1077
|
+
${(0,f.setVariable)(R.size,d.mediumIconSize)};
|
|
1078
|
+
|
|
1079
|
+
height: ${d.mediumHeight};
|
|
1080
|
+
padding: 0 ${d.mediumHorizontalPadding};
|
|
1081
|
+
gap: ${d.mediumGap};
|
|
1082
|
+
border-radius: ${d.mediumBorderRadius};
|
|
1083
|
+
border-width: ${d.mediumBorderWidth};
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.ftds--size-medium:focus-visible {
|
|
1087
|
+
outline-width: ${d.mediumFocusOutlineWidth};
|
|
1088
|
+
outline-offset: ${d.mediumFocusOutlineOffset};
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1092
|
+
width: ${d.mediumIconOnlyWidth};
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
/** Small styles **/
|
|
1097
|
+
|
|
1098
|
+
.ftds--size-small {
|
|
1099
|
+
${(0,f.setVariable)(H.size,d.smallIconSize)};
|
|
1100
|
+
${(0,f.setVariable)(R.size,d.smallIconSize)};
|
|
1101
|
+
|
|
1102
|
+
height: ${d.smallHeight};
|
|
1103
|
+
padding: 0 ${d.smallHorizontalPadding};
|
|
1104
|
+
gap: ${d.smallGap};
|
|
1105
|
+
border-radius: ${d.smallBorderRadius};
|
|
1106
|
+
border-width: ${d.smallBorderWidth};
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
.ftds--size-small:focus-visible {
|
|
1110
|
+
outline-width: ${d.smallFocusOutlineWidth};
|
|
1111
|
+
outline-offset: ${d.smallFocusOutlineOffset};
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1115
|
+
width: ${d.smallIconOnlyWidth};
|
|
1116
|
+
}
|
|
1117
|
+
`,f.noTextSelect];var Me=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},lt=class extends(0,Fe.toFtdsBase)($){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Pe.brand,this.iconVariant=ut.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Vt.large:return Y.body2medium;case Vt.medium:return Y.caption1medium;case Vt.small:return Y.caption2medium}}};lt.styles=[Fe.safariEllipsisFix,Za];Me([(0,Ce.property)({type:Boolean})],lt.prototype,"primary",void 0);Me([(0,Ce.property)({type:Boolean})],lt.prototype,"secondary",void 0);Me([(0,Ce.property)({type:Boolean})],lt.prototype,"tertiary",void 0);Me([(0,Ce.property)({type:Boolean})],lt.prototype,"round",void 0);(0,go.customElement)("ft-button")(wt);(0,go.customElement)("ftds-button")(lt);var ho=b(w());var Ma=b(T()),Fa=b(it()),Ka=b(w());var Va=b(Te()),Tn=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},Pt=class extends Ka.FtLitElement{constructor(){super(...arguments),this.icon="info"}render(){return Ma.html`
|
|
1118
|
+
<div class="${(0,Va.classMap)(this.noticeClasses)}" part="container">
|
|
1119
|
+
<div part="icon">
|
|
1120
|
+
<ft-icon value="${this.icon}"></ft-icon>
|
|
1121
|
+
</div>
|
|
1122
|
+
<ft-typography part="label" variant="${this.typographyVariant}">
|
|
1123
|
+
<slot></slot>
|
|
1124
|
+
</ft-typography>
|
|
1125
|
+
</div>
|
|
1126
|
+
`}};Pt.elementDefinitions={"ft-icon":K,"ft-typography":X};Tn([(0,Fa.property)({type:String})],Pt.prototype,"icon",void 0);var gt=b(w());var ja=b(T()),Mt={noticeColor:gt.FtCssVariableFactory.extend("--ft-notice-color","",gt.designSystemVariables.colorPrimary),noticeIconColor:gt.FtCssVariableFactory.extend("--ft-notice-icon-color","",gt.designSystemVariables.colorOnPrimary),borderRadius:gt.FtCssVariableFactory.external(gt.designSystemVariables.borderRadiusS,"Design System")},Ya=ja.css`
|
|
1127
|
+
[part="container"] {
|
|
1128
|
+
display: inline-flex;
|
|
1129
|
+
align-items: stretch;
|
|
1130
|
+
box-sizing: border-box;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
ft-icon {
|
|
1134
|
+
${(0,gt.setVariable)(H.size,"24px")};
|
|
1135
|
+
padding: 0 8px;
|
|
1136
|
+
display: flex;
|
|
1137
|
+
align-self: center;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
[part="icon"] {
|
|
1141
|
+
color: ${Mt.noticeIconColor};
|
|
1142
|
+
background-color: ${Mt.noticeColor};
|
|
1143
|
+
display: flex;
|
|
1144
|
+
align-items: center;
|
|
1145
|
+
border-top-left-radius: ${Mt.borderRadius};
|
|
1146
|
+
border-bottom-left-radius: ${Mt.borderRadius};
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
[part="label"] {
|
|
1150
|
+
padding: 8px;
|
|
1151
|
+
border-top-right-radius: ${Mt.borderRadius};
|
|
1152
|
+
border-bottom-right-radius: ${Mt.borderRadius};
|
|
1153
|
+
border: 1px solid ${Mt.noticeColor};
|
|
1154
|
+
}
|
|
1155
|
+
`;var ve=class extends Pt{get typographyVariant(){return Y.body2}get noticeClasses(){return{}}};ve.styles=Ya;var Ke;(function(e){e.info="info",e.warning="warning",e.error="error",e.success="success"})(Ke||(Ke={}));var Xa=b(w());var qa=b(T());var Qa=qa.css`
|
|
1156
|
+
[part="container"] {
|
|
1157
|
+
display: inline-flex;
|
|
1158
|
+
align-items: flex-start;
|
|
1159
|
+
box-sizing: border-box;
|
|
1160
|
+
border-width: ${L.borderWidth};
|
|
1161
|
+
border-style: solid;
|
|
1162
|
+
border-radius: ${L.borderRadius};
|
|
1163
|
+
padding: ${L.verticalPadding} ${L.horizontalPadding};
|
|
1164
|
+
gap: ${L.gap};
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
.info {
|
|
1168
|
+
color: ${L.infoColor};
|
|
1169
|
+
border-color: ${L.infoBorderColor};
|
|
1170
|
+
background-color: ${L.infoBackgroundColor};
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.info [part="icon"] {
|
|
1174
|
+
color: ${L.infoIconColor};
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.warning {
|
|
1178
|
+
color: ${L.warningColor};
|
|
1179
|
+
border-color: ${L.warningBorderColor};
|
|
1180
|
+
background-color: ${L.warningBackgroundColor};
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.warning [part="icon"] {
|
|
1184
|
+
color: ${L.warningIconColor};
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.error {
|
|
1188
|
+
color: ${L.errorColor};
|
|
1189
|
+
border-color: ${L.errorBorderColor};
|
|
1190
|
+
background-color: ${L.errorBackgroundColor};
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.error [part="icon"] {
|
|
1194
|
+
color: ${L.errorIconColor};
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.success {
|
|
1198
|
+
color: ${L.successColor};
|
|
1199
|
+
border-color: ${L.successBorderColor};
|
|
1200
|
+
background-color: ${L.successBackgroundColor};
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
.success [part="icon"] {
|
|
1204
|
+
color: ${L.successIconColor};
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
ft-icon {
|
|
1208
|
+
${(0,Xa.setVariable)(H.size,L.iconSize)};
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
[part="icon"] {
|
|
1212
|
+
display: flex;
|
|
1213
|
+
align-items: flex-start;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.collapsible [part="label"] {
|
|
1217
|
+
display: none;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
.collapsible:hover [part="label"] {
|
|
1221
|
+
display: initial;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.dense {
|
|
1225
|
+
background-color: transparent;
|
|
1226
|
+
border: ${L.denseBorderWidth};
|
|
1227
|
+
font-size: 16px;
|
|
1228
|
+
--ft-notice-gap: 4px;
|
|
1229
|
+
}
|
|
1230
|
+
`;var Ve=b(it());var mo=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},mt=class extends Pt{constructor(){super(...arguments),this.variant=Ke.info,this.collapsible=!1,this.dense=!1,this.iconByVariant={error:ot.CLOSE_PLAIN,info:ot.INFO,success:ot.CHECK_PLAIN,warning:ot.WARNING}}get typographyVariant(){return this.dense?Y.caption1medium:Y.body2regular}get noticeClasses(){return{[this.variant]:!0,collapsible:this.collapsible,dense:this.dense}}update(o){super.update(o),o.has("variant")&&(this.icon=this.iconByVariant[this.variant])}};mt.styles=Qa;mo([(0,Ve.property)()],mt.prototype,"variant",void 0);mo([(0,Ve.property)({type:Boolean})],mt.prototype,"collapsible",void 0);mo([(0,Ve.property)({type:Boolean})],mt.prototype,"dense",void 0);(0,ho.customElement)("ft-notice")(ve);(0,ho.customElement)("ftds-notice")(mt);var Ft=function(e,o,a,n){var c=arguments.length,l=c<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,a):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,a,n);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(l=(c<3?s(l):c>3?s(o,a,l):s(o,a))||l);return c>3&&l&&Object.defineProperty(o,a,l),l},at=class extends rt.FtLitElement{constructor(){super(...arguments),this.editable=!1,this.removable=!1,this.items=[],this.draggingItem=void 0}render(){return tt.html`
|
|
1231
|
+
<div class="ftds-reorderable-list--container">
|
|
1232
|
+
<ol role="listbox"
|
|
1233
|
+
aria-activedescendant=""
|
|
1234
|
+
@dragstart="${this.onDragStart}"
|
|
1235
|
+
@dragover="${this.onDragOver}"
|
|
1236
|
+
@dragend="${this.onDragEnd}">
|
|
1237
|
+
${(0,bo.repeat)(this.items,o=>Ko(o.id),o=>tt.html`
|
|
1238
|
+
<li role="option"
|
|
1239
|
+
draggable="true"
|
|
1240
|
+
id="${o.id}">
|
|
1241
|
+
<div class="ftds-reorderable-list-item--left">
|
|
1242
|
+
${this.renderItemLeftItems(o)}
|
|
1243
|
+
${this.renderItemLeftActions(o)}
|
|
1244
|
+
${o.warningMessage?tt.html`
|
|
1245
|
+
<ftds-notice dense variant="warning"
|
|
1246
|
+
size="${rt.DesignSystemSize.large}">
|
|
1247
|
+
${o.warningMessage}
|
|
1248
|
+
</ftds-notice>`:tt.nothing}
|
|
1249
|
+
</div>
|
|
1250
|
+
<div class="ftds-reorderable-list-item--right">
|
|
1251
|
+
${this.editable?tt.html`
|
|
1252
|
+
<ftds-button icon=${ot.ADMIN}
|
|
1253
|
+
family="${rt.DesignSystemFamily.brand}"
|
|
1254
|
+
size="${rt.DesignSystemSize.large}"></ftds-button>
|
|
1255
|
+
`:tt.nothing}
|
|
1256
|
+
${this.removable?tt.html`
|
|
1257
|
+
<ftds-button icon=${ot.TRASH}
|
|
1258
|
+
family="${rt.DesignSystemFamily.brand}"
|
|
1259
|
+
size="${rt.DesignSystemSize.large}"></ftds-button>
|
|
1260
|
+
`:tt.nothing}
|
|
1261
|
+
</div>
|
|
1262
|
+
</li>`)}
|
|
1263
|
+
</ol>
|
|
1264
|
+
<slot part="actions"></slot>
|
|
1265
|
+
</div>
|
|
1266
|
+
`}renderItemLeftItems(o){return tt.html`
|
|
1267
|
+
<ft-icon class="ftds-reorderable-list-item--drag-grip"
|
|
1268
|
+
value="${ot.GRIP_LINES_SOLID}"
|
|
1269
|
+
family="${rt.DesignSystemFamily.neutral}"
|
|
1270
|
+
size="${rt.DesignSystemSize.medium}"
|
|
1271
|
+
data-item-id="${o.id}"
|
|
1272
|
+
tabindex="1"
|
|
1273
|
+
@keydown="${this.onDragButtonKeyDown}"
|
|
1274
|
+
@focus="${a=>{var n;this.getSelectedOption(a).setAttribute("aria-selected","true"),(n=this.list)===null||n===void 0||n.setAttribute("aria-activedescendant",`option-${o.id}`)}}"
|
|
1275
|
+
@focusout="${a=>{var n;this.getSelectedOption(a).setAttribute("aria-selected","false"),(n=this.list)===null||n===void 0||n.setAttribute("aria-activedescendant","")}}"
|
|
1276
|
+
@click="${a=>{a.target.focus()}}"
|
|
1277
|
+
|
|
1278
|
+
></ft-icon>
|
|
1279
|
+
<ft-typography variant="${Y.body2semibold}">
|
|
1280
|
+
${o.label}
|
|
1281
|
+
</ft-typography>
|
|
1282
|
+
`}renderItemLeftActions(o){return o.actions?tt.html`
|
|
1283
|
+
<div class="ftds-reorderable-list-item--left-actions">
|
|
1284
|
+
${(0,bo.repeat)(o.actions,a=>tt.html`
|
|
1285
|
+
<ftds-button icon="${a.icon}"
|
|
1286
|
+
?disabled=${a.disabled}
|
|
1287
|
+
family="${rt.DesignSystemFamily.neutral}"
|
|
1288
|
+
size="${rt.DesignSystemSize.large}"
|
|
1289
|
+
label="${Qe(a.label)}"
|
|
1290
|
+
@click="${a.run}">
|
|
1291
|
+
${Qe(a.text)}
|
|
1292
|
+
</ftds-button>
|
|
1293
|
+
`)}
|
|
1294
|
+
</div>`:tt.nothing}async onDragButtonKeyDown(o){let a=o.target.dataset.itemId,n=this.items.findIndex(c=>c.id===a);if(this.dragGrips[n].classList.remove("dragging"),n>-1&&["PageUp","PageDown","ArrowUp","ArrowDown"].includes(o.key)){o.preventDefault();let c=o.altKey||o.key.startsWith("Page"),l=o.key.includes("Up");c?(l?this.moveItemUp(n):this.moveItemDown(n),await this.keepFocusOnItem(a)):l?this.moveFocusToPreviousItem(n):this.moveFocusToNextItem(n)}}async keepFocusOnItem(o){await this.updateComplete;let a=this.shadowRoot.querySelector(`ft-icon[data-item-id="${o}"]`);a.classList.add("dragging"),a.focus()}moveItemUp(o){o>0&&(this.items=this.swapItems(o,o-1))}moveItemDown(o){o<this.items.length-1&&(this.items=this.swapItems(o,o+1))}swapItems(o,a){let n=[...this.items],c=n[o];return n[o]=n[a],n[a]=c,n}onDragStart(o){o.dataTransfer.effectAllowed="move",this.draggingItem=o.target,this.draggingItem.classList.add("dragging")}onDragOver(o){var a;o.preventDefault();let n=this.getDragAfterElement(this.list,o.clientY);this.draggingItem.style.cursor="grabbing",(a=this.draggableItems)===null||a===void 0||a.forEach(c=>c.classList.remove("over")),n?this.list.insertBefore(this.draggingItem,n):this.list.appendChild(this.draggingItem)}onDragEnd(o){var a;this.syncReferenceList(),o.target.classList.remove("dragging"),(a=this.draggableItems)===null||a===void 0||a.forEach(n=>n.classList.remove("over")),this.draggingItem.remove(),this.draggingItem=void 0}syncReferenceList(){let o=[...this.dragGrips].map(a=>a.dataset.itemId);this.items=o.map(a=>this.items.find(n=>n.id===a))}getDragAfterElement(o,a){let n=[...this.notDraggedItems],c={offset:Number.NEGATIVE_INFINITY,element:null};for(let l of n){let s=l.getBoundingClientRect(),p=a-s.top-s.height/2;if(p<0&&p>c.offset)return c={offset:p,element:l},c.element}return null}moveFocusToPreviousItem(o){if(o>0){let a=this.dragGrips[o-1];a?.focus()}}moveFocusToNextItem(o){if(o<this.items.length-1){let a=this.dragGrips[o+1];a?.focus()}}getSelectedOption(o){let n=o.target.dataset.itemId;return[...this.draggableItems].find(c=>c.id===n)}};at.elementDefinitions={"ft-typography":X,"ftds-button":lt,"ft-icon":K,"ftds-notice":mt};at.styles=Sr;Ft([(0,ht.property)({type:Boolean})],at.prototype,"editable",void 0);Ft([(0,ht.property)({type:Boolean})],at.prototype,"removable",void 0);Ft([(0,ht.property)()],at.prototype,"items",void 0);Ft([(0,ht.query)("ol")],at.prototype,"list",void 0);Ft([(0,ht.queryAll)("li")],at.prototype,"draggableItems",void 0);Ft([(0,ht.queryAll)("li:not(.dragging)")],at.prototype,"notDraggedItems",void 0);Ft([(0,ht.queryAll)("ft-icon[data-item-id]")],at.prototype,"dragGrips",void 0);(0,Ja.customElement)("ftds-reorderable-list")(at);})();
|
|
1295
|
+
/*! Bundled license information:
|
|
1296
|
+
|
|
1297
|
+
lit-html/lit-html.js:
|
|
1298
|
+
(**
|
|
1299
|
+
* @license
|
|
1300
|
+
* Copyright 2017 Google LLC
|
|
1301
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1302
|
+
*)
|
|
1303
|
+
|
|
1304
|
+
lit-html/directives/if-defined.js:
|
|
1305
|
+
(**
|
|
1306
|
+
* @license
|
|
1307
|
+
* Copyright 2018 Google LLC
|
|
1308
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1309
|
+
*)
|
|
1310
|
+
|
|
1311
|
+
lit-html/directive.js:
|
|
1312
|
+
(**
|
|
1313
|
+
* @license
|
|
1314
|
+
* Copyright 2017 Google LLC
|
|
1315
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1316
|
+
*)
|
|
1317
|
+
|
|
1318
|
+
lit-html/directive-helpers.js:
|
|
1319
|
+
(**
|
|
1320
|
+
* @license
|
|
1321
|
+
* Copyright 2020 Google LLC
|
|
1322
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1323
|
+
*)
|
|
1324
|
+
|
|
1325
|
+
lit-html/directives/live.js:
|
|
1326
|
+
(**
|
|
1327
|
+
* @license
|
|
1328
|
+
* Copyright 2020 Google LLC
|
|
1329
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1330
|
+
*)
|
|
1331
|
+
|
|
1332
|
+
lit-html/static.js:
|
|
1333
|
+
(**
|
|
1334
|
+
* @license
|
|
1335
|
+
* Copyright 2020 Google LLC
|
|
1336
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1337
|
+
*)
|
|
1338
|
+
*/
|