@fluid-topics/ft-reader-toc 1.2.54 → 1.2.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-toc.light.js +416 -415
- package/build/ft-reader-toc.min.js +68 -68
- package/package.json +7 -7
|
@@ -1,72 +1,18 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mn=/'/g,Un=/"/g,jn=/^(?:script|style|textarea|title)$/i,Nr=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Vn=Nr(1),Kn=Nr(2),Zn=Nr(3),Yt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Hn=new WeakMap,pt=ut.createTreeWalker(ut,129);function qn(o,t){if(!Er(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(t):t}var Ll=(o,t)=>{let r=o.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",l=Zt;for(let s=0;s<r;s++){let f=o[s],p,h,y=-1,m=0;for(;m<f.length&&(l.lastIndex=m,h=l.exec(f),h!==null);)m=l.lastIndex,l===Zt?h[1]==="!--"?l=Dn:h[1]!==void 0?l=zn:h[2]!==void 0?(jn.test(h[2])&&(a=RegExp("</"+h[2],"g")),l=ft):h[3]!==void 0&&(l=ft):l===ft?h[0]===">"?(l=a??Zt,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,p=h[1],l=h[3]===void 0?ft:h[3]==='"'?Un:Mn):l===Un||l===Mn?l=ft:l===Dn||l===zn?l=Zt:(l=ft,a=void 0);let x=l===ft&&o[s+1].startsWith("/>")?" ":"";i+=l===Zt?f+Al:y>=0?(n.push(p),f.slice(0,y)+Gn+f.slice(y)+Ze+x):f+Ze+(y===-2?s:x)}return[qn(o,i+(o[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Xt=class o{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,s=t.length-1,f=this.parts,[p,h]=Ll(t,r);if(this.el=o.createElement(p,n),pt.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=pt.nextNode())!==null&&f.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Gn)){let m=h[l++],x=a.getAttribute(y).split(Ze),g=/([.?@])?(.*)/.exec(m);f.push({type:1,index:i,name:g[2],strings:x,ctor:g[1]==="."?vr:g[1]==="?"?Sr:g[1]==="@"?Cr:wt}),a.removeAttribute(y)}else y.startsWith(Ze)&&(f.push({type:6,index:i}),a.removeAttribute(y));if(jn.test(a.tagName)){let y=a.textContent.split(Ze),m=y.length-1;if(m>0){a.textContent=Oo?Oo.emptyScript:"";for(let x=0;x<m;x++)a.append(y[x],wo()),pt.nextNode(),f.push({type:2,index:++i});a.append(y[m],wo())}}}else if(a.nodeType===8)if(a.data===Fn)f.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(Ze,y+1))!==-1;)f.push({type:7,index:i}),y+=Ze.length-1}i++}}static createElement(t,r){let n=ut.createElement("template");return n.innerHTML=t,n}};function Ot(o,t,r=o,n){if(t===Yt)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=qt(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(o),a._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(t=Ot(o,a._$AS(o,t.values),a,n)),t}var xr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,a=(t?.creationScope??ut).importNode(r,!0);pt.currentNode=a;let i=pt.nextNode(),l=0,s=0,f=n[0];for(;f!==void 0;){if(l===f.index){let p;f.type===2?p=new Eo(i,i.nextSibling,this,t):f.type===1?p=new f.ctor(i,f.name,f.strings,this,t):f.type===6&&(p=new Or(i,this,t)),this._$AV.push(p),f=n[++s]}l!==f?.index&&(i=pt.nextNode(),l++)}return pt.currentNode=ut,a}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Eo=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,a){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Ot(this,t,r),qt(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==Yt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Rl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==X&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.T(ut.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Xt.createElement(qn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new xr(a,this),l=i.u(this.options);i.p(r),this.T(l),this._$AH=i}}_$AC(t){let r=Hn.get(t.strings);return r===void 0&&Hn.set(t.strings,r=new Xt(t)),r}k(t){Er(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of t)a===r.length?r.push(n=new o(this.O(wo()),this.O(wo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},wt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,a,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=X}_$AI(t,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)t=Ot(this,t,r,0),l=!qt(t)||t!==this._$AH&&t!==Yt,l&&(this._$AH=t);else{let s=t,f,p;for(t=i[0],f=0;f<i.length-1;f++)p=Ot(this,s[n+f],r,f),p===Yt&&(p=this._$AH[f]),l||=!qt(p)||p!==this._$AH[f],p===X?t=X:t!==X&&(t+=(p??"")+i[f+1]),this._$AH[f]=p}l&&!a&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vr=class extends wt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}},Sr=class extends wt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},Cr=class extends wt{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=Ot(this,t,r,0)??X)===Yt)return;let n=this._$AH,a=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==X&&(n===X||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Or=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ot(this,t)}};var Il=wr.litHtmlPolyfillSupport;Il?.(Xt,Eo),(wr.litHtmlVersions??=[]).push("3.3.0");var Xn=Symbol.for(""),Pl=o=>{if(o?.r===Xn)return o?._$litStatic$},Ar=o=>({_$litStatic$:o,r:Xn});var Yn=new Map,Rr=o=>(t,...r)=>{let n=r.length,a,i,l=[],s=[],f,p=0,h=!1;for(;p<n;){for(f=t[p];p<n&&(i=r[p],(a=Pl(i))!==void 0);)f+=a+t[++p],h=!0;p!==n&&s.push(i),l.push(f),p++}if(p===n&&l.push(t[n]),h){let y=l.join("$$lit$$");(t=Yn.get(y))===void 0&&(l.raw=l,Yn.set(y,t=l)),r=s}return o(t,...r)},Lr=Rr(Vn),ad=Rr(Kn),id=Rr(Zn);var Ir=b(Z()),Da=b(L());var qe;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(qe||(qe={}));var Se=b($()),w=b(L());var We=b($(),1),Ye=o=>typeof o=="string"?(0,We.unsafeCSS)(o):o,e=class{static create(t,r,n,a){let i=s=>Ye(s??a),l=We.css`var(${Ye(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>We.css`var(${Ye(t)}, ${i(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,n,a){let i=s=>n.get(s??a),l=We.css`var(${Ye(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>We.css`var(${Ye(t)}, ${i(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(t,r){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):Ye(i??t.lastResortDefaultValue()),a=We.css`var(${Ye(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>We.css`var(${Ye(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};var c={colorWhite:e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:e.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:e.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:e.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:e.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:e.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:e.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:e.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:e.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:e.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:e.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:e.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:e.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:e.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:e.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:e.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:e.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:e.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:e.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:e.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:e.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:e.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:e.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:e.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:e.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:e.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:e.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:e.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:e.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:e.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:e.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:e.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:e.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:e.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:e.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:e.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:e.create("--ft-opacity-0","","NUMBER","0"),opacity8:e.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:e.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:e.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:e.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:e.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:e.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:e.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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:e.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)")},Jn={fontFamily:e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-textCase","","UNKNOWN","none")},Qn={fontFamily:e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ea={fontFamily:e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ta={fontFamily:e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:e.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},oa={fontFamily:e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},ra={fontFamily:e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},na={fontFamily:e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},aa={fontFamily:e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ia={fontFamily:e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},kl={fontFamily:e.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ca={fontFamily:e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},la={fontFamily:e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},sa={fontFamily:e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},da={fontFamily:e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},fa={fontFamily:e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},pa={fontFamily:e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ua={fontFamily:e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ya={fontFamily:e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ma={fontFamily:e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ga={fontFamily:e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},xa={fontFamily:e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},va={fontFamily:e.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Sa={fontFamily:e.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ca={fontFamily:e.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:e.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},No={display:Jn,"title-1":Qn,"title-2":ea,"title-3":ta,"body-1-regular":oa,"body-1-medium":ra,"body-1-semibold":na,"body-2-regular":aa,"body-2-medium":ia,"body-2-medium-underline":kl,"body-2-semibold":ca,"label-1-medium":la,"label-1-semibold":sa,"label-1-bold":da,"label-2-medium":fa,"label-2-semibold":pa,"label-2-bold":ua,"caption-1-medium":ha,"caption-1-semibold":ya,"caption-1-bold":ma,"caption-2-medium":ga,"caption-2-semibold":ba,"caption-2-bold":xa,"caption-3-medium":va,"caption-3-semibold":Sa,"caption-3-bold":Ca};var d={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
4
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:e.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:e.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:e.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:e.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:e.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:e.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:e.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:e.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:e.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:e.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:e.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:e.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:e.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:e.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:e.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:e.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:e.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:e.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:e.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:e.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:e.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:e.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:e.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:e.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:e.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:e.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var wd={iconSize:e.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:e.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:e.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:e.create("--ft-checkbox-border-radius","","SIZE","1px"),color:e.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:e.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:e.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:e.extend("--ft-checkbox-left-padding","",c.spacing2)};var Ld={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:e.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:e.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:e.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:e.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:e.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:e.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var Bd={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:e.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:e.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var zd={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:e.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:e.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:e.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:e.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:e.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:e.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:e.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:e.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:e.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:e.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:e.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Fd={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var qd={iconSize:e.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var ef={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:e.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",d.contentActionPrimary)};var af={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var ff={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var mf={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var vf={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Ef={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:e.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",c.borderRadiusM)};var If={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:e.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:e.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:e.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:e.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:e.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:e.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var _f={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:e.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Mf={fieldHorizontalPadding:e.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:e.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:e.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var jf={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Yf={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var tp={fieldHorizontalPadding:e.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:e.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:e.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:e.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var ip={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:e.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:e.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var fp={backgroundColor:e.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:e.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:e.extend("--ft-popover-gap","",c.spacing3),borderRadius:e.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px")};var mp={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:e.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Sp={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:e.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:e.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:e.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Ep={color1Light:e.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",c.colorRed40),color5Base:e.extend("--ft-chart-5-base","",c.colorRed60),color6Light:e.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",c.colorGray50),color10Base:e.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Lp={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Bp={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:e.extend("--ft-notice-gap","",c.spacing2),iconSize:e.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:e.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:e.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:e.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:e.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:e.create("--ft-notice-dense-border-width","","SIZE","0")};var zp={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:e.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Fp={color:e.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:e.extend("--ft-radio-gap","",c.spacing3)};var qp={iconSize:e.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",c.spacing8)};var eu={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:e.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:e.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",c.spacing05)};var au={verticalPadding:e.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:e.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:e.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:e.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:e.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:e.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:e.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:e.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:e.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:e.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:e.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Ao;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(Ao||(Ao={}));var Et;(function(o){o.large="large",o.medium="medium",o.small="small"})(Et||(Et={}));var Ro=b($());function Oa(o){let t=No[o];return Ro.css`
|
|
5
|
-
.ft-typography--${(0,Ro.unsafeCSS)(o)} {
|
|
6
|
-
|
|
7
|
-
font-
|
|
8
|
-
font-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
"use strict";(()=>{var sl=Object.create;var Un=Object.defineProperty;var cl=Object.getOwnPropertyDescriptor;var ll=Object.getOwnPropertyNames;var dl=Object.getPrototypeOf,pl=Object.prototype.hasOwnProperty;var tt=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ul=(e,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of ll(r))!pl.call(e,a)&&a!==o&&Un(e,a,{get:()=>r[a],enumerable:!(n=cl(r,a))||n.enumerable});return e};var v=(e,r,o)=>(o=e!=null?sl(dl(e)):{},ul(r||!e||!e.__esModule?Un(o,"default",{value:e,enumerable:!0}):o,e));var _=tt(($d,$n)=>{$n.exports=ftGlobals.wcUtils});var z=tt((Md,Mn)=>{Mn.exports=ftGlobals.lit});var zn=tt((Wd,Wn)=>{Wn.exports=ftGlobals.litRepeat});var rr=tt((zd,Hn)=>{Hn.exports=ftGlobals.litClassMap});var Gn=tt((Hd,Fn)=>{Fn.exports=ftGlobals.litStyleMap});var ee=tt((Fd,jn)=>{jn.exports=ftGlobals.litDecorators});var ai=tt((Ly,ni)=>{ni.exports=ftGlobals.litUnsafeHTML});var bc=tt((mt,gc)=>{var fo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ho=function(){function e(){this.fetch=!1,this.DOMException=fo.DOMException}return e.prototype=fo,new e}();(function(e){var r=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&c.indexOf(Object.prototype.toString.call(y))>-1};function p(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var b={next:function(){var I=y.shift();return{done:I===void 0,value:I}}};return a.iterable&&(b[Symbol.iterator]=function(){return b}),b}function h(y){this.map={},y instanceof h?y.forEach(function(b,I){this.append(I,b)},this):Array.isArray(y)?y.forEach(function(b){if(b.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+b.length);this.append(b[0],b[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(b){this.append(b,y[b])},this)}h.prototype.append=function(y,b){y=p(y),b=u(b);var I=this.map[y];this.map[y]=I?I+", "+b:b},h.prototype.delete=function(y){delete this.map[p(y)]},h.prototype.get=function(y){return y=p(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(p(y))},h.prototype.set=function(y,b){this.map[p(y)]=u(b)},h.prototype.forEach=function(y,b){for(var I in this.map)this.map.hasOwnProperty(I)&&y.call(b,this.map[I],I,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(b,I){y.push(I)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(b){y.push(b)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(b,I){y.push([I,b])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(b,I){y.onload=function(){b(y.result)},y.onerror=function(){I(y.error)}})}function x(y){var b=new FileReader,I=S(b);return b.readAsArrayBuffer(y),I}function O(y){var b=new FileReader,I=S(b),H=/charset=([A-Za-z0-9_-]+)/.exec(y.type),q=H?H[1]:"utf-8";return b.readAsText(y,q),I}function L(y){for(var b=new Uint8Array(y),I=new Array(b.length),H=0;H<b.length;H++)I[H]=String.fromCharCode(b[H]);return I.join("")}function R(y){if(y.slice)return y.slice(0);var b=new Uint8Array(y.byteLength);return b.set(new Uint8Array(y)),b.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(L(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(y){var b=y.toUpperCase();return k.indexOf(b)>-1?b:y}function U(y,b){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');b=b||{};var I=b.body;if(y instanceof U){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,b.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!I&&y._bodyInit!=null&&(I=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=b.credentials||this.credentials||"same-origin",(b.headers||!this.headers)&&(this.headers=new h(b.headers)),this.method=B(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.signal=b.signal||this.signal||function(){if("AbortController"in n){var $=new AbortController;return $.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(b.cache==="no-store"||b.cache==="no-cache")){var H=/([?&])_=[^&]*/;if(H.test(this.url))this.url=this.url.replace(H,"$1_="+new Date().getTime());else{var q=/\?/;this.url+=(q.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function ye(y){var b=new FormData;return y.trim().split("&").forEach(function(I){if(I){var H=I.split("="),q=H.shift().replace(/\+/g," "),$=H.join("=").replace(/\+/g," ");b.append(decodeURIComponent(q),decodeURIComponent($))}}),b}function Me(y){var b=new h,I=y.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(H){return H.indexOf(`
|
|
2
|
+
`)===0?H.substr(1,H.length):H}).forEach(function(H){var q=H.split(":"),$=q.shift().trim();if($){var Ir=q.join(":").trim();try{b.append($,Ir)}catch(Ro){console.warn("Response "+Ro.message)}}}),b}N.call(U.prototype);function ue(y,b){if(!(this instanceof ue))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(b||(b={}),this.type="default",this.status=b.status===void 0?200:b.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=b.statusText===void 0?"":""+b.statusText,this.headers=new h(b.headers),this.url=b.url||"",this._initBody(y)}N.call(ue.prototype),ue.prototype.clone=function(){return new ue(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ue.error=function(){var y=new ue(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var We=[301,302,303,307,308];ue.redirect=function(y,b){if(We.indexOf(b)===-1)throw new RangeError("Invalid status code");return new ue(null,{status:b,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(b,I){this.message=b,this.name=I;var H=Error(b);this.stack=H.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ie(y,b){return new Promise(function(I,H){var q=new U(y,b);if(q.signal&&q.signal.aborted)return H(new o.DOMException("Aborted","AbortError"));var $=new XMLHttpRequest;function Ir(){$.abort()}$.onload=function(){var se={statusText:$.statusText,headers:Me($.getAllResponseHeaders()||"")};q.url.indexOf("file://")===0&&($.status<200||$.status>599)?se.status=200:se.status=$.status,se.url="responseURL"in $?$.responseURL:se.headers.get("X-Request-URL");var bt="response"in $?$.response:$.responseText;setTimeout(function(){I(new ue(bt,se))},0)},$.onerror=function(){setTimeout(function(){H(new TypeError("Network request failed"))},0)},$.ontimeout=function(){setTimeout(function(){H(new TypeError("Network request timed out"))},0)},$.onabort=function(){setTimeout(function(){H(new o.DOMException("Aborted","AbortError"))},0)};function Ro(se){try{return se===""&&n.location.href?n.location.href:se}catch{return se}}if($.open(q.method,Ro(q.url),!0),q.credentials==="include"?$.withCredentials=!0:q.credentials==="omit"&&($.withCredentials=!1),"responseType"in $&&(a.blob?$.responseType="blob":a.arrayBuffer&&($.responseType="arraybuffer")),b&&typeof b.headers=="object"&&!(b.headers instanceof h||n.Headers&&b.headers instanceof n.Headers)){var Bn=[];Object.getOwnPropertyNames(b.headers).forEach(function(se){Bn.push(p(se)),$.setRequestHeader(se,u(b.headers[se]))}),q.headers.forEach(function(se,bt){Bn.indexOf(bt)===-1&&$.setRequestHeader(bt,se)})}else q.headers.forEach(function(se,bt){$.setRequestHeader(bt,se)});q.signal&&(q.signal.addEventListener("abort",Ir),$.onreadystatechange=function(){$.readyState===4&&q.signal.removeEventListener("abort",Ir)}),$.send(typeof q._bodyInit>"u"?null:q._bodyInit)})}return ie.polyfill=!0,n.fetch||(n.fetch=ie,n.Headers=h,n.Request=U,n.Response=ue),o.Headers=h,o.Request=U,o.Response=ue,o.fetch=ie,o}({})})(ho);ho.fetch.ponyfill=!0;delete ho.fetch.polyfill;var tr=fo.fetch?fo:ho;mt=tr.fetch;mt.default=tr.fetch;mt.fetch=tr.fetch;mt.Headers=tr.Headers;mt.Request=tr.Request;mt.Response=tr.Response;gc.exports=mt});var il=v(_());var Oe=v(z()),Dn=v(zn()),nl=v(rr()),al=v(Gn()),G=v(ee()),$e=v(_());var Zn=v(_()),qn=v(ee());var Vn;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update"})(Vn||(Vn={}));var Kn;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Kn||(Kn={}));var fl=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},To=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},No=Symbol("registerInterval");function hl(e){var r;class o extends e{constructor(){super(...arguments),this[r]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[No]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[No]):this.dispatchEvent(new To)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return r=No,fl([(0,qn.state)()],o.prototype,"stateManager",void 0),o}var Lt=class extends hl(Zn.FtLitElementRedux){};var Qa=v(_());var Bo=globalThis,_r=Bo.trustedTypes,Yn=_r?_r.createPolicy("lit-html",{createHTML:e=>e}):void 0,ra="$lit$",rt=`lit$${Math.random().toFixed(9).slice(2)}$`,oa="?"+rt,yl=`<${oa}>`,St=document,Pr=()=>St.createComment(""),nr=e=>e===null||typeof e!="object"&&typeof e!="function",Uo=Array.isArray,ml=e=>Uo(e)||typeof e?.[Symbol.iterator]=="function",Lo=`[
|
|
3
|
+
\f\r]`,or=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xn=/-->/g,Qn=/>/g,xt=RegExp(`>|${Lo}(?:([^\\s"'>=/]+)(${Lo}*=${Lo}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Jn=/'/g,ea=/"/g,na=/^(?:script|style|textarea|title)$/i,$o=e=>(r,...o)=>({_$litType$:e,strings:r,values:o}),aa=$o(1),ia=$o(2),sa=$o(3),ar=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),ta=new WeakMap,vt=St.createTreeWalker(St,129);function ca(e,r){if(!Uo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yn!==void 0?Yn.createHTML(r):r}var gl=(e,r)=>{let o=e.length-1,n=[],a,i=r===2?"<svg>":r===3?"<math>":"",c=or;for(let l=0;l<o;l++){let p=e[l],u,m,h=-1,g=0;for(;g<p.length&&(c.lastIndex=g,m=c.exec(p),m!==null);)g=c.lastIndex,c===or?m[1]==="!--"?c=Xn:m[1]!==void 0?c=Qn:m[2]!==void 0?(na.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=xt):m[3]!==void 0&&(c=xt):c===xt?m[0]===">"?(c=a??or,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?xt:m[3]==='"'?ea:Jn):c===ea||c===Jn?c=xt:c===Xn||c===Qn?c=or:(c=xt,a=void 0);let S=c===xt&&e[l+1].startsWith("/>")?" ":"";i+=c===or?p+yl:h>=0?(n.push(u),p.slice(0,h)+ra+p.slice(h)+rt+S):p+rt+(h===-2?l:S)}return[ca(e,i+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},ir=class e{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=r.length-1,p=this.parts,[u,m]=gl(r,o);if(this.el=e.createElement(u,n),vt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=vt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ra)){let g=m[c++],S=a.getAttribute(h).split(rt),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?_o:x[1]==="?"?Po:x[1]==="@"?ko:_t}),a.removeAttribute(h)}else h.startsWith(rt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(na.test(a.tagName)){let h=a.textContent.split(rt),g=h.length-1;if(g>0){a.textContent=_r?_r.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Pr()),vt.nextNode(),p.push({type:2,index:++i});a.append(h[g],Pr())}}}else if(a.nodeType===8)if(a.data===oa)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(rt,h+1))!==-1;)p.push({type:7,index:i}),h+=rt.length-1}i++}}static createElement(r,o){let n=St.createElement("template");return n.innerHTML=r,n}};function It(e,r,o=e,n){if(r===ar)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=nr(r)?void 0:r._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(r=It(e,a._$AS(e,r.values),a,n)),r}var Io=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,a=(r?.creationScope??St).importNode(o,!0);vt.currentNode=a;let i=vt.nextNode(),c=0,l=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new kr(i,i.nextSibling,this,r):p.type===1?u=new p.ctor(i,p.name,p.strings,this,r):p.type===6&&(u=new Do(i,this,r)),this._$AV.push(u),p=n[++l]}c!==p?.index&&(i=vt.nextNode(),c++)}return vt.currentNode=St,a}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},kr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=It(this,r,o),nr(r)?r===ne||r==null||r===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):r!==this._$AH&&r!==ar&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):ml(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==ne&&nr(this._$AH)?this._$AA.nextSibling.data=r:this.T(St.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,a=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=ir.createElement(ca(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Io(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(r){let o=ta.get(r.strings);return o===void 0&&ta.set(r.strings,o=new ir(r)),o}k(r){Uo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of r)a===o.length?o.push(n=new e(this.O(Pr()),this.O(Pr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},_t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,i){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=r,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ne}_$AI(r,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)r=It(this,r,o,0),c=!nr(r)||r!==this._$AH&&r!==ar,c&&(this._$AH=r);else{let l=r,p,u;for(r=i[0],p=0;p<i.length-1;p++)u=It(this,l[n+p],o,p),u===ar&&(u=this._$AH[p]),c||=!nr(u)||u!==this._$AH[p],u===ne?r=ne:r!==ne&&(r+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(r)}j(r){r===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},_o=class extends _t{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===ne?void 0:r}},Po=class extends _t{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==ne)}},ko=class extends _t{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=It(this,r,o,0)??ne)===ar)return;let n=this._$AH,a=r===ne&&n!==ne||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,i=r!==ne&&(n===ne||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Do=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){It(this,r)}};var bl=Bo.litHtmlPolyfillSupport;bl?.(ir,kr),(Bo.litHtmlVersions??=[]).push("3.3.0");var da=Symbol.for(""),xl=e=>{if(e?.r===da)return e?._$litStatic$},Mo=e=>({_$litStatic$:e,r:da});var la=new Map,Wo=e=>(r,...o)=>{let n=o.length,a,i,c=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=r[u];u<n&&(i=o[u],(a=xl(i))!==void 0);)p+=a+r[++u],m=!0;u!==n&&l.push(i),c.push(p),u++}if(u===n&&c.push(r[n]),m){let h=c.join("$$lit$$");(r=la.get(h))===void 0&&(c.raw=c,la.set(h,r=c)),o=l}return e(r,...o)},zo=Wo(aa),qd=Wo(ia),Yd=Wo(sa);var Ho=v(ee()),Xa=v(_());var ot;(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"})(ot||(ot={}));var Ne=v(z()),w=v(_());var Ve=v(z(),1),nt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let i=l=>nt(l??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(r)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(r,o,n,a){let i=l=>n.get(l??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=l=>Ve.css`var(${nt(r)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(r,o){let n=i=>r.fallbackVariable?r.fallbackVariable.get(i??r.defaultValue):nt(i??r.lastResortDefaultValue()),a=Ve.css`var(${nt(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>Ve.css`var(${nt(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.fallbackVariable?[r.fallbackVariable.name,...r.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};var s={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"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),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)")},pa={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")},ua={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")},fa={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")},ha={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")},ya={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")},ma={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")},ga={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")},ba={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")},xa={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")},vl={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")},va={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")},Sa={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")},Oa={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")},Ca={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")},Ea={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")},Aa={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")},wa={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")},Ra={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")},Na={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")},Ta={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")},La={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")},Ia={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")},_a={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")},Pa={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")},ka={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")},Da={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")},Dr={display:pa,"title-1":ua,"title-2":fa,"title-3":ha,"body-1-regular":ya,"body-1-medium":ma,"body-1-semibold":ga,"body-2-regular":ba,"body-2-medium":xa,"body-2-medium-underline":vl,"body-2-semibold":va,"label-1-medium":Sa,"label-1-semibold":Oa,"label-1-bold":Ca,"label-2-medium":Ea,"label-2-semibold":Aa,"label-2-bold":wa,"caption-1-medium":Ra,"caption-1-semibold":Na,"caption-1-bold":Ta,"caption-2-medium":La,"caption-2-semibold":Ia,"caption-2-bold":_a,"caption-3-medium":Pa,"caption-3-semibold":ka,"caption-3-bold":Da};var d={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.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","",d.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",s.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","",d.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",s.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","",d.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.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","",d.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",s.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","",d.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var hp={iconSize:t.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",s.spacing2)};var xp={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var Ep={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",s.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","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",s.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","",s.iconSize2)};var Tp={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.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","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var kp={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Mp={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Gp={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",d.contentActionPrimary)};var qp={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var eu={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var au={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var lu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var hu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var xu={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var Eu={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Tu={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var ku={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",d.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","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var Mu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Gu={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var qu={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var ef={backgroundColor:t.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:t.extend("--ft-popover-gap","",s.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var af={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var pf={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var yf={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var xf={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Ef={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",d.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","",s.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var Tf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:t.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var kf={color:t.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",d.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","",s.spacing3)};var Mf={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var Gf={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var qf={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:t.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Br;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Br||(Br={}));var Pt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Pt||(Pt={}));var Ur=v(z());function Ba(e){let r=Dr[e];return Ur.css`
|
|
6
|
+
.ft-typography--${(0,Ur.unsafeCSS)(e)} {
|
|
7
|
+
font-family: ${r.fontFamily};
|
|
8
|
+
font-size: ${r.fontSize};
|
|
9
|
+
font-weight: ${r.fontWeight};
|
|
10
|
+
letter-spacing: ${r.letterSpacing};
|
|
11
|
+
line-height: ${r.lineHeight};
|
|
12
|
+
text-transform: ${r.textCase};
|
|
13
|
+
}
|
|
14
|
+
`}var Ua=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),Ke=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),T={fontFamily:Ke,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ua),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Dt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ua),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Bt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Ut={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},$t={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Mt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},Wt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},zt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Ht={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ke),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},$a=Ne.css`
|
|
14
15
|
.ft-typography--title {
|
|
15
|
-
font-family: ${Nt.fontFamily};
|
|
16
|
-
font-size: ${Nt.fontSize};
|
|
17
|
-
font-weight: ${Nt.fontWeight};
|
|
18
|
-
letter-spacing: ${Nt.letterSpacing};
|
|
19
|
-
line-height: ${Nt.lineHeight};
|
|
20
|
-
text-transform: ${Nt.textTransform};
|
|
21
|
-
}
|
|
22
|
-
`,Na=Se.css`
|
|
23
|
-
.ft-typography--title-dense {
|
|
24
|
-
font-family: ${At.fontFamily};
|
|
25
|
-
font-size: ${At.fontSize};
|
|
26
|
-
font-weight: ${At.fontWeight};
|
|
27
|
-
letter-spacing: ${At.letterSpacing};
|
|
28
|
-
line-height: ${At.lineHeight};
|
|
29
|
-
text-transform: ${At.textTransform};
|
|
30
|
-
}
|
|
31
|
-
`,Aa=Se.css`
|
|
32
|
-
.ft-typography--subtitle1 {
|
|
33
|
-
font-family: ${Rt.fontFamily};
|
|
34
|
-
font-size: ${Rt.fontSize};
|
|
35
|
-
font-weight: ${Rt.fontWeight};
|
|
36
|
-
letter-spacing: ${Rt.letterSpacing};
|
|
37
|
-
line-height: ${Rt.lineHeight};
|
|
38
|
-
text-transform: ${Rt.textTransform};
|
|
39
|
-
}
|
|
40
|
-
`,Ra=Se.css`
|
|
41
|
-
.ft-typography--subtitle2 {
|
|
42
|
-
font-family: ${Lt.fontFamily};
|
|
43
|
-
font-size: ${Lt.fontSize};
|
|
44
|
-
font-weight: ${Lt.fontWeight};
|
|
45
|
-
letter-spacing: ${Lt.letterSpacing};
|
|
46
|
-
line-height: ${Lt.lineHeight};
|
|
47
|
-
text-transform: ${Lt.textTransform};
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
`,La=Se.css`
|
|
51
|
-
.ft-typography--body1 {
|
|
52
|
-
font-family: ${It.fontFamily};
|
|
53
|
-
font-size: ${It.fontSize};
|
|
54
|
-
font-weight: ${It.fontWeight};
|
|
55
|
-
letter-spacing: ${It.letterSpacing};
|
|
56
|
-
line-height: ${It.lineHeight};
|
|
57
|
-
text-transform: ${It.textTransform};
|
|
58
|
-
}
|
|
59
|
-
`,Ia=Se.css`
|
|
60
|
-
.ft-typography--body2 {
|
|
61
|
-
font-family: ${Pt.fontFamily};
|
|
62
|
-
font-size: ${Pt.fontSize};
|
|
63
|
-
font-weight: ${Pt.fontWeight};
|
|
64
|
-
letter-spacing: ${Pt.letterSpacing};
|
|
65
|
-
line-height: ${Pt.lineHeight};
|
|
66
|
-
text-transform: ${Pt.textTransform};
|
|
67
|
-
}
|
|
68
|
-
`,Pa=Se.css`
|
|
69
|
-
.ft-typography--caption {
|
|
70
16
|
font-family: ${kt.fontFamily};
|
|
71
17
|
font-size: ${kt.fontSize};
|
|
72
18
|
font-weight: ${kt.fontWeight};
|
|
@@ -74,17 +20,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
74
20
|
line-height: ${kt.lineHeight};
|
|
75
21
|
text-transform: ${kt.textTransform};
|
|
76
22
|
}
|
|
77
|
-
`,
|
|
78
|
-
.ft-typography--
|
|
79
|
-
font-family: ${
|
|
80
|
-
font-size: ${
|
|
81
|
-
font-weight: ${
|
|
82
|
-
letter-spacing: ${
|
|
83
|
-
line-height: ${
|
|
84
|
-
text-transform: ${
|
|
85
|
-
}
|
|
86
|
-
`,
|
|
87
|
-
.ft-typography--
|
|
23
|
+
`,Ma=Ne.css`
|
|
24
|
+
.ft-typography--title-dense {
|
|
25
|
+
font-family: ${Dt.fontFamily};
|
|
26
|
+
font-size: ${Dt.fontSize};
|
|
27
|
+
font-weight: ${Dt.fontWeight};
|
|
28
|
+
letter-spacing: ${Dt.letterSpacing};
|
|
29
|
+
line-height: ${Dt.lineHeight};
|
|
30
|
+
text-transform: ${Dt.textTransform};
|
|
31
|
+
}
|
|
32
|
+
`,Wa=Ne.css`
|
|
33
|
+
.ft-typography--subtitle1 {
|
|
88
34
|
font-family: ${Bt.fontFamily};
|
|
89
35
|
font-size: ${Bt.fontSize};
|
|
90
36
|
font-weight: ${Bt.fontWeight};
|
|
@@ -92,47 +38,102 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
92
38
|
line-height: ${Bt.lineHeight};
|
|
93
39
|
text-transform: ${Bt.textTransform};
|
|
94
40
|
}
|
|
95
|
-
`,
|
|
41
|
+
`,za=Ne.css`
|
|
42
|
+
.ft-typography--subtitle2 {
|
|
43
|
+
font-family: ${Ut.fontFamily};
|
|
44
|
+
font-size: ${Ut.fontSize};
|
|
45
|
+
font-weight: ${Ut.fontWeight};
|
|
46
|
+
letter-spacing: ${Ut.letterSpacing};
|
|
47
|
+
line-height: ${Ut.lineHeight};
|
|
48
|
+
text-transform: ${Ut.textTransform};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
`,Ha=Ne.css`
|
|
52
|
+
.ft-typography--body1 {
|
|
53
|
+
font-family: ${$t.fontFamily};
|
|
54
|
+
font-size: ${$t.fontSize};
|
|
55
|
+
font-weight: ${$t.fontWeight};
|
|
56
|
+
letter-spacing: ${$t.letterSpacing};
|
|
57
|
+
line-height: ${$t.lineHeight};
|
|
58
|
+
text-transform: ${$t.textTransform};
|
|
59
|
+
}
|
|
60
|
+
`,Fa=Ne.css`
|
|
61
|
+
.ft-typography--body2 {
|
|
62
|
+
font-family: ${Mt.fontFamily};
|
|
63
|
+
font-size: ${Mt.fontSize};
|
|
64
|
+
font-weight: ${Mt.fontWeight};
|
|
65
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
66
|
+
line-height: ${Mt.lineHeight};
|
|
67
|
+
text-transform: ${Mt.textTransform};
|
|
68
|
+
}
|
|
69
|
+
`,Ga=Ne.css`
|
|
70
|
+
.ft-typography--caption {
|
|
71
|
+
font-family: ${Wt.fontFamily};
|
|
72
|
+
font-size: ${Wt.fontSize};
|
|
73
|
+
font-weight: ${Wt.fontWeight};
|
|
74
|
+
letter-spacing: ${Wt.letterSpacing};
|
|
75
|
+
line-height: ${Wt.lineHeight};
|
|
76
|
+
text-transform: ${Wt.textTransform};
|
|
77
|
+
}
|
|
78
|
+
`,ja=Ne.css`
|
|
79
|
+
.ft-typography--breadcrumb {
|
|
80
|
+
font-family: ${zt.fontFamily};
|
|
81
|
+
font-size: ${zt.fontSize};
|
|
82
|
+
font-weight: ${zt.fontWeight};
|
|
83
|
+
letter-spacing: ${zt.letterSpacing};
|
|
84
|
+
line-height: ${zt.lineHeight};
|
|
85
|
+
text-transform: ${zt.textTransform};
|
|
86
|
+
}
|
|
87
|
+
`,Va=Ne.css`
|
|
88
|
+
.ft-typography--overline {
|
|
89
|
+
font-family: ${Ht.fontFamily};
|
|
90
|
+
font-size: ${Ht.fontSize};
|
|
91
|
+
font-weight: ${Ht.fontWeight};
|
|
92
|
+
letter-spacing: ${Ht.letterSpacing};
|
|
93
|
+
line-height: ${Ht.lineHeight};
|
|
94
|
+
text-transform: ${Ht.textTransform};
|
|
95
|
+
}
|
|
96
|
+
`,Ka=Ne.css`
|
|
96
97
|
.ft-typography--button {
|
|
97
|
-
font-family: ${
|
|
98
|
-
font-size: ${
|
|
99
|
-
font-weight: ${
|
|
100
|
-
letter-spacing: ${
|
|
101
|
-
line-height: ${
|
|
102
|
-
text-transform: ${
|
|
103
|
-
}
|
|
104
|
-
`,
|
|
98
|
+
font-family: ${ze.fontFamily};
|
|
99
|
+
font-size: ${ze.fontSize};
|
|
100
|
+
font-weight: ${ze.fontWeight};
|
|
101
|
+
letter-spacing: ${ze.letterSpacing};
|
|
102
|
+
line-height: ${ze.lineHeight};
|
|
103
|
+
text-transform: ${ze.textTransform};
|
|
104
|
+
}
|
|
105
|
+
`,Za=Ne.css`
|
|
105
106
|
.ft-typography {
|
|
106
107
|
vertical-align: inherit;
|
|
107
108
|
}
|
|
108
|
-
|
|
109
|
-
<${
|
|
109
|
+
`,qa=[Object.keys(Dr).map(e=>Ba(e))];var Ya=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ce=class extends Xa.FtLitElement{constructor(){super(...arguments),this.variant=ot.body1}render(){return this.element?zo`
|
|
110
|
+
<${Mo(this.element)}
|
|
110
111
|
part="text"
|
|
111
112
|
class="ft-typography ft-typography--${this.variant}">
|
|
112
113
|
<slot></slot>
|
|
113
|
-
</${
|
|
114
|
-
`:
|
|
114
|
+
</${Mo(this.element)}>
|
|
115
|
+
`:zo`
|
|
115
116
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
-
`}};
|
|
117
|
+
`}};Ce.styles=[$a,Ma,Wa,za,Ha,Fa,Ga,ja,Va,Ka,Za,...qa];Ya([(0,Ho.property)()],Ce.prototype,"element",void 0);Ya([(0,Ho.property)()],Ce.prototype,"variant",void 0);(0,Qa.customElement)("ft-typography")(Ce);var oi=v(_());var ti=v(z()),sr=v(ee()),ri=v(rr());var $r=v(_()),Ja=v(z()),Sl={outlineColor:$r.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",$r.designSystemVariables.colorPrimary)},ei=Ja.css`
|
|
117
118
|
:host {
|
|
118
119
|
display: contents;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
a:focus {
|
|
122
|
-
outline-color: ${
|
|
123
|
+
outline-color: ${Sl.outlineColor};
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
.ft-reader-link--remove-style {
|
|
126
127
|
text-decoration: none;
|
|
127
128
|
color: inherit;
|
|
128
129
|
}
|
|
129
|
-
`;var
|
|
130
|
-
<a class=${
|
|
131
|
-
href="${(
|
|
130
|
+
`;var Mr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Le=class extends Lt{constructor(){super(...arguments),this.removeStyle=!1}render(){var r;let o=(0,ri.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ti.html`
|
|
131
|
+
<a class=${o}
|
|
132
|
+
href="${(r=this.service)===null||r===void 0?void 0:r.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
132
133
|
@click=${n=>this.onLinkClick(n)}>
|
|
133
134
|
<slot></slot>
|
|
134
135
|
</a>
|
|
135
|
-
`}onLinkClick(
|
|
136
|
+
`}onLinkClick(r){var o;!r.ctrlKey&&!r.metaKey&&(r.stopPropagation(),r.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Le.styles=ei;Mr([(0,sr.property)()],Le.prototype,"tocId",void 0);Mr([(0,sr.property)()],Le.prototype,"section",void 0);Mr([(0,sr.property)({type:Number})],Le.prototype,"pageNumber",void 0);Mr([(0,sr.property)({type:Boolean})],Le.prototype,"removeStyle",void 0);(0,oi.customElement)("ft-reader-internal-link")(Le);var di=v(_());var cr=v(z()),at=v(ee()),ci=v(_()),li=v(ai());var Wr;(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.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID=""})(Wr||(Wr={}));var A;(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=""})(A||(A={}));var Iy=new Map([...["abw"].map(e=>[e,A.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,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.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,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.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,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var _y={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var ii=v(z()),Ie=v(_()),fe={size:Ie.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ie.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},si=[ii.css`
|
|
136
137
|
:host, i.ft-icon {
|
|
137
138
|
display: inline-flex;
|
|
138
139
|
align-items: center;
|
|
@@ -141,14 +142,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
:host {
|
|
144
|
-
width: ${
|
|
145
|
-
height: ${
|
|
145
|
+
width: ${fe.size};
|
|
146
|
+
height: ${fe.size};
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
i.ft-icon {
|
|
149
150
|
width: 100%;
|
|
150
151
|
height: 100%;
|
|
151
|
-
font-size: ${
|
|
152
|
+
font-size: ${fe.size};
|
|
152
153
|
line-height: 1;
|
|
153
154
|
font-weight: normal;
|
|
154
155
|
text-transform: none;
|
|
@@ -159,33 +160,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
159
160
|
text-rendering: auto;
|
|
160
161
|
-webkit-font-smoothing: antialiased;
|
|
161
162
|
-moz-osx-font-smoothing: grayscale;
|
|
162
|
-
vertical-align: ${
|
|
163
|
+
vertical-align: ${fe.verticalAlign};
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
i.ft-icon.ft-icon--fluid-topics {
|
|
166
|
-
font-family: ${
|
|
167
|
+
font-family: ${fe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
167
168
|
|
|
168
169
|
/* Ugly fix because font is broken */
|
|
169
|
-
font-size: calc(0.75 * ${
|
|
170
|
-
line-height: ${
|
|
170
|
+
font-size: calc(0.75 * ${fe.size});
|
|
171
|
+
line-height: ${fe.size};
|
|
171
172
|
position: relative;
|
|
172
173
|
top: -4%;
|
|
173
174
|
justify-content: center;
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
.ft-icon--file-format {
|
|
177
|
-
font-family: ${
|
|
178
|
+
font-family: ${fe.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
.ft-icon--material {
|
|
181
|
-
font-family: ${
|
|
182
|
+
font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
|
|
182
183
|
}
|
|
183
|
-
`,
|
|
184
|
-
<i class="ft-icon ft-icon--${
|
|
185
|
-
${(0,
|
|
186
|
-
<slot ?hidden=${
|
|
184
|
+
`,Ie.noTextSelect];var Ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ee||(Ee={}));var lr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},he=class extends ci.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=cr.nothing}render(){let r=this.variant&&Object.values(Ee).includes(this.variant)?this.variant:Ee.fluid_topics,o=r!==Ee.material||!!this.value;return cr.html`
|
|
185
|
+
<i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
|
|
186
|
+
${(0,li.unsafeHTML)(this.resolvedIcon)}
|
|
187
|
+
<slot ?hidden=${o}></slot>
|
|
187
188
|
</i>
|
|
188
|
-
`}get textContent(){var
|
|
189
|
+
`}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case Ee.file_format:this.resolvedIcon=(r=A[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Ee.material:this.resolvedIcon=this.value||cr.nothing;break;default:this.resolvedIcon=(o=Wr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=si;lr([(0,at.property)()],he.prototype,"variant",void 0);lr([(0,at.property)()],he.prototype,"value",void 0);lr([(0,at.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);lr([(0,at.state)()],he.prototype,"resolvedIcon",void 0);lr([(0,at.query)("slot")],he.prototype,"slottedContent",void 0);(0,di.customElement)("ft-icon")(he);var rn=v(_());var gr=v(ee()),as=v(_());var Oi=v(z()),D=v(_());var mi=v(z()),J=v(_()),pi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorContent),E={color:pi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",pi),opacityContentOnSurfacePressed:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:J.FtCssVariableFactory.external(J.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:J.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ui=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorPrimary),fi={color:ui,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",ui)},hi=J.FtCssVariableFactory.extend("--ft-ripple-color","",J.designSystemVariables.colorSecondary),yi={color:hi,backgroundColor:J.FtCssVariableFactory.extend("--ft-ripple-background-color","",hi)},gi=mi.css`
|
|
189
190
|
:host {
|
|
190
191
|
display: contents;
|
|
191
192
|
}
|
|
@@ -198,7 +199,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
198
199
|
|
|
199
200
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
200
201
|
overflow: hidden;
|
|
201
|
-
border-radius: ${
|
|
202
|
+
border-radius: ${E.borderRadius};
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
.ft-ripple .ft-ripple--background,
|
|
@@ -232,27 +233,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
.ft-ripple .ft-ripple--background {
|
|
235
|
-
background-color: ${
|
|
236
|
+
background-color: ${E.backgroundColor};
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
.ft-ripple .ft-ripple--effect {
|
|
239
|
-
background-color: ${
|
|
240
|
+
background-color: ${E.color};
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
243
|
-
background-color: ${
|
|
244
|
+
background-color: ${yi.backgroundColor};
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
247
|
-
background-color: ${
|
|
248
|
+
background-color: ${yi.color};
|
|
248
249
|
}
|
|
249
250
|
|
|
250
251
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
251
|
-
background-color: ${
|
|
252
|
+
background-color: ${fi.backgroundColor};
|
|
252
253
|
}
|
|
253
254
|
|
|
254
255
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
255
|
-
background-color: ${
|
|
256
|
+
background-color: ${fi.color};
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
.ft-ripple .ft-ripple--background {
|
|
@@ -282,22 +283,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
282
283
|
}
|
|
283
284
|
|
|
284
285
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
285
|
-
opacity: ${
|
|
286
|
+
opacity: ${E.opacityContentOnSurfaceHover};
|
|
286
287
|
}
|
|
287
288
|
|
|
288
289
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
289
|
-
opacity: ${
|
|
290
|
+
opacity: ${E.opacityContentOnSurfaceSelected};
|
|
290
291
|
}
|
|
291
292
|
|
|
292
293
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
293
|
-
opacity: ${
|
|
294
|
+
opacity: ${E.opacityContentOnSurfaceFocused};
|
|
294
295
|
}
|
|
295
296
|
|
|
296
297
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
297
|
-
opacity: ${
|
|
298
|
+
opacity: ${E.opacityContentOnSurfacePressed};
|
|
298
299
|
transform: translate(-50%, -50%) scale(1);
|
|
299
300
|
}
|
|
300
|
-
`;var
|
|
301
|
+
`;var bi=v(z()),dr=v(_()),j={color:dr.FtCssVariableFactory.extend("--ft-loader-color","",dr.designSystemVariables.colorPrimary),size:dr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},xi=bi.css`
|
|
301
302
|
:host {
|
|
302
303
|
line-height: 0;
|
|
303
304
|
}
|
|
@@ -306,8 +307,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
306
307
|
display: inline-block;
|
|
307
308
|
position: relative;
|
|
308
309
|
|
|
309
|
-
width: ${
|
|
310
|
-
height: ${
|
|
310
|
+
width: ${j.size};
|
|
311
|
+
height: ${j.size};
|
|
311
312
|
}
|
|
312
313
|
|
|
313
314
|
.ft-loader div {
|
|
@@ -316,7 +317,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
316
317
|
width: 25%;
|
|
317
318
|
height: 25%;
|
|
318
319
|
border-radius: 50%;
|
|
319
|
-
background: ${
|
|
320
|
+
background: ${j.color};
|
|
320
321
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
321
322
|
}
|
|
322
323
|
|
|
@@ -363,10 +364,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
363
364
|
transform: translate(0, 0);
|
|
364
365
|
}
|
|
365
366
|
100% {
|
|
366
|
-
transform: translate(calc(0.35 * ${
|
|
367
|
+
transform: translate(calc(0.35 * ${j.size}), 0);
|
|
367
368
|
}
|
|
368
369
|
}
|
|
369
|
-
`;var
|
|
370
|
+
`;var vi=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),V={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:vi,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",ze.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",vi),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Si=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),Fo={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Si,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Si)},He={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ci=[Oi.css`
|
|
370
371
|
:host {
|
|
371
372
|
display: inline-block;
|
|
372
373
|
max-width: 100%;
|
|
@@ -377,7 +378,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
377
378
|
box-shadow: 0px 0px 0px transparent;
|
|
378
379
|
border: 0px solid transparent;
|
|
379
380
|
text-shadow: 0px 0px 0px transparent;
|
|
380
|
-
font-size: ${
|
|
381
|
+
font-size: ${V.fontSize};
|
|
381
382
|
text-decoration: none;
|
|
382
383
|
}
|
|
383
384
|
|
|
@@ -407,31 +408,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
407
408
|
border: none;
|
|
408
409
|
pointer-events: auto;
|
|
409
410
|
|
|
410
|
-
--ft-button-internal-line-height: max(calc(${
|
|
411
|
-
--ft-button-internal-color: ${
|
|
412
|
-
${(0,
|
|
413
|
-
${(0,
|
|
411
|
+
--ft-button-internal-line-height: max(calc(${V.fontSize} + 2px), ${V.iconSize});
|
|
412
|
+
--ft-button-internal-color: ${V.color};
|
|
413
|
+
${(0,D.setVariable)(fe.size,V.iconSize)};
|
|
414
|
+
${(0,D.setVariable)(E.color,V.rippleColor)};
|
|
414
415
|
|
|
415
|
-
border-radius: ${
|
|
416
|
-
padding: ${
|
|
417
|
-
background-color: ${
|
|
416
|
+
border-radius: ${V.borderRadius};
|
|
417
|
+
padding: ${V.verticalPadding} ${V.horizontalPadding};
|
|
418
|
+
background-color: ${V.backgroundColor};
|
|
418
419
|
color: var(--ft-button-internal-color);
|
|
419
420
|
-webkit-mask-image: radial-gradient(white, black);
|
|
420
421
|
}
|
|
421
422
|
|
|
422
423
|
.ft-button.ft-button--outlined {
|
|
423
424
|
border: 1px solid var(--ft-button-internal-color);
|
|
424
|
-
padding: calc(${
|
|
425
|
+
padding: calc(${V.verticalPadding} - 1px) calc(${V.horizontalPadding} - 1px);
|
|
425
426
|
}
|
|
426
427
|
|
|
427
428
|
.ft-button.ft-button--dense {
|
|
428
|
-
padding: ${
|
|
429
|
-
border-radius: ${
|
|
430
|
-
gap: ${
|
|
429
|
+
padding: ${He.verticalPadding} ${He.horizontalPadding};
|
|
430
|
+
border-radius: ${He.borderRadius};
|
|
431
|
+
gap: ${He.iconPadding};
|
|
431
432
|
}
|
|
432
433
|
|
|
433
434
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
434
|
-
padding: calc(${
|
|
435
|
+
padding: calc(${He.verticalPadding} - 1px) calc(${He.horizontalPadding} - 1px);
|
|
435
436
|
}
|
|
436
437
|
|
|
437
438
|
.ft-button:not([disabled]):hover {
|
|
@@ -439,22 +440,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
439
440
|
}
|
|
440
441
|
|
|
441
442
|
.ft-button--round {
|
|
442
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
443
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${V.verticalPadding});
|
|
443
444
|
}
|
|
444
445
|
|
|
445
446
|
.ft-button--round.ft-button--dense {
|
|
446
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${He.verticalPadding});
|
|
447
448
|
}
|
|
448
449
|
|
|
449
450
|
.ft-button[disabled] {
|
|
450
451
|
filter: grayscale(1);
|
|
451
|
-
opacity: ${
|
|
452
|
+
opacity: ${V.opacityDisabled};
|
|
452
453
|
}
|
|
453
454
|
|
|
454
455
|
.ft-button.ft-button--primary {
|
|
455
|
-
background-color: ${
|
|
456
|
-
--ft-button-internal-color: ${
|
|
457
|
-
${(0,
|
|
456
|
+
background-color: ${Fo.backgroundColor};
|
|
457
|
+
--ft-button-internal-color: ${Fo.color};
|
|
458
|
+
${(0,D.setVariable)(E.color,Fo.rippleColor)};
|
|
458
459
|
}
|
|
459
460
|
|
|
460
461
|
.ft-button:focus {
|
|
@@ -467,13 +468,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
467
468
|
white-space: nowrap;
|
|
468
469
|
text-overflow: ellipsis;
|
|
469
470
|
display: block;
|
|
470
|
-
margin: 0 ${
|
|
471
|
-
${(0,
|
|
472
|
-
${(0,
|
|
471
|
+
margin: 0 ${V.iconPadding};
|
|
472
|
+
${(0,D.setVariable)(ze.fontSize,"1em")};
|
|
473
|
+
${(0,D.setVariable)(ze.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
473
474
|
}
|
|
474
475
|
|
|
475
476
|
.ft-button--dense .ft-button--label {
|
|
476
|
-
margin: 0 ${
|
|
477
|
+
margin: 0 ${He.iconPadding};
|
|
477
478
|
}
|
|
478
479
|
|
|
479
480
|
.ft-button--label[hidden] {
|
|
@@ -486,13 +487,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
486
487
|
}
|
|
487
488
|
|
|
488
489
|
.ft-button--label[hidden] + [part="icon"] {
|
|
489
|
-
margin: 0 calc(${
|
|
490
|
-
padding: 0 ${
|
|
490
|
+
margin: 0 calc(${V.horizontalPadding} * -1);
|
|
491
|
+
padding: 0 ${V.verticalPadding};
|
|
491
492
|
}
|
|
492
493
|
|
|
493
494
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
494
|
-
margin: 0 calc(${
|
|
495
|
-
padding: 0 ${
|
|
495
|
+
margin: 0 calc(${He.horizontalPadding} * -1);
|
|
496
|
+
padding: 0 ${He.verticalPadding};
|
|
496
497
|
}
|
|
497
498
|
|
|
498
499
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -500,21 +501,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
500
501
|
}
|
|
501
502
|
|
|
502
503
|
ft-loader {
|
|
503
|
-
${(0,
|
|
504
|
-
${(0,
|
|
504
|
+
${(0,D.setVariable)(j.size,V.iconSize)};
|
|
505
|
+
${(0,D.setVariable)(j.color,"var(--ft-button-internal-color)")};
|
|
505
506
|
}
|
|
506
|
-
`,
|
|
507
|
+
`,D.noTextSelect];var ct=v(_());var wi=v(_());var Ei=v(z()),ce=v(ee()),Ai=v(rr()),pr=v(_());var me=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Y=class extends pr.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 pr.Debouncer(1e3),this.onTransitionStart=r=>{r.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=r=>{r.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new pr.Debouncer(10),this.moveRipple=r=>{var o,n;let{x:a,y:i}=this.getCoordinates(r),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(i!=null?i-c.y:c.height/2)},this.startPress=r=>{this.moveRipple(r),this.pressed=!this.isIgnored(r)},this.endPress=()=>{this.pressed=!1},this.startHover=r=>{this.hovered=!this.isIgnored(r)},this.endHover=()=>{this.hovered=!1},this.startFocus=r=>{this.focused=this.isFocusVisible(r?.target)&&!this.isIgnored(r)},this.endFocus=()=>{this.focused=!1}}render(){let r={"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 Ei.html`
|
|
507
508
|
<style>
|
|
508
509
|
.ft-ripple .ft-ripple--effect {
|
|
509
510
|
left: ${this.originX}px;
|
|
510
511
|
top: ${this.originY}px;
|
|
511
512
|
}
|
|
512
513
|
</style>
|
|
513
|
-
<div class="${(0,
|
|
514
|
+
<div class="${(0,Ai.classMap)(r)}">
|
|
514
515
|
<div class="ft-ripple--background"></div>
|
|
515
516
|
<div class="ft-ripple--effect"></div>
|
|
516
517
|
</div>
|
|
517
|
-
`}contentAvailableCallback(
|
|
518
|
+
`}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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 r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var r;!((r=this.target)===null||r===void 0)&&r.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},c={passive:!0};r.addEventListener("mouseover",this.startHover,c),r.addEventListener("mousemove",this.moveRipple,c),r.addEventListener("mouseleave",this.endHover,c),r.addEventListener("mousedown",n,c),r.addEventListener("touchstart",a,c),r.addEventListener("touchmove",this.moveRipple,c),r.addEventListener("keydown",i,c),r.addEventListener("focus",this.startFocus,c),r.addEventListener("blur",this.endFocus,c),r.addEventListener("focusin",this.startFocus,c),r.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,c),r.removeEventListener("mousemove",this.moveRipple,c),r.removeEventListener("mouseleave",this.endHover,c),r.removeEventListener("mousedown",n,c),r.removeEventListener("touchstart",a,c),r.removeEventListener("touchmove",this.moveRipple,c),r.removeEventListener("keydown",i,c),r.removeEventListener("focus",this.startFocus,c),r.removeEventListener("blur",this.endFocus,c),r.removeEventListener("focusin",this.startFocus,c),r.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=gi;me([(0,ce.property)({type:Boolean})],Y.prototype,"primary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"secondary",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"unbounded",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"activated",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"selected",void 0);me([(0,ce.property)({type:Boolean})],Y.prototype,"disabled",void 0);me([(0,ce.state)()],Y.prototype,"hovered",void 0);me([(0,ce.state)()],Y.prototype,"focused",void 0);me([(0,ce.state)()],Y.prototype,"pressed",void 0);me([(0,ce.state)()],Y.prototype,"rippling",void 0);me([(0,ce.state)()],Y.prototype,"originX",void 0);me([(0,ce.state)()],Y.prototype,"originY",void 0);me([(0,ce.query)(".ft-ripple")],Y.prototype,"ripple",void 0);me([(0,ce.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);(0,wi.customElement)("ft-ripple")(Y);var ts=v(_());var es=v(z()),te=v(ee()),mr=v(_());var Ri=v(z()),Ze=v(_()),Ft={distance:Ze.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ze.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ze.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ze.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ze.FtCssVariableFactory.external(Ze.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ze.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ni=Ri.css`
|
|
518
519
|
.ft-tooltip--container {
|
|
519
520
|
display: block;
|
|
520
521
|
}
|
|
@@ -529,21 +530,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
529
530
|
box-sizing: border-box;
|
|
530
531
|
overflow: hidden;
|
|
531
532
|
width: max-content;
|
|
532
|
-
max-width: ${
|
|
533
|
+
max-width: ${Ft.maxWidth};
|
|
533
534
|
text-align: center;
|
|
534
|
-
padding: ${
|
|
535
|
-
z-index: ${
|
|
535
|
+
padding: ${Ft.distance};
|
|
536
|
+
z-index: ${Ft.zIndex};
|
|
536
537
|
}
|
|
537
538
|
|
|
538
539
|
.ft-tooltip--content {
|
|
539
540
|
padding: 4px 8px;
|
|
540
|
-
border-radius: ${
|
|
541
|
-
background-color: ${
|
|
542
|
-
color: ${
|
|
541
|
+
border-radius: ${Ft.borderRadiusS};
|
|
542
|
+
background-color: ${Ft.backgroundColor};
|
|
543
|
+
color: ${Ft.color};
|
|
543
544
|
position: relative;
|
|
544
545
|
word-break: break-word;
|
|
545
546
|
}
|
|
546
|
-
`;var gi=["top","right","bottom","left"],mi=["start","end"],Tr=gi.reduce((o,t)=>o.concat(t,t+"-"+mi[0],t+"-"+mi[1]),[]),bi=Math.min,xi=Math.max;var Bl={left:"right",right:"left",bottom:"top",top:"bottom"},_l={start:"end",end:"start"};function Br(o,t,r){return xi(o,bi(t,r))}function ko(o,t){return typeof o=="function"?o(t):o}function $t(o){return o.split("-")[0]}function Je(o){return o.split("-")[1]}function _r(o){return o==="x"?"y":"x"}function $r(o){return o==="y"?"height":"width"}function To(o){return["top","bottom"].includes($t(o))?"y":"x"}function Wr(o){return _r(To(o))}function vi(o,t,r){r===void 0&&(r=!1);let n=Je(o),a=Wr(o),i=$r(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=kr(l)),[l,kr(l)]}function Si(o){return o.replace(/start|end/g,t=>_l[t])}function kr(o){return o.replace(/left|right|bottom|top/g,t=>Bl[t])}function $l(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ci(o){return typeof o!="number"?$l(o):{top:o,right:o,bottom:o,left:o}}function ht(o){let{x:t,y:r,width:n,height:a}=o;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Oi(o,t,r){let{reference:n,floating:a}=o,i=To(t),l=Wr(t),s=$r(l),f=$t(t),p=i==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[s]/2-a[s]/2,x;switch(f){case"top":x={x:h,y:n.y-a.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y};break;case"left":x={x:n.x-a.width,y};break;default:x={x:n.x,y:n.y}}switch(Je(t)){case"start":x[l]-=m*(r&&p?-1:1);break;case"end":x[l]+=m*(r&&p?-1:1);break}return x}var wi=async(o,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,s=i.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(t)),p=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:h,y}=Oi(p,n,f),m=n,x={},g=0;for(let S=0;S<s.length;S++){let{name:R,fn:E}=s[S],{x:N,y:P,data:T,reset:D}=await E({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:p,platform:l,elements:{reference:o,floating:t}});h=N??h,y=P??y,x={...x,[R]:{...x[R],...T}},D&&g<=50&&(g++,typeof D=="object"&&(D.placement&&(m=D.placement),D.rects&&(p=D.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):D.rects),{x:h,y}=Oi(p,m,f)),S=-1)}return{x:h,y,placement:m,strategy:a,middlewareData:x}};async function Dr(o,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:l,elements:s,strategy:f}=o,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:x=0}=ko(t,o),g=Ci(x),R=s[m?y==="floating"?"reference":"floating":y],E=ht(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:p,rootBoundary:h,strategy:f})),N=y==="floating"?{x:n,y:a,width:l.floating.width,height:l.floating.height}:l.reference,P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),T=await(i.isElement==null?void 0:i.isElement(P))?await(i.getScale==null?void 0:i.getScale(P))||{x:1,y:1}:{x:1,y:1},D=ht(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:N,offsetParent:P,strategy:f}):N);return{top:(E.top-D.top+g.top)/T.y,bottom:(D.bottom-E.bottom+g.bottom)/T.y,left:(E.left-D.left+g.left)/T.x,right:(D.right-E.right+g.right)/T.x}}function Wl(o,t,r){return(o?[...r.filter(a=>Je(a)===o),...r.filter(a=>Je(a)!==o)]:r.filter(a=>$t(a)===a)).filter(a=>o?Je(a)===o||(t?Si(a)!==a:!1):!0)}var zr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,a;let{rects:i,middlewareData:l,placement:s,platform:f,elements:p}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:m=Tr,autoAlignment:x=!0,...g}=ko(o,t),S=y!==void 0||m===Tr?Wl(y||null,x,m):m,R=await Dr(t,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=S[E];if(N==null)return{};let P=vi(N,i,await(f.isRTL==null?void 0:f.isRTL(p.floating)));if(s!==N)return{reset:{placement:S[0]}};let T=[R[$t(N)],R[P[0]],R[P[1]]],D=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:T}],xe=S[E+1];if(xe)return{data:{index:E+1,overflows:D},reset:{placement:xe}};let Ve=D.map(pe=>{let ve=Je(pe.placement);return[pe.placement,ve&&h?pe.overflows.slice(0,2).reduce((ue,st)=>ue+st,0):pe.overflows[0],pe.overflows]}).sort((pe,ve)=>pe[1]-ve[1]),Ke=((a=Ve.filter(pe=>pe[2].slice(0,Je(pe[0])?2:3).every(ve=>ve<=0))[0])==null?void 0:a[0])||Ve[0][0];return Ke!==s?{data:{index:E+1,overflows:D},reset:{placement:Ke}}:{}}}};var Mr=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(t){let{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...f}=ko(o,t),p={x:r,y:n},h=await Dr(t,f),y=To($t(a)),m=_r(y),x=p[m],g=p[y];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=x+h[R],P=x-h[E];x=Br(N,x,P)}if(l){let R=y==="y"?"top":"left",E=y==="y"?"bottom":"right",N=g+h[R],P=g-h[E];g=Br(N,g,P)}let S=s.fn({...t,[m]:x,[y]:g});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[m]:i,[y]:l}}}}}};var Ur=Math.min,Wt=Math.max,ro=Math.round;var Me=o=>({x:o,y:o});function Ue(o){return Ni(o)?(o.nodeName||"").toLowerCase():"#document"}function ie(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function He(o){var t;return(t=(Ni(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ni(o){return o instanceof Node||o instanceof ie(o).Node}function Be(o){return o instanceof Element||o instanceof ie(o).Element}function Ee(o){return o instanceof HTMLElement||o instanceof ie(o).HTMLElement}function Ei(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ie(o).ShadowRoot}function Dt(o){let{overflow:t,overflowX:r,overflowY:n,display:a}=me(o);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(a)}function Ai(o){return["table","td","th"].includes(Ue(o))}function _o(o){let t=$o(),r=me(o);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ri(o){let t=yt(o);for(;Ee(t)&&!no(t);){if(_o(t))return t;t=yt(t)}return null}function $o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function no(o){return["html","body","#document"].includes(Ue(o))}function me(o){return ie(o).getComputedStyle(o)}function ao(o){return Be(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function yt(o){if(Ue(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Ei(o)&&o.host||He(o);return Ei(t)?t.host:t}function Li(o){let t=yt(o);return no(t)?o.ownerDocument?o.ownerDocument.body:o.body:Ee(t)&&Dt(t)?t:Li(t)}function Bo(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Li(o),i=a===((n=o.ownerDocument)==null?void 0:n.body),l=ie(a);return i?t.concat(l,l.visualViewport||[],Dt(a)?a:[],l.frameElement&&r?Bo(l.frameElement):[]):t.concat(a,Bo(a,[],r))}function ki(o){let t=me(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Ee(o),i=a?o.offsetWidth:r,l=a?o.offsetHeight:n,s=ro(r)!==i||ro(n)!==l;return s&&(r=i,n=l),{width:r,height:n,$:s}}function Ti(o){return Be(o)?o:o.contextElement}function zt(o){let t=Ti(o);if(!Ee(t))return Me(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=ki(t),l=(i?ro(r.width):r.width)/n,s=(i?ro(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Ml=Me(0);function Bi(o){let t=ie(o);return!$o()||!t.visualViewport?Ml:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ul(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==ie(o)?!1:t}function io(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),i=Ti(o),l=Me(1);t&&(n?Be(n)&&(l=zt(n)):l=zt(o));let s=Ul(i,r,n)?Bi(i):Me(0),f=(a.left+s.x)/l.x,p=(a.top+s.y)/l.y,h=a.width/l.x,y=a.height/l.y;if(i){let m=ie(i),x=n&&Be(n)?ie(n):n,g=m.frameElement;for(;g&&n&&x!==m;){let S=zt(g),R=g.getBoundingClientRect(),E=me(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*S.x,P=R.top+(g.clientTop+parseFloat(E.paddingTop))*S.y;f*=S.x,p*=S.y,h*=S.x,y*=S.y,f+=N,p+=P,g=ie(g).frameElement}}return ht({width:h,height:y,x:f,y:p})}function Hl(o){let{rect:t,offsetParent:r,strategy:n}=o,a=Ee(r),i=He(r);if(r===i)return t;let l={scrollLeft:0,scrollTop:0},s=Me(1),f=Me(0);if((a||!a&&n!=="fixed")&&((Ue(r)!=="body"||Dt(i))&&(l=ao(r)),Ee(r))){let p=io(r);s=zt(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-l.scrollLeft*s.x+f.x,y:t.y*s.y-l.scrollTop*s.y+f.y}}function Gl(o){return Array.from(o.getClientRects())}function _i(o){return io(He(o)).left+ao(o).scrollLeft}function Fl(o){let t=He(o),r=ao(o),n=o.ownerDocument.body,a=Wt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Wt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+_i(o),s=-r.scrollTop;return me(n).direction==="rtl"&&(l+=Wt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:s}}function jl(o,t){let r=ie(o),n=He(o),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,f=0;if(a){i=a.width,l=a.height;let p=$o();(!p||p&&t==="fixed")&&(s=a.offsetLeft,f=a.offsetTop)}return{width:i,height:l,x:s,y:f}}function Vl(o,t){let r=io(o,!0,t==="fixed"),n=r.top+o.clientTop,a=r.left+o.clientLeft,i=Ee(o)?zt(o):Me(1),l=o.clientWidth*i.x,s=o.clientHeight*i.y,f=a*i.x,p=n*i.y;return{width:l,height:s,x:f,y:p}}function Ii(o,t,r){let n;if(t==="viewport")n=jl(o,r);else if(t==="document")n=Fl(He(o));else if(Be(t))n=Vl(t,r);else{let a=Bi(o);n={...t,x:t.x-a.x,y:t.y-a.y}}return ht(n)}function $i(o,t){let r=yt(o);return r===t||!Be(r)||no(r)?!1:me(r).position==="fixed"||$i(r,t)}function Kl(o,t){let r=t.get(o);if(r)return r;let n=Bo(o,[],!1).filter(s=>Be(s)&&Ue(s)!=="body"),a=null,i=me(o).position==="fixed",l=i?yt(o):o;for(;Be(l)&&!no(l);){let s=me(l),f=_o(l);!f&&s.position==="fixed"&&(a=null),(i?!f&&!a:!f&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Dt(l)&&!f&&$i(o,l))?n=n.filter(h=>h!==l):a=s,l=yt(l)}return t.set(o,n),n}function Zl(o){let{element:t,boundary:r,rootBoundary:n,strategy:a}=o,l=[...r==="clippingAncestors"?Kl(t,this._c):[].concat(r),n],s=l[0],f=l.reduce((p,h)=>{let y=Ii(t,h,a);return p.top=Wt(y.top,p.top),p.right=Ur(y.right,p.right),p.bottom=Ur(y.bottom,p.bottom),p.left=Wt(y.left,p.left),p},Ii(t,s,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function ql(o){return ki(o)}function Yl(o,t,r){let n=Ee(t),a=He(t),i=r==="fixed",l=io(o,!0,i,t),s={scrollLeft:0,scrollTop:0},f=Me(0);if(n||!n&&!i)if((Ue(t)!=="body"||Dt(a))&&(s=ao(t)),n){let p=io(t,!0,i,t);f.x=p.x+t.clientLeft,f.y=p.y+t.clientTop}else a&&(f.x=_i(a));return{x:l.left+s.scrollLeft-f.x,y:l.top+s.scrollTop-f.y,width:l.width,height:l.height}}function Pi(o,t){return!Ee(o)||me(o).position==="fixed"?null:t?t(o):o.offsetParent}function Wi(o,t){let r=ie(o);if(!Ee(o))return r;let n=Pi(o,t);for(;n&&Ai(n)&&me(n).position==="static";)n=Pi(n,t);return n&&(Ue(n)==="html"||Ue(n)==="body"&&me(n).position==="static"&&!_o(n))?r:n||Ri(o)||r}var Xl=async function(o){let{reference:t,floating:r,strategy:n}=o,a=this.getOffsetParent||Wi,i=this.getDimensions;return{reference:Yl(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Jl(o){return me(o).direction==="rtl"}var Wo={convertOffsetParentRelativeRectToViewportRelativeRect:Hl,getDocumentElement:He,getClippingRect:Zl,getOffsetParent:Wi,getElementRects:Xl,getClientRects:Gl,getDimensions:ql,getScale:zt,isElement:Be,isRTL:Jl};var Di=(o,t,r)=>{let n=new Map,a={platform:Wo,...r},i={...a.platform,_c:n};return wi(o,t,{...a,platform:i})};function zi(o){return Ql(o)}function Hr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Ql(o){for(let t=o;t;t=Hr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Hr(o);t;t=Hr(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Mi(o,t,r){return Di(o,t,{platform:{...Wo,getOffsetParent:n=>Wo.getOffsetParent(n,zi)},middleware:[Mr({crossAxis:!0}),zr({allowedPlacements:[r]})]})}var ce=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},j=class extends co.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 co.Debouncer,this.revealDebouncer=new co.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ui.html`
|
|
547
|
+
`;var Li=["top","right","bottom","left"],Ti=["start","end"],jo=Li.reduce((e,r)=>e.concat(r,r+"-"+Ti[0],r+"-"+Ti[1]),[]),Ii=Math.min,_i=Math.max;var Ol={left:"right",right:"left",bottom:"top",top:"bottom"},Cl={start:"end",end:"start"};function Vo(e,r,o){return _i(e,Ii(r,o))}function zr(e,r){return typeof e=="function"?e(r):e}function Gt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Ko(e){return e==="x"?"y":"x"}function Zo(e){return e==="y"?"height":"width"}function Hr(e){return["top","bottom"].includes(Gt(e))?"y":"x"}function qo(e){return Ko(Hr(e))}function Pi(e,r,o){o===void 0&&(o=!1);let n=it(e),a=qo(e),i=Zo(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(c=Go(c)),[c,Go(c)]}function ki(e){return e.replace(/start|end/g,r=>Cl[r])}function Go(e){return e.replace(/left|right|bottom|top/g,r=>Ol[r])}function El(e){return{top:0,right:0,bottom:0,left:0,...e}}function Di(e){return typeof e!="number"?El(e):{top:e,right:e,bottom:e,left:e}}function Ot(e){let{x:r,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:r,right:r+n,bottom:o+a,x:r,y:o}}function Bi(e,r,o){let{reference:n,floating:a}=e,i=Hr(r),c=qo(r),l=Zo(c),p=Gt(r),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,S;switch(p){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-a.width,y:h};break;default:S={x:n.x,y:n.y}}switch(it(r)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var Ui=async(e,r,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,l=i.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(r)),u=await c.getElementRects({reference:e,floating:r,strategy:a}),{x:m,y:h}=Bi(u,n,p),g=n,S={},x=0;for(let O=0;O<l.length;O++){let{name:L,fn:R}=l[O],{x:N,y:k,data:B,reset:U}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:r}});m=N??m,h=k??h,S={...S,[L]:{...S[L],...B}},U&&x<=50&&(x++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(u=U.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:a}):U.rects),{x:m,y:h}=Bi(u,g,p)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function Yo(e,r){var o;r===void 0&&(r={});let{x:n,y:a,platform:i,rects:c,elements:l,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=zr(r,e),x=Di(S),L=l[g?h==="floating"?"reference":"floating":h],R=Ot(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(L)))==null||o?L:L.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),N=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),B=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},U=Ot(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:k,strategy:p}):N);return{top:(R.top-U.top+x.top)/B.y,bottom:(U.bottom-R.bottom+x.bottom)/B.y,left:(R.left-U.left+x.left)/B.x,right:(U.right-R.right+x.right)/B.x}}function Al(e,r,o){return(e?[...o.filter(a=>it(a)===e),...o.filter(a=>it(a)!==e)]:o.filter(a=>Gt(a)===a)).filter(a=>e?it(a)===e||(r?ki(a)!==a:!1):!0)}var Xo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:p,elements:u}=r,{crossAxis:m=!1,alignment:h,allowedPlacements:g=jo,autoAlignment:S=!0,...x}=zr(e,r),O=h!==void 0||g===jo?Al(h||null,S,g):g,L=await Yo(r,x),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let k=Pi(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==N)return{reset:{placement:O[0]}};let B=[L[Gt(N)],L[k[0]],L[k[1]]],U=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:B}],ye=O[R+1];if(ye)return{data:{index:R+1,overflows:U},reset:{placement:ye}};let Me=U.map(ie=>{let y=it(ie.placement);return[ie.placement,y&&m?ie.overflows.slice(0,2).reduce((b,I)=>b+I,0):ie.overflows[0],ie.overflows]}).sort((ie,y)=>ie[1]-y[1]),We=((a=Me.filter(ie=>ie[2].slice(0,it(ie[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Me[0][0];return We!==l?{data:{index:R+1,overflows:U},reset:{placement:We}}:{}}}};var Qo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:L=>{let{x:R,y:N}=L;return{x:R,y:N}}},...p}=zr(e,r),u={x:o,y:n},m=await Yo(r,p),h=Hr(Gt(a)),g=Ko(h),S=u[g],x=u[h];if(i){let L=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[L],k=S-m[R];S=Vo(N,S,k)}if(c){let L=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=x+m[L],k=x-m[R];x=Vo(N,x,k)}let O=l.fn({...r,[g]:S,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var Jo=Math.min,jt=Math.max,ur=Math.round;var qe=e=>({x:e,y:e});function Ye(e){return Mi(e)?(e.nodeName||"").toLowerCase():"#document"}function ge(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Xe(e){var r;return(r=(Mi(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Mi(e){return e instanceof Node||e instanceof ge(e).Node}function Fe(e){return e instanceof Element||e instanceof ge(e).Element}function _e(e){return e instanceof HTMLElement||e instanceof ge(e).HTMLElement}function $i(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ge(e).ShadowRoot}function Vt(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function Wi(e){return["table","td","th"].includes(Ye(e))}function Gr(e){let r=jr(),o=Ae(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function zi(e){let r=Ct(e);for(;_e(r)&&!fr(r);){if(Gr(r))return r;r=Ct(r)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function fr(e){return["html","body","#document"].includes(Ye(e))}function Ae(e){return ge(e).getComputedStyle(e)}function hr(e){return Fe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ct(e){if(Ye(e)==="html")return e;let r=e.assignedSlot||e.parentNode||$i(e)&&e.host||Xe(e);return $i(r)?r.host:r}function Hi(e){let r=Ct(e);return fr(r)?e.ownerDocument?e.ownerDocument.body:e.body:_e(r)&&Vt(r)?r:Hi(r)}function Fr(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=Hi(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=ge(a);return i?r.concat(c,c.visualViewport||[],Vt(a)?a:[],c.frameElement&&o?Fr(c.frameElement):[]):r.concat(a,Fr(a,[],o))}function ji(e){let r=Ae(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=_e(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,l=ur(o)!==i||ur(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function Vi(e){return Fe(e)?e:e.contextElement}function Kt(e){let r=Vi(e);if(!_e(r))return qe(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:i}=ji(r),c=(i?ur(o.width):o.width)/n,l=(i?ur(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Nl=qe(0);function Ki(e){let r=ge(e);return!jr()||!r.visualViewport?Nl:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Tl(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==ge(e)?!1:r}function yr(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Vi(e),c=qe(1);r&&(n?Fe(n)&&(c=Kt(n)):c=Kt(e));let l=Tl(i,o,n)?Ki(i):qe(0),p=(a.left+l.x)/c.x,u=(a.top+l.y)/c.y,m=a.width/c.x,h=a.height/c.y;if(i){let g=ge(i),S=n&&Fe(n)?ge(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let O=Kt(x),L=x.getBoundingClientRect(),R=Ae(x),N=L.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,k=L.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=N,u+=k,x=ge(x).frameElement}}return Ot({width:m,height:h,x:p,y:u})}function Ll(e){let{rect:r,offsetParent:o,strategy:n}=e,a=_e(o),i=Xe(o);if(o===i)return r;let c={scrollLeft:0,scrollTop:0},l=qe(1),p=qe(0);if((a||!a&&n!=="fixed")&&((Ye(o)!=="body"||Vt(i))&&(c=hr(o)),_e(o))){let u=yr(o);l=Kt(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-c.scrollLeft*l.x+p.x,y:r.y*l.y-c.scrollTop*l.y+p.y}}function Il(e){return Array.from(e.getClientRects())}function Zi(e){return yr(Xe(e)).left+hr(e).scrollLeft}function _l(e){let r=Xe(e),o=hr(e),n=e.ownerDocument.body,a=jt(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),i=jt(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Zi(e),l=-o.scrollTop;return Ae(n).direction==="rtl"&&(c+=jt(r.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function Pl(e,r){let o=ge(e),n=Xe(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,p=0;if(a){i=a.width,c=a.height;let u=jr();(!u||u&&r==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:l,y:p}}function kl(e,r){let o=yr(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=_e(e)?Kt(e):qe(1),c=e.clientWidth*i.x,l=e.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:c,height:l,x:p,y:u}}function Fi(e,r,o){let n;if(r==="viewport")n=Pl(e,o);else if(r==="document")n=_l(Xe(e));else if(Fe(r))n=kl(r,o);else{let a=Ki(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return Ot(n)}function qi(e,r){let o=Ct(e);return o===r||!Fe(o)||fr(o)?!1:Ae(o).position==="fixed"||qi(o,r)}function Dl(e,r){let o=r.get(e);if(o)return o;let n=Fr(e,[],!1).filter(l=>Fe(l)&&Ye(l)!=="body"),a=null,i=Ae(e).position==="fixed",c=i?Ct(e):e;for(;Fe(c)&&!fr(c);){let l=Ae(c),p=Gr(c);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Vt(c)&&!p&&qi(e,c))?n=n.filter(m=>m!==c):a=l,c=Ct(c)}return r.set(e,n),n}function Bl(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Dl(r,this._c):[].concat(o),n],l=c[0],p=c.reduce((u,m)=>{let h=Fi(r,m,a);return u.top=jt(h.top,u.top),u.right=Jo(h.right,u.right),u.bottom=Jo(h.bottom,u.bottom),u.left=jt(h.left,u.left),u},Fi(r,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Ul(e){return ji(e)}function $l(e,r,o){let n=_e(r),a=Xe(r),i=o==="fixed",c=yr(e,!0,i,r),l={scrollLeft:0,scrollTop:0},p=qe(0);if(n||!n&&!i)if((Ye(r)!=="body"||Vt(a))&&(l=hr(r)),n){let u=yr(r,!0,i,r);p.x=u.x+r.clientLeft,p.y=u.y+r.clientTop}else a&&(p.x=Zi(a));return{x:c.left+l.scrollLeft-p.x,y:c.top+l.scrollTop-p.y,width:c.width,height:c.height}}function Gi(e,r){return!_e(e)||Ae(e).position==="fixed"?null:r?r(e):e.offsetParent}function Yi(e,r){let o=ge(e);if(!_e(e))return o;let n=Gi(e,r);for(;n&&Wi(n)&&Ae(n).position==="static";)n=Gi(n,r);return n&&(Ye(n)==="html"||Ye(n)==="body"&&Ae(n).position==="static"&&!Gr(n))?o:n||zi(e)||o}var Ml=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||Yi,i=this.getDimensions;return{reference:$l(r,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Wl(e){return Ae(e).direction==="rtl"}var Vr={convertOffsetParentRelativeRectToViewportRelativeRect:Ll,getDocumentElement:Xe,getClippingRect:Bl,getOffsetParent:Yi,getElementRects:Ml,getClientRects:Il,getDimensions:Ul,getScale:Kt,isElement:Fe,isRTL:Wl};var Xi=(e,r,o)=>{let n=new Map,a={platform:Vr,...o},i={...a.platform,_c:n};return Ui(e,r,{...a,platform:i})};function Qi(e){return zl(e)}function en(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function zl(e){for(let r=e;r;r=en(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=en(e);r;r=en(r)){if(!(r instanceof Element))continue;let o=getComputedStyle(r);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||r.tagName==="BODY"))return r}return null}async function Ji(e,r,o){return Xi(e,r,{platform:{...Vr,getOffsetParent:n=>Vr.getOffsetParent(n,Qi)},middleware:[Qo({crossAxis:!0}),Xo({allowedPlacements:[o]})]})}var be=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},X=class extends mr.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 mr.Debouncer,this.revealDebouncer=new mr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return es.html`
|
|
547
548
|
<div part="container"
|
|
548
549
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
549
550
|
@mouseenter=${this.onHover}
|
|
@@ -561,51 +562,51 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
561
562
|
</div>
|
|
562
563
|
</div>
|
|
563
564
|
</div>
|
|
564
|
-
`}updated(
|
|
565
|
+
`}updated(r){r.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(r)}contentAvailableCallback(r){super.contentAvailableCallback(r),["visible","text"].some(o=>r.has(o))&&this.visible&&this.positionTooltip()}async show(r){this.visible=!0,r!=null&&await this.hideDebounce.run(()=>{this.hide()},r)}async showTemporaryText(r,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=r,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var r;return((r=this.slotNodes)!==null&&r!==void 0?r:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let r=this.tooltipContent.style;switch(r.transition="none",this.validPosition){case"top":r.top=this.tooltip.clientHeight+"px",r.left="0";break;case"bottom":r.top=-this.tooltip.clientHeight+"px",r.left="0";break;case"left":r.top="0",r.left=this.tooltip.clientWidth+"px";break;case"right":r.top="0",r.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ji(this.slottedElement,this.tooltip,this.position).then(({x:r,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${r}px`,this.tooltip.style.top=`${o}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",r=>{r.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(r,o){return Math.max(r,Math.min(0,-o))}};X.elementDefinitions={"ft-typography":Ce};X.styles=Ni;be([(0,te.property)()],X.prototype,"text",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"manual",void 0);be([(0,te.property)({type:Boolean})],X.prototype,"inline",void 0);be([(0,te.property)({type:Number})],X.prototype,"delay",void 0);be([(0,te.property)()],X.prototype,"position",void 0);be([(0,te.queryAssignedNodes)()],X.prototype,"slotNodes",void 0);be([(0,te.query)(".ft-tooltip--container")],X.prototype,"container",void 0);be([(0,te.query)(".ft-tooltip")],X.prototype,"tooltip",void 0);be([(0,te.query)(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);be([(0,te.state)()],X.prototype,"visible",void 0);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onTouch",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onHover",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onOut",null);be([(0,te.eventOptions)({passive:!0})],X.prototype,"onClick",null);(0,ts.customElement)("ft-tooltip")(X);var ns=v(_());var rs=v(z()),os=v(_());var Et=class extends os.FtLitElement{render(){return rs.html`
|
|
565
566
|
<div class="ft-loader">
|
|
566
567
|
<div></div>
|
|
567
568
|
<div></div>
|
|
568
569
|
<div></div>
|
|
569
570
|
<div></div>
|
|
570
571
|
</div>
|
|
571
|
-
`}};
|
|
572
|
+
`}};Et.styles=xi;(0,ns.customElement)("ft-loader")(Et);var st=v(z()),tn=v(rr()),re=v(ee()),le=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},K=class extends(0,ct.toFtFormComponent)(ct.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",r=>{var o;this.isDisabled()?(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var r,o,n;let a=st.html`
|
|
572
573
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
573
574
|
<ft-typography part="label"
|
|
574
575
|
variant=${this.typographyVariant}
|
|
575
576
|
element="span"
|
|
576
|
-
class="ft-button--label ${
|
|
577
|
+
class="ft-button--label ${ct.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
577
578
|
?hidden=${!this.hasTextContent()}>
|
|
578
579
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
579
580
|
</ft-typography>
|
|
580
581
|
${this.resolveIcon()}
|
|
581
|
-
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?
|
|
582
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?st.html`
|
|
582
583
|
<a href="${i}"
|
|
583
|
-
target="${(
|
|
584
|
+
target="${(r=this.target)!==null&&r!==void 0?r:"_self"}"
|
|
584
585
|
part="button"
|
|
585
|
-
class="${(0,
|
|
586
|
-
aria-label="${(
|
|
586
|
+
class="${(0,tn.classMap)(this.buttonClasses)}"
|
|
587
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
587
588
|
?disabled=${this.isDisabled()}>
|
|
588
589
|
${a}
|
|
589
590
|
</a>
|
|
590
|
-
`:
|
|
591
|
+
`:st.html`
|
|
591
592
|
<button part="button"
|
|
592
|
-
class="${(0,
|
|
593
|
+
class="${(0,tn.classMap)(this.buttonClasses)}"
|
|
593
594
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
594
595
|
?disabled=${this.isDisabled()}>
|
|
595
596
|
${a}
|
|
596
597
|
</button>
|
|
597
|
-
`)}addTooltipIfNeeded(
|
|
598
|
+
`)}addTooltipIfNeeded(r){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?st.html`
|
|
598
599
|
<ft-tooltip part="tooltip"
|
|
599
600
|
text="${this.getLabel()}"
|
|
600
601
|
position="${this.tooltipPosition}">
|
|
601
|
-
${
|
|
602
|
+
${r}
|
|
602
603
|
</ft-tooltip>
|
|
603
|
-
`:
|
|
604
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
604
|
+
`:r}resolveIcon(){return this.loading?st.html`
|
|
605
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?st.html`
|
|
605
606
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
606
|
-
`:
|
|
607
|
+
`:st.html`
|
|
607
608
|
<slot part="icon" name="icon"></slot>
|
|
608
|
-
`}focus(){var
|
|
609
|
+
`}focus(){var r;(r=this.button)===null||r===void 0||r.focus()}focusWithoutTooltip(){var r;this.setTooltipManual(!0),(r=this.button)===null||r===void 0||r.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(r,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(r,o)}setTooltipManual(r){this.tooltip&&(this.tooltip.manual=r)}click(){var r;(r=this.button)===null||r===void 0||r.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,ct.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};K.elementDefinitions={"ft-ripple":Y,"ft-tooltip":X,"ft-typography":Ce,"ft-icon":he,"ft-loader":Et};le([(0,re.property)()],K.prototype,"href",void 0);le([(0,re.property)()],K.prototype,"target",void 0);le([(0,re.property)({type:String,reflect:!0})],K.prototype,"role",void 0);le([(0,re.property)()],K.prototype,"type",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"disabled",void 0);le([(0,re.property)()],K.prototype,"label",void 0);le([(0,re.property)()],K.prototype,"icon",void 0);le([(0,re.property)()],K.prototype,"iconVariant",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"trailingIcon",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"loading",void 0);le([(0,re.property)({attribute:"aria-label"})],K.prototype,"ariaLabel",void 0);le([(0,re.property)()],K.prototype,"tooltipPosition",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"hideTooltip",void 0);le([(0,re.property)({type:Boolean})],K.prototype,"forceTooltip",void 0);le([(0,re.query)(".ft-button")],K.prototype,"button",void 0);le([(0,re.query)(".ft-button--label slot")],K.prototype,"slottedContent",void 0);le([(0,re.query)("[part=tooltip]")],K.prototype,"tooltip",void 0);var Kr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Pe=class extends K{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"}};Pe.styles=[as.safariEllipsisFix,Ci];Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"primary",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"outlined",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"dense",void 0);Kr([(0,gr.property)({type:Boolean})],Pe.prototype,"round",void 0);var br=v(ee());var qr=v(_());var is=v(z()),C=v(_());var ss=[is.css`
|
|
609
610
|
:host {
|
|
610
611
|
display: inline-block;
|
|
611
612
|
max-width: 100%;
|
|
@@ -656,7 +657,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
656
657
|
}
|
|
657
658
|
|
|
658
659
|
.ft-button:focus-visible {
|
|
659
|
-
outline-color: ${
|
|
660
|
+
outline-color: ${f.focusFocusRingColor};
|
|
660
661
|
outline-style: solid;
|
|
661
662
|
}
|
|
662
663
|
|
|
@@ -690,388 +691,388 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
690
691
|
/** Brand Primary styles **/
|
|
691
692
|
|
|
692
693
|
.ftds--family-brand.ft-button--primary {
|
|
693
|
-
${(0,
|
|
694
|
+
${(0,C.setVariable)(j.color,f.primaryBrandIconColor)};
|
|
694
695
|
|
|
695
|
-
${(0,
|
|
696
|
-
${(0,
|
|
697
|
-
${(0,
|
|
698
|
-
${(0,
|
|
699
|
-
${(0,
|
|
696
|
+
${(0,C.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
697
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
698
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
699
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
700
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
700
701
|
|
|
701
|
-
background-color: ${
|
|
702
|
-
color: ${
|
|
702
|
+
background-color: ${f.primaryBrandBackgroundColor};
|
|
703
|
+
color: ${f.primaryBrandColor};
|
|
703
704
|
border-style: none;
|
|
704
705
|
}
|
|
705
706
|
|
|
706
707
|
.ftds--family-brand.ft-button--primary[disabled] {
|
|
707
|
-
opacity: ${
|
|
708
|
+
opacity: ${f.primaryBrandDisabledComponentOpacity};
|
|
708
709
|
}
|
|
709
710
|
|
|
710
711
|
.ftds--family-brand.ft-button--primary ft-icon {
|
|
711
|
-
color: ${
|
|
712
|
+
color: ${f.primaryBrandIconColor};
|
|
712
713
|
}
|
|
713
714
|
|
|
714
715
|
/** Brand Secondary styles **/
|
|
715
716
|
|
|
716
717
|
.ftds--family-brand.ft-button--secondary {
|
|
717
|
-
${(0,
|
|
718
|
+
${(0,C.setVariable)(j.color,f.secondaryBrandIconColor)};
|
|
718
719
|
|
|
719
|
-
${(0,
|
|
720
|
-
${(0,
|
|
721
|
-
${(0,
|
|
722
|
-
${(0,
|
|
723
|
-
${(0,
|
|
720
|
+
${(0,C.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
721
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
722
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
723
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
724
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
724
725
|
|
|
725
|
-
background-color: ${
|
|
726
|
-
color: ${
|
|
727
|
-
border-color: ${
|
|
726
|
+
background-color: ${f.secondaryBrandBackgroundColor};
|
|
727
|
+
color: ${f.secondaryBrandColor};
|
|
728
|
+
border-color: ${f.secondaryBrandBorderColor};
|
|
728
729
|
border-style: solid;
|
|
729
730
|
}
|
|
730
731
|
|
|
731
732
|
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
732
|
-
opacity: ${
|
|
733
|
+
opacity: ${f.secondaryBrandDisabledComponentOpacity};
|
|
733
734
|
}
|
|
734
735
|
|
|
735
736
|
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
736
|
-
color: ${
|
|
737
|
+
color: ${f.secondaryBrandIconColor};
|
|
737
738
|
}
|
|
738
739
|
|
|
739
740
|
/** Brand Tertiary styles **/
|
|
740
741
|
|
|
741
742
|
.ftds--family-brand.ft-button--tertiary {
|
|
742
|
-
${(0,
|
|
743
|
+
${(0,C.setVariable)(j.color,f.tertiaryBrandIconColor)};
|
|
743
744
|
|
|
744
|
-
${(0,
|
|
745
|
-
${(0,
|
|
746
|
-
${(0,
|
|
747
|
-
${(0,
|
|
748
|
-
${(0,
|
|
745
|
+
${(0,C.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
746
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
747
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
748
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
749
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
749
750
|
|
|
750
|
-
background-color: ${
|
|
751
|
-
color: ${
|
|
751
|
+
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
752
|
+
color: ${f.tertiaryBrandColor};
|
|
752
753
|
border-style: none;
|
|
753
754
|
}
|
|
754
755
|
|
|
755
756
|
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
756
|
-
opacity: ${
|
|
757
|
+
opacity: ${f.tertiaryBrandDisabledComponentOpacity};
|
|
757
758
|
}
|
|
758
759
|
|
|
759
760
|
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
760
|
-
color: ${
|
|
761
|
+
color: ${f.tertiaryBrandIconColor};
|
|
761
762
|
}
|
|
762
763
|
|
|
763
764
|
/** Neutral Secondary styles **/
|
|
764
765
|
|
|
765
766
|
.ftds--family-neutral.ft-button--secondary {
|
|
766
|
-
${(0,
|
|
767
|
+
${(0,C.setVariable)(j.color,f.secondaryNeutralIconColor)};
|
|
767
768
|
|
|
768
|
-
${(0,
|
|
769
|
-
${(0,
|
|
770
|
-
${(0,
|
|
771
|
-
${(0,
|
|
772
|
-
${(0,
|
|
769
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
770
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
771
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
772
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
773
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
773
774
|
|
|
774
|
-
background-color: ${
|
|
775
|
-
color: ${
|
|
776
|
-
border-color: ${
|
|
775
|
+
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
776
|
+
color: ${f.secondaryNeutralColor};
|
|
777
|
+
border-color: ${f.secondaryNeutralBorderColor};
|
|
777
778
|
border-style: solid;
|
|
778
779
|
}
|
|
779
780
|
|
|
780
781
|
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
781
|
-
opacity: ${
|
|
782
|
+
opacity: ${f.secondaryNeutralDisabledComponentOpacity};
|
|
782
783
|
}
|
|
783
784
|
|
|
784
785
|
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
785
|
-
color: ${
|
|
786
|
+
color: ${f.secondaryNeutralIconColor};
|
|
786
787
|
}
|
|
787
788
|
|
|
788
789
|
/** Neutral Tertiary styles **/
|
|
789
790
|
|
|
790
791
|
.ftds--family-neutral.ft-button--tertiary {
|
|
791
|
-
${(0,
|
|
792
|
+
${(0,C.setVariable)(j.color,f.tertiaryNeutralIconColor)};
|
|
792
793
|
|
|
793
|
-
${(0,
|
|
794
|
-
${(0,
|
|
795
|
-
${(0,
|
|
796
|
-
${(0,
|
|
797
|
-
${(0,
|
|
794
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
795
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
796
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
797
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
798
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
798
799
|
|
|
799
|
-
background-color: ${
|
|
800
|
-
color: ${
|
|
800
|
+
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
801
|
+
color: ${f.tertiaryNeutralColor};
|
|
801
802
|
border-style: none;
|
|
802
803
|
}
|
|
803
804
|
|
|
804
805
|
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
805
|
-
opacity: ${
|
|
806
|
+
opacity: ${f.tertiaryNeutralDisabledComponentOpacity};
|
|
806
807
|
}
|
|
807
808
|
|
|
808
809
|
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
809
|
-
color: ${
|
|
810
|
+
color: ${f.tertiaryNeutralIconColor};
|
|
810
811
|
}
|
|
811
812
|
|
|
812
813
|
/** Info Secondary styles **/
|
|
813
814
|
|
|
814
815
|
.ftds--family-info.ft-button--secondary {
|
|
815
|
-
${(0,
|
|
816
|
+
${(0,C.setVariable)(j.color,f.secondaryInfoIconColor)};
|
|
816
817
|
|
|
817
|
-
${(0,
|
|
818
|
-
${(0,
|
|
819
|
-
${(0,
|
|
820
|
-
${(0,
|
|
821
|
-
${(0,
|
|
818
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
819
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
820
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
821
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
822
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
822
823
|
|
|
823
|
-
background-color: ${
|
|
824
|
-
color: ${
|
|
825
|
-
border-color: ${
|
|
824
|
+
background-color: ${f.secondaryInfoBackgroundColor};
|
|
825
|
+
color: ${f.secondaryInfoColor};
|
|
826
|
+
border-color: ${f.secondaryInfoBorderColor};
|
|
826
827
|
border-style: solid;
|
|
827
828
|
}
|
|
828
829
|
|
|
829
830
|
.ftds--family-info.ft-button--secondary[disabled] {
|
|
830
|
-
opacity: ${
|
|
831
|
+
opacity: ${f.secondaryInfoDisabledComponentOpacity};
|
|
831
832
|
}
|
|
832
833
|
|
|
833
834
|
.ftds--family-info.ft-button--secondary ft-icon {
|
|
834
|
-
color: ${
|
|
835
|
+
color: ${f.secondaryInfoIconColor};
|
|
835
836
|
}
|
|
836
837
|
|
|
837
838
|
/** Info Tertiary styles **/
|
|
838
839
|
|
|
839
840
|
.ftds--family-info.ft-button--tertiary {
|
|
840
|
-
${(0,
|
|
841
|
+
${(0,C.setVariable)(j.color,f.tertiaryInfoIconColor)};
|
|
841
842
|
|
|
842
|
-
${(0,
|
|
843
|
-
${(0,
|
|
844
|
-
${(0,
|
|
845
|
-
${(0,
|
|
846
|
-
${(0,
|
|
843
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
844
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
845
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
846
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
847
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
847
848
|
|
|
848
|
-
background-color: ${
|
|
849
|
-
color: ${
|
|
849
|
+
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
850
|
+
color: ${f.tertiaryInfoColor};
|
|
850
851
|
border-style: none;
|
|
851
852
|
}
|
|
852
853
|
|
|
853
854
|
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
854
|
-
opacity: ${
|
|
855
|
+
opacity: ${f.tertiaryInfoDisabledComponentOpacity};
|
|
855
856
|
}
|
|
856
857
|
|
|
857
858
|
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
858
|
-
color: ${
|
|
859
|
+
color: ${f.tertiaryInfoIconColor};
|
|
859
860
|
}
|
|
860
861
|
|
|
861
862
|
/** Success Secondary styles **/
|
|
862
863
|
|
|
863
864
|
.ftds--family-success.ft-button--secondary {
|
|
864
|
-
${(0,
|
|
865
|
+
${(0,C.setVariable)(j.color,f.secondarySuccessIconColor)};
|
|
865
866
|
|
|
866
|
-
${(0,
|
|
867
|
-
${(0,
|
|
868
|
-
${(0,
|
|
869
|
-
${(0,
|
|
870
|
-
${(0,
|
|
867
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
868
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
869
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
870
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
871
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
871
872
|
|
|
872
|
-
background-color: ${
|
|
873
|
-
color: ${
|
|
874
|
-
border-color: ${
|
|
873
|
+
background-color: ${f.secondarySuccessBackgroundColor};
|
|
874
|
+
color: ${f.secondarySuccessColor};
|
|
875
|
+
border-color: ${f.secondarySuccessBorderColor};
|
|
875
876
|
border-style: solid;
|
|
876
877
|
}
|
|
877
878
|
|
|
878
879
|
.ftds--family-success.ft-button--secondary[disabled] {
|
|
879
|
-
opacity: ${
|
|
880
|
+
opacity: ${f.secondarySuccessDisabledComponentOpacity};
|
|
880
881
|
}
|
|
881
882
|
|
|
882
883
|
.ftds--family-success.ft-button--secondary ft-icon {
|
|
883
|
-
color: ${
|
|
884
|
+
color: ${f.secondarySuccessIconColor};
|
|
884
885
|
}
|
|
885
886
|
|
|
886
887
|
/** Success Tertiary styles **/
|
|
887
888
|
|
|
888
889
|
.ftds--family-success.ft-button--tertiary {
|
|
889
|
-
${(0,
|
|
890
|
+
${(0,C.setVariable)(j.color,f.tertiarySuccessIconColor)};
|
|
890
891
|
|
|
891
|
-
${(0,
|
|
892
|
-
${(0,
|
|
893
|
-
${(0,
|
|
894
|
-
${(0,
|
|
895
|
-
${(0,
|
|
892
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
893
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
894
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
895
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
896
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
896
897
|
|
|
897
|
-
background-color: ${
|
|
898
|
-
color: ${
|
|
898
|
+
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
899
|
+
color: ${f.tertiarySuccessColor};
|
|
899
900
|
border-style: none;
|
|
900
901
|
}
|
|
901
902
|
|
|
902
903
|
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
903
|
-
opacity: ${
|
|
904
|
+
opacity: ${f.tertiarySuccessDisabledComponentOpacity};
|
|
904
905
|
}
|
|
905
906
|
|
|
906
907
|
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
907
|
-
color: ${
|
|
908
|
+
color: ${f.tertiarySuccessIconColor};
|
|
908
909
|
}
|
|
909
910
|
|
|
910
911
|
/** Warning Secondary styles **/
|
|
911
912
|
|
|
912
913
|
.ftds--family-warning.ft-button--secondary {
|
|
913
|
-
${(0,
|
|
914
|
+
${(0,C.setVariable)(j.color,f.secondaryWarningIconColor)};
|
|
914
915
|
|
|
915
|
-
${(0,
|
|
916
|
-
${(0,
|
|
917
|
-
${(0,
|
|
918
|
-
${(0,
|
|
919
|
-
${(0,
|
|
916
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
917
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
918
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
919
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
920
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
920
921
|
|
|
921
|
-
background-color: ${
|
|
922
|
-
color: ${
|
|
923
|
-
border-color: ${
|
|
922
|
+
background-color: ${f.secondaryWarningBackgroundColor};
|
|
923
|
+
color: ${f.secondaryWarningColor};
|
|
924
|
+
border-color: ${f.secondaryWarningBorderColor};
|
|
924
925
|
border-style: solid;
|
|
925
926
|
}
|
|
926
927
|
|
|
927
928
|
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
928
|
-
opacity: ${
|
|
929
|
+
opacity: ${f.secondaryWarningDisabledComponentOpacity};
|
|
929
930
|
}
|
|
930
931
|
|
|
931
932
|
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
932
|
-
color: ${
|
|
933
|
+
color: ${f.secondaryWarningIconColor};
|
|
933
934
|
}
|
|
934
935
|
|
|
935
936
|
/** Warning Tertiary styles **/
|
|
936
937
|
|
|
937
938
|
.ftds--family-warning.ft-button--tertiary {
|
|
938
|
-
${(0,
|
|
939
|
+
${(0,C.setVariable)(j.color,f.tertiaryWarningIconColor)};
|
|
939
940
|
|
|
940
|
-
${(0,
|
|
941
|
-
${(0,
|
|
942
|
-
${(0,
|
|
943
|
-
${(0,
|
|
944
|
-
${(0,
|
|
941
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
942
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
943
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
944
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
945
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
945
946
|
|
|
946
|
-
background-color: ${
|
|
947
|
-
color: ${
|
|
947
|
+
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
948
|
+
color: ${f.tertiaryWarningColor};
|
|
948
949
|
border-style: none;
|
|
949
950
|
}
|
|
950
951
|
|
|
951
952
|
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
952
|
-
opacity: ${
|
|
953
|
+
opacity: ${f.tertiaryWarningDisabledComponentOpacity};
|
|
953
954
|
}
|
|
954
955
|
|
|
955
956
|
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
956
|
-
color: ${
|
|
957
|
+
color: ${f.tertiaryWarningIconColor};
|
|
957
958
|
}
|
|
958
959
|
|
|
959
960
|
/** Error Secondary styles **/
|
|
960
961
|
|
|
961
962
|
.ftds--family-error.ft-button--secondary {
|
|
962
|
-
${(0,
|
|
963
|
+
${(0,C.setVariable)(j.color,f.secondaryErrorIconColor)};
|
|
963
964
|
|
|
964
|
-
${(0,
|
|
965
|
-
${(0,
|
|
966
|
-
${(0,
|
|
967
|
-
${(0,
|
|
968
|
-
${(0,
|
|
965
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
966
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
967
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
968
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
969
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
969
970
|
|
|
970
|
-
background-color: ${
|
|
971
|
-
color: ${
|
|
972
|
-
border-color: ${
|
|
971
|
+
background-color: ${f.secondaryErrorBackgroundColor};
|
|
972
|
+
color: ${f.secondaryErrorColor};
|
|
973
|
+
border-color: ${f.secondaryErrorBorderColor};
|
|
973
974
|
border-style: solid;
|
|
974
975
|
}
|
|
975
976
|
|
|
976
977
|
.ftds--family-error.ft-button--secondary[disabled] {
|
|
977
|
-
opacity: ${
|
|
978
|
+
opacity: ${f.secondaryErrorDisabledComponentOpacity};
|
|
978
979
|
}
|
|
979
980
|
|
|
980
981
|
.ftds--family-error.ft-button--secondary ft-icon {
|
|
981
|
-
color: ${
|
|
982
|
+
color: ${f.secondaryErrorIconColor};
|
|
982
983
|
}
|
|
983
984
|
|
|
984
985
|
/** Error Tertiary styles **/
|
|
985
986
|
|
|
986
987
|
.ftds--family-error.ft-button--tertiary {
|
|
987
|
-
${(0,
|
|
988
|
+
${(0,C.setVariable)(j.color,f.tertiaryErrorIconColor)};
|
|
988
989
|
|
|
989
|
-
${(0,
|
|
990
|
-
${(0,
|
|
991
|
-
${(0,
|
|
992
|
-
${(0,
|
|
993
|
-
${(0,
|
|
990
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
991
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
992
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
993
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
994
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
994
995
|
|
|
995
|
-
background-color: ${
|
|
996
|
-
color: ${
|
|
996
|
+
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
997
|
+
color: ${f.tertiaryErrorColor};
|
|
997
998
|
border-style: none;
|
|
998
999
|
}
|
|
999
1000
|
|
|
1000
1001
|
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1001
|
-
opacity: ${
|
|
1002
|
+
opacity: ${f.tertiaryErrorDisabledComponentOpacity};
|
|
1002
1003
|
}
|
|
1003
1004
|
|
|
1004
1005
|
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1005
|
-
color: ${
|
|
1006
|
+
color: ${f.tertiaryErrorIconColor};
|
|
1006
1007
|
}
|
|
1007
1008
|
|
|
1008
1009
|
/** Large styles **/
|
|
1009
1010
|
|
|
1010
1011
|
.ftds--size-large {
|
|
1011
|
-
${(0,
|
|
1012
|
-
${(0,
|
|
1012
|
+
${(0,C.setVariable)(fe.size,f.largeIconSize)};
|
|
1013
|
+
${(0,C.setVariable)(j.size,f.largeIconSize)};
|
|
1013
1014
|
|
|
1014
|
-
height: ${
|
|
1015
|
-
padding: 0 ${
|
|
1016
|
-
gap: ${
|
|
1017
|
-
border-radius: ${
|
|
1018
|
-
border-width: ${
|
|
1015
|
+
height: ${f.largeHeight};
|
|
1016
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
1017
|
+
gap: ${f.largeGap};
|
|
1018
|
+
border-radius: ${f.largeBorderRadius};
|
|
1019
|
+
border-width: ${f.largeBorderWidth};
|
|
1019
1020
|
}
|
|
1020
1021
|
|
|
1021
1022
|
.ftds--size-large:focus-visible {
|
|
1022
|
-
outline-width: ${
|
|
1023
|
-
outline-offset: ${
|
|
1023
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
1024
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
1024
1025
|
}
|
|
1025
1026
|
|
|
1026
1027
|
.ftds--size-large.ft-button--icon-only {
|
|
1027
|
-
width: ${
|
|
1028
|
+
width: ${f.largeIconOnlyWidth};
|
|
1028
1029
|
}
|
|
1029
1030
|
|
|
1030
1031
|
/** Small styles **/
|
|
1031
1032
|
|
|
1032
1033
|
.ftds--size-medium {
|
|
1033
|
-
${(0,
|
|
1034
|
-
${(0,
|
|
1034
|
+
${(0,C.setVariable)(fe.size,f.mediumIconSize)};
|
|
1035
|
+
${(0,C.setVariable)(j.size,f.mediumIconSize)};
|
|
1035
1036
|
|
|
1036
|
-
height: ${
|
|
1037
|
-
padding: 0 ${
|
|
1038
|
-
gap: ${
|
|
1039
|
-
border-radius: ${
|
|
1040
|
-
border-width: ${
|
|
1037
|
+
height: ${f.mediumHeight};
|
|
1038
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
1039
|
+
gap: ${f.mediumGap};
|
|
1040
|
+
border-radius: ${f.mediumBorderRadius};
|
|
1041
|
+
border-width: ${f.mediumBorderWidth};
|
|
1041
1042
|
}
|
|
1042
1043
|
|
|
1043
1044
|
.ftds--size-medium:focus-visible {
|
|
1044
|
-
outline-width: ${
|
|
1045
|
-
outline-offset: ${
|
|
1045
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
1046
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
1046
1047
|
}
|
|
1047
1048
|
|
|
1048
1049
|
.ftds--size-medium.ft-button--icon-only {
|
|
1049
|
-
width: ${
|
|
1050
|
+
width: ${f.mediumIconOnlyWidth};
|
|
1050
1051
|
}
|
|
1051
1052
|
|
|
1052
1053
|
|
|
1053
1054
|
/** Small styles **/
|
|
1054
1055
|
|
|
1055
1056
|
.ftds--size-small {
|
|
1056
|
-
${(0,
|
|
1057
|
-
${(0,
|
|
1057
|
+
${(0,C.setVariable)(fe.size,f.smallIconSize)};
|
|
1058
|
+
${(0,C.setVariable)(j.size,f.smallIconSize)};
|
|
1058
1059
|
|
|
1059
|
-
height: ${
|
|
1060
|
-
padding: 0 ${
|
|
1061
|
-
gap: ${
|
|
1062
|
-
border-radius: ${
|
|
1063
|
-
border-width: ${
|
|
1060
|
+
height: ${f.smallHeight};
|
|
1061
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
1062
|
+
gap: ${f.smallGap};
|
|
1063
|
+
border-radius: ${f.smallBorderRadius};
|
|
1064
|
+
border-width: ${f.smallBorderWidth};
|
|
1064
1065
|
}
|
|
1065
1066
|
|
|
1066
1067
|
.ftds--size-small:focus-visible {
|
|
1067
|
-
outline-width: ${
|
|
1068
|
-
outline-offset: ${
|
|
1068
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
1069
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
1069
1070
|
}
|
|
1070
1071
|
|
|
1071
1072
|
.ftds--size-small.ft-button--icon-only {
|
|
1072
|
-
width: ${
|
|
1073
|
+
width: ${f.smallIconOnlyWidth};
|
|
1073
1074
|
}
|
|
1074
|
-
`,
|
|
1075
|
+
`,C.noTextSelect];var Zr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Qe=class extends(0,qr.toFtdsBase)(K){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Br.brand,this.iconVariant=Ee.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 Pt.large:return ot.body2medium;case Pt.medium:return ot.caption1medium;case Pt.small:return ot.caption2medium}}};Qe.styles=[qr.safariEllipsisFix,ss];Zr([(0,br.property)({type:Boolean})],Qe.prototype,"primary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"secondary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"tertiary",void 0);Zr([(0,br.property)({type:Boolean})],Qe.prototype,"round",void 0);(0,rn.customElement)("ft-button")(Pe);(0,rn.customElement)("ftds-button")(Qe);var ps=v(_());var ds=v(z()),At=v(ee()),Yr=v(_());var xe;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(xe||(xe={}));var cs=v(z());var ls=cs.css`
|
|
1075
1076
|
.ft-size-watcher--pixel {
|
|
1076
1077
|
width: 0;
|
|
1077
1078
|
height: 0;
|
|
@@ -1090,25 +1091,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1090
1091
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
1091
1092
|
width: 100%;
|
|
1092
1093
|
}
|
|
1093
|
-
`;var
|
|
1094
|
+
`;var xr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},on=class extends CustomEvent{constructor(r,o){super("change",{detail:{size:r,category:o}})}},we=class extends Yr.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=xe.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Yr.Debouncer}render(){return ds.html`
|
|
1094
1095
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
1095
1096
|
<div class="ft-size-watcher--watcher"></div>
|
|
1096
1097
|
</div>
|
|
1097
|
-
`}contentAvailableCallback(
|
|
1098
|
+
`}contentAvailableCallback(r){super.contentAvailableCallback(r),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=xe.S:this.size<976?this.category=xe.M:this.size<1024?this.category=xe.L:this.size<1440?this.category=xe.XL:this.category=xe.XXL,this.dispatchEvent(new on(this.size,this.category)))},this.debounceTimeout)}};we.elementDefinitions={};we.styles=ls;xr([(0,At.property)({type:Number})],we.prototype,"debounceTimeout",void 0);xr([(0,At.property)({type:Boolean})],we.prototype,"local",void 0);xr([(0,At.property)({type:Number,reflect:!0})],we.prototype,"size",void 0);xr([(0,At.property)({type:String,reflect:!0})],we.prototype,"category",void 0);xr([(0,At.query)(".ft-size-watcher--watcher")],we.prototype,"watcher",void 0);(0,ps.customElement)("ft-size-watcher")(we);var us=v(z()),W=v(_());var ae={tabulationSize:W.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:W.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:W.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",W.designSystemVariables.colorOnSurface),hoverColor:W.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",W.designSystemVariables.colorPrimary),highlightedTextColor:W.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",W.designSystemVariables.colorPrimary),highlightedFontWeight:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:W.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),leafNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",W.designSystemVariables.colorSurface),expandCollapseAllButtonColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",W.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",W.designSystemVariables.colorSurface)},fs=us.css`
|
|
1098
1099
|
.ft-reader-toc {
|
|
1099
|
-
color: ${
|
|
1100
|
+
color: ${ae.textColor};
|
|
1100
1101
|
}
|
|
1101
1102
|
|
|
1102
1103
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
1103
|
-
background-color: ${
|
|
1104
|
-
color: ${
|
|
1105
|
-
${(0,
|
|
1104
|
+
background-color: ${ae.highlightedBackgroundColor};
|
|
1105
|
+
color: ${ae.highlightedTextColor};
|
|
1106
|
+
${(0,W.setVariable)(T.fontWeight,ae.highlightedFontWeight)}
|
|
1106
1107
|
}
|
|
1107
1108
|
|
|
1108
1109
|
.ft-reader-toc--link-container {
|
|
1109
1110
|
display: flex;
|
|
1110
1111
|
gap: 4px;
|
|
1111
|
-
padding: ${
|
|
1112
|
+
padding: ${ae.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
1112
1113
|
align-items: center;
|
|
1113
1114
|
}
|
|
1114
1115
|
|
|
@@ -1116,26 +1117,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1116
1117
|
display: flex;
|
|
1117
1118
|
|
|
1118
1119
|
&:hover {
|
|
1119
|
-
color: ${
|
|
1120
|
+
color: ${ae.hoverColor};
|
|
1120
1121
|
}
|
|
1121
1122
|
}
|
|
1122
1123
|
|
|
1123
1124
|
ft-button {
|
|
1124
|
-
${(0,
|
|
1125
|
+
${(0,W.setVariable)(V.iconSize,ae.iconFontSize)};
|
|
1125
1126
|
}
|
|
1126
1127
|
|
|
1127
1128
|
[part="leaf-node-icon"] {
|
|
1128
|
-
color: ${
|
|
1129
|
+
color: ${ae.leafNodeIconColor};
|
|
1129
1130
|
}
|
|
1130
1131
|
|
|
1131
1132
|
.ft-reader-toc--tree-node-button {
|
|
1132
|
-
${(0,
|
|
1133
|
-
${(0,
|
|
1133
|
+
${(0,W.setVariable)(V.color,ae.treeNodeIconColor)};
|
|
1134
|
+
${(0,W.setVariable)(V.backgroundColor,ae.nodeButtonBackgroundColor)};
|
|
1134
1135
|
}
|
|
1135
1136
|
|
|
1136
1137
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1137
|
-
${(0,
|
|
1138
|
-
${(0,
|
|
1138
|
+
${(0,W.setVariable)(V.color,ae.expandCollapseAllButtonColor)};
|
|
1139
|
+
${(0,W.setVariable)(V.backgroundColor,ae.expandCollapseAllButtonBackgroundColor)};
|
|
1139
1140
|
}
|
|
1140
1141
|
|
|
1141
1142
|
.ft-reader-toc--toggle-container {
|
|
@@ -1143,11 +1144,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1143
1144
|
}
|
|
1144
1145
|
|
|
1145
1146
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
1146
|
-
width: calc(${
|
|
1147
|
+
width: calc(${ae.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1149
1150
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
1150
|
-
width: calc(${
|
|
1151
|
+
width: calc(${ae.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
1151
1152
|
}
|
|
1152
1153
|
|
|
1153
1154
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -1155,11 +1156,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1155
1156
|
}
|
|
1156
1157
|
|
|
1157
1158
|
.ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
|
|
1158
|
-
width: calc(${
|
|
1159
|
+
width: calc(${ae.iconFontSize} + 12px);
|
|
1159
1160
|
}
|
|
1160
1161
|
|
|
1161
1162
|
.ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
|
|
1162
|
-
width: calc(${
|
|
1163
|
+
width: calc(${ae.iconFontSize} + 4px);
|
|
1163
1164
|
}
|
|
1164
1165
|
|
|
1165
1166
|
.ft-reader-toc-expand-collapse-all-container {
|
|
@@ -1178,106 +1179,106 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1178
1179
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1179
1180
|
flex-grow: 1;
|
|
1180
1181
|
}
|
|
1181
|
-
`;var
|
|
1182
|
+
`;var bs=v(_());var ms=v(z()),gs=v(_());var hs=v(z()),ke=v(_()),ve={display:ke.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ke.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.FtCssVariableFactory.external(ke.designSystemVariables.borderRadiusM,"Design system")},ys=hs.css`
|
|
1182
1183
|
:host {
|
|
1183
|
-
width: ${
|
|
1184
|
-
height: ${
|
|
1185
|
-
display: ${
|
|
1184
|
+
width: ${ve.width};
|
|
1185
|
+
height: ${ve.height};
|
|
1186
|
+
display: ${ve.display};
|
|
1186
1187
|
overflow: hidden;
|
|
1187
|
-
border-radius: ${
|
|
1188
|
+
border-radius: ${ve.borderRadiusM};
|
|
1188
1189
|
background: linear-gradient(
|
|
1189
1190
|
90deg,
|
|
1190
1191
|
transparent,
|
|
1191
|
-
${
|
|
1192
|
-
${
|
|
1193
|
-
transparent ${
|
|
1194
|
-
), ${
|
|
1192
|
+
${ve.glareColor} calc(0.45 * ${ve.glareWidth}),
|
|
1193
|
+
${ve.glareColor} calc(0.55 * ${ve.glareWidth}),
|
|
1194
|
+
transparent ${ve.glareWidth}
|
|
1195
|
+
), ${ve.backgroundColor};
|
|
1195
1196
|
background-repeat: repeat-y;
|
|
1196
1197
|
background-size: 100vw 100vh;
|
|
1197
1198
|
background-attachment: fixed;
|
|
1198
|
-
background-position: calc(${
|
|
1199
|
-
animation: shine ${
|
|
1199
|
+
background-position: calc(${ve.glareWidth} * -1) 0;
|
|
1200
|
+
animation: shine ${ve.animationDuration} infinite;
|
|
1200
1201
|
animation-timing-function: linear;
|
|
1201
1202
|
}
|
|
1202
1203
|
|
|
1203
1204
|
@keyframes shine {
|
|
1204
1205
|
to {
|
|
1205
|
-
background-position: calc(100vw + ${
|
|
1206
|
+
background-position: calc(100vw + ${ve.glareWidth}) 0, calc(${ve.glareWidth} * -1) 0;
|
|
1206
1207
|
}
|
|
1207
1208
|
}
|
|
1208
|
-
`;var
|
|
1209
|
-
`}};
|
|
1210
|
-
`;var
|
|
1211
|
-
`;var
|
|
1209
|
+
`;var lt=class extends gs.FtLitElement{render(){return ms.html`
|
|
1210
|
+
`}};lt.elementDefinitions={};lt.styles=ys;(0,bs.customElement)("ft-skeleton")(lt);var rl=v(_());var Co=v(z()),Eo=v(ee()),Ao=v(_());var xs=v(z());var vs=xs.css`
|
|
1211
|
+
`;var So=v(_());var qc=v(_());var Es=v(z()),Se=v(ee()),De=v(_());var Ss=v(z());var Os=Ss.css`
|
|
1212
|
+
`;var Xr=v(_()),Hl="ft-app-info",nn=class extends CustomEvent{constructor(r){super("authentication-change",{detail:r})}},Fl={session:(e,r)=>{(0,Xr.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>P.dispatchEvent(new nn(r.payload)),0))}},P=Xr.FtReduxStore.get({name:Hl,reducers:Fl,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Ge=v(_());var an=v(_());var wt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=P.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=P.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var vr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:wt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):wt.await()}};var dt=class extends vr{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new an.CacheRegistry,this.cache=r?a.commonCache:new an.CacheRegistry}clearCache(){this.cache.clearAll()}};var Cs,Gl=Symbol("clearAfterUnitTest"),Qr=class extends dt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Cs]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=P.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ge.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),c=this.resolveContext(i);return new Ge.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r))}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(r),n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Cs=Gl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Qr{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Qr{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Zt=window.FluidTopicsI18nService,Jr=window.FluidTopicsCustomI18nService;var de=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Q=class extends De.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>wt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer}render(){return Es.html`
|
|
1212
1213
|
<slot></slot>
|
|
1213
|
-
`}update(t){var r,n,a,i,l;super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(s=>Mt.addContext(s)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(I.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),I.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),I.actions.searchInAllLanguagesAllowed((l=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};V.elementDefinitions={};V.styles=sc;te([(0,de.property)()],V.prototype,"baseUrl",void 0);te([(0,de.property)()],V.prototype,"apiIntegrationIdentifier",void 0);te([(0,de.property)()],V.prototype,"uiLocale",void 0);te([(0,Re.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Re.jsonProperty)(null)],V.prototype,"metadataConfiguration",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"editorMode",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"noCustom",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"openExternalDocumentInNewTab",void 0);te([(0,de.property)({converter:{fromAttribute(o){return o==="false"?!1:o==="true"||(o??!1)}}})],V.prototype,"noCustomComponent",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"withManualResources",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"navigatorOnline",void 0);te([(0,de.property)({type:Boolean})],V.prototype,"forcedOffline",void 0);te([(0,de.property)({type:Object})],V.prototype,"apiProvider",void 0);te([(0,Re.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Re.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,de.state)()],V.prototype,"localesConfiguration",void 0);var Gs=b(Z());function rs(o,t){if(o===t)return!0;if(o&&t&&typeof o=="object"&&typeof t=="object"){if(o.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(o)){if(r=o.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!jo(o[n],t[n]))return!1;return!0}if(o instanceof Map&&t instanceof Map){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;for(n of o.entries())if(!jo(n[1],t.get(n[0])))return!1;return!0}if(o instanceof Set&&t instanceof Set){if(o.size!==t.size)return!1;for(n of o.entries())if(!t.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===t.source&&o.flags===t.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===t.valueOf();let i=l=>Object.keys(l).filter(s=>l[s]!=null);if(a=i(o),r=a.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){let l=a[n];if(!jo(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function jo(o,t){try{return rs(o,t)}catch{return!1}}function Vo(o,t){return!jo(o,t)}var ns=b(Z(),1);var Ko=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var Ut=b(Z(),1);var pc=b(Z(),1);function uc(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,pc.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Vo,...t??{}})}var Zo=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var yc=b($(),1);var qo=globalThis,as=qo.ShadowRoot&&(qo.ShadyCSS===void 0||qo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Eg=Symbol();var hc=(o,t)=>{if(as)o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=qo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)}};var Yo=class extends yc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return hc(n,t.elementStyles),n}};function mc(o,t,...r){var n;let a=o.querySelector(t);for(let i of r)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var uo=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},vc,gc=Symbol("constructorPrototype"),bc=Symbol("constructorName"),Sc=Symbol("exportpartsDebouncer"),xc=Symbol("dynamicDependenciesLoaded"),Fe=class extends Yo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[vc]=new Zo(5),this[bc]=this.constructor.name,this[gc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bc]&&Object.setPrototypeOf(this,this[gc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let t=this.constructor;t[xc]||(t[xc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];r=mc(this.shadowRoot,...i)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Sc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,a,i,l,s;let f=m=>m!=null&&m.trim().length>0,p=t.filter(f).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...x,...g).filter(f).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};vc=Sc;uo([(0,Ut.property)()],Fe.prototype,"exportpartsPrefix",void 0);uo([uc([])],Fe.prototype,"exportpartsPrefixes",void 0);uo([(0,Ut.property)()],Fe.prototype,"customStylesheet",void 0);uo([(0,Ut.property)()],Fe.prototype,"elementToFocus",void 0);uo([(0,Ut.state)()],Fe.prototype,"useAdoptedStyleSheets",void 0);function ho(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Cc,Oc,wc,yo=Symbol("internalReduxEventsUnsubscribers"),rt=Symbol("internalStoresUnsubscribers"),xt=Symbol("internalStores"),mo=class extends Fe{constructor(){super(...arguments),this[Cc]=new Map,this[Oc]=new Map,this[wc]=new Map}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[xt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[xt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[xt].get(t)}addStore(t,r){var n;r=(n=r??(ho(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[xt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[xt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[xt].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(t.store);a&&(t.store?this[rt].has(t.store):this[rt].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[rt].set(t,r.subscribe(()=>this.updateFromStores())),this[yo].set(t,[]),ho(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=s=>this[i](s);r.addEventListener(a.eventName,l),this[yo].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[rt].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[rt].has(t)&&this[rt].get(t)(),this[rt].delete(t),(r=this[yo].get(t))===null||r===void 0||r.forEach(n=>n()),this[yo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Cc=rt,Oc=xt,wc=yo;mo.reduxProperties=new Map;mo.reduxReactiveProperties=new Set;mo.reduxEventListeners=new Map;function Ce(o){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function je(o){return!!o&&!!o[G]}function Le(o){var t;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===us}(o)||Array.isArray(o)||!!o[Pc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Pc])||on(o)||rn(o))}function vt(o,t,r){r===void 0&&(r=!1),Ft(o)===0?(r?Object.keys:Gt)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Ft(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:on(o)?2:rn(o)?3:0}function Ht(o,t){return Ft(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function is(o,t){return Ft(o)===2?o.get(t):o[t]}function kc(o,t,r){var n=Ft(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function Tc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function on(o){return fs&&o instanceof Map}function rn(o){return ps&&o instanceof Set}function nt(o){return o.o||o.t}function nn(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=$c(o);delete t[G];for(var r=Gt(t),n=0;n<r.length;n++){var a=r[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:o[a]})}return Object.create(Object.getPrototypeOf(o),t)}function an(o,t){return t===void 0&&(t=!1),cn(o)||je(o)||!Le(o)||(Ft(o)>1&&(o.set=o.add=o.clear=o.delete=cs),Object.freeze(o),t&&vt(o,function(r,n){return an(n,!0)},!0)),o}function cs(){Ce(2)}function cn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function $e(o){var t=tn[o];return t||Ce(18,o),t}function ls(o,t){tn[o]||(tn[o]=t)}function Jr(){return bo}function Zr(o,t){t&&($e("Patches"),o.u=[],o.s=[],o.v=t)}function Xo(o){Qr(o),o.p.forEach(ss),o.p=null}function Qr(o){o===bo&&(bo=o.l)}function Ec(o){return bo={p:[],l:bo,h:o,m:!0,_:0}}function ss(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function qr(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||$e("ES5").S(t,o,n),n?(r[G].P&&(Xo(t),Ce(4)),Le(o)&&(o=Jo(t,o),t.l||Qo(t,o)),t.u&&$e("Patches").M(r[G].t,o,t.u,t.s)):o=Jo(t,r,[]),Xo(t),t.u&&t.v(t.u,t.s),o!==_c?o:void 0}function Jo(o,t,r){if(cn(t))return t;var n=t[G];if(!n)return vt(t,function(s,f){return Nc(o,n,t,s,f,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Qo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=nn(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),vt(i,function(s,f){return Nc(o,n,a,s,f,r,l)}),Qo(o,a,!1),r&&o.u&&$e("Patches").N(n,r,o.u,o.s)}return n.o}function Nc(o,t,r,n,a,i,l){if(je(a)){var s=Jo(o,a,i&&t&&t.i!==3&&!Ht(t.R,n)?i.concat(n):void 0);if(kc(r,n,s),!je(s))return;o.m=!1}else l&&r.add(a);if(Le(a)&&!cn(a)){if(!o.h.D&&o._<1)return;Jo(o,a),t&&t.A.l||Qo(o,a)}}function Qo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&an(t,r)}function Yr(o,t){var r=o[G];return(r?nt(r):o)[t]}function Ac(o,t){if(t in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function at(o){o.P||(o.P=!0,o.l&&at(o.l))}function Xr(o){o.o||(o.o=nn(o.t))}function en(o,t,r){var n=on(t)?$e("MapSet").F(t,r):rn(t)?$e("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:Jr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=s,p=xo;l&&(f=[s],p=go);var h=Proxy.revocable(f,p),y=h.revoke,m=h.proxy;return s.k=m,s.j=y,m}(t,r):$e("ES5").J(t,r);return(r?r.A:Jr()).p.push(n),n}function ds(o){return je(o)||Ce(22,o),function t(r){if(!Le(r))return r;var n,a=r[G],i=Ft(r);if(a){if(!a.P&&(a.i<4||!$e("ES5").K(a)))return a.t;a.I=!0,n=Rc(r,i),a.I=!1}else n=Rc(r,i);return vt(n,function(l,s){a&&is(a.t,l)===s||kc(n,l,t(s))}),i===3?new Set(n):n}(o)}function Rc(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return nn(o)}function Bc(){function o(l,s){var f=i[l];return f?f.enumerable=s:i[l]=f={configurable:!0,enumerable:s,get:function(){var p=this[G];return xo.get(p,l)},set:function(p){var h=this[G];xo.set(h,l,p)}},f}function t(l){for(var s=l.length-1;s>=0;s--){var f=l[s][G];if(!f.P)switch(f.i){case 5:n(f)&&at(f);break;case 4:r(f)&&at(f)}}}function r(l){for(var s=l.t,f=l.k,p=Gt(f),h=p.length-1;h>=0;h--){var y=p[h];if(y!==G){var m=s[y];if(m===void 0&&!Ht(s,y))return!0;var x=f[y],g=x&&x[G];if(g?g.t!==m:!Tc(x,m))return!0}}var S=!!s[G];return p.length!==Gt(s).length+(S?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var f=Object.getOwnPropertyDescriptor(s,s.length-1);if(f&&!f.get)return!0;for(var p=0;p<s.length;p++)if(!s.hasOwnProperty(p))return!0;return!1}function a(l){l.g&&Ce(3,JSON.stringify(nt(l)))}var i={};ls("ES5",{J:function(l,s){var f=Array.isArray(l),p=function(y,m){if(y){for(var x=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(x,""+g,o(g,!0));return x}var S=$c(m);delete S[G];for(var R=Gt(S),E=0;E<R.length;E++){var N=R[E];S[N]=o(N,y||!!S[N].enumerable)}return Object.create(Object.getPrototypeOf(m),S)}(f,l),h={i:f?5:4,A:s?s.A:Jr(),P:!1,I:!1,R:{},l:s,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,G,{value:h,writable:!0}),p},S:function(l,s,f){f?je(s)&&s[G].A===l&&t(l.p):(l.u&&function p(h){if(h&&typeof h=="object"){var y=h[G];if(y){var m=y.t,x=y.k,g=y.R,S=y.i;if(S===4)vt(x,function(T){T!==G&&(m[T]!==void 0||Ht(m,T)?g[T]||p(x[T]):(g[T]=!0,at(y)))}),vt(m,function(T){x[T]!==void 0||Ht(x,T)||(g[T]=!1,at(y))});else if(S===5){if(n(y)&&(at(y),g.length=!0),x.length<m.length)for(var R=x.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<x.length;E++)g[E]=!0;for(var N=Math.min(x.length,m.length),P=0;P<N;P++)x.hasOwnProperty(P)||(g[P]=!0),g[P]===void 0&&p(x[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Lc,bo,ln=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",fs=typeof Map<"u",ps=typeof Set<"u",Ic=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_c=ln?Symbol.for("immer-nothing"):((Lc={})["immer-nothing"]=!0,Lc),Pc=ln?Symbol.for("immer-draftable"):"__$immer_draftable",G=ln?Symbol.for("immer-state"):"__$immer_state";var us=""+Object.prototype.constructor,Gt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,$c=Object.getOwnPropertyDescriptors||function(o){var t={};return Gt(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},tn={},xo={get:function(o,t){if(t===G)return o;var r=nt(o);if(!Ht(r,t))return function(a,i,l){var s,f=Ac(i,l);return f?"value"in f?f.value:(s=f.get)===null||s===void 0?void 0:s.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Le(n)?n:n===Yr(o.t,t)?(Xr(o),o.o[t]=en(o.A.h,n,o)):n},has:function(o,t){return t in nt(o)},ownKeys:function(o){return Reflect.ownKeys(nt(o))},set:function(o,t,r){var n=Ac(nt(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=Yr(nt(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(Tc(r,a)&&(r!==void 0||Ht(o.t,t)))return!0;Xr(o),at(o)}return o.o[t]===r&&(r!==void 0||t in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[t])||(o.o[t]=r,o.R[t]=!0),!0},deleteProperty:function(o,t){return Yr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Xr(o),at(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=nt(o),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:o.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){Ce(12)}},go={};vt(xo,function(o,t){go[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),go.deleteProperty=function(o,t){return go.set.call(this,o,t,void 0)},go.set=function(o,t,r){return xo.set.call(this,o[0],t,r,o[0])};var hs=function(){function o(r){var n=this;this.O=Ic,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var f=n;return function(S){var R=this;S===void 0&&(S=s);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return f.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var p;if(typeof i!="function"&&Ce(6),l!==void 0&&typeof l!="function"&&Ce(7),Le(a)){var h=Ec(n),y=en(n,a,void 0),m=!0;try{p=i(y),m=!1}finally{m?Xo(h):Qr(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(S){return Zr(h,l),qr(S,h)},function(S){throw Xo(h),S}):(Zr(h,l),qr(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===_c&&(p=void 0),n.D&&an(p,!0),l){var x=[],g=[];$e("Patches").M(a,p,x,g),l(x,g)}return p}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),m=1;m<h;m++)y[m-1]=arguments[m];return n.produceWithPatches(p,function(x){return a.apply(void 0,[x].concat(y))})};var l,s,f=n.produce(a,i,function(p,h){l=p,s=h});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,l,s]}):[f,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=o.prototype;return t.createDraft=function(r){Le(r)||Ce(8),je(r)&&(r=ds(r));var n=Ec(this),a=en(this,r,void 0);return a[G].C=!0,Qr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Zr(i,n),qr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Ic&&Ce(20),this.O=r},t.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=$e("Patches").$;return je(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},o}(),be=new hs,ys=be.produce,zg=be.produceWithPatches.bind(be),Mg=be.setAutoFreeze.bind(be),Ug=be.setUseProxies.bind(be),Hg=be.applyPatches.bind(be),Gg=be.createDraft.bind(be),Fg=be.finishDraft.bind(be),er=ys;function St(o){"@babel/helpers - typeof";return St=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(o)}function Wc(o,t){if(St(o)!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(St(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function Dc(o){var t=Wc(o,"string");return St(t)=="symbol"?t:t+""}function zc(o,t,r){return(t=Dc(t))in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function Mc(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),r.push.apply(r,n)}return r}function sn(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mc(Object(r),!0).forEach(function(n){zc(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Mc(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function oe(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var Uc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),dn=function(){return Math.random().toString(36).substring(7).split("").join(".")},tr={INIT:"@@redux/INIT"+dn(),REPLACE:"@@redux/REPLACE"+dn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+dn()}};function ms(o){if(typeof o!="object"||o===null)return!1;for(var t=o;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(o)===t}function fn(o,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(oe(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(oe(1));return r(fn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],s=l,f=!1;function p(){s===l&&(s=l.slice())}function h(){if(f)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(f)throw new Error(oe(5));var R=!0;return p(),s.push(S),function(){if(R){if(f)throw new Error(oe(6));R=!1,p();var N=s.indexOf(S);s.splice(N,1),l=null}}}function m(S){if(!ms(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(f)throw new Error(oe(9));try{f=!0,i=a(i,S)}finally{f=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return S}function x(S){if(typeof S!="function")throw new Error(oe(10));a=S,m({type:tr.REPLACE})}function g(){var S,R=y;return S={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(oe(11));function P(){N.next&&N.next(h())}P();var T=R(P);return{unsubscribe:T}}},S[Uc]=function(){return this},S}return m({type:tr.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:x},n[Uc]=g,n}function gs(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:tr.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:tr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Hc(o){for(var t=Object.keys(o),r={},n=0;n<t.length;n++){var a=t[n];typeof o[a]=="function"&&(r[a]=o[a])}var i=Object.keys(r),l,s;try{gs(r)}catch(f){s=f}return function(p,h){if(p===void 0&&(p={}),s)throw s;if(0)var y;for(var m=!1,x={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=p[S],N=R(E,h);if(typeof N>"u"){var P=h&&h.type;throw new Error(oe(14))}x[S]=N,m=m||N!==E}return m=m||i.length!==Object.keys(p).length,m?x:p}}function jt(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Gc(){for(var o=arguments.length,t=new Array(o),r=0;r<o;r++)t[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(oe(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(f){return f(l)});return i=jt.apply(void 0,s)(a.dispatch),sn(sn({},a),{},{dispatch:i})}}}function Fc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,o):l(s)}}};return t}var jc=Fc();jc.withExtraArgument=Fc;var pn=jc;var Yc=function(){var o=function(t,r){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},o(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");o(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),bs=function(o,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(p){return function(h){return f([p,h])}}function f(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=t.call(o,r)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Vt=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},xs=Object.defineProperty,vs=Object.defineProperties,Ss=Object.getOwnPropertyDescriptors,Vc=Object.getOwnPropertySymbols,Cs=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,Kc=function(o,t,r){return t in o?xs(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},it=function(o,t){for(var r in t||(t={}))Cs.call(t,r)&&Kc(o,r,t[r]);if(Vc)for(var n=0,a=Vc(t);n<a.length;n++){var r=a[n];Os.call(t,r)&&Kc(o,r,t[r])}return o},un=function(o,t){return vs(o,Ss(t))},ws=function(o,t,r){return new Promise(function(n,a){var i=function(f){try{s(r.next(f))}catch(p){a(p)}},l=function(f){try{s(r.throw(f))}catch(p){a(p)}},s=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,l)};s((r=r.apply(o,t)).next())})};var Es=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jt:jt.apply(null,arguments)},lb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ns(o){if(typeof o!="object"||o===null)return!1;var t=Object.getPrototypeOf(o);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var As=function(o){Yc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Vt([void 0],r[0].concat(this)))):new(t.bind.apply(t,Vt([void 0],r.concat(this))))},t}(Array),Rs=function(o){Yc(t,o);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=o.apply(this,r)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Vt([void 0],r[0].concat(this)))):new(t.bind.apply(t,Vt([void 0],r.concat(this))))},t}(Array);function mn(o){return Le(o)?er(o,function(){}):o}function Ls(o){return typeof o=="boolean"}function Is(){return function(t){return Ps(t)}}function Ps(o){o===void 0&&(o={});var t=o.thunk,r=t===void 0?!0:t,n=o.immutableCheck,a=n===void 0?!0:n,i=o.serializableCheck,l=i===void 0?!0:i,s=new As;if(r&&(Ls(r)?s.push(pn):s.push(pn.withExtraArgument(r.extraArgument))),0){if(a)var f;if(l)var p}return s}var hn=!0;function Xc(o){var t=Is(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,s=r.devTools,f=s===void 0?!0:s,p=r.preloadedState,h=p===void 0?void 0:p,y=r.enhancers,m=y===void 0?void 0:y,x;if(typeof a=="function")x=a;else if(Ns(a))x=Hc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=l;if(typeof g=="function"&&(g=g(t),!hn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!hn&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Gc.apply(void 0,g),R=jt;f&&(R=Es(it({trace:!hn},typeof f=="object"&&f)));var E=new Rs(S),N=E;Array.isArray(m)?N=Vt([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return fn(x,h,P)}function ct(o,t){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return it(it({type:o,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function Jc(o){var t={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return o(a),[t,r,n]}function ks(o){return typeof o=="function"}function Ts(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Jc(t):[t,r,n],i=a[0],l=a[1],s=a[2],f;if(ks(o))f=function(){return mn(o())};else{var p=mn(o);f=function(){return p}}function h(y,m){y===void 0&&(y=f());var x=Vt([i[m.type]],l.filter(function(g){var S=g.matcher;return S(m)}).map(function(g){var S=g.reducer;return S}));return x.filter(function(g){return!!g}).length===0&&(x=[s]),x.reduce(function(g,S){if(S)if(je(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Le(g))return er(g,function(N){return S(N,m)});var E=S(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},y)}return h.getInitialState=f,h}function Bs(o,t){return o+"/"+t}function Qc(o){var t=o.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:mn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(h){var y=n[h],m=Bs(t,h),x,g;"reducer"in y?(x=y.reducer,g=y.prepare):x=y,i[h]=x,l[m]=x,s[h]=g?ct(m,g):ct(m)});function f(){var h=typeof o.extraReducers=="function"?Jc(o.extraReducers):[o.extraReducers],y=h[0],m=y===void 0?{}:y,x=h[1],g=x===void 0?[]:x,S=h[2],R=S===void 0?void 0:S,E=it(it({},m),l);return Ts(r,function(N){for(var P in E)N.addCase(P,E[P]);for(var T=0,D=g;T<D.length;T++){var xe=D[T];N.addMatcher(xe.matcher,xe.reducer)}R&&N.addDefaultCase(R)})}var p;return{name:t,reducer:function(h,y){return p||(p=f()),p(h,y)},actions:s,caseReducers:i,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var _s="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",$s=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=_s[Math.random()*64|0];return t},Ws=["name","message","stack","code"],yn=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Zc=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Ds=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=Ws;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},pb=function(){function o(t,r,n){var a=ct(t+"/fulfilled",function(h,y,m,x){return{payload:h,meta:un(it({},x||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=ct(t+"/pending",function(h,y,m){return{payload:void 0,meta:un(it({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=ct(t+"/rejected",function(h,y,m,x,g){return{payload:x,error:(n&&n.serializeError||Ds)(h||"Rejected"),meta:un(it({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),s=!1,f=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,m,x){var g=n?.idGenerator?n.idGenerator(h):$s(),S=new f,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return ws(this,null,function(){var T,D,xe,Ve,yr,Ke,pe;return bs(this,function(ve){switch(ve.label){case 0:return ve.trys.push([0,4,,5]),Ve=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:x}),Ms(Ve)?[4,Ve]:[3,2];case 1:Ve=ve.sent(),ve.label=2;case 2:if(Ve===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,yr=new Promise(function(ue,st){return S.signal.addEventListener("abort",function(){return st({name:"AbortError",message:R||"Aborted"})})}),y(i(g,h,(D=n?.getPendingMeta)==null?void 0:D.call(n,{requestId:g,arg:h},{getState:m,extra:x}))),[4,Promise.race([yr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:x,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(ue,st){return new yn(ue,st)},fulfillWithValue:function(ue,st){return new Zc(ue,st)}})).then(function(ue){if(ue instanceof yn)throw ue;return ue instanceof Zc?a(ue.payload,g,h,ue.meta):a(ue,g,h)})])];case 3:return xe=ve.sent(),[3,5];case 4:return Ke=ve.sent(),xe=Ke instanceof yn?l(null,g,h,Ke.payload,Ke.meta):l(Ke,g,h),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&l.match(xe)&&xe.meta.condition,pe||y(xe),[2,xe]}})})}();return Object.assign(P,{abort:N,requestId:g,arg:h,unwrap:function(){return P.then(zs)}})}}return Object.assign(p,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function zs(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Ms(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var el="listener",tl="completed",ol="cancelled",ub="task-"+ol,hb="task-"+tl,yb=el+"-"+ol,mb=el+"-"+tl;var gn="listenerMiddleware";var gb=ct(gn+"/add"),bb=ct(gn+"/removeAll"),xb=ct(gn+"/remove");var qc,vb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(qc||(qc=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},Us=function(o){return function(t){setTimeout(t,o)}},Sb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Us(10);Bc();function Hs(o,t){return class extends o{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,a){this.eventBus.addEventListener(r,n,a)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,a){this.eventBus.removeEventListener(r,n,a)}}}var or=class extends Hs(Object){};window.ftReduxStores||(window.ftReduxStores={});var rl=class o extends or{static get(t){var r;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(ho(i))return i;if(a==null)return;let l=Qc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=Xc({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:l.reducer(f,p)});return window.ftReduxStores[a.name]=new o(l,s,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Ko;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,l,s)=>{let f=l,p=i[f];return p?(...h)=>{let y=p(...h.map(a));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[f]:a(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var ir=b(L());var rr=class extends ot{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var nr=class extends ot{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Fs="ft-user-assets",ar=ir.FtReduxStore.get({name:Fs,initialState:{savedSearches:void 0,bookmarks:void 0}}),bn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new nr,this.savedSearchesService=new rr,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,ir.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ar.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ar.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ar.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ar.actions.bookmarks(r)}}},ox=new bn;var xn=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new xn;var nl=b(L()),vn=class{highlightHtml(t,r,n){(0,nl.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new vn;var al=b(L());var Sn=class{isDate(t){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return al.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Sn;var il=b(L());var vo=class{static get(t,r){var n,a,i,l;let s=I.getState(),{lang:f,region:p}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new il.SearchPlaceConverter(s.baseUrl,(l=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&l!==void 0?l:{},t??20,s.searchInAllLanguagesAllowed,r??`${f}-${p}`)}};var Cn=class{urlToSearchRequest(t){return vo.get().parse(t)}searchRequestToUrl(t){return vo.get().serialize(t)}};window.FluidTopicsUrlService=new Cn;(0,cl.customElement)("ft-app-context")(V);var pl=b(Z());var js=b(L());function ll(o){return o.match(/^[\w-]+\.[\w-]+$/)}var Vs=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},sl=Symbol("i18nAttributes"),dl=Symbol("i18nListAttributes"),ul=Symbol("i18nProperties"),cr=Symbol("i18nContexts"),So=Symbol("i18nUnsubs");function dr(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Fo:Mt}i18n(i){var l;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let s=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...s)}customI18n(i,l){if(ll(i)){let[s,f]=i.split(".");return this.i18n({custom:!0,context:s,key:f,...l})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((l,s,f)=>i.has(s)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((l,s,f)=>{var p;return((p=f?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(l=>l.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var l,s;let f=this,p=(h,y,m)=>m?.context&&m.key&&i(h,y,m)?{...m,message:this.i18n({context:m.context,key:m.key,...h})}:m;(l=this[sl])===null||l===void 0||l.forEach((h,y)=>f[y]=p(h,y,f[y])),(s=this[dl])===null||s===void 0||s.forEach((h,y)=>{var m;return f[y]=(m=f[y])===null||m===void 0?void 0:m.map(x=>p(h,y,x))})}updateI18nProperties(i){var l;(l=this[ul])===null||l===void 0||l.forEach((s,f)=>{i(s,f)&&(this[f]=this.i18n(s))})}addI18nMessages(i,l,s){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,l,s)}addI18nContext(i,l,s){let f=(typeof i=="string"?i:i.name).toLowerCase();s=typeof i=="string"?s:i.custom,this[cr].set(f,{isCustomContext:s}),this[So].has(f)||this[So].set(f,this.getI18nService(s).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(s).prepareContext(f,l)}hasI18nContext(i){return this[cr].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[cr].forEach((i,l)=>this.addI18nContext(l,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[So].forEach(i=>i()),this[So].clear()}}return t=cr,r=So,Vs([(0,pl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var fl=class extends dr(sr.FtLitElement){},lr=class extends dr(sr.FtLitElementRedux){};var Co=function(o,t,r,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(o,t,r,n);else for(var s=o.length-1;s>=0;s--)(l=o[s])&&(i=(a<3?l(i):a>3?l(t,r,i):l(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i},Ie=class extends lr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":fr.nothing:fr.html`
|
|
1214
|
+
`}update(r){var o,n,a,i,c;super.update(r),r.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&P.actions.noCustom(this.noCustom),r.has("editorMode")&&P.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&P.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Zt.addContext(l)),r.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(P.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};Q.elementDefinitions={};Q.styles=Os;de([(0,Se.property)()],Q.prototype,"baseUrl",void 0);de([(0,Se.property)()],Q.prototype,"apiIntegrationIdentifier",void 0);de([(0,Se.property)()],Q.prototype,"uiLocale",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"availableUiLocales",void 0);de([(0,De.jsonProperty)(null)],Q.prototype,"metadataConfiguration",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"editorMode",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"noCustom",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"openExternalDocumentInNewTab",void 0);de([(0,Se.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Q.prototype,"noCustomComponent",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"withManualResources",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"navigatorOnline",void 0);de([(0,Se.property)({type:Boolean})],Q.prototype,"forcedOffline",void 0);de([(0,Se.property)({type:Object})],Q.prototype,"apiProvider",void 0);de([(0,De.jsonProperty)([])],Q.prototype,"messageContexts",void 0);de([(0,De.jsonProperty)(void 0)],Q.prototype,"session",void 0);de([(0,Se.state)()],Q.prototype,"localesConfiguration",void 0);var Id=v(ee());function jl(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!eo(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!eo(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(e),o=a.length,o!==i(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!eo(e[c],r[c]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function eo(e,r){try{return jl(e,r)}catch{return!1}}function to(e,r){return!eo(e,r)}var Vl=v(ee(),1);var ro=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var qt=v(ee(),1);var As=v(ee(),1);function ws(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,As.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:to,...r??{}})}var oo=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ns=v(z(),1);var no=globalThis,Kl=no.ShadowRoot&&(no.ShadyCSS===void 0||no.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yb=Symbol();var Rs=(e,r)=>{if(Kl)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=no.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var ao=class extends Ns.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Rs(n,r.elementStyles),n}};function Ts(e,r,...o){var n;let a=e.querySelector(r);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var Sr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ps,Ls=Symbol("constructorPrototype"),Is=Symbol("constructorName"),ks=Symbol("exportpartsDebouncer"),_s=Symbol("dynamicDependenciesLoaded"),Je=class extends ao{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ps]=new oo(5),this[Is]=this.constructor.name,this[Ls]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Is]&&Object.setPrototypeOf(this,this[Ls])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[_s]||(r[_s]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=Ts(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ks].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,a,i,c,l;let p=g=>g!=null&&g.trim().length>0,u=r.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...x).filter(p).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ps=ks;Sr([(0,qt.property)()],Je.prototype,"exportpartsPrefix",void 0);Sr([ws([])],Je.prototype,"exportpartsPrefixes",void 0);Sr([(0,qt.property)()],Je.prototype,"customStylesheet",void 0);Sr([(0,qt.property)()],Je.prototype,"elementToFocus",void 0);Sr([(0,qt.state)()],Je.prototype,"useAdoptedStyleSheets",void 0);function Or(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Ds,Bs,Us,Cr=Symbol("internalReduxEventsUnsubscribers"),pt=Symbol("internalStoresUnsubscribers"),Rt=Symbol("internalStores"),Er=class extends Je{constructor(){super(...arguments),this[Ds]=new Map,this[Bs]=new Map,this[Us]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Rt].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[Rt].get(r)}addStore(r,o){var n;o=(n=o??(Or(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[Rt].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[Rt].delete(o)}setupStores(){this.unsubscribeFromStores(),this[Rt].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[pt].has(r.store):this[pt].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[pt].set(r,o.subscribe(()=>this.updateFromStores())),this[Cr].set(r,[]),Or(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=l=>this[i](l);o.addEventListener(a.eventName,c),this[Cr].get(r).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[pt].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[pt].has(r)&&this[pt].get(r)(),this[pt].delete(r),(o=this[Cr].get(r))===null||o===void 0||o.forEach(n=>n()),this[Cr].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ds=pt,Bs=Rt,Us=Cr;Er.reduxProperties=new Map;Er.reduxReactiveProperties=new Set;Er.reduxEventListeners=new Map;function Te(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(e){return!!e&&!!e[Z]}function Be(e){var r;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===td}(e)||Array.isArray(e)||!!e[Gs]||!!(!((r=e.constructor)===null||r===void 0)&&r[Gs])||yn(e)||mn(e))}function Nt(e,r,o){o===void 0&&(o=!1),Qt(e)===0?(o?Object.keys:Xt)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function Qt(e){var r=e[Z];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:yn(e)?2:mn(e)?3:0}function Yt(e,r){return Qt(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function Zl(e,r){return Qt(e)===2?e.get(r):e[r]}function js(e,r,o){var n=Qt(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Vs(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function yn(e){return Jl&&e instanceof Map}function mn(e){return ed&&e instanceof Set}function ut(e){return e.o||e.t}function gn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=qs(e);delete r[Z];for(var o=Xt(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function bn(e,r){return r===void 0&&(r=!1),xn(e)||et(e)||!Be(e)||(Qt(e)>1&&(e.set=e.add=e.clear=e.delete=ql),Object.freeze(e),r&&Nt(e,function(o,n){return bn(n,!0)},!0)),e}function ql(){Te(2)}function xn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function je(e){var r=hn[e];return r||Te(18,e),r}function Yl(e,r){hn[e]||(hn[e]=r)}function pn(){return wr}function sn(e,r){r&&(je("Patches"),e.u=[],e.s=[],e.v=r)}function io(e){un(e),e.p.forEach(Xl),e.p=null}function un(e){e===wr&&(wr=e.l)}function $s(e){return wr={p:[],l:wr,h:e,m:!0,_:0}}function Xl(e){var r=e[Z];r.i===0||r.i===1?r.j():r.g=!0}function cn(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||je("ES5").S(r,e,n),n?(o[Z].P&&(io(r),Te(4)),Be(e)&&(e=so(r,e),r.l||co(r,e)),r.u&&je("Patches").M(o[Z].t,e,r.u,r.s)):e=so(r,o,[]),io(r),r.u&&r.v(r.u,r.s),e!==Zs?e:void 0}function so(e,r,o){if(xn(r))return r;var n=r[Z];if(!n)return Nt(r,function(l,p){return Ms(e,n,r,l,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return co(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=gn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Nt(i,function(l,p){return Ms(e,n,a,l,p,o,c)}),co(e,a,!1),o&&e.u&&je("Patches").N(n,o,e.u,e.s)}return n.o}function Ms(e,r,o,n,a,i,c){if(et(a)){var l=so(e,a,i&&r&&r.i!==3&&!Yt(r.R,n)?i.concat(n):void 0);if(js(o,n,l),!et(l))return;e.m=!1}else c&&o.add(a);if(Be(a)&&!xn(a)){if(!e.h.D&&e._<1)return;so(e,a),r&&r.A.l||co(e,a)}}function co(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&bn(r,o)}function ln(e,r){var o=e[Z];return(o?ut(o):e)[r]}function Ws(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function ft(e){e.P||(e.P=!0,e.l&&ft(e.l))}function dn(e){e.o||(e.o=gn(e.t))}function fn(e,r,o){var n=yn(r)?je("MapSet").F(r,o):mn(r)?je("MapSet").T(r,o):e.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:pn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=Rr;c&&(p=[l],u=Ar);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return l.k=g,l.j=h,g}(r,o):je("ES5").J(r,o);return(o?o.A:pn()).p.push(n),n}function Ql(e){return et(e)||Te(22,e),function r(o){if(!Be(o))return o;var n,a=o[Z],i=Qt(o);if(a){if(!a.P&&(a.i<4||!je("ES5").K(a)))return a.t;a.I=!0,n=zs(o,i),a.I=!1}else n=zs(o,i);return Nt(n,function(c,l){a&&Zl(a.t,c)===l||js(n,c,r(l))}),i===3?new Set(n):n}(e)}function zs(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return gn(e)}function Ks(){function e(c,l){var p=i[c];return p?p.enumerable=l:i[c]=p={configurable:!0,enumerable:l,get:function(){var u=this[Z];return Rr.get(u,c)},set:function(u){var m=this[Z];Rr.set(m,c,u)}},p}function r(c){for(var l=c.length-1;l>=0;l--){var p=c[l][Z];if(!p.P)switch(p.i){case 5:n(p)&&ft(p);break;case 4:o(p)&&ft(p)}}}function o(c){for(var l=c.t,p=c.k,u=Xt(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==Z){var g=l[h];if(g===void 0&&!Yt(l,h))return!0;var S=p[h],x=S&&S[Z];if(x?x.t!==g:!Vs(S,g))return!0}}var O=!!l[Z];return u.length!==Xt(l).length+(O?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(c){c.g&&Te(3,JSON.stringify(ut(c)))}var i={};Yl("ES5",{J:function(c,l){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var O=qs(g);delete O[Z];for(var L=Xt(O),R=0;R<L.length;R++){var N=L[R];O[N]=e(N,h||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(p,c),m={i:p?5:4,A:l?l.A:pn(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(c,l,p){p?et(l)&&l[Z].A===c&&r(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[Z];if(h){var g=h.t,S=h.k,x=h.R,O=h.i;if(O===4)Nt(S,function(B){B!==Z&&(g[B]!==void 0||Yt(g,B)?x[B]||u(S[B]):(x[B]=!0,ft(h)))}),Nt(g,function(B){S[B]!==void 0||Yt(S,B)||(x[B]=!1,ft(h))});else if(O===5){if(n(h)&&(ft(h),x.length=!0),S.length<g.length)for(var L=S.length;L<g.length;L++)x[L]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),k=0;k<N;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&u(S[k])}}}}(c.p[0]),r(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Hs,wr,vn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Jl=typeof Map<"u",ed=typeof Set<"u",Fs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Zs=vn?Symbol.for("immer-nothing"):((Hs={})["immer-nothing"]=!0,Hs),Gs=vn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=vn?Symbol.for("immer-state"):"__$immer_state";var td=""+Object.prototype.constructor,Xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,qs=Object.getOwnPropertyDescriptors||function(e){var r={};return Xt(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},hn={},Rr={get:function(e,r){if(r===Z)return e;var o=ut(e);if(!Yt(o,r))return function(a,i,c){var l,p=Ws(i,c);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!Be(n)?n:n===ln(e.t,r)?(dn(e),e.o[r]=fn(e.A.h,n,e)):n},has:function(e,r){return r in ut(e)},ownKeys:function(e){return Reflect.ownKeys(ut(e))},set:function(e,r,o){var n=Ws(ut(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=ln(ut(e),r),i=a?.[Z];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Vs(o,a)&&(o!==void 0||Yt(e.t,r)))return!0;dn(e),ft(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return ln(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,dn(e),ft(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=ut(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Ar={};Nt(Rr,function(e,r){Ar[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Ar.deleteProperty=function(e,r){return Ar.set.call(this,e,r,void 0)},Ar.set=function(e,r,o){return Rr.set.call(this,e[0],r,o,e[0])};var rd=function(){function e(o){var n=this;this.O=Fs,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(O){var L=this;O===void 0&&(O=l);for(var R=arguments.length,N=Array(R>1?R-1:0),k=1;k<R;k++)N[k-1]=arguments[k];return p.produce(O,function(B){var U;return(U=i).call.apply(U,[L,B].concat(N))})}}var u;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Be(a)){var m=$s(n),h=fn(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?io(m):un(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return sn(m,c),cn(O,m)},function(O){throw io(m),O}):(sn(m,c),cn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Zs&&(u=void 0),n.D&&bn(u,!0),c){var S=[],x=[];je("Patches").M(a,u,S,x),c(S,x)}return u}Te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(h))})};var c,l,p=n.produce(a,i,function(u,m){c=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,l]}):[p,c,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=e.prototype;return r.createDraft=function(o){Be(o)||Te(8),et(o)&&(o=Ql(o));var n=$s(this),a=fn(this,o,void 0);return a[Z].C=!0,un(n),a},r.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return sn(i,n),cn(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Fs&&Te(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=je("Patches").$;return et(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},e}(),Re=new rd,od=Re.produce,Tb=Re.produceWithPatches.bind(Re),Lb=Re.setAutoFreeze.bind(Re),Ib=Re.setUseProxies.bind(Re),_b=Re.applyPatches.bind(Re),Pb=Re.createDraft.bind(Re),kb=Re.finishDraft.bind(Re),lo=od;function Tt(e){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Tt(e)}function Ys(e,r){if(Tt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(Tt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Xs(e){var r=Ys(e,"string");return Tt(r)=="symbol"?r:r+""}function Qs(e,r,o){return(r=Xs(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Js(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Sn(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Js(Object(o),!0).forEach(function(n){Qs(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Js(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ec=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),On=function(){return Math.random().toString(36).substring(7).split("").join(".")},po={INIT:"@@redux/INIT"+On(),REPLACE:"@@redux/REPLACE"+On(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+On()}};function nd(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Cn(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(Cn)(e,r)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=r,c=[],l=c,p=!1;function u(){l===c&&(l=c.slice())}function m(){if(p)throw new Error(pe(3));return i}function h(O){if(typeof O!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var L=!0;return u(),l.push(O),function(){if(L){if(p)throw new Error(pe(6));L=!1,u();var N=l.indexOf(O);l.splice(N,1),c=null}}}function g(O){if(!nd(O))throw new Error(pe(7));if(typeof O.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var L=c=l,R=0;R<L.length;R++){var N=L[R];N()}return O}function S(O){if(typeof O!="function")throw new Error(pe(10));a=O,g({type:po.REPLACE})}function x(){var O,L=h;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function k(){N.next&&N.next(m())}k();var B=L(k);return{unsubscribe:B}}},O[ec]=function(){return this},O}return g({type:po.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[ec]=x,n}function ad(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:po.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:po.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function tc(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,l;try{ad(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var g=!1,S={},x=0;x<i.length;x++){var O=i[x],L=o[O],R=u[O],N=L(R,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(pe(14))}S[O]=N,g=g||N!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function Jt(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function rc(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=r.map(function(p){return p(c)});return i=Jt.apply(void 0,l)(a.dispatch),Sn(Sn({},a),{},{dispatch:i})}}}function oc(e){var r=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,i,e):c(l)}}};return r}var nc=oc();nc.withExtraArgument=oc;var En=nc;var lc=function(){var e=function(r,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),id=function(e,r){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=r.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},er=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},sd=Object.defineProperty,cd=Object.defineProperties,ld=Object.getOwnPropertyDescriptors,ac=Object.getOwnPropertySymbols,dd=Object.prototype.hasOwnProperty,pd=Object.prototype.propertyIsEnumerable,ic=function(e,r,o){return r in e?sd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},ht=function(e,r){for(var o in r||(r={}))dd.call(r,o)&&ic(e,o,r[o]);if(ac)for(var n=0,a=ac(r);n<a.length;n++){var o=a[n];pd.call(r,o)&&ic(e,o,r[o])}return e},An=function(e,r){return cd(e,ld(r))},ud=function(e,r,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},c=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,c)};l((o=o.apply(e,r)).next())})};var fd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jt:Jt.apply(null,arguments)},Qb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function hd(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var yd=function(e){lc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,er([void 0],o[0].concat(this)))):new(r.bind.apply(r,er([void 0],o.concat(this))))},r}(Array),md=function(e){lc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,er([void 0],o[0].concat(this)))):new(r.bind.apply(r,er([void 0],o.concat(this))))},r}(Array);function Nn(e){return Be(e)?lo(e,function(){}):e}function gd(e){return typeof e=="boolean"}function bd(){return function(r){return xd(r)}}function xd(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,l=new yd;if(o&&(gd(o)?l.push(En):l.push(En.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return l}var wn=!0;function dc(e){var r=bd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?r():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(hd(a))S=tc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=c;if(typeof x=="function"&&(x=x(r),!wn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!wn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=rc.apply(void 0,x),L=Jt;p&&(L=fd(ht({trace:!wn},typeof p=="object"&&p)));var R=new md(O),N=R;Array.isArray(g)?N=er([O],g):typeof g=="function"&&(N=g(R));var k=L.apply(void 0,N);return Cn(S,m,k)}function yt(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ht(ht({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function pc(e){var r={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[l]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[r,o,n]}function vd(e){return typeof e=="function"}function Sd(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?pc(r):[r,o,n],i=a[0],c=a[1],l=a[2],p;if(vd(e))p=function(){return Nn(e())};else{var u=Nn(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=er([i[g.type]],c.filter(function(x){var O=x.matcher;return O(g)}).map(function(x){var O=x.reducer;return O}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,O){if(O)if(et(x)){var L=x,R=O(L,g);return R===void 0?x:R}else{if(Be(x))return lo(x,function(N){return O(N,g)});var R=O(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=p,m}function Od(e,r){return e+"/"+r}function uc(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Nn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(m){var h=n[m],g=Od(r,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,l[m]=x?yt(g,x):yt(g)});function p(){var m=typeof e.extraReducers=="function"?pc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,O=m[2],L=O===void 0?void 0:O,R=ht(ht({},g),c);return Sd(o,function(N){for(var k in R)N.addCase(k,R[k]);for(var B=0,U=x;B<U.length;B++){var ye=U[B];N.addMatcher(ye.matcher,ye.reducer)}L&&N.addDefaultCase(L)})}var u;return{name:r,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Cd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ed=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=Cd[Math.random()*64|0];return r},Ad=["name","message","stack","code"],Rn=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),sc=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),wd=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=Ad;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},rx=function(){function e(r,o,n){var a=yt(r+"/fulfilled",function(m,h,g,S){return{payload:m,meta:An(ht({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=yt(r+"/pending",function(m,h,g){return{payload:void 0,meta:An(ht({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=yt(r+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||wd)(m||"Rejected"),meta:An(ht({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,g,S){var x=n?.idGenerator?n.idGenerator(m):Ed(),O=new p,L,R=!1;function N(B){L=B,O.abort()}var k=function(){return ud(this,null,function(){var B,U,ye,Me,ue,We,ie;return id(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Me=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),Nd(Me)?[4,Me]:[3,2];case 1:Me=y.sent(),y.label=2;case 2:if(Me===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ue=new Promise(function(b,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:L||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(b,I){return new Rn(b,I)},fulfillWithValue:function(b,I){return new sc(b,I)}})).then(function(b){if(b instanceof Rn)throw b;return b instanceof sc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return ye=y.sent(),[3,5];case 4:return We=y.sent(),ye=We instanceof Rn?c(null,x,m,We.payload,We.meta):c(We,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(ye)&&ye.meta.condition,ie||h(ye),[2,ye]}})})}();return Object.assign(k,{abort:N,requestId:x,arg:m,unwrap:function(){return k.then(Rd)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function Rd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Nd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var fc="listener",hc="completed",yc="cancelled",ox="task-"+yc,nx="task-"+hc,ax=fc+"-"+yc,ix=fc+"-"+hc;var Tn="listenerMiddleware";var sx=yt(Tn+"/add"),cx=yt(Tn+"/removeAll"),lx=yt(Tn+"/remove");var cc,dx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(cc||(cc=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Td=function(e){return function(r){setTimeout(r,e)}},px=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Td(10);Ks();function Ld(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var uo=class extends Ld(Object){};window.ftReduxStores||(window.ftReduxStores={});var mc=class e extends uo{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(Or(i))return i;if(a==null)return;let c=uc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=dc({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[a.name]=new e(c,l,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new ro;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,l)=>{let p=c,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var bo=v(_());var Pd=v(bc(),1);var xc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(xc||(xc={}));var vc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(vc||(vc={}));var Sc;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Sc||(Sc={}));var Oc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Oc||(Oc={}));var Cc;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Cc||(Cc={}));var Ec;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Ec||(Ec={}));var Ac;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ac||(Ac={}));var wc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(wc||(wc={}));var Rc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Rc||(Rc={}));var Nc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Nc||(Nc={}));var Tc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Tc||(Tc={}));var Lc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Lc||(Lc={}));var Ic;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ic||(Ic={}));var _c;(function(e){e.ASC="ASC",e.DESC="DESC"})(_c||(_c={}));var Pc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Pc||(Pc={}));var kc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(kc||(kc={}));var Dc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Dc||(Dc={}));var Bc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Bc||(Bc={}));var Uc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Uc||(Uc={}));var $c;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})($c||($c={}));var Mc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Mc||(Mc={}));var Wc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Wc||(Wc={}));var oe;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(oe||(oe={}));var zc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(zc||(zc={}));var Hc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Hc||(Hc={}));var Fc;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Fc||(Fc={}));var _d={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.GENERATIVE_AI_EXPORT_USER]:[oe.GENERATIVE_AI_USER]};function Gc(e,r){return e===r||(_d[e]??[]).some(o=>Gc(o,r))}function jc(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>Gc(n,r))}var yo=class extends dt{async listMySearches(){let{session:r}=P.getState();return jc(r,oe.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var mo=class extends dt{async listMyBookmarks(){let r=P.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var kd="ft-user-assets",go=bo.FtReduxStore.get({name:kd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ln=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new mo,this.savedSearchesService=new yo,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=P.getState();(0,bo.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),go.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),go.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();go.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;go.actions.bookmarks(o)}}},sv=new Ln;var In=class{addCommand(r,o=!1){P.commands.add(r,o)}consumeCommand(r){return P.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new In;var Vc=v(_()),_n=class{highlightHtml(r,o,n){(0,Vc.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new _n;var Kc=v(_());var Pn=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=P.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return Kc.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Pn;var Zc=v(_());var Nr=class{static get(r,o){var n,a,i,c;let l=P.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Zc.SearchPlaceConverter(l.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},r??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var kn=class{urlToSearchRequest(r){return Nr.get().parse(r)}searchRequestToUrl(r){return Nr.get().serialize(r)}};window.FluidTopicsUrlService=new kn;(0,qc.customElement)("ft-app-context")(Q);var el=v(ee());var Dd=v(_());function Yc(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Bd=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Xc=Symbol("i18nAttributes"),Qc=Symbol("i18nListAttributes"),tl=Symbol("i18nProperties"),xo=Symbol("i18nContexts"),Tr=Symbol("i18nUnsubs");function Oo(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?Jr:Zt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let l=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...l)}customI18n(i,c){if(Yc(i)){let[l,p]=i.split(".");return this.i18n({custom:!0,context:l,key:p,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,l,p)=>i.has(l)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,l,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,l;let p=this,u=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(c=this[Xc])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(l=this[Qc])===null||l===void 0||l.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(i){var c;(c=this[tl])===null||c===void 0||c.forEach((l,p)=>{i(l,p)&&(this[p]=this.i18n(l))})}addI18nMessages(i,c,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,l)}addI18nContext(i,c,l){let p=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[xo].set(p,{isCustomContext:l}),this[Tr].has(p)||this[Tr].set(p,this.getI18nService(l).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(l).prepareContext(p,c)}hasI18nContext(i){return this[xo].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[xo].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Tr].forEach(i=>i()),this[Tr].clear()}}return r=xo,o=Tr,Bd([(0,el.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Jc=class extends Oo(So.FtLitElement){},vo=class extends Oo(So.FtLitElementRedux){};var Lr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ue=class extends vo{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Co.nothing:Co.html`
|
|
1214
1215
|
<span class="ft-i18n">
|
|
1215
1216
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1216
1217
|
</span>
|
|
1217
|
-
`}update(
|
|
1218
|
-
<div class=${(0,
|
|
1218
|
+
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ue.elementDefinitions={};Ue.styles=vs;Lr([(0,Ao.redux)()],Ue.prototype,"editorMode",void 0);Lr([(0,Eo.property)()],Ue.prototype,"context",void 0);Lr([(0,Eo.property)()],Ue.prototype,"key",void 0);Lr([(0,Ao.jsonProperty)([])],Ue.prototype,"args",void 0);Lr([(0,Eo.property)()],Ue.prototype,"defaultMessage",void 0);var wo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Jr:Zt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,rl.customElement)("ft-i18n")(Ue);var gt=wo.build("designedReaderToc"),ol={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var F=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},M=class extends Oo(Lt){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Ee.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ee.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=xe.M,this.nodesToExpandExist=!1,this.addI18nContext(gt,ol)}update(r){var o,n,a;super.update(r),r.has("toc")&&(this.nodesToExpandExist=((o=this.toc)!==null&&o!==void 0?o:[]).some(i=>i.children.length>0)),r.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(r){var o,n;if(super.contentAvailableCallback(r),this.scrollCurrentTopicIntoView&&r.has("highlightedTocIds")&&this.highlightedTocIds&&((o=this.highlightedTocIds)===null||o===void 0?void 0:o.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&$e.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var r;let o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===xe.S,"ft-reader-toc-desktop":this.viewportSize!==xe.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return Oe.html`
|
|
1219
|
+
<div class=${(0,nl.classMap)(o)}>
|
|
1219
1220
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1220
1221
|
${this.renderExpandCollapseAll()}
|
|
1221
|
-
${(0,
|
|
1222
|
+
${(0,Dn.repeat)((r=this.toc)!==null&&r!==void 0?r:[],n=>n.tocId,n=>this.renderNode(n))}
|
|
1222
1223
|
</div>
|
|
1223
|
-
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?
|
|
1224
|
+
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?Oe.html`
|
|
1224
1225
|
<div part="expand-collapse-all-container"
|
|
1225
1226
|
class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
|
|
1226
1227
|
<ft-button part="expand-collapse-all"
|
|
1227
1228
|
class="ft-reader-toc--expand-collapse-all-button"
|
|
1228
1229
|
iconVariant="${this.expandCollapseAllIconVariant}"
|
|
1229
1230
|
icon="${this.expandCollapseAllHideIcon?"":this.expandAll?this.collapseAllIcon||"ICON_COLLAPSE":this.expandAllIcon||"ICON_EXPAND"}"
|
|
1230
|
-
label="${this.expandAll?
|
|
1231
|
+
label="${this.expandAll?gt.messages.collapseAllLong():gt.messages.expandAllLong()}"
|
|
1231
1232
|
tooltipPosition="${this.getExpandCollapseAllTooltipPosition()}"
|
|
1232
1233
|
?trailingIcon=${this.expandCollapseAllTrailingIcon}
|
|
1233
1234
|
@click=${()=>this.toggleExpandCollapseAll()}>
|
|
1234
|
-
${this.expandCollapseAllHideLabel?"":this.expandAll?
|
|
1235
|
+
${this.expandCollapseAllHideLabel?"":this.expandAll?gt.messages.collapseAll():gt.messages.expandAll()}
|
|
1235
1236
|
</ft-button>
|
|
1236
1237
|
</div>
|
|
1237
|
-
`:
|
|
1238
|
+
`:Oe.nothing}renderNode(r){var o,n,a;let i=(o=this.highlightedTocIds)===null||o===void 0?void 0:o.includes(r.tocId),c=this.expanded||this.manuallyExpandedNodes.has(r.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(r.tocId))&&!this.manuallyCollapsedNodes.has(r.tocId),l=r.children.length>0,p=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,u=r.depth-1-p,m={"padding-left":`calc( ${ae.tabulationSize} * ${u} + 4px)`};return Oe.html`
|
|
1238
1239
|
<div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
|
|
1239
|
-
<div class="ft-reader-toc--link-container" data-depth="${
|
|
1240
|
-
${this.nodesToExpandExist&&!this.expanded?
|
|
1240
|
+
<div class="ft-reader-toc--link-container" data-depth="${r.depth}" style=${(0,al.styleMap)(m)}>
|
|
1241
|
+
${this.nodesToExpandExist&&!this.expanded?Oe.html`
|
|
1241
1242
|
<div class="ft-reader-toc--toggle-container">
|
|
1242
|
-
${
|
|
1243
|
+
${l?Oe.html`
|
|
1243
1244
|
<ft-button part="expand-collapse-node"
|
|
1244
1245
|
class="ft-reader-toc--tree-node-button"
|
|
1245
1246
|
round hideTooltip
|
|
1246
|
-
?dense=${this.viewportSize!==
|
|
1247
|
-
label="${
|
|
1247
|
+
?dense=${this.viewportSize!==xe.S}
|
|
1248
|
+
label="${c?gt.messages.collapse(r.title):gt.messages.expand(r.title)}"
|
|
1248
1249
|
.iconVariant="${this.iconVariant}"
|
|
1249
|
-
icon="${
|
|
1250
|
-
@click=${()=>this.manuallyToggle(
|
|
1251
|
-
data-expand-node="${
|
|
1252
|
-
aria-controls="${
|
|
1253
|
-
aria-expanded="${
|
|
1250
|
+
icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
1251
|
+
@click=${()=>this.manuallyToggle(r.tocId,c)}
|
|
1252
|
+
data-expand-node="${r.tocId}"
|
|
1253
|
+
aria-controls="${r.tocId}-children"
|
|
1254
|
+
aria-expanded="${c}">
|
|
1254
1255
|
</ft-button>
|
|
1255
1256
|
`:this.getLeafNodeIcon()}
|
|
1256
1257
|
</div>
|
|
1257
|
-
`:
|
|
1258
|
-
${this.translationLoading?
|
|
1259
|
-
<ft-skeleton></ft-skeleton>`:
|
|
1258
|
+
`:l?Oe.nothing:this.getLeafNodeIcon()}
|
|
1259
|
+
${this.translationLoading?Oe.html`
|
|
1260
|
+
<ft-skeleton></ft-skeleton>`:Oe.html`
|
|
1260
1261
|
<ft-reader-internal-link part="node-link"
|
|
1261
|
-
tocId="${
|
|
1262
|
+
tocId="${r.tocId}"
|
|
1262
1263
|
removeStyle>
|
|
1263
|
-
<ft-typography part="node-label" variant="body2">${
|
|
1264
|
+
<ft-typography part="node-label" variant="body2">${r.title}</ft-typography>
|
|
1264
1265
|
</ft-reader-internal-link>
|
|
1265
1266
|
`}
|
|
1266
1267
|
</div>
|
|
1267
|
-
${
|
|
1268
|
-
<div id="${
|
|
1268
|
+
${l?Oe.html`
|
|
1269
|
+
<div id="${r.tocId}-children"
|
|
1269
1270
|
class="ft-reader-toc--node-children"
|
|
1270
|
-
?hidden=${!
|
|
1271
|
-
${(0,
|
|
1271
|
+
?hidden=${!c}>
|
|
1272
|
+
${(0,Dn.repeat)(c?r.children:[],h=>h.tocId,h=>this.renderNode(h))}
|
|
1272
1273
|
</div>
|
|
1273
|
-
`:
|
|
1274
|
+
`:Oe.nothing}
|
|
1274
1275
|
</div>
|
|
1275
|
-
`}buildAutomaticallyExpandedNodes(
|
|
1276
|
+
`}buildAutomaticallyExpandedNodes(r){var o,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of r){let c=i;for(;c&&!a.has(c);)a.add(c),this.manuallyCollapsedNodes.delete(c),c=(n=(o=this.service)===null||o===void 0?void 0:o.getTocNodeNow(c))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(r,o){o?(this.manuallyCollapsedNodes.add(r),this.manuallyExpandedNodes.delete(r)):(this.manuallyExpandedNodes.add(r),this.manuallyCollapsedNodes.delete(r)),this.requestUpdate()}onViewportSizeChange(r){this.viewportSize=r.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return Oe.html`
|
|
1276
1277
|
<ft-icon class="ft-reader-toc--leaf-node-icon"
|
|
1277
1278
|
part="leaf-node-icon"
|
|
1278
1279
|
.variant="${this.leafNodeIconVariant}"
|
|
1279
1280
|
.value="${this.leafNodeIcon}"></ft-icon>
|
|
1280
|
-
`}};
|
|
1281
|
+
`}};M.elementDefinitions={"ft-button":Pe,"ft-icon":he,"ft-reader-internal-link":Le,"ft-size-watcher":we,"ft-typography":Ce,"ft-skeleton":lt};M.styles=fs;F([(0,G.property)({type:Boolean})],M.prototype,"expanded",void 0);F([(0,G.property)()],M.prototype,"iconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseIcon",void 0);F([(0,G.property)()],M.prototype,"expandIcon",void 0);F([(0,G.property)()],M.prototype,"leafNodeIconVariant",void 0);F([(0,G.property)()],M.prototype,"leafNodeIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAll",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideLabel",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllTrailingIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllAlignment",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"expandCollapseAllHideIcon",void 0);F([(0,G.property)()],M.prototype,"expandCollapseAllIconVariant",void 0);F([(0,G.property)()],M.prototype,"collapseAllIcon",void 0);F([(0,G.property)()],M.prototype,"expandAllIcon",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"autoCollapse",void 0);F([(0,G.property)({type:Boolean})],M.prototype,"scrollCurrentTopicIntoView",void 0);F([(0,G.property)()],M.prototype,"scope",void 0);F([(0,G.property)({type:Boolean,reflect:!0})],M.prototype,"empty",void 0);F([(0,$e.redux)({selector:(e,r)=>{var o,n,a;return r.isCurrentPageToc?!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc?(n=e.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=e.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?e.pagesToc:e.toc}})],M.prototype,"toc",void 0);F([(0,$e.redux)()],M.prototype,"currentPage",void 0);F([(0,$e.redux)({selector:(e,r)=>{var o,n;return!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc&&!r.isCurrentPageToc?!((n=e.currentPage)===null||n===void 0)&&n.rootTocId?[e.currentPage.rootTocId]:[]:e.visibleTopics}})],M.prototype,"highlightedTocIds",void 0);F([(0,$e.redux)({selector:e=>e.translation.isLoading})],M.prototype,"translationLoading",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"automaticallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyExpandedNodes",void 0);F([(0,G.state)({hasChanged:$e.hasChanged})],M.prototype,"manuallyCollapsedNodes",void 0);F([(0,G.state)()],M.prototype,"expandAll",void 0);F([(0,G.state)()],M.prototype,"viewportSize",void 0);(0,il.customElement)("ft-reader-toc")(M);})();
|
|
1281
1282
|
/*! Bundled license information:
|
|
1282
1283
|
|
|
1283
1284
|
lit-html/lit-html.js:
|