@fluid-topics/ft-reader-toc 1.2.39 → 1.2.41
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 +131 -131
- package/build/ft-reader-toc.min.js +134 -134
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
\f\r]`,Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),zn=/'/g,Mn=/"/g,Fn=/^(?:script|style|textarea|title)$/i,wr=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),jn=wr(1),Vn=wr(2),Kn=wr(3),Yt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Un=new WeakMap,ft=pt.createTreeWalker(pt,129);function Zn(o,t){if(!Or(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return $n!==void 0?$n.createHTML(t):t}var Ol=(o,t)=>{let r=o.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",l=Kt;for(let d=0;d<r;d++){let p=o[d],f,h,y=-1,m=0;for(;m<p.length&&(l.lastIndex=m,h=l.exec(p),h!==null);)m=l.lastIndex,l===Kt?h[1]==="!--"?l=Wn:h[1]!==void 0?l=Dn:h[2]!==void 0?(Fn.test(h[2])&&(a=RegExp("</"+h[2],"g")),l=dt):h[3]!==void 0&&(l=dt):l===dt?h[0]===">"?(l=a??Kt,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?dt:h[3]==='"'?Mn:zn):l===Mn||l===zn?l=dt:l===Wn||l===Dn?l=Kt:(l=dt,a=void 0);let x=l===dt&&o[d+1].startsWith("/>")?" ":"";i+=l===Kt?p+Sl:y>=0?(n.push(f),p.slice(0,y)+Hn+p.slice(y)+Ve+x):p+Ve+(y===-2?d:x)}return[Zn(o,i+(o[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},qt=class o{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,d=t.length-1,p=this.parts,[f,h]=Ol(t,r);if(this.el=o.createElement(f,n),ft.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=ft.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Hn)){let m=h[l++],x=a.getAttribute(y).split(Ve),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:x,ctor:g[1]==="."?br:g[1]==="?"?xr:g[1]==="@"?vr:Et}),a.removeAttribute(y)}else y.startsWith(Ve)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(Fn.test(a.tagName)){let y=a.textContent.split(Ve),m=y.length-1;if(m>0){a.textContent=vo?vo.emptyScript:"";for(let x=0;x<m;x++)a.append(y[x],So()),ft.nextNode(),p.push({type:2,index:++i});a.append(y[m],So())}}}else if(a.nodeType===8)if(a.data===Gn)p.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(Ve,y+1))!==-1;)p.push({type:7,index:i}),y+=Ve.length-1}i++}}static createElement(t,r){let n=pt.createElement("template");return n.innerHTML=t,n}};function wt(o,t,r=o,n){if(t===Yt)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Zt(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=wt(o,a._$AS(o,t.values),a,n)),t}var gr=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??pt).importNode(r,!0);ft.currentNode=a;let i=ft.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new Co(i,i.nextSibling,this,t):p.type===1?f=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(f=new Sr(i,this,t)),this._$AV.push(f),p=n[++d]}l!==p?.index&&(i=ft.nextNode(),l++)}return ft.currentNode=pt,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++}},Co=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=wt(this,t,r),Zt(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):Cl(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&&Zt(this._$AH)?this._$AA.nextSibling.data=t:this.T(pt.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=qt.createElement(Zn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new gr(a,this),l=i.u(this.options);i.p(r),this.T(l),this._$AH=i}}_$AC(t){let r=Un.get(t.strings);return r===void 0&&Un.set(t.strings,r=new qt(t)),r}k(t){Or(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(So()),this.O(So()),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))}},Et=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=wt(this,t,r,0),l=!Zt(t)||t!==this._$AH&&t!==Yt,l&&(this._$AH=t);else{let d=t,p,f;for(t=i[0],p=0;p<i.length-1;p++)f=wt(this,d[n+p],r,p),f===Yt&&(f=this._$AH[p]),l||=!Zt(f)||f!==this._$AH[p],f===X?t=X:t!==X&&(t+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},br=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}},xr=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},vr=class extends Et{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=wt(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)}},Sr=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){wt(this,t)}};var wl=Cr.litHtmlPolyfillSupport;wl?.(qt,Co),(Cr.litHtmlVersions??=[]).push("3.3.0");var qn=Symbol.for(""),El=o=>{if(o?.r===qn)return o?._$litStatic$},Er=o=>({_$litStatic$:o,r:qn});var Yn=new Map,Nr=o=>(t,...r)=>{let n=r.length,a,i,l=[],d=[],p,f=0,h=!1;for(;f<n;){for(p=t[f];f<n&&(i=r[f],(a=El(i))!==void 0);)p+=a+t[++f],h=!0;f!==n&&d.push(i),l.push(p),f++}if(f===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=d}return o(t,...r)},Ar=Nr(jn),Qs=Nr(Vn),ed=Nr(Kn);var Rr=b(Z()),Wa=b(L());var Ke;(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"})(Ke||(Ke={}));var Se=b($()),w=b(L());var Be=b($(),1),Ze=o=>typeof o=="string"?(0,Be.unsafeCSS)(o):o,e=class{static create(t,r,n,a){let i=d=>Ze(d??a),l=Be.css`var(${Ze(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>Be.css`var(${Ze(t)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,n,a){let i=d=>n.get(d??a),l=Be.css`var(${Ze(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=d=>Be.css`var(${Ze(t)}, ${i(d)})`,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):Ze(i??t.lastResortDefaultValue()),a=Be.css`var(${Ze(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=>Be.css`var(${Ze(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)")},Xn={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")},Jn={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")},Qn={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")},ea={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")},ta={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")},oa={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")},ra={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")},na={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")},aa={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")},Nl={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")},ia={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")},ca={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")},la={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")},sa={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")},da={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")},fa={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")},pa={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")},ua={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")},ha={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")},ya={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")},ma={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")},ga={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")},ba={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")},xa={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")},va={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")},Sa={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")},Oo={display:Xn,"title-1":Jn,"title-2":Qn,"title-3":ea,"body-1-regular":ta,"body-1-medium":oa,"body-1-semibold":ra,"body-2-regular":na,"body-2-medium":aa,"body-2-medium-underline":Nl,"body-2-semibold":ia,"label-1-medium":ca,"label-1-semibold":la,"label-1-bold":sa,"label-2-medium":da,"label-2-semibold":fa,"label-2-bold":pa,"caption-1-medium":ua,"caption-1-semibold":ha,"caption-1-bold":ya,"caption-2-medium":ma,"caption-2-semibold":ga,"caption-2-bold":ba,"caption-3-medium":xa,"caption-3-semibold":va,"caption-3-bold":Sa};var s={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","",s.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",s.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",s.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",s.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","",s.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",s.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",s.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",s.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","",s.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",s.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",s.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","",s.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",s.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",s.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","",s.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",s.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",s.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","",s.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",s.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",s.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","",s.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",s.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",s.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","",s.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",s.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",s.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","",s.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","",s.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",s.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",s.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",s.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","",s.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",s.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",s.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",s.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","",s.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",s.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",s.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",s.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","",s.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",s.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",s.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",s.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","",s.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",s.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",s.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",s.contentErrorPrimary)};var bd={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","",s.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",s.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","",s.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 Od={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",s.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",s.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",s.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",s.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",s.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",s.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","",s.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","",s.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 Rd={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","",s.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","",s.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",s.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",s.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",s.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","",s.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","",s.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",s.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",s.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",s.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",s.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 Td={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","",s.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var Dd={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",s.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",s.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",s.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",s.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",s.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",s.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",s.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",s.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",s.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",s.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",s.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",s.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",s.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",s.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",s.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Gd={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","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var Zd={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","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",s.contentActionPrimary)};var Qd={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",s.contentGlobalSubtle)};var nf={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","",s.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",s.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","",s.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var df={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","",s.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var hf={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var xf={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","",s.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","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",s.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 wf={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",s.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","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",s.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","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",s.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 Lf={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","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",s.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","",s.borderActionFocusRing)};var _f={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","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",s.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","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var zf={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",s.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 Ff={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","",s.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",s.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","",s.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Yf={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","",s.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.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 ep={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.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 ap={backgroundColor:e.extend("--ft-popover-background-color","",s.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","",s.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",s.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 dp={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","",s.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","",s.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var yp={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","",s.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",s.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","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",s.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","",s.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var xp={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 Op={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 Rp={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","",s.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",s.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 Tp={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","",s.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:e.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var Dp={color:e.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",s.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","",s.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",s.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","",s.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 Gp={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","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",s.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 Zp={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","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",s.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 Qp={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","",s.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","",s.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","",s.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","",s.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",s.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",s.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","",s.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",s.backgroundGlobalOnSurfaceDark)};var wo;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(wo||(wo={}));var Nt;(function(o){o.large="large",o.medium="medium",o.small="small"})(Nt||(Nt={}));var Eo=b($());function Ca(o){let t=Oo[o];return Eo.css`
|
|
5
|
-
.ft-typography--${(0,
|
|
1
|
+
"use strict";(()=>{var hl=Object.create;var En=Object.defineProperty;var yl=Object.getOwnPropertyDescriptor;var ml=Object.getOwnPropertyNames;var gl=Object.getPrototypeOf,bl=Object.prototype.hasOwnProperty;var dt=(o,t)=>()=>(t||o((t={exports:{}}).exports,t),t.exports);var xl=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ml(t))!bl.call(o,a)&&a!==r&&En(o,a,{get:()=>t[a],enumerable:!(n=yl(t,a))||n.enumerable});return o};var b=(o,t,r)=>(r=o!=null?hl(gl(o)):{},xl(t||!o||!o.__esModule?En(r,"default",{value:o,enumerable:!0}):r,o));var L=dt((Gs,Nn)=>{Nn.exports=ftGlobals.wcUtils});var $=dt((Fs,An)=>{An.exports=ftGlobals.lit});var Ln=dt((js,Rn)=>{Rn.exports=ftGlobals.litRepeat});var Vt=dt((Vs,In)=>{In.exports=ftGlobals.litClassMap});var kn=dt((Ks,Pn)=>{Pn.exports=ftGlobals.litStyleMap});var Z=dt((Zs,Tn)=>{Tn.exports=ftGlobals.litDecorators});var Va=dt((Bh,ja)=>{ja.exports=ftGlobals.litUnsafeHTML});var ul=b(L());var fe=b($()),wn=b(Ln()),fl=b(Vt()),pl=b(kn()),z=b(Z()),Pe=b(L());var Bn=b(L()),$n=b(Z());var _n;(function(o){o.FEEDBACK="FEEDBACK",o.RATING="RATING",o.PRINT="PRINT",o.BOOKMARK="BOOKMARK",o.COLLECTIONS="COLLECTIONS",o.PERSONAL_BOOKS="PERSONAL_BOOKS"})(_n||(_n={}));var vl=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},mr=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},yr=Symbol("registerInterval");function Sl(o){var t;class r extends o{constructor(){super(...arguments),this[t]=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[yr]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[yr]):this.dispatchEvent(new mr)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=yr,vl([(0,$n.state)()],r.prototype,"stateManager",void 0),r}var Ot=class extends Sl(Bn.FtLitElementRedux){};var za=b(L());var Or=globalThis,So=Or.trustedTypes,Wn=So?So.createPolicy("lit-html",{createHTML:o=>o}):void 0,Gn="$lit$",Ve=`lit$${Math.random().toFixed(9).slice(2)}$`,Fn="?"+Ve,Cl=`<${Fn}>`,ut=document,Co=()=>ut.createComment(""),Zt=o=>o===null||typeof o!="object"&&typeof o!="function",wr=Array.isArray,Ol=o=>wr(o)||typeof o?.[Symbol.iterator]=="function",gr=`[
|
|
2
|
+
\f\r]`,Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dn=/-->/g,zn=/>/g,ft=RegExp(`>|${gr}(?:([^\\s"'>=/]+)(${gr}*=${gr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mn=/'/g,Un=/"/g,jn=/^(?:script|style|textarea|title)$/i,Er=o=>(t,...r)=>({_$litType$:o,strings:t,values:r}),Vn=Er(1),Kn=Er(2),Zn=Er(3),Yt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Hn=new WeakMap,pt=ut.createTreeWalker(ut,129);function Yn(o,t){if(!wr(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wn!==void 0?Wn.createHTML(t):t}var wl=(o,t)=>{let r=o.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",l=Kt;for(let d=0;d<r;d++){let p=o[d],f,h,y=-1,m=0;for(;m<p.length&&(l.lastIndex=m,h=l.exec(p),h!==null);)m=l.lastIndex,l===Kt?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??Kt,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,f=h[1],l=h[3]===void 0?ft:h[3]==='"'?Un:Mn):l===Un||l===Mn?l=ft:l===Dn||l===zn?l=Kt:(l=ft,a=void 0);let x=l===ft&&o[d+1].startsWith("/>")?" ":"";i+=l===Kt?p+Cl:y>=0?(n.push(f),p.slice(0,y)+Gn+p.slice(y)+Ve+x):p+Ve+(y===-2?d:x)}return[Yn(o,i+(o[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},qt=class o{constructor({strings:t,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,d=t.length-1,p=this.parts,[f,h]=wl(t,r);if(this.el=o.createElement(f,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&&p.length<d;){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(Ve),g=/([.?@])?(.*)/.exec(m);p.push({type:1,index:i,name:g[2],strings:x,ctor:g[1]==="."?xr:g[1]==="?"?vr:g[1]==="@"?Sr:Et}),a.removeAttribute(y)}else y.startsWith(Ve)&&(p.push({type:6,index:i}),a.removeAttribute(y));if(jn.test(a.tagName)){let y=a.textContent.split(Ve),m=y.length-1;if(m>0){a.textContent=So?So.emptyScript:"";for(let x=0;x<m;x++)a.append(y[x],Co()),pt.nextNode(),p.push({type:2,index:++i});a.append(y[m],Co())}}}else if(a.nodeType===8)if(a.data===Fn)p.push({type:2,index:i});else{let y=-1;for(;(y=a.data.indexOf(Ve,y+1))!==-1;)p.push({type:7,index:i}),y+=Ve.length-1}i++}}static createElement(t,r){let n=ut.createElement("template");return n.innerHTML=t,n}};function wt(o,t,r=o,n){if(t===Yt)return t;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Zt(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=wt(o,a._$AS(o,t.values),a,n)),t}var br=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,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let f;p.type===2?f=new Oo(i,i.nextSibling,this,t):p.type===1?f=new p.ctor(i,p.name,p.strings,this,t):p.type===6&&(f=new Cr(i,this,t)),this._$AV.push(f),p=n[++d]}l!==p?.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++}},Oo=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=wt(this,t,r),Zt(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):Ol(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&&Zt(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=qt.createElement(Yn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new br(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 qt(t)),r}k(t){wr(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(Co()),this.O(Co()),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))}},Et=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=wt(this,t,r,0),l=!Zt(t)||t!==this._$AH&&t!==Yt,l&&(this._$AH=t);else{let d=t,p,f;for(t=i[0],p=0;p<i.length-1;p++)f=wt(this,d[n+p],r,p),f===Yt&&(f=this._$AH[p]),l||=!Zt(f)||f!==this._$AH[p],f===X?t=X:t!==X&&(t+=(f??"")+i[p+1]),this._$AH[p]=f}l&&!a&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},xr=class extends Et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}},vr=class extends Et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},Sr=class extends Et{constructor(t,r,n,a,i){super(t,r,n,a,i),this.type=5}_$AI(t,r=this){if((t=wt(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)}},Cr=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){wt(this,t)}};var El=Or.litHtmlPolyfillSupport;El?.(qt,Oo),(Or.litHtmlVersions??=[]).push("3.3.0");var Xn=Symbol.for(""),Nl=o=>{if(o?.r===Xn)return o?._$litStatic$},Nr=o=>({_$litStatic$:o,r:Xn});var qn=new Map,Ar=o=>(t,...r)=>{let n=r.length,a,i,l=[],d=[],p,f=0,h=!1;for(;f<n;){for(p=t[f];f<n&&(i=r[f],(a=Nl(i))!==void 0);)p+=a+t[++f],h=!0;f!==n&&d.push(i),l.push(p),f++}if(f===n&&l.push(t[n]),h){let y=l.join("$$lit$$");(t=qn.get(y))===void 0&&(l.raw=l,qn.set(y,t=l)),r=d}return o(t,...r)},Rr=Ar(Vn),ed=Ar(Kn),td=Ar(Zn);var Lr=b(Z()),Da=b(L());var Ke;(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"})(Ke||(Ke={}));var Se=b($()),w=b(L());var $e=b($(),1),Ze=o=>typeof o=="string"?(0,$e.unsafeCSS)(o):o,e=class{static create(t,r,n,a){let i=d=>Ze(d??a),l=$e.css`var(${Ze(t)}, ${i(a)})`;return l.name=t,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=d=>$e.css`var(${Ze(t)}, ${i(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(t,r,n,a){let i=d=>n.get(d??a),l=$e.css`var(${Ze(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=d=>$e.css`var(${Ze(t)}, ${i(d)})`,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):Ze(i??t.lastResortDefaultValue()),a=$e.css`var(${Ze(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=>$e.css`var(${Ze(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")},Al={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")},wo={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":Al,"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 s={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","",s.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",s.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",s.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",s.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","",s.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",s.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",s.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",s.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","",s.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",s.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",s.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","",s.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",s.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",s.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","",s.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",s.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",s.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","",s.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",s.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",s.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","",s.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",s.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",s.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","",s.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",s.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",s.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","",s.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","",s.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",s.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",s.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",s.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","",s.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",s.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",s.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",s.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","",s.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",s.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",s.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",s.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","",s.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",s.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",s.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",s.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","",s.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",s.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",s.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",s.contentErrorPrimary)};var xd={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","",s.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",s.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","",s.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 wd={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",s.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",s.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",s.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",s.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",s.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",s.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","",s.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","",s.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 Ld={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","",s.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","",s.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",s.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",s.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",s.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","",s.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","",s.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",s.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",s.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",s.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",s.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 _d={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","",s.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var zd={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",s.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",s.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",s.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",s.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",s.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",s.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",s.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",s.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",s.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",s.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",s.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",s.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",s.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",s.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",s.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Fd={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","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var Yd={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","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",s.contentActionPrimary)};var ef={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",s.contentGlobalSubtle)};var af={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","",s.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",s.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","",s.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var ff={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","",s.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var yf={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var vf={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","",s.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","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",s.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 Ef={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:e.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",s.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","",s.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",s.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","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",s.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 If={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","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",s.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","",s.borderActionFocusRing)};var Bf={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","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",s.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","",s.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Mf={backgroundColor:e.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",s.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 jf={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","",s.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",s.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","",s.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var qf={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","",s.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",s.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","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.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 tp={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.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 ip={backgroundColor:e.extend("--ft-popover-background-color","",s.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","",s.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:e.extend("--ft-popover-link-color","",s.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 fp={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","",s.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","",s.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",c.iconSize3)};var mp={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","",s.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",s.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","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",s.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","",s.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var vp={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 wp={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 Lp={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","",s.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",s.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 _p={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","",s.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",s.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","",s.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:e.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",c.spacing3)};var zp={color:e.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",s.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","",s.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",s.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","",s.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 Fp={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","",s.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",s.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 Yp={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","",s.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",s.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 eu={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","",s.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","",s.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","",s.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","",s.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",s.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",s.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","",s.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",s.backgroundGlobalOnSurfaceDark)};var Eo;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(Eo||(Eo={}));var Nt;(function(o){o.large="large",o.medium="medium",o.small="small"})(Nt||(Nt={}));var No=b($());function Oa(o){let t=wo[o];return No.css`
|
|
5
|
+
.ft-typography--${(0,No.unsafeCSS)(o)} {
|
|
6
6
|
font-family: ${t.fontFamily};
|
|
7
7
|
font-size: ${t.fontSize};
|
|
8
8
|
font-weight: ${t.fontWeight};
|
|
@@ -10,7 +10,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
10
10
|
line-height: ${t.lineHeight};
|
|
11
11
|
text-transform: ${t.textCase};
|
|
12
12
|
}
|
|
13
|
-
`}var
|
|
13
|
+
`}var wa=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),We=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),A={fontFamily:We,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")},At={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",wa),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},Rt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",wa),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},Lt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},It={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},Pt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Tt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},_t={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Bt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},ke={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",We),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},Ea=Se.css`
|
|
14
14
|
.ft-typography--title {
|
|
15
15
|
font-family: ${At.fontFamily};
|
|
16
16
|
font-size: ${At.fontSize};
|
|
@@ -19,7 +19,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
19
19
|
line-height: ${At.lineHeight};
|
|
20
20
|
text-transform: ${At.textTransform};
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
22
|
+
`,Na=Se.css`
|
|
23
23
|
.ft-typography--title-dense {
|
|
24
24
|
font-family: ${Rt.fontFamily};
|
|
25
25
|
font-size: ${Rt.fontSize};
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
28
28
|
line-height: ${Rt.lineHeight};
|
|
29
29
|
text-transform: ${Rt.textTransform};
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Aa=Se.css`
|
|
32
32
|
.ft-typography--subtitle1 {
|
|
33
33
|
font-family: ${Lt.fontFamily};
|
|
34
34
|
font-size: ${Lt.fontSize};
|
|
@@ -37,7 +37,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
37
37
|
line-height: ${Lt.lineHeight};
|
|
38
38
|
text-transform: ${Lt.textTransform};
|
|
39
39
|
}
|
|
40
|
-
`,
|
|
40
|
+
`,Ra=Se.css`
|
|
41
41
|
.ft-typography--subtitle2 {
|
|
42
42
|
font-family: ${It.fontFamily};
|
|
43
43
|
font-size: ${It.fontSize};
|
|
@@ -47,7 +47,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
47
47
|
text-transform: ${It.textTransform};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
`,
|
|
50
|
+
`,La=Se.css`
|
|
51
51
|
.ft-typography--body1 {
|
|
52
52
|
font-family: ${Pt.fontFamily};
|
|
53
53
|
font-size: ${Pt.fontSize};
|
|
@@ -56,7 +56,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
56
56
|
line-height: ${Pt.lineHeight};
|
|
57
57
|
text-transform: ${Pt.textTransform};
|
|
58
58
|
}
|
|
59
|
-
`,
|
|
59
|
+
`,Ia=Se.css`
|
|
60
60
|
.ft-typography--body2 {
|
|
61
61
|
font-family: ${kt.fontFamily};
|
|
62
62
|
font-size: ${kt.fontSize};
|
|
@@ -65,7 +65,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
65
65
|
line-height: ${kt.lineHeight};
|
|
66
66
|
text-transform: ${kt.textTransform};
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,Pa=Se.css`
|
|
69
69
|
.ft-typography--caption {
|
|
70
70
|
font-family: ${Tt.fontFamily};
|
|
71
71
|
font-size: ${Tt.fontSize};
|
|
@@ -74,7 +74,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
74
74
|
line-height: ${Tt.lineHeight};
|
|
75
75
|
text-transform: ${Tt.textTransform};
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,ka=Se.css`
|
|
78
78
|
.ft-typography--breadcrumb {
|
|
79
79
|
font-family: ${_t.fontFamily};
|
|
80
80
|
font-size: ${_t.fontSize};
|
|
@@ -83,7 +83,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
83
83
|
line-height: ${_t.lineHeight};
|
|
84
84
|
text-transform: ${_t.textTransform};
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,Ta=Se.css`
|
|
87
87
|
.ft-typography--overline {
|
|
88
88
|
font-family: ${Bt.fontFamily};
|
|
89
89
|
font-size: ${Bt.fontSize};
|
|
@@ -92,100 +92,100 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
92
92
|
line-height: ${Bt.lineHeight};
|
|
93
93
|
text-transform: ${Bt.textTransform};
|
|
94
94
|
}
|
|
95
|
-
`,Ta=Se.css`
|
|
96
|
-
.ft-typography--button {
|
|
97
|
-
font-family: ${Pe.fontFamily};
|
|
98
|
-
font-size: ${Pe.fontSize};
|
|
99
|
-
font-weight: ${Pe.fontWeight};
|
|
100
|
-
letter-spacing: ${Pe.letterSpacing};
|
|
101
|
-
line-height: ${Pe.lineHeight};
|
|
102
|
-
text-transform: ${Pe.textTransform};
|
|
103
|
-
}
|
|
104
95
|
`,_a=Se.css`
|
|
96
|
+
.ft-typography--button {
|
|
97
|
+
font-family: ${ke.fontFamily};
|
|
98
|
+
font-size: ${ke.fontSize};
|
|
99
|
+
font-weight: ${ke.fontWeight};
|
|
100
|
+
letter-spacing: ${ke.letterSpacing};
|
|
101
|
+
line-height: ${ke.lineHeight};
|
|
102
|
+
text-transform: ${ke.textTransform};
|
|
103
|
+
}
|
|
104
|
+
`,Ba=Se.css`
|
|
105
105
|
.ft-typography {
|
|
106
106
|
vertical-align: inherit;
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
<${
|
|
108
|
+
`,$a=[Object.keys(wo).map(o=>Oa(o))];var Wa=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},he=class extends Da.FtLitElement{constructor(){super(...arguments),this.variant=Ke.body1}render(){return this.element?Rr`
|
|
109
|
+
<${Nr(this.element)}
|
|
110
110
|
part="text"
|
|
111
111
|
class="ft-typography ft-typography--${this.variant}">
|
|
112
112
|
<slot></slot>
|
|
113
|
-
</${
|
|
114
|
-
`:
|
|
113
|
+
</${Nr(this.element)}>
|
|
114
|
+
`:Rr`
|
|
115
115
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
116
|
-
`}};he.styles=[
|
|
116
|
+
`}};he.styles=[Ea,Na,Aa,Ra,La,Ia,Pa,ka,Ta,_a,Ba,...$a];Wa([(0,Lr.property)()],he.prototype,"element",void 0);Wa([(0,Lr.property)()],he.prototype,"variant",void 0);(0,za.customElement)("ft-typography")(he);var Fa=b(L());var Ha=b($()),Xt=b(Z()),Ga=b(Vt());var Ao=b(L()),Ma=b($()),Rl={outlineColor:Ao.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",Ao.designSystemVariables.colorPrimary)},Ua=Ma.css`
|
|
117
117
|
:host {
|
|
118
118
|
display: contents;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
a:focus {
|
|
122
|
-
outline-color: ${
|
|
122
|
+
outline-color: ${Rl.outlineColor};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ft-reader-link--remove-style {
|
|
126
126
|
text-decoration: none;
|
|
127
127
|
color: inherit;
|
|
128
128
|
}
|
|
129
|
-
`;var
|
|
129
|
+
`;var Ro=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},Oe=class extends Ot{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let r=(0,Ga.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return Ha.html`
|
|
130
130
|
<a class=${r}
|
|
131
131
|
href="${(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
132
132
|
@click=${n=>this.onLinkClick(n)}>
|
|
133
133
|
<slot></slot>
|
|
134
134
|
</a>
|
|
135
|
-
`}onLinkClick(t){var r;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Oe.styles=
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
`}onLinkClick(t){var r;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(r=this.stateManager)===null||r===void 0||r.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}};Oe.styles=Ua;Ro([(0,Xt.property)()],Oe.prototype,"tocId",void 0);Ro([(0,Xt.property)()],Oe.prototype,"section",void 0);Ro([(0,Xt.property)({type:Number})],Oe.prototype,"pageNumber",void 0);Ro([(0,Xt.property)({type:Boolean})],Oe.prototype,"removeStyle",void 0);(0,Fa.customElement)("ft-reader-internal-link")(Oe);var Xa=b(L());var Jt=b($()),Ye=b(Z()),Ya=b(L()),qa=b(Va());var Lo;(function(o){o.ADD_TO_PBK="",o.ALERT="",o.ADD_ALERT="",o.BACK_TO_SEARCH="",o.ADD_BOOKMARK="",o.BOOKMARK="",o.BOOKS="",o.MENU="",o.DOWNLOAD="",o.EDIT="",o.FEEDBACK="",o.HOME="",o.MODIFY_PBK="",o.SCHEDULED="",o.SEARCH="",o.EXPORT="",o.TOC="",o.WRITE_UGC="",o.TRASH="",o.USER="",o.EXTLINK="",o.CALENDAR="",o.OFFLINE="",o.BOOK="",o.DOWNLOAD_PLAIN="",o.CHECK="",o.STAR_PLAIN="",o.TOPICS="",o.DISC="",o.CIRCLE="",o.SHARED="",o.SORT_UNSORTED="",o.SORT_UP="",o.SORT_DOWN="",o.WORKING="",o.CLOSE="",o.ZOOM_OUT="",o.ZOOM_IN="",o.ZOOM_REALSIZE="",o.ZOOM_FULLSCREEN="",o.ADMIN_RESTRICTED="",o.ADMIN="",o.ADMIN_KHUB="",o.ADMIN_THEME="",o.ADMIN_USERS="",o.WARNING="",o.CONTEXT="",o.SEARCH_HOME="",o.STEPS="",o.ICON_EXPAND="",o.ICON_COLLAPSE="",o.INFO="",o.MINUS_PLAIN="",o.PLUS_PLAIN="",o.FACET_HAS_DESCENDANT="",o.TRIANGLE_BOTTOM="",o.TRIANGLE_LEFT="",o.TRIANGLE_RIGHT="",o.TRIANGLE_TOP="",o.THIN_ARROW="",o.SIGN_IN="",o.LOGOUT="",o.TRANSLATE="",o.CLOSE_PLAIN="",o.CHECK_PLAIN="",o.ARTICLE="",o.COLUMNS="",o.ANALYTICS="",o.COLLECTIONS="",o.ARROW_DOWN="",o.ARROW_LEFT="",o.ARROW_RIGHT="",o.ARROW_UP="",o.SEARCH_IN_PUBLICATION="",o.COPY_TO_CLIPBOARD="",o.SHARED_PBK="",o.ATTACHMENTS="",o.STRIPE_ARROW_LEFT="",o.STRIPE_ARROW_RIGHT="",o.FILTERS="",o.DOT="",o.MINUS="",o.PLUS="",o.MAILS_AND_NOTIFICATIONS="",o.SAVE="",o.LOCKER="",o.ADMIN_INTEGRATION="",o.SYNC="",o.TAG="",o.BOOK_PLAIN="",o.UPLOAD="",o.ONLINE="",o.TAG_PLAIN="",o.ACCOUNT_SETTINGS="",o.PRINT="",o.DEFAULT_ROLES="",o.SHORTCUT_MENU="",o.RELATIVES_PLAIN="",o.RELATIVES="",o.PAUSE="",o.PLAY="",o.ADMIN_PORTAL="",o.STAR="",o.THUMBS_DOWN="",o.THUMBS_DOWN_PLAIN="",o.THUMBS_UP="",o.THUMBS_UP_PLAIN="",o.FEEDBACK_PLAIN="",o.RATE_PLAIN="",o.RATE="",o.OFFLINE_SETTINGS="",o.MY_COLLECTIONS="",o.THIN_ARROW_LEFT="",o.THIN_ARROW_RIGHT="",o.RESET="",o.MY_LIBRARY="",o.UNSTRUCTURED_DOC="",o.CONTEXTUAL="",o.THIN_ARROW_UP="",o.ARROW_RIGHT_TO_LINE="",o.DESKTOP="",o.TABLET_LANDSCAPE="",o.TABLET_PORTRAIT="",o.MOBILE_LANDSCAPE="",o.MOBILE_PORTRAIT="",o.DIAGRAM_SUNBURST="",o.DIAGRAM_SANKEY="",o.COMMENT_QUESTION="",o.COMMENT_QUESTION_PLAIN="",o.MESSAGE_BOT="",o.CHART_SIMPLE="",o.BARS_PROGRESS="",o.BOOK_OPEN_GEAR="",o.BOOK_OPEN_GEAR_SLASH="",o.LINE_CHART="",o.STACKED_CHART="",o.CHART_BAR_STACKED="",o.CHART_BAR_GROUPED="",o.EYE_SLASH="",o.X_MARK="",o.EXPAND_WIDE="",o.PIP="",o.PIP_WIDE="",o.LIFE_RING="",o.GLOBE="",o.PIGGY_BANK="",o.EXTLINK_LIGHT="",o.CLONE="",o.CLONE_LINK_SIMPLE="",o.CHART_BAR_NORMALIZED="",o.CONSUMER="",o.OCTAGON_XMARK="",o.HOURGLASS_HALF="",o.CLOCK="",o.CLOCK_THREE="",o.CALENDAR_DAY="",o.COMPUTER_MOUSE_MAGNIFYING_GLASS="",o.WAND_MAGIC_SPARKLES="",o.PAPER_PLANE="",o.CIRCLE_STOP="",o.ARROW_ROTATE_RIGHT="",o.ARROWS_ROTATE="",o.ALIGN_RIGHT="",o.FORMAT_CLEAR="",o.ALIGN_CENTER="",o.ALIGN_LEFT="",o.PALETTE="",o.BOLD="",o.ITALIC="",o.UNDERLINE="",o.STRIKETHROUGH="",o.LINK_SIMPLE_SLASH="",o.LINK_SIMPLE="",o.ROUTE="",o.CIRCLE_USER_SLASH="",o.CIRCLE_USER_CHECK="",o.LIST_MAGNIFYING_GLASS="",o.MEDAL="",o.THUMBS_UP_THUMBS_DOWN_SOLID="",o.ARROW_TURN_DOWN_RIGHT="",o.FLASK="",o.LOCK_KEYHOLE_OPEN_SOLID="",o.HOURGLASS_END="",o.CIRCLE_QUESTION="",o.GRIP_LINES_SOLID="",o.TRANSLATE_SPARKLE_SOLID="",o.CODE="",o.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",o.PAPER_PLANE_SLASH="",o.COMPRESS="",o.EXPAND="",o.ARROW_ROTATE_LEFT="",o.EYE="",o.SHARE="󨃱",o.MOBILE_SMALL=""})(Lo||(Lo={}));var O;(function(o){o.UNKNOWN="",o.ABW="",o.AUDIO="",o.AVI="",o.CHM="",o.CODE="",o.CSV="",o.DITA="",o.EPUB="",o.EXCEL="",o.FLAC="",o.GIF="",o.GZIP="",o.HTML="",o.IMAGE="",o.JPEG="",o.JSON="",o.M4A="",o.MOV="",o.MP3="",o.MP4="",o.OGG="",o.PDF="",o.PNG="",o.POWERPOINT="",o.RAR="",o.STP="",o.TEXT="",o.VIDEO="",o.WAV="",o.WMA="",o.WORD="",o.XML="",o.YAML="",o.ZIP=""})(O||(O={}));var $h=new Map([...["abw"].map(o=>[o,O.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(o=>[o,O.AUDIO]),...["avi"].map(o=>[o,O.AVI]),...["chm","xhs"].map(o=>[o,O.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(o=>[o,O.CODE]),...["csv"].map(o=>[o,O.CSV]),...["dita","ditamap","ditaval"].map(o=>[o,O.DITA]),...["epub"].map(o=>[o,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(o=>[o,O.EXCEL]),...["flac"].map(o=>[o,O.FLAC]),...["gif"].map(o=>[o,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(o=>[o,O.GZIP]),...["html","htm","xhtml"].map(o=>[o,O.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(o=>[o,O.IMAGE]),...["jpeg","jpg","jpe"].map(o=>[o,O.JPEG]),...["json"].map(o=>[o,O.JSON]),...["m4a","m4p"].map(o=>[o,O.M4A]),...["mov","qt"].map(o=>[o,O.MOV]),...["mp3"].map(o=>[o,O.MP3]),...["mp4","m4v"].map(o=>[o,O.MP4]),...["ogg","oga"].map(o=>[o,O.OGG]),...["pdf","ps"].map(o=>[o,O.PDF]),...["png"].map(o=>[o,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(o=>[o,O.POWERPOINT]),...["rar"].map(o=>[o,O.RAR]),...["stp"].map(o=>[o,O.STP]),...["txt","rtf","md","mdown"].map(o=>[o,O.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(o=>[o,O.VIDEO]),...["wav"].map(o=>[o,O.WAV]),...["wma"].map(o=>[o,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(o=>[o,O.WORD]),...["xml","xsl","rdf"].map(o=>[o,O.XML]),...["yaml","yml","x-yaml"].map(o=>[o,O.YAML]),...["zip"].map(o=>[o,O.ZIP])]);var Wh={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var Ka=b($()),we=b(L()),re={size:we.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",we.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",we.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.FtCssVariableFactory.extend("--ft-icon-material-font-family","",we.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Za=[Ka.css`
|
|
136
|
+
:host, i.ft-icon {
|
|
137
|
+
display: inline-flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
flex-grow: 0;
|
|
141
|
+
}
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
:host {
|
|
144
|
+
width: ${re.size};
|
|
145
|
+
height: ${re.size};
|
|
146
|
+
}
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
148
|
+
i.ft-icon {
|
|
149
|
+
width: 100%;
|
|
150
|
+
height: 100%;
|
|
151
|
+
font-size: ${re.size};
|
|
152
|
+
line-height: 1;
|
|
153
|
+
font-weight: normal;
|
|
154
|
+
text-transform: none;
|
|
155
|
+
font-style: normal;
|
|
156
|
+
font-variant: normal;
|
|
157
|
+
speak: none;
|
|
158
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
159
|
+
text-rendering: auto;
|
|
160
|
+
-webkit-font-smoothing: antialiased;
|
|
161
|
+
-moz-osx-font-smoothing: grayscale;
|
|
162
|
+
vertical-align: ${re.verticalAlign};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
166
|
+
font-family: ${re.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
167
|
+
|
|
168
|
+
/* Ugly fix because font is broken */
|
|
169
|
+
font-size: calc(0.75 * ${re.size});
|
|
170
|
+
line-height: ${re.size};
|
|
171
|
+
position: relative;
|
|
172
|
+
top: -4%;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
}
|
|
175
175
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
.ft-icon--file-format {
|
|
177
|
+
font-family: ${re.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
178
|
+
}
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
185
|
-
${(0,
|
|
180
|
+
.ft-icon--material {
|
|
181
|
+
font-family: ${re.materialFontFamily}, "Material Icons", sans-serif;
|
|
182
|
+
}
|
|
183
|
+
`,we.noTextSelect];var ye;(function(o){o.fluid_topics="fluid-topics",o.file_format="file-format",o.material="material"})(ye||(ye={}));var Qt=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},ne=class extends Ya.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Jt.nothing}render(){let t=this.variant&&Object.values(ye).includes(this.variant)?this.variant:ye.fluid_topics,r=t!==ye.material||!!this.value;return Jt.html`
|
|
184
|
+
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
185
|
+
${(0,qa.unsafeHTML)(this.resolvedIcon)}
|
|
186
186
|
<slot ?hidden=${r}></slot>
|
|
187
187
|
</i>
|
|
188
|
-
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case ye.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ye.material:this.resolvedIcon=this.value||Jt.nothing;break;default:this.resolvedIcon=(r=
|
|
188
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case ye.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ye.material:this.resolvedIcon=this.value||Jt.nothing;break;default:this.resolvedIcon=(r=Lo[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ne.elementDefinitions={};ne.styles=Za;Qt([(0,Ye.property)()],ne.prototype,"variant",void 0);Qt([(0,Ye.property)()],ne.prototype,"value",void 0);Qt([(0,Ye.property)({reflect:!0,attribute:"aria-hidden"})],ne.prototype,"ariaHidden",void 0);Qt([(0,Ye.state)()],ne.prototype,"resolvedIcon",void 0);Qt([(0,Ye.query)("slot")],ne.prototype,"slottedContent",void 0);(0,Xa.customElement)("ft-icon")(ne);var Gr=b(L());var co=b(Z()),Vi=b(L());var si=b($()),k=b(L());var ri=b($()),K=b(L()),Ja=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorContent),C={color:Ja,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ja),opacityContentOnSurfacePressed:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:K.FtCssVariableFactory.external(K.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:K.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Qa=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorPrimary),ei={color:Qa,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",Qa)},ti=K.FtCssVariableFactory.extend("--ft-ripple-color","",K.designSystemVariables.colorSecondary),oi={color:ti,backgroundColor:K.FtCssVariableFactory.extend("--ft-ripple-background-color","",ti)},ni=ri.css`
|
|
189
189
|
:host {
|
|
190
190
|
display: contents;
|
|
191
191
|
}
|
|
@@ -240,19 +240,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
243
|
-
background-color: ${
|
|
243
|
+
background-color: ${oi.backgroundColor};
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
247
|
-
background-color: ${
|
|
247
|
+
background-color: ${oi.color};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
251
|
-
background-color: ${
|
|
251
|
+
background-color: ${ei.backgroundColor};
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
255
|
-
background-color: ${
|
|
255
|
+
background-color: ${ei.color};
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
.ft-ripple .ft-ripple--background {
|
|
@@ -297,7 +297,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
297
297
|
opacity: ${C.opacityContentOnSurfacePressed};
|
|
298
298
|
transform: translate(-50%, -50%) scale(1);
|
|
299
299
|
}
|
|
300
|
-
`;var
|
|
300
|
+
`;var ai=b($()),eo=b(L()),M={color:eo.FtCssVariableFactory.extend("--ft-loader-color","",eo.designSystemVariables.colorPrimary),size:eo.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ii=ai.css`
|
|
301
301
|
:host {
|
|
302
302
|
line-height: 0;
|
|
303
303
|
}
|
|
@@ -366,7 +366,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
366
366
|
transform: translate(calc(0.35 * ${M.size}), 0);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
`;var
|
|
369
|
+
`;var ci=k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorPrimary),U={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorSurface),borderRadius:k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusL),color:ci,fontSize:k.FtCssVariableFactory.extend("--ft-button-font-size","",ke.fontSize),iconSize:k.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:k.FtCssVariableFactory.extend("--ft-button-ripple-color","",ci),verticalPadding:k.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:k.FtCssVariableFactory.external(k.designSystemVariables.colorOpacityDisabled,"Design system")},li=k.FtCssVariableFactory.extend("--ft-button-primary-color","",k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorOnPrimary)),Ir={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-primary-background-color","",k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorPrimary)),color:li,rippleColor:k.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",li)},Te={borderRadius:k.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusM)),verticalPadding:k.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},di=[si.css`
|
|
370
370
|
:host {
|
|
371
371
|
display: inline-block;
|
|
372
372
|
max-width: 100%;
|
|
@@ -425,13 +425,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-button.ft-button--dense {
|
|
428
|
-
padding: ${
|
|
429
|
-
border-radius: ${
|
|
430
|
-
gap: ${
|
|
428
|
+
padding: ${Te.verticalPadding} ${Te.horizontalPadding};
|
|
429
|
+
border-radius: ${Te.borderRadius};
|
|
430
|
+
gap: ${Te.iconPadding};
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
434
|
-
padding: calc(${
|
|
434
|
+
padding: calc(${Te.verticalPadding} - 1px) calc(${Te.horizontalPadding} - 1px);
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
.ft-button:not([disabled]):hover {
|
|
@@ -443,7 +443,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button--round.ft-button--dense {
|
|
446
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
446
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Te.verticalPadding});
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.ft-button[disabled] {
|
|
@@ -452,9 +452,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button.ft-button--primary {
|
|
455
|
-
background-color: ${
|
|
456
|
-
--ft-button-internal-color: ${
|
|
457
|
-
${(0,k.setVariable)(C.color,
|
|
455
|
+
background-color: ${Ir.backgroundColor};
|
|
456
|
+
--ft-button-internal-color: ${Ir.color};
|
|
457
|
+
${(0,k.setVariable)(C.color,Ir.rippleColor)};
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
.ft-button:focus {
|
|
@@ -468,12 +468,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
468
468
|
text-overflow: ellipsis;
|
|
469
469
|
display: block;
|
|
470
470
|
margin: 0 ${U.iconPadding};
|
|
471
|
-
${(0,k.setVariable)(
|
|
472
|
-
${(0,k.setVariable)(
|
|
471
|
+
${(0,k.setVariable)(ke.fontSize,"1em")};
|
|
472
|
+
${(0,k.setVariable)(ke.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
.ft-button--dense .ft-button--label {
|
|
476
|
-
margin: 0 ${
|
|
476
|
+
margin: 0 ${Te.iconPadding};
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button--label[hidden] {
|
|
@@ -491,8 +491,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
494
|
-
margin: 0 calc(${
|
|
495
|
-
padding: 0 ${
|
|
494
|
+
margin: 0 calc(${Te.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${Te.verticalPadding};
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -503,18 +503,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
503
503
|
${(0,k.setVariable)(M.size,U.iconSize)};
|
|
504
504
|
${(0,k.setVariable)(M.color,"var(--ft-button-internal-color)")};
|
|
505
505
|
}
|
|
506
|
-
`,k.noTextSelect];var
|
|
506
|
+
`,k.noTextSelect];var Je=b(L());var ui=b(L());var fi=b($()),Q=b(Z()),pi=b(Vt()),to=b(L());var ae=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},F=class extends to.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 to.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new to.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:a,y:i}=this.getCoordinates(t),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(i!=null?i-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return fi.html`
|
|
507
507
|
<style>
|
|
508
508
|
.ft-ripple .ft-ripple--effect {
|
|
509
509
|
left: ${this.originX}px;
|
|
510
510
|
top: ${this.originY}px;
|
|
511
511
|
}
|
|
512
512
|
</style>
|
|
513
|
-
<div class="${(0,
|
|
513
|
+
<div class="${(0,pi.classMap)(t)}">
|
|
514
514
|
<div class="ft-ripple--background"></div>
|
|
515
515
|
<div class="ft-ripple--effect"></div>
|
|
516
516
|
</div>
|
|
517
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...d)=>p=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&r("keyup")(d)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",i,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",i,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=
|
|
517
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...d)=>p=>{d.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(p)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&r("keyup")(d)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",n,l),t.addEventListener("touchstart",a,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",i,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",n,l),t.removeEventListener("touchstart",a,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",i,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};F.elementDefinitions={};F.styles=ni;ae([(0,Q.property)({type:Boolean})],F.prototype,"primary",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"secondary",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"unbounded",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"activated",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"selected",void 0);ae([(0,Q.property)({type:Boolean})],F.prototype,"disabled",void 0);ae([(0,Q.state)()],F.prototype,"hovered",void 0);ae([(0,Q.state)()],F.prototype,"focused",void 0);ae([(0,Q.state)()],F.prototype,"pressed",void 0);ae([(0,Q.state)()],F.prototype,"rippling",void 0);ae([(0,Q.state)()],F.prototype,"originX",void 0);ae([(0,Q.state)()],F.prototype,"originY",void 0);ae([(0,Q.query)(".ft-ripple")],F.prototype,"ripple",void 0);ae([(0,Q.query)(".ft-ripple--effect")],F.prototype,"rippleEffect",void 0);(0,ui.customElement)("ft-ripple")(F);var Hi=b(L());var Ui=b($()),Y=b(Z()),io=b(L());var hi=b($()),De=b(L()),$t={distance:De.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:De.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:De.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:De.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:De.FtCssVariableFactory.external(De.designSystemVariables.borderRadiusS,"Design system"),maxWidth:De.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},yi=hi.css`
|
|
518
518
|
.ft-tooltip--container {
|
|
519
519
|
display: block;
|
|
520
520
|
}
|
|
@@ -543,7 +543,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
543
543
|
position: relative;
|
|
544
544
|
word-break: break-word;
|
|
545
545
|
}
|
|
546
|
-
`;var mi=["top","right","bottom","left"],yi=["start","end"],Pr=mi.reduce((o,t)=>o.concat(t,t+"-"+yi[0],t+"-"+yi[1]),[]),gi=Math.min,bi=Math.max;var Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Ll={start:"end",end:"start"};function kr(o,t,r){return bi(o,gi(t,r))}function Io(o,t){return typeof o=="function"?o(t):o}function Wt(o){return o.split("-")[0]}function Ye(o){return o.split("-")[1]}function Tr(o){return o==="x"?"y":"x"}function _r(o){return o==="y"?"height":"width"}function Po(o){return["top","bottom"].includes(Wt(o))?"y":"x"}function Br(o){return Tr(Po(o))}function xi(o,t,r){r===void 0&&(r=!1);let n=Ye(o),a=Br(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=Ir(l)),[l,Ir(l)]}function vi(o){return o.replace(/start|end/g,t=>Ll[t])}function Ir(o){return o.replace(/left|right|bottom|top/g,t=>Rl[t])}function Il(o){return{top:0,right:0,bottom:0,left:0,...o}}function Si(o){return typeof o!="number"?Il(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 Ci(o,t,r){let{reference:n,floating:a}=o,i=Po(t),l=Br(t),d=_r(l),p=Wt(t),f=i==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,x;switch(p){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(Ye(t)){case"start":x[l]-=m*(r&&f?-1:1);break;case"end":x[l]+=m*(r&&f?-1:1);break}return x}var Oi=async(o,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,d=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(t)),f=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:h,y}=Ci(f,n,p),m=n,x={},g=0;for(let S=0;S<d.length;S++){let{name:R,fn:E}=d[S],{x:N,y:P,data:T,reset:D}=await E({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:f,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&&(f=D.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):D.rects),{x:h,y}=Ci(f,m,p)),S=-1)}return{x:h,y,placement:m,strategy:a,middlewareData:x}};async function $r(o,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:l,elements:d,strategy:p}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:x=0}=Io(t,o),g=Si(x),R=d[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(d.floating)),boundary:f,rootBoundary:h,strategy:p})),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(d.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:d,rect:N,offsetParent:P,strategy:p}):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 Pl(o,t,r){return(o?[...r.filter(a=>Ye(a)===o),...r.filter(a=>Ye(a)!==o)]:r.filter(a=>Wt(a)===a)).filter(a=>o?Ye(a)===o||(t?vi(a)!==a:!1):!0)}var Wr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,a;let{rects:i,middlewareData:l,placement:d,platform:p,elements:f}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:m=Pr,autoAlignment:x=!0,...g}=Io(o,t),S=y!==void 0||m===Pr?Pl(y||null,x,m):m,R=await $r(t,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=S[E];if(N==null)return{};let P=xi(N,i,await(p.isRTL==null?void 0:p.isRTL(f.floating)));if(d!==N)return{reset:{placement:S[0]}};let T=[R[Wt(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 Fe=D.map(pe=>{let ve=Ye(pe.placement);return[pe.placement,ve&&h?pe.overflows.slice(0,2).reduce((ue,lt)=>ue+lt,0):pe.overflows[0],pe.overflows]}).sort((pe,ve)=>pe[1]-ve[1]),je=((a=Fe.filter(pe=>pe[2].slice(0,Ye(pe[0])?2:3).every(ve=>ve<=0))[0])==null?void 0:a[0])||Fe[0][0];return je!==d?{data:{index:E+1,overflows:D},reset:{placement:je}}:{}}}};var Dr=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:d={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=Io(o,t),f={x:r,y:n},h=await $r(t,p),y=Po(Wt(a)),m=Tr(y),x=f[m],g=f[y];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=x+h[R],P=x-h[E];x=kr(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=kr(N,g,P)}let S=d.fn({...t,[m]:x,[y]:g});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[m]:i,[y]:l}}}}}};var zr=Math.min,Dt=Math.max,to=Math.round;var ze=o=>({x:o,y:o});function Me(o){return Ei(o)?(o.nodeName||"").toLowerCase():"#document"}function ie(o){var t;return(o==null||(t=o.ownerDocument)==null?void 0:t.defaultView)||window}function Ue(o){var t;return(t=(Ei(o)?o.ownerDocument:o.document)||window.document)==null?void 0:t.documentElement}function Ei(o){return o instanceof Node||o instanceof ie(o).Node}function Te(o){return o instanceof Element||o instanceof ie(o).Element}function we(o){return o instanceof HTMLElement||o instanceof ie(o).HTMLElement}function wi(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof ie(o).ShadowRoot}function zt(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 Ni(o){return["table","td","th"].includes(Me(o))}function To(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 Ai(o){let t=yt(o);for(;we(t)&&!oo(t);){if(To(t))return t;t=yt(t)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oo(o){return["html","body","#document"].includes(Me(o))}function me(o){return ie(o).getComputedStyle(o)}function ro(o){return Te(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function yt(o){if(Me(o)==="html")return o;let t=o.assignedSlot||o.parentNode||wi(o)&&o.host||Ue(o);return wi(t)?t.host:t}function Ri(o){let t=yt(o);return oo(t)?o.ownerDocument?o.ownerDocument.body:o.body:we(t)&&zt(t)?t:Ri(t)}function ko(o,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let a=Ri(o),i=a===((n=o.ownerDocument)==null?void 0:n.body),l=ie(a);return i?t.concat(l,l.visualViewport||[],zt(a)?a:[],l.frameElement&&r?ko(l.frameElement):[]):t.concat(a,ko(a,[],r))}function Pi(o){let t=me(o),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=we(o),i=a?o.offsetWidth:r,l=a?o.offsetHeight:n,d=to(r)!==i||to(n)!==l;return d&&(r=i,n=l),{width:r,height:n,$:d}}function ki(o){return Te(o)?o:o.contextElement}function Mt(o){let t=ki(o);if(!we(t))return ze(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=Pi(t),l=(i?to(r.width):r.width)/n,d=(i?to(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var _l=ze(0);function Ti(o){let t=ie(o);return!_o()||!t.visualViewport?_l:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bl(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==ie(o)?!1:t}function no(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),i=ki(o),l=ze(1);t&&(n?Te(n)&&(l=Mt(n)):l=Mt(o));let d=Bl(i,r,n)?Ti(i):ze(0),p=(a.left+d.x)/l.x,f=(a.top+d.y)/l.y,h=a.width/l.x,y=a.height/l.y;if(i){let m=ie(i),x=n&&Te(n)?ie(n):n,g=m.frameElement;for(;g&&n&&x!==m;){let S=Mt(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;p*=S.x,f*=S.y,h*=S.x,y*=S.y,p+=N,f+=P,g=ie(g).frameElement}}return ht({width:h,height:y,x:p,y:f})}function $l(o){let{rect:t,offsetParent:r,strategy:n}=o,a=we(r),i=Ue(r);if(r===i)return t;let l={scrollLeft:0,scrollTop:0},d=ze(1),p=ze(0);if((a||!a&&n!=="fixed")&&((Me(r)!=="body"||zt(i))&&(l=ro(r)),we(r))){let f=no(r);d=Mt(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-l.scrollLeft*d.x+p.x,y:t.y*d.y-l.scrollTop*d.y+p.y}}function Wl(o){return Array.from(o.getClientRects())}function _i(o){return no(Ue(o)).left+ro(o).scrollLeft}function Dl(o){let t=Ue(o),r=ro(o),n=o.ownerDocument.body,a=Dt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Dt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+_i(o),d=-r.scrollTop;return me(n).direction==="rtl"&&(l+=Dt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function zl(o,t){let r=ie(o),n=Ue(o),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,d=0,p=0;if(a){i=a.width,l=a.height;let f=_o();(!f||f&&t==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:d,y:p}}function Ml(o,t){let r=no(o,!0,t==="fixed"),n=r.top+o.clientTop,a=r.left+o.clientLeft,i=we(o)?Mt(o):ze(1),l=o.clientWidth*i.x,d=o.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:d,x:p,y:f}}function Li(o,t,r){let n;if(t==="viewport")n=zl(o,r);else if(t==="document")n=Dl(Ue(o));else if(Te(t))n=Ml(t,r);else{let a=Ti(o);n={...t,x:t.x-a.x,y:t.y-a.y}}return ht(n)}function Bi(o,t){let r=yt(o);return r===t||!Te(r)||oo(r)?!1:me(r).position==="fixed"||Bi(r,t)}function Ul(o,t){let r=t.get(o);if(r)return r;let n=ko(o,[],!1).filter(d=>Te(d)&&Me(d)!=="body"),a=null,i=me(o).position==="fixed",l=i?yt(o):o;for(;Te(l)&&!oo(l);){let d=me(l),p=To(l);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||zt(l)&&!p&&Bi(o,l))?n=n.filter(h=>h!==l):a=d,l=yt(l)}return t.set(o,n),n}function Hl(o){let{element:t,boundary:r,rootBoundary:n,strategy:a}=o,l=[...r==="clippingAncestors"?Ul(t,this._c):[].concat(r),n],d=l[0],p=l.reduce((f,h)=>{let y=Li(t,h,a);return f.top=Dt(y.top,f.top),f.right=zr(y.right,f.right),f.bottom=zr(y.bottom,f.bottom),f.left=Dt(y.left,f.left),f},Li(t,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Gl(o){return Pi(o)}function Fl(o,t,r){let n=we(t),a=Ue(t),i=r==="fixed",l=no(o,!0,i,t),d={scrollLeft:0,scrollTop:0},p=ze(0);if(n||!n&&!i)if((Me(t)!=="body"||zt(a))&&(d=ro(t)),n){let f=no(t,!0,i,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else a&&(p.x=_i(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.y,width:l.width,height:l.height}}function Ii(o,t){return!we(o)||me(o).position==="fixed"?null:t?t(o):o.offsetParent}function $i(o,t){let r=ie(o);if(!we(o))return r;let n=Ii(o,t);for(;n&&Ni(n)&&me(n).position==="static";)n=Ii(n,t);return n&&(Me(n)==="html"||Me(n)==="body"&&me(n).position==="static"&&!To(n))?r:n||Ai(o)||r}var jl=async function(o){let{reference:t,floating:r,strategy:n}=o,a=this.getOffsetParent||$i,i=this.getDimensions;return{reference:Fl(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Vl(o){return me(o).direction==="rtl"}var Bo={convertOffsetParentRelativeRectToViewportRelativeRect:$l,getDocumentElement:Ue,getClippingRect:Hl,getOffsetParent:$i,getElementRects:jl,getClientRects:Wl,getDimensions:Gl,getScale:Mt,isElement:Te,isRTL:Vl};var Wi=(o,t,r)=>{let n=new Map,a={platform:Bo,...r},i={...a.platform,_c:n};return Oi(o,t,{...a,platform:i})};function Di(o){return Kl(o)}function Mr(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Kl(o){for(let t=o;t;t=Mr(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Mr(o);t;t=Mr(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 zi(o,t,r){return Wi(o,t,{platform:{...Bo,getOffsetParent:n=>Bo.getOffsetParent(n,Di)},middleware:[Dr({crossAxis:!0}),Wr({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 d=o.length-1;d>=0;d--)(l=o[d])&&(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 ao.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 ao.Debouncer,this.revealDebouncer=new ao.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Mi.html`
|
|
546
|
+
`;var gi=["top","right","bottom","left"],mi=["start","end"],kr=gi.reduce((o,t)=>o.concat(t,t+"-"+mi[0],t+"-"+mi[1]),[]),bi=Math.min,xi=Math.max;var Ll={left:"right",right:"left",bottom:"top",top:"bottom"},Il={start:"end",end:"start"};function Tr(o,t,r){return xi(o,bi(t,r))}function Io(o,t){return typeof o=="function"?o(t):o}function Wt(o){return o.split("-")[0]}function qe(o){return o.split("-")[1]}function _r(o){return o==="x"?"y":"x"}function Br(o){return o==="y"?"height":"width"}function Po(o){return["top","bottom"].includes(Wt(o))?"y":"x"}function $r(o){return _r(Po(o))}function vi(o,t,r){r===void 0&&(r=!1);let n=qe(o),a=$r(o),i=Br(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Pr(l)),[l,Pr(l)]}function Si(o){return o.replace(/start|end/g,t=>Il[t])}function Pr(o){return o.replace(/left|right|bottom|top/g,t=>Ll[t])}function Pl(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ci(o){return typeof o!="number"?Pl(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=Po(t),l=$r(t),d=Br(l),p=Wt(t),f=i==="y",h=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,x;switch(p){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(qe(t)){case"start":x[l]-=m*(r&&f?-1:1);break;case"end":x[l]+=m*(r&&f?-1:1);break}return x}var wi=async(o,t,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,d=i.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(t)),f=await l.getElementRects({reference:o,floating:t,strategy:a}),{x:h,y}=Oi(f,n,p),m=n,x={},g=0;for(let S=0;S<d.length;S++){let{name:R,fn:E}=d[S],{x:N,y:P,data:T,reset:D}=await E({x:h,y,initialPlacement:n,placement:m,strategy:a,middlewareData:x,rects:f,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&&(f=D.rects===!0?await l.getElementRects({reference:o,floating:t,strategy:a}):D.rects),{x:h,y}=Oi(f,m,p)),S=-1)}return{x:h,y,placement:m,strategy:a,middlewareData:x}};async function Wr(o,t){var r;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:l,elements:d,strategy:p}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:m=!1,padding:x=0}=Io(t,o),g=Ci(x),R=d[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(d.floating)),boundary:f,rootBoundary:h,strategy:p})),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(d.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:d,rect:N,offsetParent:P,strategy:p}):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 kl(o,t,r){return(o?[...r.filter(a=>qe(a)===o),...r.filter(a=>qe(a)!==o)]:r.filter(a=>Wt(a)===a)).filter(a=>o?qe(a)===o||(t?Si(a)!==a:!1):!0)}var Dr=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(t){var r,n,a;let{rects:i,middlewareData:l,placement:d,platform:p,elements:f}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:m=kr,autoAlignment:x=!0,...g}=Io(o,t),S=y!==void 0||m===kr?kl(y||null,x,m):m,R=await Wr(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(p.isRTL==null?void 0:p.isRTL(f.floating)));if(d!==N)return{reset:{placement:S[0]}};let T=[R[Wt(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 Fe=D.map(pe=>{let ve=qe(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]),je=((a=Fe.filter(pe=>pe[2].slice(0,qe(pe[0])?2:3).every(ve=>ve<=0))[0])==null?void 0:a[0])||Fe[0][0];return je!==d?{data:{index:E+1,overflows:D},reset:{placement:je}}:{}}}};var zr=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:d={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...p}=Io(o,t),f={x:r,y:n},h=await Wr(t,p),y=Po(Wt(a)),m=_r(y),x=f[m],g=f[y];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=x+h[R],P=x-h[E];x=Tr(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=Tr(N,g,P)}let S=d.fn({...t,[m]:x,[y]:g});return{...S,data:{x:S.x-r,y:S.y-n,enabled:{[m]:i,[y]:l}}}}}};var Mr=Math.min,Dt=Math.max,oo=Math.round;var ze=o=>({x:o,y:o});function Me(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 Ue(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 _e(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 zt(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(Me(o))}function To(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)&&!ro(t);){if(To(t))return t;t=yt(t)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ro(o){return["html","body","#document"].includes(Me(o))}function me(o){return ie(o).getComputedStyle(o)}function no(o){return _e(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function yt(o){if(Me(o)==="html")return o;let t=o.assignedSlot||o.parentNode||Ei(o)&&o.host||Ue(o);return Ei(t)?t.host:t}function Li(o){let t=yt(o);return ro(t)?o.ownerDocument?o.ownerDocument.body:o.body:Ee(t)&&zt(t)?t:Li(t)}function ko(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||[],zt(a)?a:[],l.frameElement&&r?ko(l.frameElement):[]):t.concat(a,ko(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,d=oo(r)!==i||oo(n)!==l;return d&&(r=i,n=l),{width:r,height:n,$:d}}function Ti(o){return _e(o)?o:o.contextElement}function Mt(o){let t=Ti(o);if(!Ee(t))return ze(1);let r=t.getBoundingClientRect(),{width:n,height:a,$:i}=ki(t),l=(i?oo(r.width):r.width)/n,d=(i?oo(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!d||!Number.isFinite(d))&&(d=1),{x:l,y:d}}var Bl=ze(0);function _i(o){let t=ie(o);return!_o()||!t.visualViewport?Bl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $l(o,t,r){return t===void 0&&(t=!1),!r||t&&r!==ie(o)?!1:t}function ao(o,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let a=o.getBoundingClientRect(),i=Ti(o),l=ze(1);t&&(n?_e(n)&&(l=Mt(n)):l=Mt(o));let d=$l(i,r,n)?_i(i):ze(0),p=(a.left+d.x)/l.x,f=(a.top+d.y)/l.y,h=a.width/l.x,y=a.height/l.y;if(i){let m=ie(i),x=n&&_e(n)?ie(n):n,g=m.frameElement;for(;g&&n&&x!==m;){let S=Mt(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;p*=S.x,f*=S.y,h*=S.x,y*=S.y,p+=N,f+=P,g=ie(g).frameElement}}return ht({width:h,height:y,x:p,y:f})}function Wl(o){let{rect:t,offsetParent:r,strategy:n}=o,a=Ee(r),i=Ue(r);if(r===i)return t;let l={scrollLeft:0,scrollTop:0},d=ze(1),p=ze(0);if((a||!a&&n!=="fixed")&&((Me(r)!=="body"||zt(i))&&(l=no(r)),Ee(r))){let f=ao(r);d=Mt(r),p.x=f.x+r.clientLeft,p.y=f.y+r.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-l.scrollLeft*d.x+p.x,y:t.y*d.y-l.scrollTop*d.y+p.y}}function Dl(o){return Array.from(o.getClientRects())}function Bi(o){return ao(Ue(o)).left+no(o).scrollLeft}function zl(o){let t=Ue(o),r=no(o),n=o.ownerDocument.body,a=Dt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Dt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+Bi(o),d=-r.scrollTop;return me(n).direction==="rtl"&&(l+=Dt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:d}}function Ml(o,t){let r=ie(o),n=Ue(o),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,d=0,p=0;if(a){i=a.width,l=a.height;let f=_o();(!f||f&&t==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:l,x:d,y:p}}function Ul(o,t){let r=ao(o,!0,t==="fixed"),n=r.top+o.clientTop,a=r.left+o.clientLeft,i=Ee(o)?Mt(o):ze(1),l=o.clientWidth*i.x,d=o.clientHeight*i.y,p=a*i.x,f=n*i.y;return{width:l,height:d,x:p,y:f}}function Ii(o,t,r){let n;if(t==="viewport")n=Ml(o,r);else if(t==="document")n=zl(Ue(o));else if(_e(t))n=Ul(t,r);else{let a=_i(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||!_e(r)||ro(r)?!1:me(r).position==="fixed"||$i(r,t)}function Hl(o,t){let r=t.get(o);if(r)return r;let n=ko(o,[],!1).filter(d=>_e(d)&&Me(d)!=="body"),a=null,i=me(o).position==="fixed",l=i?yt(o):o;for(;_e(l)&&!ro(l);){let d=me(l),p=To(l);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||zt(l)&&!p&&$i(o,l))?n=n.filter(h=>h!==l):a=d,l=yt(l)}return t.set(o,n),n}function Gl(o){let{element:t,boundary:r,rootBoundary:n,strategy:a}=o,l=[...r==="clippingAncestors"?Hl(t,this._c):[].concat(r),n],d=l[0],p=l.reduce((f,h)=>{let y=Ii(t,h,a);return f.top=Dt(y.top,f.top),f.right=Mr(y.right,f.right),f.bottom=Mr(y.bottom,f.bottom),f.left=Dt(y.left,f.left),f},Ii(t,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Fl(o){return ki(o)}function jl(o,t,r){let n=Ee(t),a=Ue(t),i=r==="fixed",l=ao(o,!0,i,t),d={scrollLeft:0,scrollTop:0},p=ze(0);if(n||!n&&!i)if((Me(t)!=="body"||zt(a))&&(d=no(t)),n){let f=ao(t,!0,i,t);p.x=f.x+t.clientLeft,p.y=f.y+t.clientTop}else a&&(p.x=Bi(a));return{x:l.left+d.scrollLeft-p.x,y:l.top+d.scrollTop-p.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&&(Me(n)==="html"||Me(n)==="body"&&me(n).position==="static"&&!To(n))?r:n||Ri(o)||r}var Vl=async function(o){let{reference:t,floating:r,strategy:n}=o,a=this.getOffsetParent||Wi,i=this.getDimensions;return{reference:jl(t,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function Kl(o){return me(o).direction==="rtl"}var Bo={convertOffsetParentRelativeRectToViewportRelativeRect:Wl,getDocumentElement:Ue,getClippingRect:Gl,getOffsetParent:Wi,getElementRects:Vl,getClientRects:Dl,getDimensions:Fl,getScale:Mt,isElement:_e,isRTL:Kl};var Di=(o,t,r)=>{let n=new Map,a={platform:Bo,...r},i={...a.platform,_c:n};return wi(o,t,{...a,platform:i})};function zi(o){return Zl(o)}function Ur(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Zl(o){for(let t=o;t;t=Ur(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ur(o);t;t=Ur(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:{...Bo,getOffsetParent:n=>Bo.getOffsetParent(n,zi)},middleware:[zr({crossAxis:!0}),Dr({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 d=o.length-1;d>=0;d--)(l=o[d])&&(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 io.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 io.Debouncer,this.revealDebouncer=new io.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ui.html`
|
|
547
547
|
<div part="container"
|
|
548
548
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
549
549
|
@mouseenter=${this.onHover}
|
|
@@ -561,51 +561,51 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
561
561
|
</div>
|
|
562
562
|
</div>
|
|
563
563
|
</div>
|
|
564
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
564
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Mi(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}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",t=>{t.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(t,r){return Math.max(t,Math.min(0,-r))}};j.elementDefinitions={"ft-typography":he};j.styles=yi;ce([(0,Y.property)()],j.prototype,"text",void 0);ce([(0,Y.property)({type:Boolean})],j.prototype,"manual",void 0);ce([(0,Y.property)({type:Boolean})],j.prototype,"inline",void 0);ce([(0,Y.property)({type:Number})],j.prototype,"delay",void 0);ce([(0,Y.property)()],j.prototype,"position",void 0);ce([(0,Y.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);ce([(0,Y.query)(".ft-tooltip--container")],j.prototype,"container",void 0);ce([(0,Y.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);ce([(0,Y.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);ce([(0,Y.state)()],j.prototype,"visible",void 0);ce([(0,Y.eventOptions)({passive:!0})],j.prototype,"onTouch",null);ce([(0,Y.eventOptions)({passive:!0})],j.prototype,"onHover",null);ce([(0,Y.eventOptions)({passive:!0})],j.prototype,"onOut",null);ce([(0,Y.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,Hi.customElement)("ft-tooltip")(j);var ji=b(L());var Gi=b($()),Fi=b(L());var mt=class extends Fi.FtLitElement{render(){return Gi.html`
|
|
565
565
|
<div class="ft-loader">
|
|
566
566
|
<div></div>
|
|
567
567
|
<div></div>
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
570
570
|
</div>
|
|
571
|
-
`}};mt.styles=
|
|
571
|
+
`}};mt.styles=ii;(0,ji.customElement)("ft-loader")(mt);var Xe=b($()),Hr=b(Vt()),q=b(Z()),ee=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},H=class extends(0,Je.toFtFormComponent)(Je.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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let a=Xe.html`
|
|
572
572
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
573
573
|
<ft-typography part="label"
|
|
574
574
|
variant=${this.typographyVariant}
|
|
575
575
|
element="span"
|
|
576
|
-
class="ft-button--label ${
|
|
576
|
+
class="ft-button--label ${Je.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
577
577
|
?hidden=${!this.hasTextContent()}>
|
|
578
578
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
579
579
|
</ft-typography>
|
|
580
580
|
${this.resolveIcon()}
|
|
581
|
-
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?
|
|
581
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?Xe.html`
|
|
582
582
|
<a href="${i}"
|
|
583
583
|
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
584
584
|
part="button"
|
|
585
|
-
class="${(0,
|
|
585
|
+
class="${(0,Hr.classMap)(this.buttonClasses)}"
|
|
586
586
|
aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
|
|
587
587
|
?disabled=${this.isDisabled()}>
|
|
588
588
|
${a}
|
|
589
589
|
</a>
|
|
590
|
-
`:
|
|
590
|
+
`:Xe.html`
|
|
591
591
|
<button part="button"
|
|
592
|
-
class="${(0,
|
|
592
|
+
class="${(0,Hr.classMap)(this.buttonClasses)}"
|
|
593
593
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
594
594
|
?disabled=${this.isDisabled()}>
|
|
595
595
|
${a}
|
|
596
596
|
</button>
|
|
597
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
597
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Xe.html`
|
|
598
598
|
<ft-tooltip part="tooltip"
|
|
599
599
|
text="${this.getLabel()}"
|
|
600
600
|
position="${this.tooltipPosition}">
|
|
601
601
|
${t}
|
|
602
602
|
</ft-tooltip>
|
|
603
|
-
`:t}resolveIcon(){return this.loading?
|
|
604
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
603
|
+
`:t}resolveIcon(){return this.loading?Xe.html`
|
|
604
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Xe.html`
|
|
605
605
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
606
|
-
`:
|
|
606
|
+
`:Xe.html`
|
|
607
607
|
<slot part="icon" name="icon"></slot>
|
|
608
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,
|
|
608
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Je.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};H.elementDefinitions={"ft-ripple":F,"ft-tooltip":j,"ft-typography":he,"ft-icon":ne,"ft-loader":mt};ee([(0,q.property)()],H.prototype,"href",void 0);ee([(0,q.property)()],H.prototype,"target",void 0);ee([(0,q.property)({type:String,reflect:!0})],H.prototype,"role",void 0);ee([(0,q.property)()],H.prototype,"type",void 0);ee([(0,q.property)({type:Boolean})],H.prototype,"disabled",void 0);ee([(0,q.property)()],H.prototype,"label",void 0);ee([(0,q.property)()],H.prototype,"icon",void 0);ee([(0,q.property)()],H.prototype,"iconVariant",void 0);ee([(0,q.property)({type:Boolean})],H.prototype,"trailingIcon",void 0);ee([(0,q.property)({type:Boolean})],H.prototype,"loading",void 0);ee([(0,q.property)({attribute:"aria-label"})],H.prototype,"ariaLabel",void 0);ee([(0,q.property)()],H.prototype,"tooltipPosition",void 0);ee([(0,q.property)({type:Boolean})],H.prototype,"hideTooltip",void 0);ee([(0,q.property)({type:Boolean})],H.prototype,"forceTooltip",void 0);ee([(0,q.query)(".ft-button")],H.prototype,"button",void 0);ee([(0,q.query)(".ft-button--label slot")],H.prototype,"slottedContent",void 0);ee([(0,q.query)("[part=tooltip]")],H.prototype,"tooltip",void 0);var $o=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},Ne=class extends H{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"}};Ne.styles=[Vi.safariEllipsisFix,di];$o([(0,co.property)({type:Boolean})],Ne.prototype,"primary",void 0);$o([(0,co.property)({type:Boolean})],Ne.prototype,"outlined",void 0);$o([(0,co.property)({type:Boolean})],Ne.prototype,"dense",void 0);$o([(0,co.property)({type:Boolean})],Ne.prototype,"round",void 0);var lo=b(Z());var Do=b(L());var Ki=b($()),v=b(L());var Zi=[Ki.css`
|
|
609
609
|
:host {
|
|
610
610
|
display: inline-block;
|
|
611
611
|
max-width: 100%;
|
|
@@ -1071,7 +1071,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1071
1071
|
.ftds--size-small.ft-button--icon-only {
|
|
1072
1072
|
width: ${u.smallIconOnlyWidth};
|
|
1073
1073
|
}
|
|
1074
|
-
`,v.noTextSelect];var Wo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},He=class extends(0,Do.toFtdsBase)(H){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=
|
|
1074
|
+
`,v.noTextSelect];var Wo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},He=class extends(0,Do.toFtdsBase)(H){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Eo.brand,this.iconVariant=ye.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 Nt.large:return Ke.body2medium;case Nt.medium:return Ke.caption1medium;case Nt.small:return Ke.caption2medium}}};He.styles=[Do.safariEllipsisFix,Zi];Wo([(0,lo.property)({type:Boolean})],He.prototype,"primary",void 0);Wo([(0,lo.property)({type:Boolean})],He.prototype,"secondary",void 0);Wo([(0,lo.property)({type:Boolean})],He.prototype,"tertiary",void 0);Wo([(0,lo.property)({type:Boolean})],He.prototype,"round",void 0);(0,Gr.customElement)("ft-button")(Ne);(0,Gr.customElement)("ftds-button")(He);var Ji=b(L());var Xi=b($()),gt=b(Z()),zo=b(L());var le;(function(o){o.S="S",o.M="M",o.L="L",o.XL="XL",o.XXL="XXL"})(le||(le={}));var Yi=b($());var qi=Yi.css`
|
|
1075
1075
|
.ft-size-watcher--pixel {
|
|
1076
1076
|
width: 0;
|
|
1077
1077
|
height: 0;
|
|
@@ -1090,11 +1090,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1090
1090
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
1091
1091
|
width: 100%;
|
|
1092
1092
|
}
|
|
1093
|
-
`;var
|
|
1093
|
+
`;var so=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},Fr=class extends CustomEvent{constructor(t,r){super("change",{detail:{size:t,category:r}})}},ge=class extends zo.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=le.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new zo.Debouncer}render(){return Xi.html`
|
|
1094
1094
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
1095
1095
|
<div class="ft-size-watcher--watcher"></div>
|
|
1096
1096
|
</div>
|
|
1097
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),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=le.S:this.size<976?this.category=le.M:this.size<1024?this.category=le.L:this.size<1440?this.category=le.XL:this.category=le.XXL,this.dispatchEvent(new
|
|
1097
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),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=le.S:this.size<976?this.category=le.M:this.size<1024?this.category=le.L:this.size<1440?this.category=le.XL:this.category=le.XXL,this.dispatchEvent(new Fr(this.size,this.category)))},this.debounceTimeout)}};ge.elementDefinitions={};ge.styles=qi;so([(0,gt.property)({type:Number})],ge.prototype,"debounceTimeout",void 0);so([(0,gt.property)({type:Boolean})],ge.prototype,"local",void 0);so([(0,gt.property)({type:Number,reflect:!0})],ge.prototype,"size",void 0);so([(0,gt.property)({type:String,reflect:!0})],ge.prototype,"category",void 0);so([(0,gt.query)(".ft-size-watcher--watcher")],ge.prototype,"watcher",void 0);(0,Ji.customElement)("ft-size-watcher")(ge);var Qi=b($()),B=b(L());var J={tabulationSize:B.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:B.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",B.designSystemVariables.colorOnSurface),hoverColor:B.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",B.designSystemVariables.colorPrimary),highlightedTextColor:B.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",B.designSystemVariables.colorPrimary),highlightedFontWeight:B.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:B.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:B.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",B.designSystemVariables.colorPrimary),leafNodeIconColor:B.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",B.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",B.designSystemVariables.colorSurface),expandCollapseAllButtonColor:B.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",B.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:B.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",B.designSystemVariables.colorSurface)},ec=Qi.css`
|
|
1098
1098
|
.ft-reader-toc {
|
|
1099
1099
|
color: ${J.textColor};
|
|
1100
1100
|
}
|
|
@@ -1178,7 +1178,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1178
1178
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1179
1179
|
flex-grow: 1;
|
|
1180
1180
|
}
|
|
1181
|
-
`;var
|
|
1181
|
+
`;var ac=b(L());var rc=b($()),nc=b(L());var tc=b($()),Ae=b(L()),se={display:Ae.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:Ae.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:Ae.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Ae.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Ae.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Ae.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Ae.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Ae.FtCssVariableFactory.external(Ae.designSystemVariables.borderRadiusM,"Design system")},oc=tc.css`
|
|
1182
1182
|
:host {
|
|
1183
1183
|
width: ${se.width};
|
|
1184
1184
|
height: ${se.height};
|
|
@@ -1205,20 +1205,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1205
1205
|
background-position: calc(100vw + ${se.glareWidth}) 0, calc(${se.glareWidth} * -1) 0;
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
|
-
`;var
|
|
1209
|
-
`}};
|
|
1210
|
-
`;var
|
|
1211
|
-
`;var Mo=b(L()),
|
|
1208
|
+
`;var Qe=class extends nc.FtLitElement{render(){return rc.html`
|
|
1209
|
+
`}};Qe.elementDefinitions={};Qe.styles=oc;(0,ac.customElement)("ft-skeleton")(Qe);var sl=b(L());var dr=b($()),fr=b(Z()),pr=b(L());var ic=b($());var cc=ic.css`
|
|
1210
|
+
`;var lr=b(L());var il=b(L());var pc=b($()),de=b(Z()),Re=b(L());var lc=b($());var sc=lc.css`
|
|
1211
|
+
`;var Mo=b(L()),Yl="ft-app-info",jr=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},ql={session:(o,t)=>{(0,Mo.deepEqual)(o.session,t.payload)||(o.session=t.payload,setTimeout(()=>I.dispatchEvent(new jr(t.payload)),0))}},I=Mo.FtReduxStore.get({name:Yl,reducers:ql,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 tt=b(L());var Vr=b(L());var bt=class o{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=I.getState(),a=t??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(t){return new Promise(r=>{let n=o.get(t);if(n)r(n);else{let a=I.subscribe(()=>{n=o.get(t),n&&(a(),r(n))})}})}};var fo=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:bt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):bt.await()}};var et=class extends fo{constructor(t=!0,r){var n;super(r);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Vr.CacheRegistry,this.cache=t?a.commonCache:new Vr.CacheRegistry}clearCache(){this.cache.clearAll()}};var dc,Xl=Symbol("clearAfterUnitTest"),Uo=class extends et{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[dc]=()=>{this.defaultMessages={},this.cache=new tt.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,tt.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var a;let i=t.toLowerCase(),l=this.resolveContext(i);return new tt.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(r,...n)}async fetchContext(t){var r,n,a;if(!this.cache.has(t))if(((n=(r=window.process)===null||r===void 0?void 0:r.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(t,(a=this.defaultMessages[t])!==null&&a!==void 0?a:{});else try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(i){console.error(i)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>(0,tt.delay)(0).then(()=>r()).catch(()=>null)))}};dc=Xl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getFluidTopicsMessageContext(o,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Uo{constructor(){super(async(o,t)=>(await this.awaitApi).getCustomMessageContext(o,t))}});var xt=window.FluidTopicsI18nService,fc=window.FluidTopicsCustomI18nService;var te=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},V=class extends Re.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=()=>bt.get(),this.messageContexts=[],this.cache=new Re.CacheRegistry,this.cleanSessionDebouncer=new Re.Debouncer}render(){return pc.html`
|
|
1212
1212
|
<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(d=>xt.addContext(d)),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=lc;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,Ae.jsonProperty)(null)],V.prototype,"availableUiLocales",void 0);te([(0,Ae.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,Ae.jsonProperty)([])],V.prototype,"messageContexts",void 0);te([(0,Ae.jsonProperty)(void 0)],V.prototype,"session",void 0);te([(0,de.state)()],V.prototype,"localesConfiguration",void 0);var Ws=b(Z());function Xl(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(!Ho(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(!Ho(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(d=>l[d]!=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(!Ho(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function Ho(o,t){try{return Xl(o,t)}catch{return!1}}function Go(o,t){return!Ho(o,t)}var Jl=b(Z(),1);var Fo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==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}};var fo=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:Go,...t??{}})}var jo=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(d){a(d);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 Vo=globalThis,Ql=Vo.ShadowRoot&&(Vo.ShadyCSS===void 0||Vo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xg=Symbol();var hc=(o,t)=>{if(Ql)o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=Vo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)}};var Ko=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}};var Zo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},xc,mc=Symbol("constructorPrototype"),gc=Symbol("constructorName"),vc=Symbol("exportpartsDebouncer"),bc=Symbol("dynamicDependenciesLoaded"),tt=class extends Ko{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[xc]=new jo(5),this[gc]=this.constructor.name,this[mc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gc]&&Object.setPrototypeOf(this,this[mc])}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[bc]||(t[bc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}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[vc].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,d;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.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=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...x,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};xc=vc;Zo([(0,fo.property)()],tt.prototype,"exportpartsPrefix",void 0);Zo([uc([])],tt.prototype,"exportpartsPrefixes",void 0);Zo([(0,fo.property)()],tt.prototype,"customStylesheet",void 0);Zo([(0,fo.state)()],tt.prototype,"useAdoptedStyleSheets",void 0);function po(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Sc,Cc,Oc,uo=Symbol("internalReduxEventsUnsubscribers"),ot=Symbol("internalStoresUnsubscribers"),vt=Symbol("internalStores"),ho=class extends tt{constructor(){super(...arguments),this[Sc]=new Map,this[Cc]=new Map,this[Oc]=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[vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[vt].get(t)}addStore(t,r){var n;r=(n=r??(po(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[vt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[vt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[vt].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[ot].has(t.store):this[ot].size>0)&&(this[r]=t.selector(a.getState(),this))}})}subscribeToStore(t,r){var n;this[ot].set(t,r.subscribe(()=>this.updateFromStores())),this[uo].set(t,[]),po(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=d=>this[i](d);r.addEventListener(a.eventName,l),this[uo].get(t).push(()=>r.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ot].forEach((t,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(t){var r;this[ot].has(t)&&this[ot].get(t)(),this[ot].delete(t),(r=this[uo].get(t))===null||r===void 0||r.forEach(n=>n()),this[uo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Sc=ot,Cc=vt,Oc=uo;ho.reduxProperties=new Map;ho.reduxReactiveProperties=new Set;ho.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 Ge(o){return!!o&&!!o[G]}function Re(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)===cs}(o)||Array.isArray(o)||!!o[Ic]||!!(!((t=o.constructor)===null||t===void 0)&&t[Ic])||en(o)||tn(o))}function St(o,t,r){r===void 0&&(r=!1),Gt(o)===0?(r?Object.keys:Ht)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Gt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:en(o)?2:tn(o)?3:0}function Ut(o,t){return Gt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function es(o,t){return Gt(o)===2?o.get(t):o[t]}function Pc(o,t,r){var n=Gt(o);n===2?o.set(t,r):n===3?o.add(r):o[t]=r}function kc(o,t){return o===t?o!==0||1/o==1/t:o!=o&&t!=t}function en(o){return as&&o instanceof Map}function tn(o){return is&&o instanceof Set}function rt(o){return o.o||o.t}function on(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=Bc(o);delete t[G];for(var r=Ht(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 rn(o,t){return t===void 0&&(t=!1),nn(o)||Ge(o)||!Re(o)||(Gt(o)>1&&(o.set=o.add=o.clear=o.delete=ts),Object.freeze(o),t&&St(o,function(r,n){return rn(n,!0)},!0)),o}function ts(){Ce(2)}function nn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function _e(o){var t=Qr[o];return t||Ce(18,o),t}function os(o,t){Qr[o]||(Qr[o]=t)}function qr(){return mo}function Vr(o,t){t&&(_e("Patches"),o.u=[],o.s=[],o.v=t)}function Yo(o){Xr(o),o.p.forEach(rs),o.p=null}function Xr(o){o===mo&&(mo=o.l)}function wc(o){return mo={p:[],l:mo,h:o,m:!0,_:0}}function rs(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Kr(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&&(Yo(t),Ce(4)),Re(o)&&(o=qo(t,o),t.l||Xo(t,o)),t.u&&_e("Patches").M(r[G].t,o,t.u,t.s)):o=qo(t,r,[]),Yo(t),t.u&&t.v(t.u,t.s),o!==_c?o:void 0}function qo(o,t,r){if(nn(t))return t;var n=t[G];if(!n)return St(t,function(d,p){return Ec(o,n,t,d,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Xo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=on(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),St(i,function(d,p){return Ec(o,n,a,d,p,r,l)}),Xo(o,a,!1),r&&o.u&&_e("Patches").N(n,r,o.u,o.s)}return n.o}function Ec(o,t,r,n,a,i,l){if(Ge(a)){var d=qo(o,a,i&&t&&t.i!==3&&!Ut(t.R,n)?i.concat(n):void 0);if(Pc(r,n,d),!Ge(d))return;o.m=!1}else l&&r.add(a);if(Re(a)&&!nn(a)){if(!o.h.D&&o._<1)return;qo(o,a),t&&t.A.l||Xo(o,a)}}function Xo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&rn(t,r)}function Zr(o,t){var r=o[G];return(r?rt(r):o)[t]}function Nc(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 nt(o){o.P||(o.P=!0,o.l&&nt(o.l))}function Yr(o){o.o||(o.o=on(o.t))}function Jr(o,t,r){var n=en(t)?_e("MapSet").F(t,r):tn(t)?_e("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:qr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,f=go;l&&(p=[d],f=yo);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return d.k=m,d.j=y,m}(t,r):_e("ES5").J(t,r);return(r?r.A:qr()).p.push(n),n}function ns(o){return Ge(o)||Ce(22,o),function t(r){if(!Re(r))return r;var n,a=r[G],i=Gt(r);if(a){if(!a.P&&(a.i<4||!_e("ES5").K(a)))return a.t;a.I=!0,n=Ac(r,i),a.I=!1}else n=Ac(r,i);return St(n,function(l,d){a&&es(a.t,l)===d||Pc(n,l,t(d))}),i===3?new Set(n):n}(o)}function Ac(o,t){switch(t){case 2:return new Map(o);case 3:return Array.from(o)}return on(o)}function Tc(){function o(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[G];return go.get(f,l)},set:function(f){var h=this[G];go.set(h,l,f)}},p}function t(l){for(var d=l.length-1;d>=0;d--){var p=l[d][G];if(!p.P)switch(p.i){case 5:n(p)&&nt(p);break;case 4:r(p)&&nt(p)}}}function r(l){for(var d=l.t,p=l.k,f=Ht(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=d[y];if(m===void 0&&!Ut(d,y))return!0;var x=p[y],g=x&&x[G];if(g?g.t!==m:!kc(x,m))return!0}}var S=!!d[G];return f.length!==Ht(d).length+(S?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&Ce(3,JSON.stringify(rt(l)))}var i={};os("ES5",{J:function(l,d){var p=Array.isArray(l),f=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=Bc(m);delete S[G];for(var R=Ht(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)}(p,l),h={i:p?5:4,A:d?d.A:qr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,d,p){p?Ge(d)&&d[G].A===l&&t(l.p):(l.u&&function f(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)St(x,function(T){T!==G&&(m[T]!==void 0||Ut(m,T)?g[T]||f(x[T]):(g[T]=!0,nt(y)))}),St(m,function(T){x[T]!==void 0||Ut(x,T)||(g[T]=!1,nt(y))});else if(S===5){if(n(y)&&(nt(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&&f(x[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Rc,mo,an=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",as=typeof Map<"u",is=typeof Set<"u",Lc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_c=an?Symbol.for("immer-nothing"):((Rc={})["immer-nothing"]=!0,Rc),Ic=an?Symbol.for("immer-draftable"):"__$immer_draftable",G=an?Symbol.for("immer-state"):"__$immer_state";var cs=""+Object.prototype.constructor,Ht=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Bc=Object.getOwnPropertyDescriptors||function(o){var t={};return Ht(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},Qr={},go={get:function(o,t){if(t===G)return o;var r=rt(o);if(!Ut(r,t))return function(a,i,l){var d,p=Nc(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Re(n)?n:n===Zr(o.t,t)?(Yr(o),o.o[t]=Jr(o.A.h,n,o)):n},has:function(o,t){return t in rt(o)},ownKeys:function(o){return Reflect.ownKeys(rt(o))},set:function(o,t,r){var n=Nc(rt(o),t);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var a=Zr(rt(o),t),i=a?.[G];if(i&&i.t===r)return o.o[t]=r,o.R[t]=!1,!0;if(kc(r,a)&&(r!==void 0||Ut(o.t,t)))return!0;Yr(o),nt(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 Zr(o.t,t)!==void 0||t in o.t?(o.R[t]=!1,Yr(o),nt(o)):delete o.R[t],o.o&&delete o.o[t],!0},getOwnPropertyDescriptor:function(o,t){var r=rt(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)}},yo={};St(go,function(o,t){yo[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),yo.deleteProperty=function(o,t){return yo.set.call(this,o,t,void 0)},yo.set=function(o,t,r){return go.set.call(this,o[0],t,r,o[0])};var ls=function(){function o(r){var n=this;this.O=Lc,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(S){var R=this;S===void 0&&(S=d);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&Ce(6),l!==void 0&&typeof l!="function"&&Ce(7),Re(a)){var h=wc(n),y=Jr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?Yo(h):Xr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Vr(h,l),Kr(S,h)},function(S){throw Yo(h),S}):(Vr(h,l),Kr(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===_c&&(f=void 0),n.D&&rn(f,!0),l){var x=[],g=[];_e("Patches").M(a,f,x,g),l(x,g)}return f}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){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(f,function(x){return a.apply(void 0,[x].concat(y))})};var l,d,p=n.produce(a,i,function(f,h){l=f,d=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},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){Re(r)||Ce(8),Ge(r)&&(r=ns(r));var n=wc(this),a=Jr(this,r,void 0);return a[G].C=!0,Xr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Vr(i,n),Kr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!Lc&&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 Ge(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},o}(),be=new ls,ss=be.produce,Pg=be.produceWithPatches.bind(be),kg=be.setAutoFreeze.bind(be),Tg=be.setUseProxies.bind(be),_g=be.applyPatches.bind(be),Bg=be.createDraft.bind(be),$g=be.finishDraft.bind(be),Jo=ss;function Ct(o){"@babel/helpers - typeof";return Ct=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},Ct(o)}function $c(o,t){if(Ct(o)!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(Ct(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(o)}function Wc(o){var t=$c(o,"string");return Ct(t)=="symbol"?t:t+""}function Dc(o,t,r){return(t=Wc(t))in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r,o}function zc(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 cn(o){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zc(Object(r),!0).forEach(function(n){Dc(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):zc(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 Mc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ln=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+ln(),REPLACE:"@@redux/REPLACE"+ln(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ln()}};function ds(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 sn(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(sn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),d.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=d.indexOf(S);d.splice(N,1),l=null}}}function m(S){if(!ds(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=d,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:Qo.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[Mc]=function(){return this},S}return m({type:Qo.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:x},n[Mc]=g,n}function fs(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:Qo.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(oe(13))})}function Uc(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,d;try{fs(r)}catch(p){d=p}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var m=!1,x={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[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(f).length,m?x:f}}function Ft(){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 Hc(){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)}},d=t.map(function(p){return p(l)});return i=Ft.apply(void 0,d)(a.dispatch),cn(cn({},a),{},{dispatch:i})}}}function Gc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,o):l(d)}}};return t}var Fc=Gc();Fc.withExtraArgument=Gc;var dn=Fc;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)}}(),ps=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},jt=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},us=Object.defineProperty,hs=Object.defineProperties,ys=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,Vc=function(o,t,r){return t in o?us(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},at=function(o,t){for(var r in t||(t={}))ms.call(t,r)&&Vc(o,r,t[r]);if(jc)for(var n=0,a=jc(t);n<a.length;n++){var r=a[n];gs.call(t,r)&&Vc(o,r,t[r])}return o},fn=function(o,t){return hs(o,ys(t))},bs=function(o,t,r){return new Promise(function(n,a){var i=function(p){try{d(r.next(p))}catch(f){a(f)}},l=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};d((r=r.apply(o,t)).next())})};var xs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ft:Ft.apply(null,arguments)},eb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function vs(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 Ss=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,jt([void 0],r[0].concat(this)))):new(t.bind.apply(t,jt([void 0],r.concat(this))))},t}(Array),Cs=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,jt([void 0],r[0].concat(this)))):new(t.bind.apply(t,jt([void 0],r.concat(this))))},t}(Array);function hn(o){return Re(o)?Jo(o,function(){}):o}function Os(o){return typeof o=="boolean"}function ws(){return function(t){return Es(t)}}function Es(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,d=new Ss;if(r&&(Os(r)?d.push(dn):d.push(dn.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var pn=!0;function qc(o){var t=ws(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,x;if(typeof a=="function")x=a;else if(vs(a))x=Uc(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),!pn&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pn&&g.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=Hc.apply(void 0,g),R=Ft;p&&(R=xs(at({trace:!pn},typeof p=="object"&&p)));var E=new Cs(S),N=E;Array.isArray(m)?N=jt([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return sn(x,h,P)}function it(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 at(at({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 Xc(o){var t={},r=[],n,a={addCase:function(i,l){var d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=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 Ns(o){return typeof o=="function"}function As(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Xc(t):[t,r,n],i=a[0],l=a[1],d=a[2],p;if(Ns(o))p=function(){return hn(o())};else{var f=hn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var x=jt([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=[d]),x.reduce(function(g,S){if(S)if(Ge(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Re(g))return Jo(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=p,h}function Rs(o,t){return o+"/"+t}function Jc(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:hn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(h){var y=n[h],m=Rs(t,h),x,g;"reducer"in y?(x=y.reducer,g=y.prepare):x=y,i[h]=x,l[m]=x,d[h]=g?it(m,g):it(m)});function p(){var h=typeof o.extraReducers=="function"?Xc(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=at(at({},m),l);return As(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 f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Ls="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Is=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=Ls[Math.random()*64|0];return t},Ps=["name","message","stack","code"],un=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),Kc=function(){function o(t,r){this.payload=t,this.meta=r}return o}(),ks=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=Ps;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},nb=function(){function o(t,r,n){var a=it(t+"/fulfilled",function(h,y,m,x){return{payload:h,meta:fn(at({},x||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=it(t+"/pending",function(h,y,m){return{payload:void 0,meta:fn(at({},m||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=it(t+"/rejected",function(h,y,m,x,g){return{payload:x,error:(n&&n.serializeError||ks)(h||"Rejected"),meta:fn(at({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,p=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 f(h){return function(y,m,x){var g=n?.idGenerator?n.idGenerator(h):Is(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return bs(this,null,function(){var T,D,xe,Fe,ur,je,pe;return ps(this,function(ve){switch(ve.label){case 0:return ve.trys.push([0,4,,5]),Fe=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:x}),_s(Fe)?[4,Fe]:[3,2];case 1:Fe=ve.sent(),ve.label=2;case 2:if(Fe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,ur=new Promise(function(ue,lt){return S.signal.addEventListener("abort",function(){return lt({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([ur,Promise.resolve(r(h,{dispatch:y,getState:m,extra:x,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(ue,lt){return new un(ue,lt)},fulfillWithValue:function(ue,lt){return new Kc(ue,lt)}})).then(function(ue){if(ue instanceof un)throw ue;return ue instanceof Kc?a(ue.payload,g,h,ue.meta):a(ue,g,h)})])];case 3:return xe=ve.sent(),[3,5];case 4:return je=ve.sent(),xe=je instanceof un?l(null,g,h,je.payload,je.meta):l(je,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(Ts)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function Ts(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function _s(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Qc="listener",el="completed",tl="cancelled",ab="task-"+tl,ib="task-"+el,cb=Qc+"-"+tl,lb=Qc+"-"+el;var yn="listenerMiddleware";var sb=it(yn+"/add"),db=it(yn+"/removeAll"),fb=it(yn+"/remove");var Zc,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Zc||(Zc=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},Bs=function(o){return function(t){setTimeout(t,o)}},ub=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Bs(10);Tc();function $s(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 er=class extends $s(Object){};window.ftReduxStores||(window.ftReduxStores={});var ol=class o extends er{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(po(i))return i;if(a==null)return;let l=Jc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=qc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new o(l,d,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Fo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,l,d)=>{let p=l,f=i[p];return f?(...h)=>{let y=f(...h.map(a));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[p]: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 nr=b(L());var tr=class extends Qe{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 or=class extends Qe{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 Ds="ft-user-assets",rr=nr.FtReduxStore.get({name:Ds,initialState:{savedSearches:void 0,bookmarks:void 0}}),mn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new or,this.savedSearchesService=new tr,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,nr.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(),rr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),rr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();rr.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;rr.actions.bookmarks(r)}}},Zb=new mn;var gn=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new gn;var rl=b(L()),bn=class{highlightHtml(t,r,n){(0,rl.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new bn;var nl=b(L());var xn=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(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,r){var n,a,i;return nl.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 xn;var zs=b(L());(0,al.customElement)("ft-app-context")(V);var cl=b(Z()),Ms=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},vn=Symbol("i18nAttributes"),Sn=Symbol("i18nListAttributes"),ar=Symbol("i18nProperties"),Cn=Symbol("i18nManualContexts"),bo=Symbol("i18nUnsubs");function lr(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?dc:xt}i18n(i,l,...d){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...d);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,d,p;(l=this[vn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(d=this[Sn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[ar])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,d){var p;let f=!d||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===d.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,d,p;super.update(i),(l=this[vn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(d=this[Sn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[ar])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,d){i.context&&i.key&&l.has(d)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[bo].has(i)||this[bo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,d,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[ar])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(d=this[vn])===null||d===void 0?void 0:d.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[Sn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[Cn].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[Cn].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[bo].forEach(i=>i()),this[bo].clear()}}return t=Cn,r=bo,Ms([(0,cl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var il=class extends lr(cr.FtLitElement){},ir=class extends lr(cr.FtLitElementRedux){};var xo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},Le=class extends ir{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":sr.nothing:sr.html`
|
|
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(d=>xt.addContext(d)),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 Ds=b(Z());function Jl(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(!Ho(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(!Ho(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(d=>l[d]!=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(!Ho(o[l],t[l]))return!1}return!0}return o!==o&&t!==t||o==null&&t==null}function Ho(o,t){try{return Jl(o,t)}catch{return!1}}function Go(o,t){return!Ho(o,t)}function Fo(o){return window.structuredClone?structuredClone(o):o!=null?JSON.parse(JSON.stringify(o)):o}var Ql=b(Z(),1);var jo=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==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}};var po=b(Z(),1);var uc=b(Z(),1);function hc(o,t){let r=()=>JSON.parse(JSON.stringify(o));return(0,uc.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:Go,...t??{}})}var Vo=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(d){a(d);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 mc=b($(),1);var Ko=globalThis,es=Ko.ShadowRoot&&(Ko.ShadyCSS===void 0||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vg=Symbol();var yc=(o,t)=>{if(es)o.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),a=Ko.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,o.appendChild(n)}};var Zo=class extends mc.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 yc(n,t.elementStyles),n}};var Yo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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"),ot=class extends Zo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[vc]=new Vo(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){}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,d;let p=m=>m!=null&&m.trim().length>0,f=t.filter(p).map(m=>m.trim());if(f.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=(d=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(S=>S.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...x,...g).filter(p).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(m=>f.map(x=>`${m}:${x}--${m}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};vc=Sc;Yo([(0,po.property)()],ot.prototype,"exportpartsPrefix",void 0);Yo([hc([])],ot.prototype,"exportpartsPrefixes",void 0);Yo([(0,po.property)()],ot.prototype,"customStylesheet",void 0);Yo([(0,po.state)()],ot.prototype,"useAdoptedStyleSheets",void 0);function uo(o){var t;return(t=o?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Cc,Oc,wc,ho=Symbol("internalReduxEventsUnsubscribers"),rt=Symbol("internalStoresUnsubscribers"),vt=Symbol("internalStores"),yo=class extends ot{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[vt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vt].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[vt].get(t)}addStore(t,r){var n;r=(n=r??(uo(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this[vt].set(r,t),this.subscribeToStore(r,t),this.updateFromStores()}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[vt].delete(r)}setupStores(){this.unsubscribeFromStores(),this[vt].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[ho].set(t,[]),uo(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=d=>this[i](d);r.addEventListener(a.eventName,l),this[ho].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[ho].get(t))===null||r===void 0||r.forEach(n=>n()),this[ho].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Cc=rt,Oc=vt,wc=ho;yo.reduxProperties=new Map;yo.reduxReactiveProperties=new Set;yo.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 Ge(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)===ls}(o)||Array.isArray(o)||!!o[Pc]||!!(!((t=o.constructor)===null||t===void 0)&&t[Pc])||tn(o)||on(o))}function St(o,t,r){r===void 0&&(r=!1),Gt(o)===0?(r?Object.keys:Ht)(o).forEach(function(n){r&&typeof n=="symbol"||t(n,o[n],o)}):o.forEach(function(n,a){return t(a,n,o)})}function Gt(o){var t=o[G];return t?t.i>3?t.i-4:t.i:Array.isArray(o)?1:tn(o)?2:on(o)?3:0}function Ut(o,t){return Gt(o)===2?o.has(t):Object.prototype.hasOwnProperty.call(o,t)}function ts(o,t){return Gt(o)===2?o.get(t):o[t]}function kc(o,t,r){var n=Gt(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 tn(o){return is&&o instanceof Map}function on(o){return cs&&o instanceof Set}function nt(o){return o.o||o.t}function rn(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var t=$c(o);delete t[G];for(var r=Ht(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 nn(o,t){return t===void 0&&(t=!1),an(o)||Ge(o)||!Le(o)||(Gt(o)>1&&(o.set=o.add=o.clear=o.delete=os),Object.freeze(o),t&&St(o,function(r,n){return nn(n,!0)},!0)),o}function os(){Ce(2)}function an(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function Be(o){var t=en[o];return t||Ce(18,o),t}function rs(o,t){en[o]||(en[o]=t)}function Xr(){return go}function Kr(o,t){t&&(Be("Patches"),o.u=[],o.s=[],o.v=t)}function qo(o){Jr(o),o.p.forEach(ns),o.p=null}function Jr(o){o===go&&(go=o.l)}function Ec(o){return go={p:[],l:go,h:o,m:!0,_:0}}function ns(o){var t=o[G];t.i===0||t.i===1?t.j():t.g=!0}function Zr(o,t){t._=t.p.length;var r=t.p[0],n=o!==void 0&&o!==r;return t.h.O||Be("ES5").S(t,o,n),n?(r[G].P&&(qo(t),Ce(4)),Le(o)&&(o=Xo(t,o),t.l||Jo(t,o)),t.u&&Be("Patches").M(r[G].t,o,t.u,t.s)):o=Xo(t,r,[]),qo(t),t.u&&t.v(t.u,t.s),o!==Bc?o:void 0}function Xo(o,t,r){if(an(t))return t;var n=t[G];if(!n)return St(t,function(d,p){return Nc(o,n,t,d,p,r)},!0),t;if(n.A!==o)return t;if(!n.P)return Jo(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=rn(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),St(i,function(d,p){return Nc(o,n,a,d,p,r,l)}),Jo(o,a,!1),r&&o.u&&Be("Patches").N(n,r,o.u,o.s)}return n.o}function Nc(o,t,r,n,a,i,l){if(Ge(a)){var d=Xo(o,a,i&&t&&t.i!==3&&!Ut(t.R,n)?i.concat(n):void 0);if(kc(r,n,d),!Ge(d))return;o.m=!1}else l&&r.add(a);if(Le(a)&&!an(a)){if(!o.h.D&&o._<1)return;Xo(o,a),t&&t.A.l||Jo(o,a)}}function Jo(o,t,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&nn(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 qr(o){o.o||(o.o=rn(o.t))}function Qr(o,t,r){var n=tn(t)?Be("MapSet").F(t,r):on(t)?Be("MapSet").T(t,r):o.O?function(a,i){var l=Array.isArray(a),d={i:l?1:0,A:i?i.A:Xr(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,f=bo;l&&(p=[d],f=mo);var h=Proxy.revocable(p,f),y=h.revoke,m=h.proxy;return d.k=m,d.j=y,m}(t,r):Be("ES5").J(t,r);return(r?r.A:Xr()).p.push(n),n}function as(o){return Ge(o)||Ce(22,o),function t(r){if(!Le(r))return r;var n,a=r[G],i=Gt(r);if(a){if(!a.P&&(a.i<4||!Be("ES5").K(a)))return a.t;a.I=!0,n=Rc(r,i),a.I=!1}else n=Rc(r,i);return St(n,function(l,d){a&&ts(a.t,l)===d||kc(n,l,t(d))}),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 rn(o)}function _c(){function o(l,d){var p=i[l];return p?p.enumerable=d:i[l]=p={configurable:!0,enumerable:d,get:function(){var f=this[G];return bo.get(f,l)},set:function(f){var h=this[G];bo.set(h,l,f)}},p}function t(l){for(var d=l.length-1;d>=0;d--){var p=l[d][G];if(!p.P)switch(p.i){case 5:n(p)&&at(p);break;case 4:r(p)&&at(p)}}}function r(l){for(var d=l.t,p=l.k,f=Ht(p),h=f.length-1;h>=0;h--){var y=f[h];if(y!==G){var m=d[y];if(m===void 0&&!Ut(d,y))return!0;var x=p[y],g=x&&x[G];if(g?g.t!==m:!Tc(x,m))return!0}}var S=!!d[G];return f.length!==Ht(d).length+(S?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var p=Object.getOwnPropertyDescriptor(d,d.length-1);if(p&&!p.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(l){l.g&&Ce(3,JSON.stringify(nt(l)))}var i={};rs("ES5",{J:function(l,d){var p=Array.isArray(l),f=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=Ht(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)}(p,l),h={i:p?5:4,A:d?d.A:Xr(),P:!1,I:!1,R:{},l:d,t:l,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,G,{value:h,writable:!0}),f},S:function(l,d,p){p?Ge(d)&&d[G].A===l&&t(l.p):(l.u&&function f(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)St(x,function(T){T!==G&&(m[T]!==void 0||Ut(m,T)?g[T]||f(x[T]):(g[T]=!0,at(y)))}),St(m,function(T){x[T]!==void 0||Ut(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&&f(x[P])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Lc,go,cn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",is=typeof Map<"u",cs=typeof Set<"u",Ic=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Bc=cn?Symbol.for("immer-nothing"):((Lc={})["immer-nothing"]=!0,Lc),Pc=cn?Symbol.for("immer-draftable"):"__$immer_draftable",G=cn?Symbol.for("immer-state"):"__$immer_state";var ls=""+Object.prototype.constructor,Ht=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 Ht(o).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(o,r)}),t},en={},bo={get:function(o,t){if(t===G)return o;var r=nt(o);if(!Ut(r,t))return function(a,i,l){var d,p=Ac(i,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(o,r,t);var n=r[t];return o.I||!Le(n)?n:n===Yr(o.t,t)?(qr(o),o.o[t]=Qr(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||Ut(o.t,t)))return!0;qr(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,qr(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)}},mo={};St(bo,function(o,t){mo[o]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mo.deleteProperty=function(o,t){return mo.set.call(this,o,t,void 0)},mo.set=function(o,t,r){return bo.set.call(this,o[0],t,r,o[0])};var ss=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 d=i;i=a;var p=n;return function(S){var R=this;S===void 0&&(S=d);for(var E=arguments.length,N=Array(E>1?E-1:0),P=1;P<E;P++)N[P-1]=arguments[P];return p.produce(S,function(T){var D;return(D=i).call.apply(D,[R,T].concat(N))})}}var f;if(typeof i!="function"&&Ce(6),l!==void 0&&typeof l!="function"&&Ce(7),Le(a)){var h=Ec(n),y=Qr(n,a,void 0),m=!0;try{f=i(y),m=!1}finally{m?qo(h):Jr(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(S){return Kr(h,l),Zr(S,h)},function(S){throw qo(h),S}):(Kr(h,l),Zr(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===Bc&&(f=void 0),n.D&&nn(f,!0),l){var x=[],g=[];Be("Patches").M(a,f,x,g),l(x,g)}return f}Ce(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){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(f,function(x){return a.apply(void 0,[x].concat(y))})};var l,d,p=n.produce(a,i,function(f,h){l=f,d=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(f){return[f,l,d]}):[p,l,d]},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),Ge(r)&&(r=as(r));var n=Ec(this),a=Qr(this,r,void 0);return a[G].C=!0,Jr(n),a},t.finishDraft=function(r,n){var a=r&&r[G],i=a.A;return Kr(i,n),Zr(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=Be("Patches").$;return Ge(r)?l(r,n):this.produce(r,function(d){return l(d,n)})},o}(),be=new ss,ds=be.produce,kg=be.produceWithPatches.bind(be),Tg=be.setAutoFreeze.bind(be),_g=be.setUseProxies.bind(be),Bg=be.applyPatches.bind(be),$g=be.createDraft.bind(be),Wg=be.finishDraft.bind(be),Qo=ds;function Ct(o){"@babel/helpers - typeof";return Ct=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},Ct(o)}function Wc(o,t){if(Ct(o)!="object"||!o)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,t||"default");if(Ct(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 Ct(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 ln(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"}(),sn=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+sn(),REPLACE:"@@redux/REPLACE"+sn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sn()}};function fs(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 dn(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(dn)(o,t)}if(typeof o!="function")throw new Error(oe(2));var a=o,i=t,l=[],d=l,p=!1;function f(){d===l&&(d=l.slice())}function h(){if(p)throw new Error(oe(3));return i}function y(S){if(typeof S!="function")throw new Error(oe(4));if(p)throw new Error(oe(5));var R=!0;return f(),d.push(S),function(){if(R){if(p)throw new Error(oe(6));R=!1,f();var N=d.indexOf(S);d.splice(N,1),l=null}}}function m(S){if(!fs(S))throw new Error(oe(7));if(typeof S.type>"u")throw new Error(oe(8));if(p)throw new Error(oe(9));try{p=!0,i=a(i,S)}finally{p=!1}for(var R=l=d,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:er.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:er.INIT}),n={dispatch:m,subscribe:y,getState:h,replaceReducer:x},n[Uc]=g,n}function ps(o){Object.keys(o).forEach(function(t){var r=o[t],n=r(void 0,{type:er.INIT});if(typeof n>"u")throw new Error(oe(12));if(typeof r(void 0,{type:er.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,d;try{ps(r)}catch(p){d=p}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var y;for(var m=!1,x={},g=0;g<i.length;g++){var S=i[g],R=r[S],E=f[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(f).length,m?x:f}}function Ft(){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)}},d=t.map(function(p){return p(l)});return i=Ft.apply(void 0,d)(a.dispatch),ln(ln({},a),{},{dispatch:i})}}}function Fc(o){var t=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(d){return typeof d=="function"?d(a,i,o):l(d)}}};return t}var jc=Fc();jc.withExtraArgument=Fc;var fn=jc;var qc=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)}}(),us=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(f){return function(h){return p([f,h])}}function p(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=t.call(o,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},jt=function(o,t){for(var r=0,n=t.length,a=o.length;r<n;r++,a++)o[a]=t[r];return o},hs=Object.defineProperty,ys=Object.defineProperties,ms=Object.getOwnPropertyDescriptors,Vc=Object.getOwnPropertySymbols,gs=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable,Kc=function(o,t,r){return t in o?hs(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r},it=function(o,t){for(var r in t||(t={}))gs.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];bs.call(t,r)&&Kc(o,r,t[r])}return o},pn=function(o,t){return ys(o,ms(t))},xs=function(o,t,r){return new Promise(function(n,a){var i=function(p){try{d(r.next(p))}catch(f){a(f)}},l=function(p){try{d(r.throw(p))}catch(f){a(f)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,l)};d((r=r.apply(o,t)).next())})};var vs=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ft:Ft.apply(null,arguments)},tb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function Ss(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 Cs=function(o){qc(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,jt([void 0],r[0].concat(this)))):new(t.bind.apply(t,jt([void 0],r.concat(this))))},t}(Array),Os=function(o){qc(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,jt([void 0],r[0].concat(this)))):new(t.bind.apply(t,jt([void 0],r.concat(this))))},t}(Array);function yn(o){return Le(o)?Qo(o,function(){}):o}function ws(o){return typeof o=="boolean"}function Es(){return function(t){return Ns(t)}}function Ns(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,d=new Cs;if(r&&(ws(r)?d.push(fn):d.push(fn.withExtraArgument(r.extraArgument))),0){if(a)var p;if(l)var f}return d}var un=!0;function Xc(o){var t=Es(),r=o||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?t():i,d=r.devTools,p=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,y=r.enhancers,m=y===void 0?void 0:y,x;if(typeof a=="function")x=a;else if(Ss(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),!un&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!un&&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=Ft;p&&(R=vs(it({trace:!un},typeof p=="object"&&p)));var E=new Os(S),N=E;Array.isArray(m)?N=jt([S],m):typeof m=="function"&&(N=m(E));var P=R.apply(void 0,N);return dn(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 d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=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 As(o){return typeof o=="function"}function Rs(o,t,r,n){r===void 0&&(r=[]);var a=typeof t=="function"?Jc(t):[t,r,n],i=a[0],l=a[1],d=a[2],p;if(As(o))p=function(){return yn(o())};else{var f=yn(o);p=function(){return f}}function h(y,m){y===void 0&&(y=p());var x=jt([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=[d]),x.reduce(function(g,S){if(S)if(Ge(g)){var R=g,E=S(R,m);return E===void 0?g:E}else{if(Le(g))return Qo(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=p,h}function Ls(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:yn(o.initialState),n=o.reducers||{},a=Object.keys(n),i={},l={},d={};a.forEach(function(h){var y=n[h],m=Ls(t,h),x,g;"reducer"in y?(x=y.reducer,g=y.prepare):x=y,i[h]=x,l[m]=x,d[h]=g?ct(m,g):ct(m)});function p(){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 Rs(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 f;return{name:t,reducer:function(h,y){return f||(f=p()),f(h,y)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=p()),f.getInitialState()}}}var Is="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ps=function(o){o===void 0&&(o=21);for(var t="",r=o;r--;)t+=Is[Math.random()*64|0];return t},ks=["name","message","stack","code"],hn=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}(),Ts=function(o){if(typeof o=="object"&&o!==null){for(var t={},r=0,n=ks;r<n.length;r++){var a=n[r];typeof o[a]=="string"&&(t[a]=o[a])}return t}return{message:String(o)}},ab=function(){function o(t,r,n){var a=ct(t+"/fulfilled",function(h,y,m,x){return{payload:h,meta:pn(it({},x||{}),{arg:m,requestId:y,requestStatus:"fulfilled"})}}),i=ct(t+"/pending",function(h,y,m){return{payload:void 0,meta:pn(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||Ts)(h||"Rejected"),meta:pn(it({},g||{}),{arg:m,requestId:y,rejectedWithValue:!!x,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,p=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 f(h){return function(y,m,x){var g=n?.idGenerator?n.idGenerator(h):Ps(),S=new p,R,E=!1;function N(T){R=T,S.abort()}var P=function(){return xs(this,null,function(){var T,D,xe,Fe,hr,je,pe;return us(this,function(ve){switch(ve.label){case 0:return ve.trys.push([0,4,,5]),Fe=(T=n?.condition)==null?void 0:T.call(n,h,{getState:m,extra:x}),Bs(Fe)?[4,Fe]:[3,2];case 1:Fe=ve.sent(),ve.label=2;case 2:if(Fe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,hr=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([hr,Promise.resolve(r(h,{dispatch:y,getState:m,extra:x,requestId:g,signal:S.signal,abort:N,rejectWithValue:function(ue,st){return new hn(ue,st)},fulfillWithValue:function(ue,st){return new Zc(ue,st)}})).then(function(ue){if(ue instanceof hn)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 je=ve.sent(),xe=je instanceof hn?l(null,g,h,je.payload,je.meta):l(je,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(_s)}})}}return Object.assign(f,{pending:i,rejected:l,fulfilled:a,typePrefix:t})}return o.withTypes=function(){return o},o}();function _s(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function Bs(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var el="listener",tl="completed",ol="cancelled",ib="task-"+ol,cb="task-"+tl,lb=el+"-"+ol,sb=el+"-"+tl;var mn="listenerMiddleware";var db=ct(mn+"/add"),fb=ct(mn+"/removeAll"),pb=ct(mn+"/remove");var Yc,ub=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Yc||(Yc=Promise.resolve())).then(o).catch(function(t){return setTimeout(function(){throw t},0)})},$s=function(o){return function(t){setTimeout(t,o)}},hb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$s(10);_c();function Ws(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 tr=class extends Ws(Object){};window.ftReduxStores||(window.ftReduxStores={});var rl=class o extends tr{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(uo(i))return i;if(a==null)return;let l=Qc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=Xc({reducer:(p,f)=>f.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...f.overwrites}:l.reducer(p,f)});return window.ftReduxStores[a.name]=new o(l,d,a.eventBus)}constructor(t,r,n){super(),this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new jo,this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,l)=>{let d=i,p=a[d];return p?(...f)=>{let h=p(...f.map(Fo));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[d]:Fo(f)})}}}),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 Fo(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 ar=b(L());var or=class extends et{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 rr=class extends et{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 zs="ft-user-assets",nr=ar.FtReduxStore.get({name:zs,initialState:{savedSearches:void 0,bookmarks:void 0}}),gn=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new rr,this.savedSearchesService=new or,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=I.getState();(0,ar.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(),nr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),nr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();nr.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;nr.actions.bookmarks(r)}}},qb=new gn;var bn=class{addCommand(t,r=!1){I.commands.add(t,r)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new bn;var nl=b(L()),xn=class{highlightHtml(t,r,n){(0,nl.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new xn;var al=b(L());var vn=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(d=>d.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 vn;var Ms=b(L());(0,il.customElement)("ft-app-context")(V);var ll=b(Z()),Us=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},Sn=Symbol("i18nAttributes"),Cn=Symbol("i18nListAttributes"),ir=Symbol("i18nProperties"),On=Symbol("i18nManualContexts"),xo=Symbol("i18nUnsubs");function sr(o){var t,r;class n extends o{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}get i18nService(){return this.useCustomMessageContexts?fc:xt}i18n(i,l,...d){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,l,...d);let f=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...f)}onI18nUpdate(i){var l,d,p;(l=this[Sn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y&&(this[h]=this.getI18nAttributeMessage(y,f,i))}),(d=this[Cn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);this[h]=y?.map(m=>this.getI18nAttributeMessage(m,f,i))}),(p=this[ir])===null||p===void 0||p.forEach((f,h)=>{f.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(f))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,l){return{...i,message:this.i18n({context:i.context,key:i.key,...l})}}getI18nAttributeMessage(i,l,d){var p;let f=!d||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===d.toLowerCase();return i.context&&i.key&&f?this.buildI18nAttributeMessage(i,l):i}update(i){var l,d,p;super.update(i),(l=this[Sn])===null||l===void 0||l.forEach((f,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||f.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,h),this[h]=this.getI18nAttributeMessage(y,f))}),(d=this[Cn])===null||d===void 0||d.forEach((f,h)=>{let y=this.getI18nListAttributeValues(h);(i.has(h)||f.argsProvider!=null)&&(this[h]=y?.map(m=>(this.addI18nContextIfNeeded(m,i,h),this.getI18nAttributeMessage(m,f))))}),(p=this[ir])===null||p===void 0||p.forEach((f,h)=>{f.argsProvider!=null&&(this[h]=this.i18n(f))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,l,d){i.context&&i.key&&l.has(d)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,l){i=i.toLowerCase(),this[xo].has(i)||this[xo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,l??{}),this.onI18nUpdate(i)}connectedCallback(){var i,l,d,p,f,h;super.connectedCallback(),new Set([...(l=(i=this[ir])===null||i===void 0?void 0:i.values())!==null&&l!==void 0?l:[],...[...(p=(d=this[Sn])===null||d===void 0?void 0:d.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(h=(f=this[Cn])===null||f===void 0?void 0:f.keys())!==null&&h!==void 0?h:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[On].forEach((y,m)=>{this.addI18nMessages(m,y)})}addI18nMessages(i,l){this[On].set(i,l??{}),this.addI18nMessagesAndSubscribe(i,l)}addI18nContext(i,l){this.addI18nMessages(typeof i=="string"?i:i.name,l)}disconnectedCallback(){super.disconnectedCallback(),this[xo].forEach(i=>i()),this[xo].clear()}}return t=On,r=xo,Us([(0,ll.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var cl=class extends sr(lr.FtLitElement){},cr=class extends sr(lr.FtLitElementRedux){};var vo=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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 cr{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":dr.nothing:dr.html`
|
|
1214
1214
|
<span class="ft-i18n">
|
|
1215
1215
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1216
1216
|
</span>
|
|
1217
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
1218
|
-
<div class=${(0,
|
|
1217
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Ie.elementDefinitions={};Ie.styles=cc;vo([(0,pr.redux)()],Ie.prototype,"editorMode",void 0);vo([(0,fr.property)()],Ie.prototype,"context",void 0);vo([(0,fr.property)()],Ie.prototype,"key",void 0);vo([(0,pr.jsonProperty)([])],Ie.prototype,"args",void 0);vo([(0,fr.property)()],Ie.prototype,"defaultMessage",void 0);var ur=class o{static build(t){return new o(t)}static fromGwt(t){return new o(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...a)=>xt.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>xt.resolveRawMessage(this.name,n)})}};(0,sl.customElement)("ft-i18n")(Ie);var lt=ur.build("designedReaderToc"),dl={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 W=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 d=o.length-1;d>=0;d--)(l=o[d])&&(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},_=class extends sr(Ot){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=ye.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ye.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=le.M,this.nodesToExpandExist=!1,this.addI18nContext(lt,dl)}update(t){var r,n,a;super.update(t),t.has("toc")&&(this.nodesToExpandExist=((r=this.toc)!==null&&r!==void 0?r:[]).some(i=>i.children.length>0)),t.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(t){var r,n;if(super.contentAvailableCallback(t),this.scrollCurrentTopicIntoView&&t.has("highlightedTocIds")&&this.highlightedTocIds&&((r=this.highlightedTocIds)===null||r===void 0?void 0:r.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&Pe.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var t;let r={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===le.S,"ft-reader-toc-desktop":this.viewportSize!==le.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return fe.html`
|
|
1218
|
+
<div class=${(0,fl.classMap)(r)}>
|
|
1219
1219
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1220
1220
|
${this.renderExpandCollapseAll()}
|
|
1221
|
-
${(0,
|
|
1221
|
+
${(0,wn.repeat)((t=this.toc)!==null&&t!==void 0?t:[],n=>n.tocId,n=>this.renderNode(n))}
|
|
1222
1222
|
</div>
|
|
1223
1223
|
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?fe.html`
|
|
1224
1224
|
<div part="expand-collapse-all-container"
|
|
@@ -1227,16 +1227,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1227
1227
|
class="ft-reader-toc--expand-collapse-all-button"
|
|
1228
1228
|
iconVariant="${this.expandCollapseAllIconVariant}"
|
|
1229
1229
|
icon="${this.expandCollapseAllHideIcon?"":this.expandAll?this.collapseAllIcon||"ICON_COLLAPSE":this.expandAllIcon||"ICON_EXPAND"}"
|
|
1230
|
-
label="${this.expandAll?
|
|
1230
|
+
label="${this.expandAll?lt.messages.collapseAllLong():lt.messages.expandAllLong()}"
|
|
1231
1231
|
tooltipPosition="${this.getExpandCollapseAllTooltipPosition()}"
|
|
1232
1232
|
?trailingIcon=${this.expandCollapseAllTrailingIcon}
|
|
1233
1233
|
@click=${()=>this.toggleExpandCollapseAll()}>
|
|
1234
|
-
${this.expandCollapseAllHideLabel?"":this.expandAll?
|
|
1234
|
+
${this.expandCollapseAllHideLabel?"":this.expandAll?lt.messages.collapseAll():lt.messages.expandAll()}
|
|
1235
1235
|
</ft-button>
|
|
1236
1236
|
</div>
|
|
1237
1237
|
`:fe.nothing}renderNode(t){var r,n,a;let i=(r=this.highlightedTocIds)===null||r===void 0?void 0:r.includes(t.tocId),l=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),d=t.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,f=t.depth-1-p,h={"padding-left":`calc( ${J.tabulationSize} * ${f} + 4px)`};return fe.html`
|
|
1238
1238
|
<div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}">
|
|
1239
|
-
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,
|
|
1239
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,pl.styleMap)(h)}>
|
|
1240
1240
|
${this.nodesToExpandExist&&!this.expanded?fe.html`
|
|
1241
1241
|
<div class="ft-reader-toc--toggle-container">
|
|
1242
1242
|
${d?fe.html`
|
|
@@ -1244,7 +1244,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1244
1244
|
class="ft-reader-toc--tree-node-button"
|
|
1245
1245
|
round hideTooltip
|
|
1246
1246
|
?dense=${this.viewportSize!==le.S}
|
|
1247
|
-
label="${l?
|
|
1247
|
+
label="${l?lt.messages.collapse(t.title):lt.messages.expand(t.title)}"
|
|
1248
1248
|
.iconVariant="${this.iconVariant}"
|
|
1249
1249
|
icon="${l?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
1250
1250
|
@click=${()=>this.manuallyToggle(t.tocId,l)}
|
|
@@ -1268,7 +1268,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1268
1268
|
<div id="${t.tocId}-children"
|
|
1269
1269
|
class="ft-reader-toc--node-children"
|
|
1270
1270
|
?hidden=${!l}>
|
|
1271
|
-
${(0,
|
|
1271
|
+
${(0,wn.repeat)(l?t.children:[],y=>y.tocId,y=>this.renderNode(y))}
|
|
1272
1272
|
</div>
|
|
1273
1273
|
`:fe.nothing}
|
|
1274
1274
|
</div>
|
|
@@ -1277,7 +1277,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
1277
1277
|
part="leaf-node-icon"
|
|
1278
1278
|
.variant="${this.leafNodeIconVariant}"
|
|
1279
1279
|
.value="${this.leafNodeIcon}"></ft-icon>
|
|
1280
|
-
`}};_.elementDefinitions={"ft-button":
|
|
1280
|
+
`}};_.elementDefinitions={"ft-button":Ne,"ft-icon":ne,"ft-reader-internal-link":Oe,"ft-size-watcher":ge,"ft-typography":he,"ft-skeleton":Qe};_.styles=ec;W([(0,z.property)({type:Boolean})],_.prototype,"expanded",void 0);W([(0,z.property)()],_.prototype,"iconVariant",void 0);W([(0,z.property)()],_.prototype,"collapseIcon",void 0);W([(0,z.property)()],_.prototype,"expandIcon",void 0);W([(0,z.property)()],_.prototype,"leafNodeIconVariant",void 0);W([(0,z.property)()],_.prototype,"leafNodeIcon",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAll",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllHideLabel",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllTrailingIcon",void 0);W([(0,z.property)()],_.prototype,"expandCollapseAllAlignment",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"expandCollapseAllHideIcon",void 0);W([(0,z.property)()],_.prototype,"expandCollapseAllIconVariant",void 0);W([(0,z.property)()],_.prototype,"collapseAllIcon",void 0);W([(0,z.property)()],_.prototype,"expandAllIcon",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"autoCollapse",void 0);W([(0,z.property)({type:Boolean})],_.prototype,"scrollCurrentTopicIntoView",void 0);W([(0,z.property)()],_.prototype,"scope",void 0);W([(0,z.property)({type:Boolean,reflect:!0})],_.prototype,"empty",void 0);W([(0,Pe.redux)({selector:(o,t)=>{var r,n,a;return t.isCurrentPageToc?!((r=o.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc?(n=o.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=o.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?o.pagesToc:o.toc}})],_.prototype,"toc",void 0);W([(0,Pe.redux)()],_.prototype,"currentPage",void 0);W([(0,Pe.redux)({selector:(o,t)=>{var r,n;return!((r=o.paginationConfiguration)===null||r===void 0)&&r.splitCurrentPageToc&&!t.isCurrentPageToc?!((n=o.currentPage)===null||n===void 0)&&n.rootTocId?[o.currentPage.rootTocId]:[]:o.visibleTopics}})],_.prototype,"highlightedTocIds",void 0);W([(0,Pe.redux)({selector:o=>o.translation.isLoading})],_.prototype,"translationLoading",void 0);W([(0,z.state)({hasChanged:Pe.hasChanged})],_.prototype,"automaticallyExpandedNodes",void 0);W([(0,z.state)({hasChanged:Pe.hasChanged})],_.prototype,"manuallyExpandedNodes",void 0);W([(0,z.state)({hasChanged:Pe.hasChanged})],_.prototype,"manuallyCollapsedNodes",void 0);W([(0,z.state)()],_.prototype,"expandAll",void 0);W([(0,z.state)()],_.prototype,"viewportSize",void 0);(0,ul.customElement)("ft-reader-toc")(_);})();
|
|
1281
1281
|
/*! Bundled license information:
|
|
1282
1282
|
|
|
1283
1283
|
lit-html/lit-html.js:
|