@fluid-topics/ft-search-sort-selector 1.3.21 → 1.3.22
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-search-sort-selector.light.js +119 -104
- package/build/ft-search-sort-selector.min.js +178 -163
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?B.substr(1,B.length):B}).forEach(function(B){var G=B.split(":"),P=G.shift().trim();if(P){var
|
|
3
|
-
`;var
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),nn=/'/g,an=/"/g,dn=/^(?:script|style|textarea|title)$/i,Xr=t=>(r,...o)=>({_$litType$:t,strings:r,values:o}),un=Xr(1),pn=Xr(2),fn=Xr(3),Lt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),sn=new WeakMap,Ye=Xe.createTreeWalker(Xe,129);function hn(t,r){if(!Yr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tn!==void 0?tn.createHTML(r):r}var Ds=(t,r)=>{let o=t.length-1,n=[],i,s=r===2?"<svg>":r===3?"<math>":"",l=It;for(let d=0;d<o;d++){let u=t[d],p,h,y=-1,g=0;for(;g<u.length&&(l.lastIndex=g,h=l.exec(u),h!==null);)g=l.lastIndex,l===It?h[1]==="!--"?l=rn:h[1]!==void 0?l=on:h[2]!==void 0?(dn.test(h[2])&&(i=RegExp("</"+h[2],"g")),l=qe):h[3]!==void 0&&(l=qe):l===qe?h[0]===">"?(l=i??It,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,p=h[1],l=h[3]===void 0?qe:h[3]==='"'?an:nn):l===an||l===nn?l=qe:l===rn||l===on?l=It:(l=qe,i=void 0);let O=l===qe&&t[d+1].startsWith("/>")?" ":"";s+=l===It?u+Ps:y>=0?(n.push(p),u.slice(0,y)+ln+u.slice(y)+Pe+O):u+Pe+(y===-2?d:O)}return[hn(t,s+(t[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},Pt=class t{constructor({strings:r,_$litType$:o},n){let i;this.parts=[];let s=0,l=0,d=r.length-1,u=this.parts,[p,h]=Ds(r,o);if(this.el=t.createElement(p,n),Ye.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Ye.nextNode())!==null&&u.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(ln)){let g=h[l++],O=i.getAttribute(y).split(Pe),x=/([.?@])?(.*)/.exec(g);u.push({type:1,index:s,name:x[2],strings:O,ctor:x[1]==="."?jr:x[1]==="?"?Kr:x[1]==="@"?Vr:dt}),i.removeAttribute(y)}else y.startsWith(Pe)&&(u.push({type:6,index:s}),i.removeAttribute(y));if(dn.test(i.tagName)){let y=i.textContent.split(Pe),g=y.length-1;if(g>0){i.textContent=Qt?Qt.emptyScript:"";for(let O=0;O<g;O++)i.append(y[O],Jt()),Ye.nextNode(),u.push({type:2,index:++s});i.append(y[g],Jt())}}}else if(i.nodeType===8)if(i.data===cn)u.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(Pe,y+1))!==-1;)u.push({type:7,index:s}),y+=Pe.length-1}s++}}static createElement(r,o){let n=Xe.createElement("template");return n.innerHTML=r,n}};function ct(t,r,o=t,n){if(r===Lt)return r;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Tt(r)?void 0:r._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(r=ct(t,i._$AS(t,r.values),i,n)),r}var Gr=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,i=(r?.creationScope??Xe).importNode(o,!0);Ye.currentNode=i;let s=Ye.nextNode(),l=0,d=0,u=n[0];for(;u!==void 0;){if(l===u.index){let p;u.type===2?p=new er(s,s.nextSibling,this,r):u.type===1?p=new u.ctor(s,u.name,u.strings,this,r):u.type===6&&(p=new Zr(s,this,r)),this._$AV.push(p),u=n[++d]}l!==u?.index&&(s=Ye.nextNode(),l++)}return Ye.currentNode=Xe,i}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},er=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,i){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=ct(this,r,o),Tt(r)?r===X||r==null||r===""?(this._$AH!==X&&this._$AR(),this._$AH=X):r!==this._$AH&&r!==Lt&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):ks(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==X&&Tt(this._$AH)?this._$AA.nextSibling.data=r:this.T(Xe.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,i=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=Pt.createElement(hn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new Gr(i,this),l=s.u(this.options);s.p(o),this.T(l),this._$AH=s}}_$AC(r){let o=sn.get(r.strings);return o===void 0&&sn.set(r.strings,o=new Pt(r)),o}k(r){Yr(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of r)i===o.length?o.push(n=new t(this.O(Jt()),this.O(Jt()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},dt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,i,s){this.type=1,this._$AH=X,this._$AN=void 0,this.element=r,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=X}_$AI(r,o=this,n,i){let s=this.strings,l=!1;if(s===void 0)r=ct(this,r,o,0),l=!Tt(r)||r!==this._$AH&&r!==Lt,l&&(this._$AH=r);else{let d=r,u,p;for(r=s[0],u=0;u<s.length-1;u++)p=ct(this,d[n+u],o,u),p===Lt&&(p=this._$AH[u]),l||=!Tt(p)||p!==this._$AH[u],p===X?r=X:r!==X&&(r+=(p??"")+s[u+1]),this._$AH[u]=p}l&&!i&&this.j(r)}j(r){r===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},jr=class extends dt{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===X?void 0:r}},Kr=class extends dt{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==X)}},Vr=class extends dt{constructor(r,o,n,i,s){super(r,o,n,i,s),this.type=5}_$AI(r,o=this){if((r=ct(this,r,o,0)??X)===Lt)return;let n=this._$AH,i=r===X&&n!==X||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,s=r!==X&&(n===X||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Zr=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){ct(this,r)}};var Us=qr.litHtmlPolyfillSupport;Us?.(Pt,er),(qr.litHtmlVersions??=[]).push("3.3.0");var gn=Symbol.for(""),Bs=t=>{if(t?.r===gn)return t?._$litStatic$},Qr=t=>({_$litStatic$:t,r:gn});var yn=new Map,Jr=t=>(r,...o)=>{let n=o.length,i,s,l=[],d=[],u,p=0,h=!1;for(;p<n;){for(u=r[p];p<n&&(s=o[p],(i=Bs(s))!==void 0);)u+=i+r[++p],h=!0;p!==n&&d.push(s),l.push(u),p++}if(p===n&&l.push(r[n]),h){let y=l.join("$$lit$$");(r=yn.get(y))===void 0&&(l.raw=l,yn.set(y,r=l)),o=d}return t(r,...o)},eo=Jr(un),Yl=Jr(pn),Xl=Jr(fn);var to=b(oe()),ra=b(T());var tr;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(tr||(tr={}));var de=b(K()),S=b(T());var we=b(K(),1),ke=t=>typeof t=="string"?(0,we.unsafeCSS)(t):t,e=class{static create(r,o,n,i){let s=d=>ke(d??i),l=we.css`var(${ke(r)}, ${s(i)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.set=d=>mn(l,d??s(i)),l.get=d=>we.css`var(${ke(r)}, ${s(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(r,o,n,i){let s=d=>n.get(d??i),l=we.css`var(${ke(r)}, ${s(i)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.set=d=>mn(l,d??s(i)),l.get=d=>we.css`var(${ke(r)}, ${s(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(r,o){let n=s=>r.defaultCssValue(s),i=we.css`var(${ke(r.name)}, ${n(r.defaultValue)})`;return i.name=r.name,i.category=r.category,i.fallbackVariable=r.fallbackVariable,i.defaultValue=r.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>r.set(s),i.get=s=>we.css`var(${ke(r.name)}, ${n(s)})`,i.breadcrumb=()=>r.breadcrumb(),i.lastResortDefaultValue=()=>r.lastResortDefaultValue(),i}};function mn(t,r){return ke(`${t.name}: ${r}`)}var a={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)")},bn={fontFamily:e.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-text-case","","UNKNOWN","none")},xn={fontFamily:e.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},vn={fontFamily:e.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Sn={fontFamily:e.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},On={fontFamily:e.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Cn={fontFamily:e.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},En={fontFamily:e.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},An={fontFamily:e.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},ut={fontFamily:e.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},Ms={fontFamily:e.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},wn={fontFamily:e.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Rn={fontFamily:e.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Nn={fontFamily:e.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Dn={fontFamily:e.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},Qe={fontFamily:e.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},rr={display:bn,"title-1":xn,"title-2":vn,"title-3":Sn,"body-1-regular":On,"body-1-medium":Cn,"body-1-semibold":En,"body-2-regular":An,"body-2-medium":ut,"body-2-medium-underline":Ms,"body-2-semibold":wn,"label-1-medium":Rn,"label-1-semibold":Nn,"label-1-bold":_n,"label-2-medium":In,"label-2-semibold":Tn,"label-2-bold":Ln,"caption-1-medium":Pn,"caption-1-semibold":kn,"caption-1-bold":Dn,"caption-2-medium":Qe,"caption-2-semibold":Un,"caption-2-bold":Bn,"caption-3-medium":Mn,"caption-3-semibold":Fn,"caption-3-bold":zn};var c={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",a.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var uc={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ft-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",a.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","",a.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",a.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","",a.spacing2),smallGap:e.extend("--ft-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",a.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","",a.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","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",a.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","",c.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",a.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","",c.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",a.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","",c.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",a.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","",c.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",a.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","",c.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var gc={loadMoreIconSize:e.extend("--ft-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ft-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ft-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:e.extend("--ft-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:e.extend("--ft-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ft-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ft-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ft-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ft-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ft-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ft-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ft-tree-list-node-root-padding-left","",a.spacing3),nodeChildPaddingLeft:e.extend("--ft-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ft-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ft-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ft-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ft-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ft-tree-list-node-unselected-counter-color","",c.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ft-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ft-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ft-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ft-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ft-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ft-tree-list-node-selected-counter-color","",c.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ft-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ft-tree-list-header-section-padding-left","",a.spacing3),headerSectionPaddingRight:e.extend("--ft-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ft-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ft-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ft-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ft-tree-list-header-section-counter-color","",c.contentGlobalSecondary),listContainerBorderWidth:e.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ft-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ft-tree-list-list-container-border-color","",c.borderGlobalSubtle)};var Sc={iconSize:e.extend("--ft-checkbox-icon-size","",a.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","",c.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",c.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","",a.spacing3),leftPadding:e.extend("--ft-checkbox-left-padding","",a.spacing2)};var wc={circleSize:e.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ft-radio-border-width","","SIZE","2px"),color:e.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ft-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ft-radio-horizontal-gap","",a.spacing3)};var Tc={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ft-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ft-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ft-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ft-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ft-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ft-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ft-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ft-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ft-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ft-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ft-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ft-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ft-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ft-table-data-cell-vertical-gap","",a.spacing1)};var Uc={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",a.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","",a.iconSize2)};var Hc={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ft-chip-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",a.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","",a.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ft-chip-small-gap","",a.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","",a.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var Kc={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",a.colorBrand100)};var Xc={iconSize:e.extend("--ft-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var rd={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",c.contentActionPrimary)};var sd={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var pd={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var md={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",a.spacing4)};var Sd={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",a.spacing6)};var wd={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ft-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ft-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",a.borderRadiusM)};var Td={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ft-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",a.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","",a.colorGray700)};var Ud={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var Hd={largeFieldHorizontalPadding:e.extend("--ft-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ft-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ft-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ft-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ft-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ft-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ft-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ft-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:e.extend("--ft-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),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","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",a.opacity40)};var Kd={backgroundColor:e.extend("--ft-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",c.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","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",a.borderRadiusS)};var Xd={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",a.shadowElevation02)};var ru={largeFieldHorizontalPadding:e.extend("--ft-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ft-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ft-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ft-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ft-combobox-single-select-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",a.opacity40)};var su={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.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","",a.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",a.borderRadiusS)};var pu={backgroundColor:e.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",c.contentGlobalSecondary),gap:e.extend("--ft-popover-gap","",a.spacing2),borderRadius:e.extend("--ft-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ft-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ft-popover-multi-section-vertical-gap","",a.spacing6)};var mu={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",a.iconSize3)};var Ou={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ft-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",a.borderRadiusS)};var wu={color1Light:e.extend("--ft-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",a.colorRed40),color5Base:e.extend("--ft-chart-5-base","",a.colorRed60),color6Light:e.extend("--ft-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",a.colorGray50),color10Base:e.extend("--ft-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Iu={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var Du={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ft-notice-gap","",a.spacing2),iconSize:e.extend("--ft-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",c.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","",a.spacing1),denseIconSize:e.extend("--ft-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ft-notice-dense-border-width","","SIZE","0")};var zu={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:e.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",a.spacing3)};var ju={iconSize:e.extend("--ft-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",a.spacing8)};var Yu={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ft-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",a.spacing05)};var tp={verticalPadding:e.extend("--ft-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ft-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ft-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ft-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ft-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ft-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ft-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ft-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ft-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ft-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ft-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var ap={menuHorizontalPadding:e.extend("--ft-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ft-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ft-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var Hn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Hn||(Hn={}));var Wn;(function(t){t.large="large",t.medium="medium",t.small="small"})(Wn||(Wn={}));var pt=b(K());function $n(t,r){let o=rr[t];return pt.css`
|
|
7
|
-
${r?(0,
|
|
1
|
+
"use strict";(()=>{var Ns=Object.create;var qo=Object.defineProperty;var Is=Object.getOwnPropertyDescriptor;var _s=Object.getOwnPropertyNames;var Ts=Object.getPrototypeOf,Ls=Object.prototype.hasOwnProperty;var qe=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var Ps=(t,r,o,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of _s(r))!Ls.call(t,i)&&i!==o&&qo(t,i,{get:()=>r[i],enumerable:!(n=Is(r,i))||n.enumerable});return t};var b=(t,r,o)=>(o=t!=null?Ns(Ts(t)):{},Ps(r||!t||!t.__esModule?qo(o,"default",{value:t,enumerable:!0}):o,t));var T=qe((Wl,Yo)=>{Yo.exports=ftGlobals.wcUtils});var K=qe(($l,Xo)=>{Xo.exports=ftGlobals.lit});var oe=qe((Gl,Qo)=>{Qo.exports=ftGlobals.litDecorators});var Jt=qe((Vl,tn)=>{tn.exports=ftGlobals.litClassMap});var $r=qe((Zl,rn)=>{rn.exports=ftGlobals.litRepeat});var Aa=qe((Sh,Ea)=>{Ea.exports=ftGlobals.litUnsafeHTML});var Ha=qe((Fe,za)=>{var ur=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,fr=function(){function t(){this.fetch=!1,this.DOMException=ur.DOMException}return t.prototype=ur,new t}();(function(t){var r=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function s(f){return f&&DataView.prototype.isPrototypeOf(f)}if(i.arrayBuffer)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(f){return f&&l.indexOf(Object.prototype.toString.call(f))>-1};function p(f){if(typeof f!="string"&&(f=String(f)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(f)||f==="")throw new TypeError('Invalid character in header field name: "'+f+'"');return f.toLowerCase()}function u(f){return typeof f!="string"&&(f=String(f)),f}function h(f){var m={next:function(){var w=f.shift();return{done:w===void 0,value:w}}};return i.iterable&&(m[Symbol.iterator]=function(){return m}),m}function y(f){this.map={},f instanceof y?f.forEach(function(m,w){this.append(w,m)},this):Array.isArray(f)?f.forEach(function(m){if(m.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+m.length);this.append(m[0],m[1])},this):f&&Object.getOwnPropertyNames(f).forEach(function(m){this.append(m,f[m])},this)}y.prototype.append=function(f,m){f=p(f),m=u(m);var w=this.map[f];this.map[f]=w?w+", "+m:m},y.prototype.delete=function(f){delete this.map[p(f)]},y.prototype.get=function(f){return f=p(f),this.has(f)?this.map[f]:null},y.prototype.has=function(f){return this.map.hasOwnProperty(p(f))},y.prototype.set=function(f,m){this.map[p(f)]=u(m)},y.prototype.forEach=function(f,m){for(var w in this.map)this.map.hasOwnProperty(w)&&f.call(m,this.map[w],w,this)},y.prototype.keys=function(){var f=[];return this.forEach(function(m,w){f.push(w)}),h(f)},y.prototype.values=function(){var f=[];return this.forEach(function(m){f.push(m)}),h(f)},y.prototype.entries=function(){var f=[];return this.forEach(function(m,w){f.push([w,m])}),h(f)},i.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(f){if(!f._noBody){if(f.bodyUsed)return Promise.reject(new TypeError("Already read"));f.bodyUsed=!0}}function O(f){return new Promise(function(m,w){f.onload=function(){m(f.result)},f.onerror=function(){w(f.error)}})}function x(f){var m=new FileReader,w=O(m);return m.readAsArrayBuffer(f),w}function C(f){var m=new FileReader,w=O(m),B=/charset=([A-Za-z0-9_-]+)/.exec(f.type),G=B?B[1]:"utf-8";return m.readAsText(f,G),w}function k(f){for(var m=new Uint8Array(f),w=new Array(m.length),B=0;B<m.length;B++)w[B]=String.fromCharCode(m[B]);return w.join("")}function I(f){if(f.slice)return f.slice(0);var m=new Uint8Array(f.byteLength);return m.set(new Uint8Array(f)),m.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(f){this.bodyUsed=this.bodyUsed,this._bodyInit=f,f?typeof f=="string"?this._bodyText=f:i.blob&&Blob.prototype.isPrototypeOf(f)?this._bodyBlob=f:i.formData&&FormData.prototype.isPrototypeOf(f)?this._bodyFormData=f:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)?this._bodyText=f.toString():i.arrayBuffer&&i.blob&&s(f)?(this._bodyArrayBuffer=I(f.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(f)||d(f))?this._bodyArrayBuffer=I(f):this._bodyText=f=Object.prototype.toString.call(f):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof f=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(f)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var f=g(this);if(f)return f;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var f=g(this);return f||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var f=g(this);if(f)return f;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(k(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}var F=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(f){var m=f.toUpperCase();return F.indexOf(m)>-1?m:f}function J(f,m){if(!(this instanceof J))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');m=m||{};var w=m.body;if(f instanceof J){if(f.bodyUsed)throw new TypeError("Already read");this.url=f.url,this.credentials=f.credentials,m.headers||(this.headers=new y(f.headers)),this.method=f.method,this.mode=f.mode,this.signal=f.signal,!w&&f._bodyInit!=null&&(w=f._bodyInit,f.bodyUsed=!0)}else this.url=String(f);if(this.credentials=m.credentials||this.credentials||"same-origin",(m.headers||!this.headers)&&(this.headers=new y(m.headers)),this.method=U(m.method||this.method||"GET"),this.mode=m.mode||this.mode||null,this.signal=m.signal||this.signal||function(){if("AbortController"in n){var P=new AbortController;return P.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&w)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(w),(this.method==="GET"||this.method==="HEAD")&&(m.cache==="no-store"||m.cache==="no-cache")){var B=/([?&])_=[^&]*/;if(B.test(this.url))this.url=this.url.replace(B,"$1_="+new Date().getTime());else{var G=/\?/;this.url+=(G.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}J.prototype.clone=function(){return new J(this,{body:this._bodyInit})};function ye(f){var m=new FormData;return f.trim().split("&").forEach(function(w){if(w){var B=w.split("="),G=B.shift().replace(/\+/g," "),P=B.join("=").replace(/\+/g," ");m.append(decodeURIComponent(G),decodeURIComponent(P))}}),m}function Ke(f){var m=new y,w=f.replace(/\r?\n[\t ]+/g," ");return w.split("\r").map(function(B){return B.indexOf(`
|
|
2
|
+
`)===0?B.substr(1,B.length):B}).forEach(function(B){var G=B.split(":"),P=G.shift().trim();if(P){var Qt=G.join(":").trim();try{m.append(P,Qt)}catch(Wr){console.warn("Response "+Wr.message)}}}),m}_.call(J.prototype);function ie(f,m){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(m||(m={}),this.type="default",this.status=m.status===void 0?200:m.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=m.statusText===void 0?"":""+m.statusText,this.headers=new y(m.headers),this.url=m.url||"",this._initBody(f)}_.call(ie.prototype),ie.prototype.clone=function(){return new ie(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},ie.error=function(){var f=new ie(null,{status:200,statusText:""});return f.ok=!1,f.status=0,f.type="error",f};var Ve=[301,302,303,307,308];ie.redirect=function(f,m){if(Ve.indexOf(m)===-1)throw new RangeError("Invalid status code");return new ie(null,{status:m,headers:{location:f}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(m,w){this.message=m,this.name=w;var B=Error(m);this.stack=B.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function dt(f,m){return new Promise(function(w,B){var G=new J(f,m);if(G.signal&&G.signal.aborted)return B(new o.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function Qt(){P.abort()}P.onload=function(){var ee={statusText:P.statusText,headers:Ke(P.getAllResponseHeaders()||"")};G.url.indexOf("file://")===0&&(P.status<200||P.status>599)?ee.status=200:ee.status=P.status,ee.url="responseURL"in P?P.responseURL:ee.headers.get("X-Request-URL");var Ze="response"in P?P.response:P.responseText;setTimeout(function(){w(new ie(Ze,ee))},0)},P.onerror=function(){setTimeout(function(){B(new TypeError("Network request failed"))},0)},P.ontimeout=function(){setTimeout(function(){B(new TypeError("Network request timed out"))},0)},P.onabort=function(){setTimeout(function(){B(new o.DOMException("Aborted","AbortError"))},0)};function Wr(ee){try{return ee===""&&n.location.href?n.location.href:ee}catch{return ee}}if(P.open(G.method,Wr(G.url),!0),G.credentials==="include"?P.withCredentials=!0:G.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&(i.blob?P.responseType="blob":i.arrayBuffer&&(P.responseType="arraybuffer")),m&&typeof m.headers=="object"&&!(m.headers instanceof y||n.Headers&&m.headers instanceof n.Headers)){var Zo=[];Object.getOwnPropertyNames(m.headers).forEach(function(ee){Zo.push(p(ee)),P.setRequestHeader(ee,u(m.headers[ee]))}),G.headers.forEach(function(ee,Ze){Zo.indexOf(Ze)===-1&&P.setRequestHeader(Ze,ee)})}else G.headers.forEach(function(ee,Ze){P.setRequestHeader(Ze,ee)});G.signal&&(G.signal.addEventListener("abort",Qt),P.onreadystatechange=function(){P.readyState===4&&G.signal.removeEventListener("abort",Qt)}),P.send(typeof G._bodyInit>"u"?null:G._bodyInit)})}return dt.polyfill=!0,n.fetch||(n.fetch=dt,n.Headers=y,n.Request=J,n.Response=ie),o.Headers=y,o.Request=J,o.Response=ie,o.fetch=dt,o}({})})(fr);fr.fetch.ponyfill=!0;delete fr.fetch.polyfill;var At=ur.fetch?ur:fr;Fe=At.fetch;Fe.default=At.fetch;Fe.fetch=At.fetch;Fe.Headers=At.Headers;Fe.Request=At.Request;Fe.Response=At.Response;za.exports=Fe});var Rs=b(T());var qt=b(K()),As=b(oe()),Xt=b(T());var Jo=b(K()),jl={},en=Jo.css`
|
|
3
|
+
`;var co=b(T());var rt=b(K()),M=b(oe()),lo=b(Jt()),Pa=b($r());function er(t,r,o){return t?r(t):o?.(t)}var Yr=globalThis,tr=Yr.trustedTypes,on=tr?tr.createPolicy("lit-html",{createHTML:t=>t}):void 0,dn="$lit$",Pe=`lit$${Math.random().toFixed(9).slice(2)}$`,pn="?"+Pe,ks=`<${pn}>`,Qe=document,rr=()=>Qe.createComment(""),Pt=t=>t===null||typeof t!="object"&&typeof t!="function",Xr=Array.isArray,Ds=t=>Xr(t)||typeof t?.[Symbol.iterator]=="function",Gr=`[
|
|
4
|
+
\f\r]`,Lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nn=/-->/g,an=/>/g,Ye=RegExp(`>|${Gr}(?:([^\\s"'>=/]+)(${Gr}*=${Gr}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),sn=/'/g,ln=/"/g,un=/^(?:script|style|textarea|title)$/i,Qr=t=>(r,...o)=>({_$litType$:t,strings:r,values:o}),fn=Qr(1),hn=Qr(2),yn=Qr(3),kt=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),cn=new WeakMap,Xe=Qe.createTreeWalker(Qe,129);function gn(t,r){if(!Xr(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return on!==void 0?on.createHTML(r):r}var Us=(t,r)=>{let o=t.length-1,n=[],i,s=r===2?"<svg>":r===3?"<math>":"",l=Lt;for(let d=0;d<o;d++){let p=t[d],u,h,y=-1,g=0;for(;g<p.length&&(l.lastIndex=g,h=l.exec(p),h!==null);)g=l.lastIndex,l===Lt?h[1]==="!--"?l=nn:h[1]!==void 0?l=an:h[2]!==void 0?(un.test(h[2])&&(i=RegExp("</"+h[2],"g")),l=Ye):h[3]!==void 0&&(l=Ye):l===Ye?h[0]===">"?(l=i??Lt,y=-1):h[1]===void 0?y=-2:(y=l.lastIndex-h[2].length,u=h[1],l=h[3]===void 0?Ye:h[3]==='"'?ln:sn):l===ln||l===sn?l=Ye:l===nn||l===an?l=Lt:(l=Ye,i=void 0);let O=l===Ye&&t[d+1].startsWith("/>")?" ":"";s+=l===Lt?p+ks:y>=0?(n.push(u),p.slice(0,y)+dn+p.slice(y)+Pe+O):p+Pe+(y===-2?d:O)}return[gn(t,s+(t[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},Dt=class t{constructor({strings:r,_$litType$:o},n){let i;this.parts=[];let s=0,l=0,d=r.length-1,p=this.parts,[u,h]=Us(r,o);if(this.el=t.createElement(u,n),Xe.currentNode=this.el.content,o===2||o===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Xe.nextNode())!==null&&p.length<d;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(dn)){let g=h[l++],O=i.getAttribute(y).split(Pe),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:s,name:x[2],strings:O,ctor:x[1]==="."?Kr:x[1]==="?"?Vr:x[1]==="@"?Zr:ut}),i.removeAttribute(y)}else y.startsWith(Pe)&&(p.push({type:6,index:s}),i.removeAttribute(y));if(un.test(i.tagName)){let y=i.textContent.split(Pe),g=y.length-1;if(g>0){i.textContent=tr?tr.emptyScript:"";for(let O=0;O<g;O++)i.append(y[O],rr()),Xe.nextNode(),p.push({type:2,index:++s});i.append(y[g],rr())}}}else if(i.nodeType===8)if(i.data===pn)p.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(Pe,y+1))!==-1;)p.push({type:7,index:s}),y+=Pe.length-1}s++}}static createElement(r,o){let n=Qe.createElement("template");return n.innerHTML=r,n}};function pt(t,r,o=t,n){if(r===kt)return r;let i=n!==void 0?o._$Co?.[n]:o._$Cl,s=Pt(r)?void 0:r._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(r=pt(t,i._$AS(t,r.values),i,n)),r}var jr=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,i=(r?.creationScope??Qe).importNode(o,!0);Xe.currentNode=i;let s=Xe.nextNode(),l=0,d=0,p=n[0];for(;p!==void 0;){if(l===p.index){let u;p.type===2?u=new or(s,s.nextSibling,this,r):p.type===1?u=new p.ctor(s,p.name,p.strings,this,r):p.type===6&&(u=new qr(s,this,r)),this._$AV.push(u),p=n[++d]}l!==p?.index&&(s=Xe.nextNode(),l++)}return Xe.currentNode=Qe,i}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},or=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=pt(this,r,o),Pt(r)?r===V||r==null||r===""?(this._$AH!==V&&this._$AR(),this._$AH=V):r!==this._$AH&&r!==kt&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Ds(r)?this.k(r):this._(r)}O(r){return this._$AA.parentNode.insertBefore(r,this._$AB)}T(r){this._$AH!==r&&(this._$AR(),this._$AH=this.O(r))}_(r){this._$AH!==V&&Pt(this._$AH)?this._$AA.nextSibling.data=r:this.T(Qe.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,i=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=Dt.createElement(gn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let s=new jr(i,this),l=s.u(this.options);s.p(o),this.T(l),this._$AH=s}}_$AC(r){let o=cn.get(r.strings);return o===void 0&&cn.set(r.strings,o=new Dt(r)),o}k(r){Xr(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let s of r)i===o.length?o.push(n=new t(this.O(rr()),this.O(rr()),this,this.options)):n=o[i],n._$AI(s),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},ut=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,i,s){this.type=1,this._$AH=V,this._$AN=void 0,this.element=r,this.name=o,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(r,o=this,n,i){let s=this.strings,l=!1;if(s===void 0)r=pt(this,r,o,0),l=!Pt(r)||r!==this._$AH&&r!==kt,l&&(this._$AH=r);else{let d=r,p,u;for(r=s[0],p=0;p<s.length-1;p++)u=pt(this,d[n+p],o,p),u===kt&&(u=this._$AH[p]),l||=!Pt(u)||u!==this._$AH[p],u===V?r=V:r!==V&&(r+=(u??"")+s[p+1]),this._$AH[p]=u}l&&!i&&this.j(r)}j(r){r===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},Kr=class extends ut{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===V?void 0:r}},Vr=class extends ut{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==V)}},Zr=class extends ut{constructor(r,o,n,i,s){super(r,o,n,i,s),this.type=5}_$AI(r,o=this){if((r=pt(this,r,o,0)??V)===kt)return;let n=this._$AH,i=r===V&&n!==V||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,s=r!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},qr=class{constructor(r,o,n){this.element=r,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(r){pt(this,r)}};var Bs=Yr.litHtmlPolyfillSupport;Bs?.(Dt,or),(Yr.litHtmlVersions??=[]).push("3.3.0");var Jr=t=>t??V;var Me=b(T());var aa=b(T());var bn=Symbol.for(""),Ms=t=>{if(t?.r===bn)return t?._$litStatic$},eo=t=>({_$litStatic$:t,r:bn});var mn=new Map,to=t=>(r,...o)=>{let n=o.length,i,s,l=[],d=[],p,u=0,h=!1;for(;u<n;){for(p=r[u];u<n&&(s=o[u],(i=Ms(s))!==void 0);)p+=i+r[++u],h=!0;u!==n&&d.push(s),l.push(p),u++}if(u===n&&l.push(r[n]),h){let y=l.join("$$lit$$");(r=mn.get(y))===void 0&&(l.raw=l,mn.set(y,r=l)),o=d}return t(r,...o)},ro=to(fn),nc=to(hn),ac=to(yn);var oo=b(oe()),na=b(T());var Je;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Je||(Je={}));var de=b(K()),S=b(T());var we=b(K(),1),ke=t=>typeof t=="string"?(0,we.unsafeCSS)(t):t,e=class{static create(r,o,n,i){let s=d=>ke(d??i),l=we.css`var(${ke(r)}, ${s(i)})`;return l.name=r,l.description=o,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.set=d=>xn(l,d??s(i)),l.get=d=>we.css`var(${ke(r)}, ${s(d)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(r,o,n,i){let s=d=>n.get(d??i),l=we.css`var(${ke(r)}, ${s(i)})`;return l.name=r,l.description=o,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.set=d=>xn(l,d??s(i)),l.get=d=>we.css`var(${ke(r)}, ${s(d)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(r,o){let n=s=>r.defaultCssValue(s),i=we.css`var(${ke(r.name)}, ${n(r.defaultValue)})`;return i.name=r.name,i.category=r.category,i.fallbackVariable=r.fallbackVariable,i.defaultValue=r.defaultValue,i.context=o,i.defaultCssValue=n,i.set=s=>r.set(s),i.get=s=>we.css`var(${ke(r.name)}, ${n(s)})`,i.breadcrumb=()=>r.breadcrumb(),i.lastResortDefaultValue=()=>r.lastResortDefaultValue(),i}};function xn(t,r){return ke(`${t.name}: ${r}`)}var a={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)")},vn={fontFamily:e.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:e.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-display-text-case","","UNKNOWN","none")},Sn={fontFamily:e.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:e.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},On={fontFamily:e.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:e.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:e.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},Cn={fontFamily:e.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:e.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:e.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:e.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},En={fontFamily:e.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},An={fontFamily:e.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},wn={fontFamily:e.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:e.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Rn={fontFamily:e.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:e.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},ft={fontFamily:e.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},Fs={fontFamily:e.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:e.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:e.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Nn={fontFamily:e.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:e.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:e.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:e.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},In={fontFamily:e.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},_n={fontFamily:e.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Tn={fontFamily:e.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:e.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ln={fontFamily:e.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Pn={fontFamily:e.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},kn={fontFamily:e.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:e.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:e.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:e.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Dn={fontFamily:e.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Un={fontFamily:e.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Bn={fontFamily:e.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:e.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},et={fontFamily:e.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Mn={fontFamily:e.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Fn={fontFamily:e.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:e.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},zn={fontFamily:e.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:e.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Hn={fontFamily:e.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:e.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Wn={fontFamily:e.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:e.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:e.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:e.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:e.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:e.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:e.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:e.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:e.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},nr={display:vn,"title-1":Sn,"title-2":On,"title-3":Cn,"body-1-regular":En,"body-1-medium":An,"body-1-semibold":wn,"body-2-regular":Rn,"body-2-medium":ft,"body-2-medium-underline":Fs,"body-2-semibold":Nn,"label-1-medium":In,"label-1-semibold":_n,"label-1-bold":Tn,"label-2-medium":Ln,"label-2-semibold":Pn,"label-2-bold":kn,"caption-1-medium":Dn,"caption-1-semibold":Un,"caption-1-bold":Bn,"caption-2-medium":et,"caption-2-semibold":Mn,"caption-2-bold":Fn,"caption-3-medium":zn,"caption-3-semibold":Hn,"caption-3-bold":Wn};var c={backgroundActionPrimary:e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",a.colorBrand0),backgroundErrorSubtle:e.extend("--ft-background-error-subtle","Used as background of subtle error components.",a.colorRed10),backgroundInfoSubtle:e.extend("--ft-background-info-subtle","Used as background of subtle information components.",a.colorCyan10),backgroundWarningSubtle:e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",a.colorOrange10),backgroundSuccessSubtle:e.extend("--ft-background-success-subtle","Used as background of subtle success components.",a.colorGreen10),backgroundGlobalSurface:e.extend("--ft-background-global-surface","Used as app background.",a.colorWhite),backgroundGlobalOnSurface:e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",a.colorGray10),backgroundGlobalOnSurfaceDark:e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",a.colorGray30),contentActionPrimary:e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",a.colorBrand0),contentWarningPrimary:e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",a.colorOrange200),contentWarningIconOnly:e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",a.colorOrange0),contentErrorPrimary:e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",a.colorRed0),contentErrorIconOnly:e.extend("--ft-content-error-icon-only","Used on error status icons alone",a.colorRed70),contentInfoPrimary:e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",a.colorCyan200),contentInfoIconOnly:e.extend("--ft-content-info-icon-only","Used on info status icons alone",a.colorCyan0),contentSuccessPrimary:e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",a.colorGreen200),contentSuccessIconOnly:e.extend("--ft-content-success-icon-only","Used on success status icons alone",a.colorGreen0),contentGlobalPrimary:e.extend("--ft-content-global-primary","Used for main content on the page.",a.colorGray500),contentGlobalSecondary:e.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",a.colorGray0),contentGlobalOnColor:e.extend("--ft-content-global-on-color","Used for content on a dominant color.",a.colorWhite),borderActionPrimary:e.extend("--ft-border-action-primary","Used as border for primary action components.",a.colorBrand0),borderActionFocusRing:e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",a.colorCyan0),borderWarningPrimary:e.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",a.colorOrange200),borderWarningSubtle:e.extend("--ft-border-warning-subtle","Used as border for warning components.",a.colorOrange30),borderSuccessPrimary:e.extend("--ft-border-success-primary","Used as border for success buttons.",a.colorGreen200),borderSuccessSubtle:e.extend("--ft-border-success-subtle","Used as border for success components.",a.colorGreen30),borderErrorPrimary:e.extend("--ft-border-error-primary","Used as border for text fields in error states.",a.colorRed0),borderErrorSubtle:e.extend("--ft-border-error-subtle","Used as border for error components.",a.colorRed30),borderInfoPrimary:e.extend("--ft-border-info-primary","Used as border for buttons in info color.",a.colorCyan200),borderInfoSubtle:e.extend("--ft-border-info-subtle","Used as border for information components.",a.colorCyan30),borderGlobalPrimary:e.extend("--ft-border-global-primary","Used as border for element like input.",a.colorGray50),borderGlobalSubtle:e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",a.colorGray30),borderInputPrimary:e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",a.colorGray80),borderNeutralPrimary:e.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",a.colorGray200)};var xc={largeHeight:e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:e.extend("--ft-button-large-horizontal-padding","",a.spacing4),largeGap:e.extend("--ft-button-large-gap","",a.spacing2),largeBorderRadius:e.extend("--ft-button-large-border-radius","",a.borderRadiusS),largeIconSize:e.extend("--ft-button-large-icon-size","",a.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","",a.spacing3),mediumGap:e.extend("--ft-button-medium-gap","",a.spacing2),mediumBorderRadius:e.extend("--ft-button-medium-border-radius","",a.borderRadiusS),mediumIconSize:e.extend("--ft-button-medium-icon-size","",a.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","",a.spacing2),smallGap:e.extend("--ft-button-small-gap","",a.spacing1),smallBorderRadius:e.extend("--ft-button-small-border-radius","",a.borderRadiusS),smallIconSize:e.extend("--ft-button-small-icon-size","",a.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","",a.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","",a.borderRadiusPill),primaryBrandBackgroundColor:e.extend("--ft-button-primary-brand-background-color","",c.backgroundActionPrimary),primaryBrandColor:e.extend("--ft-button-primary-brand-color","",c.contentGlobalOnColor),primaryBrandIconColor:e.extend("--ft-button-primary-brand-icon-color","",c.contentGlobalOnColor),primaryBrandStateLayerColor:e.extend("--ft-button-primary-brand-state-layer-color","",c.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:e.extend("--ft-button-primary-brand-hover-state-layer-opacity","",a.opacity16),primaryBrandFocusStateLayerOpacity:e.extend("--ft-button-primary-brand-focus-state-layer-opacity","",a.opacity16),primaryBrandActiveStateLayerOpacity:e.extend("--ft-button-primary-brand-active-state-layer-opacity","",a.opacity24),primaryBrandDisabledComponentOpacity:e.extend("--ft-button-primary-brand-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-button-focus-focus-ring-color","",c.borderActionFocusRing),tertiaryBrandBackgroundColor:e.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:e.extend("--ft-button-tertiary-brand-color","",c.contentActionPrimary),tertiaryBrandIconColor:e.extend("--ft-button-tertiary-brand-icon-color","",c.contentActionPrimary),tertiaryBrandStateLayerColor:e.extend("--ft-button-tertiary-brand-state-layer-color","",c.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:e.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",a.opacity8),tertiaryBrandFocusStateLayerOpacity:e.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",a.opacity8),tertiaryBrandActiveStateLayerOpacity:e.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",a.opacity16),tertiaryBrandDisabledComponentOpacity:e.extend("--ft-button-tertiary-brand-disabled-component-opacity","",a.opacity40),tertiaryInfoBackgroundColor:e.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:e.extend("--ft-button-tertiary-info-color","",c.contentInfoPrimary),tertiaryInfoIconColor:e.extend("--ft-button-tertiary-info-icon-color","",c.contentInfoPrimary),tertiaryInfoStateLayerColor:e.extend("--ft-button-tertiary-info-state-layer-color","",c.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:e.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",a.opacity8),tertiaryInfoHoverStateLayerOpacity:e.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",a.opacity8),tertiaryInfoActiveStateLayerOpacity:e.extend("--ft-button-tertiary-info-active-state-layer-opacity","",a.opacity16),tertiaryInfoDisabledComponentOpacity:e.extend("--ft-button-tertiary-info-disabled-component-opacity","",a.opacity40),tertiarySuccessBackgroundColor:e.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:e.extend("--ft-button-tertiary-success-color","",c.contentSuccessPrimary),tertiarySuccessIconColor:e.extend("--ft-button-tertiary-success-icon-color","",c.contentSuccessPrimary),tertiarySuccessStateLayerColor:e.extend("--ft-button-tertiary-success-state-layer-color","",c.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:e.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",a.opacity8),tertiarySuccessFocusStateLayerOpacity:e.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",a.opacity8),tertiarySuccessActiveStateLayerOpacity:e.extend("--ft-button-tertiary-success-active-state-layer-opacity","",a.opacity16),tertiarySuccessDisabledComponentOpacity:e.extend("--ft-button-tertiary-success-disabled-component-opacity","",a.opacity40),tertiaryWarningBackgroundColor:e.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:e.extend("--ft-button-tertiary-warning-color","",c.contentWarningPrimary),tertiaryWarningIconColor:e.extend("--ft-button-tertiary-warning-icon-color","",c.contentWarningPrimary),tertiaryWarningStateLayerColor:e.extend("--ft-button-tertiary-warning-state-layer-color","",c.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:e.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",a.opacity8),tertiaryWarningFocusStateLayerOpacity:e.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",a.opacity8),tertiaryWarningActiveStateLayerOpacity:e.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",a.opacity16),tertiaryWarningDisabledComponentOpacity:e.extend("--ft-button-tertiary-warning-disabled-component-opacity","",a.opacity40),tertiaryErrorBackgroundColor:e.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:e.extend("--ft-button-tertiary-error-color","",c.contentErrorPrimary),tertiaryErrorIconColor:e.extend("--ft-button-tertiary-error-icon-color","",c.contentErrorPrimary),tertiaryErrorStateLayerColor:e.extend("--ft-button-tertiary-error-state-layer-color","",c.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:e.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",a.opacity8),tertiaryErrorFocusStateLayerOpacity:e.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",a.opacity8),tertiaryErrorActiveStateLayerOpacity:e.extend("--ft-button-tertiary-error-active-state-layer-opacity","",a.opacity16),tertiaryErrorDisabledComponentOpacity:e.extend("--ft-button-tertiary-error-disabled-component-opacity","",a.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","",c.contentGlobalSecondary),tertiaryNeutralColor:e.extend("--ft-button-tertiary-neutral-color","",c.contentGlobalSecondary),tertiaryNeutralStateLayerColor:e.extend("--ft-button-tertiary-neutral-state-layer-color","",c.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",a.opacity8),tertiaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",a.opacity8),tertiaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",a.opacity16),tertiaryNeutralDisabledComponentOpacity:e.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",a.opacity40),secondaryBrandBackgroundColor:e.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:e.extend("--ft-button-secondary-brand-color","",c.contentActionPrimary),secondaryBrandIconColor:e.extend("--ft-button-secondary-brand-icon-color","",c.contentActionPrimary),secondaryBrandStateLayerColor:e.extend("--ft-button-secondary-brand-state-layer-color","",c.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:e.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",a.opacity8),secondaryBrandFocusStateLayerOpacity:e.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",a.opacity8),secondaryBrandActiveStateLayerOpacity:e.extend("--ft-button-secondary-brand-active-state-layer-opacity","",a.opacity16),secondaryBrandDisabledComponentOpacity:e.extend("--ft-button-secondary-brand-disabled-component-opacity","",a.opacity40),secondaryBrandBorderColor:e.extend("--ft-button-secondary-brand-border-color","",c.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:e.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",a.opacity8),secondaryNeutralFocusStateLayerOpacity:e.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",a.opacity8),secondaryNeutralActiveStateLayerOpacity:e.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",a.opacity16),secondaryNeutralDisabledComponentOpacity:e.extend("--ft-button-secondary-neutral-disabled-component-opacity","",a.opacity40),secondaryNeutralBackgroundColor:e.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:e.extend("--ft-button-secondary-neutral-color","",c.contentGlobalSecondary),secondaryNeutralIconColor:e.extend("--ft-button-secondary-neutral-icon-color","",c.contentGlobalSecondary),secondaryNeutralStateLayerColor:e.extend("--ft-button-secondary-neutral-state-layer-color","",c.contentGlobalSecondary),secondaryNeutralBorderColor:e.extend("--ft-button-secondary-neutral-border-color","",c.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:e.extend("--ft-button-secondary-info-hover-state-layer-opacity","",a.opacity8),secondaryInfoFocusStateLayerOpacity:e.extend("--ft-button-secondary-info-focus-state-layer-opacity","",a.opacity8),secondaryInfoActiveStateLayerOpacity:e.extend("--ft-button-secondary-info-active-state-layer-opacity","",a.opacity16),secondaryInfoDisabledComponentOpacity:e.extend("--ft-button-secondary-info-disabled-component-opacity","",a.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","",c.borderInfoPrimary),secondaryInfoColor:e.extend("--ft-button-secondary-info-color","",c.contentInfoPrimary),secondaryInfoIconColor:e.extend("--ft-button-secondary-info-icon-color","",c.contentInfoPrimary),secondaryInfoStateLayerColor:e.extend("--ft-button-secondary-info-state-layer-color","",c.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:e.extend("--ft-button-secondary-success-hover-state-layer-opacity","",a.opacity8),secondarySuccessFocusStateLayerOpacity:e.extend("--ft-button-secondary-success-focus-state-layer-opacity","",a.opacity8),secondarySuccessActiveStateLayerOpacity:e.extend("--ft-button-secondary-success-active-state-layer-opacity","",a.opacity16),secondarySuccessDisabledComponentOpacity:e.extend("--ft-button-secondary-success-disabled-component-opacity","",a.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","",c.borderSuccessPrimary),secondarySuccessColor:e.extend("--ft-button-secondary-success-color","",c.contentSuccessPrimary),secondarySuccessIconColor:e.extend("--ft-button-secondary-success-icon-color","",c.contentSuccessPrimary),secondarySuccessStateLayerColor:e.extend("--ft-button-secondary-success-state-layer-color","",c.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:e.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",a.opacity8),secondaryWarningFocusStateLayerOpacity:e.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",a.opacity8),secondaryWarningActiveStateLayerOpacity:e.extend("--ft-button-secondary-warning-active-state-layer-opacity","",a.opacity16),secondaryWarningDisabledComponentOpacity:e.extend("--ft-button-secondary-warning-disabled-component-opacity","",a.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","",c.borderWarningPrimary),secondaryWarningColor:e.extend("--ft-button-secondary-warning-color","",c.contentWarningPrimary),secondaryWarningIconColor:e.extend("--ft-button-secondary-warning-icon-color","",c.contentWarningPrimary),secondaryWarningStateLayerColor:e.extend("--ft-button-secondary-warning-state-layer-color","",c.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:e.extend("--ft-button-secondary-error-hover-state-layer-opacity","",a.opacity8),secondaryErrorFocusStateLayerOpacity:e.extend("--ft-button-secondary-error-focus-state-layer-opacity","",a.opacity8),secondaryErrorActiveStateLayerOpacity:e.extend("--ft-button-secondary-error-active-state-layer-opacity","",a.opacity16),secondaryErrorDisabledComponentOpacity:e.extend("--ft-button-secondary-error-disabled-component-opacity","",a.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","",c.contentErrorPrimary),secondaryErrorColor:e.extend("--ft-button-secondary-error-color","",c.contentErrorPrimary),secondaryErrorIconColor:e.extend("--ft-button-secondary-error-icon-color","",c.contentErrorPrimary),secondaryErrorStateLayerColor:e.extend("--ft-button-secondary-error-state-layer-color","",c.contentErrorPrimary)};var Ec={loadMoreIconSize:e.extend("--ft-tree-list-load-more-icon-size","",a.iconSize2),loadMorePaddingLeft:e.extend("--ft-tree-list-load-more-padding-left","",a.spacing6),loadMoreUnselectedDefaultBorderColor:e.extend("--ft-tree-list-load-more-unselected-default-border-color","",c.borderGlobalSubtle),loadMoreIconColor:e.extend("--ft-tree-list-load-more-icon-color","",c.contentActionPrimary),loadMoreLabelColor:e.extend("--ft-tree-list-load-more-label-color","",c.contentActionPrimary),loadMoreHoverBorderColor:e.extend("--ft-tree-list-load-more-hover-border-color","",a.colorBrand20),loadMoreHoverBackgroundColor:e.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:e.extend("--ft-tree-list-load-more-active-border-color","",a.colorBrand20),loadMoreActiveBackgroundColor:e.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:e.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:e.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:e.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),loadMoreLabelMarginLeft:e.extend("--ft-tree-list-load-more-label-margin-left","",a.spacing1),nodeIconSize:e.extend("--ft-tree-list-node-icon-size","",a.iconSize2),nodeHeight:e.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:e.extend("--ft-tree-list-node-parent-label-margin-left","",a.spacing2),nodeParentLabelMarginRight:e.extend("--ft-tree-list-node-parent-label-margin-right","",a.spacing2),nodeRootPaddingLeft:e.extend("--ft-tree-list-node-root-padding-left","",a.spacing3),nodeChildPaddingLeft:e.extend("--ft-tree-list-node-child-padding-left","",a.spacing5),nodeLeafPaddingLeft:e.extend("--ft-tree-list-node-leaf-padding-left","",a.spacing6),nodeUnselectedDefaultBorderColor:e.extend("--ft-tree-list-node-unselected-default-border-color","",c.borderGlobalSubtle),nodeUnselectedIconColor:e.extend("--ft-tree-list-node-unselected-icon-color","",c.contentGlobalSecondary),nodeUnselectedLabelColor:e.extend("--ft-tree-list-node-unselected-label-color","",c.contentGlobalSecondary),nodeUnselectedCounterColor:e.extend("--ft-tree-list-node-unselected-counter-color","",c.contentGlobalSecondary),nodeHoverBorderColor:e.extend("--ft-tree-list-node-hover-border-color","",c.borderActionPrimary),nodeFocusFocusRingColor:e.extend("--ft-tree-list-node-focus-focus-ring-color","",c.borderActionFocusRing),nodeFocusOutlineWidth:e.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:e.extend("--ft-tree-list-node-selected-default-border-color","",c.borderGlobalPrimary),nodeSelectedIconColor:e.extend("--ft-tree-list-node-selected-icon-color","",c.contentGlobalSecondary),nodeSelectedLabelColor:e.extend("--ft-tree-list-node-selected-label-color","",c.contentGlobalPrimary),nodeSelectedCounterColor:e.extend("--ft-tree-list-node-selected-counter-color","",c.contentGlobalSecondary),nodeSelectedBackgroundColor:e.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:e.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",c.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:e.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:e.extend("--ft-tree-list-node-descendant-of-selected-label-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:e.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",c.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:e.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:e.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:e.extend("--ft-tree-list-header-section-padding-left","",a.spacing3),headerSectionPaddingRight:e.extend("--ft-tree-list-header-section-padding-right","",a.spacing3),headerSectionHorizontalGap:e.extend("--ft-tree-list-header-section-horizontal-gap","",a.spacing2),headerSectionMarginBottom:e.extend("--ft-tree-list-header-section-margin-bottom","",a.spacing2),headerSectionColor:e.extend("--ft-tree-list-header-section-color","",c.contentGlobalPrimary),headerSectionCounterColor:e.extend("--ft-tree-list-header-section-counter-color","",c.contentGlobalSecondary),listContainerBorderWidth:e.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:e.extend("--ft-tree-list-list-container-background-color","",c.backgroundGlobalSurface),listContainerBorderColor:e.extend("--ft-tree-list-list-container-border-color","",c.borderGlobalSubtle),emptyStateIllustrationWidth:e.create("--ft-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:e.create("--ft-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:e.extend("--ft-tree-list-empty-state-illustration-margin-bottom","",a.spacing10),emptyStateContainerPaddingTop:e.extend("--ft-tree-list-empty-state-container-padding-top","",a.spacing10),emptyStateContainerPaddingBottom:e.extend("--ft-tree-list-empty-state-container-padding-bottom","",a.spacing10),emptyStateTitleMarginBottom:e.extend("--ft-tree-list-empty-state-title-margin-bottom","",a.spacing2),emptyStateTitleLabelColor:e.extend("--ft-tree-list-empty-state-title-label-color","",c.contentGlobalSecondary),emptyStateDescriptionLabelColor:e.extend("--ft-tree-list-empty-state-description-label-color","",c.contentGlobalSecondary)};var Ic={iconSize:e.extend("--ft-checkbox-icon-size","",a.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","",c.contentGlobalPrimary),checkedBackgroundColor:e.extend("--ft-checkbox-checked-background-color","",c.contentActionPrimary),checkedStateLayerColor:e.extend("--ft-checkbox-checked-state-layer-color","",c.contentActionPrimary),checkedIconColor:e.extend("--ft-checkbox-checked-icon-color","",c.contentGlobalOnColor),checkedHoverStateLayerOpacity:e.extend("--ft-checkbox-checked-hover-state-layer-opacity","",a.opacity16),checkedFocusStateLayerOpacity:e.extend("--ft-checkbox-checked-focus-state-layer-opacity","",a.opacity16),checkedActiveStateLayerOpacity:e.extend("--ft-checkbox-checked-active-state-layer-opacity","",a.opacity24),checkedDisabledComponentOpacity:e.extend("--ft-checkbox-checked-disabled-component-opacity","",a.opacity40),uncheckedBorderColor:e.extend("--ft-checkbox-unchecked-border-color","",a.colorGray80),uncheckedStateLayerColor:e.extend("--ft-checkbox-unchecked-state-layer-color","",a.colorGray80),uncheckedHoverStateLayerOpacity:e.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",a.opacity16),uncheckedFocusStateLayerOpacity:e.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",a.opacity16),uncheckedActiveStateLayerOpacity:e.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",a.opacity24),uncheckedDisabledComponentOpacity:e.extend("--ft-checkbox-unchecked-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-checkbox-focus-focus-ring-color","",c.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","",a.spacing3),leftPadding:e.extend("--ft-checkbox-left-padding","",a.spacing2)};var kc={circleSize:e.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:e.create("--ft-radio-border-width","","SIZE","2px"),color:e.extend("--ft-radio-color","",c.contentGlobalPrimary),selectedRadioColor:e.extend("--ft-radio-selected-radio-color","",c.contentActionPrimary),selectedStateLayerColor:e.extend("--ft-radio-selected-state-layer-color","",c.contentActionPrimary),selectedHoverStateLayerOpacity:e.extend("--ft-radio-selected-hover-state-layer-opacity","",a.opacity16),selectedFocusStateLayerOpacity:e.extend("--ft-radio-selected-focus-state-layer-opacity","",a.opacity16),selectedActiveStateLayerOpacity:e.extend("--ft-radio-selected-active-state-layer-opacity","",a.opacity24),selectedDisabledComponentOpacity:e.extend("--ft-radio-selected-disabled-component-opacity","",a.opacity40),unselectedStateLayerColor:e.extend("--ft-radio-unselected-state-layer-color","",c.borderInputPrimary),unselectedBorderColor:e.extend("--ft-radio-unselected-border-color","",c.borderInputPrimary),unselectedHoverStateLayerOpacity:e.extend("--ft-radio-unselected-hover-state-layer-opacity","",a.opacity16),unselectedFocusStateLayerOpacity:e.extend("--ft-radio-unselected-focus-state-layer-opacity","",a.opacity16),unselectedActiveStateLayerOpacity:e.extend("--ft-radio-unselected-active-state-layer-opacity","",a.opacity24),unselectedDisabledComponentOpacity:e.extend("--ft-radio-unselected-disabled-component-opacity","",a.opacity40),focusFocusRingColor:e.extend("--ft-radio-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:e.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:e.extend("--ft-radio-vertical-gap","",a.spacing3),horizontalGap:e.extend("--ft-radio-horizontal-gap","",a.spacing3)};var Fc={headerRowBorderWidth:e.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:e.extend("--ft-table-header-row-background-color","",c.backgroundGlobalOnSurfaceDark),headerRowBorderColor:e.extend("--ft-table-header-row-border-color","",c.borderGlobalPrimary),headerRowColor:e.extend("--ft-table-header-row-color","",c.contentGlobalPrimary),dataRowBorderWidth:e.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:e.extend("--ft-table-data-row-background-color","",c.backgroundGlobalOnSurface),dataRowBorderColor:e.extend("--ft-table-data-row-border-color","",c.borderGlobalSubtle),dataRowColor:e.extend("--ft-table-data-row-color","",c.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:e.extend("--ft-table-data-row-default-hover-background-color","",a.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",a.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-default-background-color","",a.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:e.extend("--ft-table-data-row-selectable-selected-default-border-color","",a.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:e.extend("--ft-table-data-row-selectable-selected-hover-background-color","",a.colorBrand20),dataRowSelectableSelectedHoverBorderColor:e.extend("--ft-table-data-row-selectable-selected-hover-border-color","",a.colorBrand30),dataRowSelectableSelectedColor:e.extend("--ft-table-data-row-selectable-selected-color","",c.contentActionPrimary),dataRowClickableHoverBackgroundColor:e.extend("--ft-table-data-row-clickable-hover-background-color","",a.colorGray30),dataRowClickableFocusBorderColor:e.extend("--ft-table-data-row-clickable-focus-border-color","",c.borderActionFocusRing),dataRowClickableFocusBackgroundColor:e.extend("--ft-table-data-row-clickable-focus-background-color","",a.colorGray30),dataRowClickableActiveBackgroundColor:e.extend("--ft-table-data-row-clickable-active-background-color","",a.colorGray40),headerCellHorizontalGap:e.extend("--ft-table-header-cell-horizontal-gap","",a.spacing1),headerCellVerticalPadding:e.extend("--ft-table-header-cell-vertical-padding","",a.spacing2),headerCellHorizontalPadding:e.extend("--ft-table-header-cell-horizontal-padding","",a.spacing3),dataCellVerticalPadding:e.extend("--ft-table-data-cell-vertical-padding","",a.spacing2),dataCellHorizontalPadding:e.extend("--ft-table-data-cell-horizontal-padding","",a.spacing3),dataCellVerticalGap:e.extend("--ft-table-data-cell-vertical-gap","",a.spacing1)};var Gc={neutralOffHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",a.opacity8),neutralOffFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",a.opacity8),neutralOffFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",c.borderActionFocusRing),neutralOffActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",a.opacity16),neutralOffBackgroundColor:e.extend("--ft-chip-choice-neutral-off-background-color","",c.backgroundGlobalOnSurface),neutralOffBorderColor:e.extend("--ft-chip-choice-neutral-off-border-color","",c.borderGlobalPrimary),neutralOffColor:e.extend("--ft-chip-choice-neutral-off-color","",c.contentGlobalSecondary),neutralOffStateLayerColor:e.extend("--ft-chip-choice-neutral-off-state-layer-color","",c.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",a.opacity16),neutralOnHoverStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",a.opacity24),neutralOnFocusStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",a.opacity24),neutralOnFocusFocusRingColor:e.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",c.borderActionFocusRing),neutralOnActiveStateLayerOpacity:e.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",a.opacity32),neutralOnBackgroundColor:e.extend("--ft-chip-choice-neutral-on-background-color","",c.backgroundGlobalOnSurface),neutralOnBorderColor:e.extend("--ft-chip-choice-neutral-on-border-color","",c.borderGlobalPrimary),neutralOnColor:e.extend("--ft-chip-choice-neutral-on-color","",c.contentGlobalPrimary),neutralOnIconColor:e.extend("--ft-chip-choice-neutral-on-icon-color","",c.contentGlobalPrimary),neutralOnStateLayerColor:e.extend("--ft-chip-choice-neutral-on-state-layer-color","",c.contentGlobalPrimary),largeMinHeight:e.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-choice-large-horizontal-padding","",a.spacing3),largeGap:e.extend("--ft-chip-choice-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-choice-medium-horizontal-padding","",a.spacing2),mediumGap:e.extend("--ft-chip-choice-medium-gap","",a.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","",a.iconSize2)};var qc={largeMinHeight:e.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:e.extend("--ft-chip-large-horizontal-padding","",a.spacing3),largeButtonRightPadding:e.extend("--ft-chip-large-button-right-padding","",a.spacing1),largeGap:e.extend("--ft-chip-large-gap","",a.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","",a.iconSize3),mediumMinHeight:e.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:e.extend("--ft-chip-medium-horizontal-padding","",a.spacing2),mediumButtonRightPadding:e.extend("--ft-chip-medium-button-right-padding","",a.spacing05),mediumGap:e.extend("--ft-chip-medium-gap","",a.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","",a.iconSize2),smallMinHeight:e.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:e.extend("--ft-chip-small-horizontal-padding","",a.spacing1),smallButtonRightPadding:e.extend("--ft-chip-small-button-right-padding","",a.spacing05),smallGap:e.extend("--ft-chip-small-gap","",a.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","",a.iconSize1),neutralBackgroundColor:e.extend("--ft-chip-neutral-background-color","",c.backgroundGlobalOnSurface),neutralColor:e.extend("--ft-chip-neutral-color","",c.contentGlobalSecondary),neutralIconColor:e.extend("--ft-chip-neutral-icon-color","",c.contentGlobalSecondary),neutralBorderColor:e.extend("--ft-chip-neutral-border-color","",c.borderGlobalSubtle),infoBackgroundColor:e.extend("--ft-chip-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-chip-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-chip-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-chip-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-chip-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-chip-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-chip-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-chip-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-chip-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-chip-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-chip-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-chip-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-chip-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-chip-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-chip-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-chip-error-border-color","",c.borderErrorSubtle)};var ed={brandHoverOpacity:e.extend("--ft-link-brand-hover-opacity","",a.opacity80),brandHoverColor:e.extend("--ft-link-brand-hover-color","",c.contentActionPrimary),brandFocusFocusRingColor:e.extend("--ft-link-brand-focus-focus-ring-color","",c.borderActionFocusRing),brandFocusColor:e.extend("--ft-link-brand-focus-color","",c.contentActionPrimary),brandDefaultColor:e.extend("--ft-link-brand-default-color","",c.contentActionPrimary),brandActiveColor:e.extend("--ft-link-brand-active-color","",c.contentActionPrimary),infoHoverOpacity:e.extend("--ft-link-info-hover-opacity","",a.opacity80),infoHoverColor:e.extend("--ft-link-info-hover-color","",c.contentInfoPrimary),infoFocusFocusRingColor:e.extend("--ft-link-info-focus-focus-ring-color","",c.borderActionFocusRing),infoFocusColor:e.extend("--ft-link-info-focus-color","",c.contentInfoPrimary),infoDefaultColor:e.extend("--ft-link-info-default-color","",c.contentInfoPrimary),infoActiveColor:e.extend("--ft-link-info-active-color","",c.contentInfoPrimary),neutralFocusFocusRingColor:e.extend("--ft-link-neutral-focus-focus-ring-color","",c.borderActionFocusRing),neutralFocusColor:e.extend("--ft-link-neutral-focus-color","",c.contentActionPrimary),neutralDefaultColor:e.extend("--ft-link-neutral-default-color","",c.contentGlobalPrimary),neutralHoverColor:e.extend("--ft-link-neutral-hover-color","",c.contentActionPrimary),neutralActiveColor:e.extend("--ft-link-neutral-active-color","",c.contentActionPrimary),neutralVisitedColor:e.extend("--ft-link-neutral-visited-color","",a.colorBrand100)};var ad={iconSize:e.extend("--ft-banner-icon-size","",a.iconSize5),borderWidth:e.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:e.extend("--ft-banner-left-padding","",a.spacing6),rightPadding:e.extend("--ft-banner-right-padding","",a.spacing6),verticalPadding:e.extend("--ft-banner-vertical-padding","",a.spacing6),horizontalSideGap:e.extend("--ft-banner-horizontal-side-gap","",a.spacing6),horizontalMobileGap:e.extend("--ft-banner-horizontal-mobile-gap","",a.spacing4),verticalMobileGap:e.extend("--ft-banner-vertical-mobile-gap","",a.spacing6),horizontalMiddleGap:e.extend("--ft-banner-horizontal-middle-gap","",a.spacing20),infoBackgroundColor:e.extend("--ft-banner-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-banner-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-banner-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-banner-info-border-color","",c.borderInfoSubtle)};var dd={horizontalPadding:e.extend("--ft-badge-horizontal-padding","",a.spacing1),verticalPadding:e.extend("--ft-badge-vertical-padding","",a.spacing1),borderRadius:e.extend("--ft-badge-border-radius","",a.borderRadiusPill),color:e.extend("--ft-badge-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-badge-background-color","",c.contentActionPrimary)};var yd={horizontalGap:e.extend("--ft-title-breadcrumb-horizontal-gap","",a.spacing1),currentColor:e.extend("--ft-title-breadcrumb-current-color","",c.contentGlobalPrimary),previousNonClickableColor:e.extend("--ft-title-breadcrumb-previous-non-clickable-color","",c.contentGlobalSecondary),iconColor:e.extend("--ft-title-breadcrumb-icon-color","",c.contentGlobalSubtle)};var vd={parentHorizontalPadding:e.extend("--ft-page-header-parent-horizontal-padding","",a.spacing6),parentTopPadding:e.extend("--ft-page-header-parent-top-padding","",a.spacing4),parentBottomPadding:e.extend("--ft-page-header-parent-bottom-padding","",a.spacing6),parentHelpLeftMargin:e.extend("--ft-page-header-parent-help-left-margin","",a.spacing1),parentTitleColor:e.extend("--ft-page-header-parent-title-color","",c.contentGlobalPrimary),parentSubtitleColor:e.extend("--ft-page-header-parent-subtitle-color","",c.contentGlobalSecondary),parentChipLeftMargin:e.extend("--ft-page-header-parent-chip-left-margin","",a.spacing4),parentVerticalGap:e.extend("--ft-page-header-parent-vertical-gap","",a.spacing2),parentButtonsGroupHorizontalGap:e.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",a.spacing4),parentButtonsGroupVerticalGap:e.extend("--ft-page-header-parent-buttons-group-vertical-gap","",a.spacing4),parentChipsGroupHorizontalGap:e.extend("--ft-page-header-parent-chips-group-horizontal-gap","",a.spacing2),parentChipsGroupVerticalGap:e.extend("--ft-page-header-parent-chips-group-vertical-gap","",a.spacing2),childHorizontalPadding:e.extend("--ft-page-header-child-horizontal-padding","",a.spacing6),childTopPadding:e.extend("--ft-page-header-child-top-padding","",a.spacing2),childBottomPadding:e.extend("--ft-page-header-child-bottom-padding","",a.spacing2),childHelpLeftMargin:e.extend("--ft-page-header-child-help-left-margin","",a.spacing1),childChipLeftMargin:e.extend("--ft-page-header-child-chip-left-margin","",a.spacing4),childVerticalGap:e.extend("--ft-page-header-child-vertical-gap","",a.spacing2),childMinHeight:e.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:e.extend("--ft-page-header-child-buttons-group-horizontal-gap","",a.spacing4),childButtonsGroupVerticalGap:e.extend("--ft-page-header-child-buttons-group-vertical-gap","",a.spacing4),childChipsGroupHorizontalGap:e.extend("--ft-page-header-child-chips-group-horizontal-gap","",a.spacing2),childChipsGroupVerticalGap:e.extend("--ft-page-header-child-chips-group-vertical-gap","",a.spacing2),backgroundColor:e.extend("--ft-page-header-background-color","",a.colorWhite),bottomBorderColor:e.extend("--ft-page-header-bottom-border-color","",c.borderGlobalSubtle),bottomBorderWidth:e.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Ad={horizontalPadding:e.extend("--ft-page-footer-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ft-page-footer-vertical-padding","",a.spacing2),verticalGap:e.extend("--ft-page-footer-vertical-gap","",a.spacing2),minHeight:e.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:e.extend("--ft-page-footer-background-color","",a.colorWhite),topBorderColor:e.extend("--ft-page-footer-top-border-color","",c.borderGlobalSubtle),topBorderWidth:e.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:e.extend("--ft-page-footer-buttons-group-gap","",a.spacing4)};var Id={contentHorizontalPadding:e.extend("--ft-page-layout-content-horizontal-padding","",a.spacing6),contentVerticalPadding:e.extend("--ft-page-layout-content-vertical-padding","",a.spacing6)};var kd={smallContainerTargetWidth:e.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:e.extend("--ft-modal-small-container-margin","",a.spacing6),mediumContainerTargetWidth:e.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:e.extend("--ft-modal-medium-container-margin","",a.spacing6),largeContainerTargetWidth:e.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:e.extend("--ft-modal-large-container-margin","",a.spacing6),overlayBackgroundColor:e.extend("--ft-modal-overlay-background-color","",a.colorGray700),overlayOpacity:e.extend("--ft-modal-overlay-opacity","",a.opacity40),shadow:e.extend("--ft-modal-shadow","",a.shadowElevation03),bodyBackgroundColor:e.extend("--ft-modal-body-background-color","",a.colorWhite),bodyColor:e.extend("--ft-modal-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-modal-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ft-modal-body-vertical-padding","",a.spacing6),bodyVerticalGap:e.extend("--ft-modal-body-vertical-gap","",a.spacing6),headerBackgroundColor:e.extend("--ft-modal-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-modal-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-modal-header-color","",c.contentGlobalPrimary),headerLeadingIconColor:e.extend("--ft-modal-header-leading-icon-color","",c.contentGlobalPrimary),headerVerticalPadding:e.extend("--ft-modal-header-vertical-padding","",a.spacing1),headerRightPadding:e.extend("--ft-modal-header-right-padding","",a.spacing1),headerLeftPadding:e.extend("--ft-modal-header-left-padding","",a.spacing6),headerGap:e.extend("--ft-modal-header-gap","",a.spacing2),headerBorderBottomWidth:e.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:e.extend("--ft-modal-border-radius","",a.borderRadiusM)};var Fd={overlayOpacity:e.extend("--ft-drawer-overlay-opacity","",a.opacity40),shadow:e.extend("--ft-drawer-shadow","",a.shadowElevation03),bodyColor:e.extend("--ft-drawer-body-color","",c.contentGlobalPrimary),bodyHorizontalPadding:e.extend("--ft-drawer-body-horizontal-padding","",a.spacing6),bodyVerticalPadding:e.extend("--ft-drawer-body-vertical-padding","",a.spacing6),bodyGap:e.extend("--ft-drawer-body-gap","",a.spacing6),bodyBackgroundColor:e.extend("--ft-drawer-body-background-color","",a.colorWhite),headerBackgroundColor:e.extend("--ft-drawer-header-background-color","",c.backgroundGlobalOnSurface),headerBorderColor:e.extend("--ft-drawer-header-border-color","",c.borderGlobalSubtle),headerColor:e.extend("--ft-drawer-header-color","",c.contentGlobalPrimary),headerTrailingIconColor:e.extend("--ft-drawer-header-trailing-icon-color","",c.contentGlobalSecondary),headerHeight:e.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:e.extend("--ft-drawer-header-horizontal-padding","",a.spacing2),headerBorderWidth:e.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:e.extend("--ft-drawer-header-gap","",a.spacing3),buttonsBarBackgroundColor:e.extend("--ft-drawer-buttons-bar-background-color","",c.backgroundGlobalOnSurface),buttonsBarBorderColor:e.extend("--ft-drawer-buttons-bar-border-color","",c.borderGlobalSubtle),buttonsBarColor:e.extend("--ft-drawer-buttons-bar-color","",c.contentGlobalPrimary),buttonsBarHorizontalPadding:e.extend("--ft-drawer-buttons-bar-horizontal-padding","",a.spacing6),buttonsBarVerticalPadding:e.extend("--ft-drawer-buttons-bar-vertical-padding","",a.spacing4),buttonsBarGap:e.extend("--ft-drawer-buttons-bar-gap","",a.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","",a.colorGray700)};var Gd={offBorderBottomWidth:e.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:e.extend("--ft-tabs-off-hover-state-layer-opacity","",a.opacity8),offDefaultStateLayerOpacity:e.extend("--ft-tabs-off-default-state-layer-opacity","",a.opacity0),offFocusStateLayerOpacity:e.extend("--ft-tabs-off-focus-state-layer-opacity","",a.opacity8),offDisabledComponentOpacity:e.extend("--ft-tabs-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ft-tabs-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-tabs-off-state-layer-color","",c.contentGlobalSubtle),offBorderBottomColor:e.extend("--ft-tabs-off-border-bottom-color","",c.borderGlobalSubtle),activeTabIndicatorHeight:e.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:e.extend("--ft-tabs-top-left-border-radius","",a.borderRadiusS),topRightBorderRadius:e.extend("--ft-tabs-top-right-border-radius","",a.borderRadiusS),withLabelHorizontalPadding:e.extend("--ft-tabs-with-label-horizontal-padding","",a.spacing4),withLabelVerticalPadding:e.extend("--ft-tabs-with-label-vertical-padding","",a.spacing3),horizontalGap:e.extend("--ft-tabs-horizontal-gap","",a.spacing1),verticalGap:e.extend("--ft-tabs-vertical-gap","",a.spacing1),onHoverStateLayerOpacity:e.extend("--ft-tabs-on-hover-state-layer-opacity","",a.opacity16),onDefaultStateLayerOpacity:e.extend("--ft-tabs-on-default-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ft-tabs-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ft-tabs-on-active-state-layer-opacity","",a.opacity24),onColor:e.extend("--ft-tabs-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-tabs-on-state-layer-color","",c.contentActionPrimary),onActiveTabIndicatorColor:e.extend("--ft-tabs-on-active-tab-indicator-color","",c.contentActionPrimary),iconOnlyHorizontalPadding:e.extend("--ft-tabs-icon-only-horizontal-padding","",a.spacing4),iconOnlyVerticalPadding:e.extend("--ft-tabs-icon-only-vertical-padding","",a.spacing4),alertTopPadding:e.extend("--ft-tabs-alert-top-padding","",a.spacing1),alertRightPadding:e.extend("--ft-tabs-alert-right-padding","",a.spacing05),focusOutlineWidth:e.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-tabs-focus-focus-ring-color","",c.borderActionFocusRing)};var qd={largeFieldHorizontalPadding:e.extend("--ft-text-input-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ft-text-input-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ft-text-input-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ft-text-input-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ft-text-input-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ft-text-input-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ft-text-input-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ft-text-input-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-text-input-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ft-text-input-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ft-text-input-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ft-text-input-background-color","",a.colorWhite),contentValueColor:e.extend("--ft-text-input-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-text-input-trailing-icon-color","",c.contentGlobalSubtle),labelColor:e.extend("--ft-text-input-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-input-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-input-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-input-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-input-error-helper-icon-color","",c.contentErrorIconOnly),warningBorderColor:e.extend("--ft-text-input-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-text-input-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-text-input-warning-helper-icon-color","",c.contentWarningIconOnly),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","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-text-input-disabled-component-opacity","",a.opacity40)};var ep={backgroundColor:e.extend("--ft-text-area-background-color","",a.colorWhite),contentValueColor:e.extend("--ft-text-area-content-value-color","",c.contentGlobalPrimary),labelColor:e.extend("--ft-text-area-label-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-text-area-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-text-area-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-text-area-error-helper-text-color","",c.contentErrorPrimary),errorHelperIconColor:e.extend("--ft-text-area-error-helper-icon-color","",c.contentErrorIconOnly),focusFocusRingColor:e.extend("--ft-text-area-focus-focus-ring-color","",c.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","",a.opacity40),fieldHorizontalLeftPadding:e.extend("--ft-text-area-field-horizontal-left-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ft-text-area-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ft-text-area-field-vertical-gap","",a.spacing05),fieldMinHeight:e.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:e.extend("--ft-text-area-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-text-area-helper-horizontal-gap","",a.spacing1),helperIconSize:e.extend("--ft-text-area-helper-icon-size","",a.iconSize2),borderRadius:e.extend("--ft-text-area-border-radius","",a.borderRadiusS)};var ap={height:e.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:e.extend("--ft-floating-menu-horizontal-padding","",a.spacing4),offIconColor:e.extend("--ft-floating-menu-off-icon-color","",c.contentGlobalPrimary),offColor:e.extend("--ft-floating-menu-off-color","",c.contentGlobalPrimary),onColor:e.extend("--ft-floating-menu-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-floating-menu-on-state-layer-color","",c.contentActionPrimary),gap:e.extend("--ft-floating-menu-gap","",a.spacing3),focusFocusRingColor:e.extend("--ft-floating-menu-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineWidth:e.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:e.extend("--ft-floating-menu-focus-state-layer-opacity","",a.opacity8),hoverStateLayerOpacity:e.extend("--ft-floating-menu-hover-state-layer-opacity","",a.opacity8),activeStateLayerOpacity:e.extend("--ft-floating-menu-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ft-floating-menu-disabled-component-opacity","",a.opacity40),iconSize:e.extend("--ft-floating-menu-icon-size","",a.iconSize3),backgroundColor:e.extend("--ft-floating-menu-background-color","",c.backgroundGlobalOnSurface),shadow:e.extend("--ft-floating-menu-shadow","",a.shadowElevation02)};var dp={largeFieldHorizontalPadding:e.extend("--ft-combobox-single-select-large-field-horizontal-padding","",a.spacing4),largeFieldHorizontalGap:e.extend("--ft-combobox-single-select-large-field-horizontal-gap","",a.spacing3),largeFieldVerticalGap:e.extend("--ft-combobox-single-select-large-field-vertical-gap","",a.spacing05),largeFieldHeight:e.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:e.extend("--ft-combobox-single-select-large-field-icon-size","",a.iconSize3),mediumFieldHorizontalPadding:e.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",a.spacing4),mediumFieldHorizontalGap:e.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",a.spacing3),mediumFieldVerticalGap:e.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:e.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:e.extend("--ft-combobox-single-select-medium-field-icon-size","",a.iconSize3),helperHorizontalPadding:e.extend("--ft-combobox-single-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-combobox-single-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ft-combobox-single-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ft-combobox-single-select-helper-icon-size","",a.iconSize2),menuVerticalGap:e.extend("--ft-combobox-single-select-menu-vertical-gap","",a.spacing2),borderRadius:e.extend("--ft-combobox-single-select-border-radius","",a.borderRadiusS),backgroundColor:e.extend("--ft-combobox-single-select-background-color","",a.colorWhite),labelColor:e.extend("--ft-combobox-single-select-label-color","",c.contentGlobalSubtle),contentValueColor:e.extend("--ft-combobox-single-select-content-value-color","",c.contentGlobalPrimary),trailingIconColor:e.extend("--ft-combobox-single-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-single-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-single-select-default-helper-text-color","",c.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","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-single-select-error-helper-text-color","",c.contentErrorPrimary),warningBorderWidth:e.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-single-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-single-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-single-select-warning-helper-icon-color","",c.contentWarningIconOnly),focusOutlineWidth:e.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-single-select-focus-focus-ring-color","",c.borderActionFocusRing),focusOutlineOffset:e.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:e.extend("--ft-combobox-single-select-disabled-component-opacity","",a.opacity40)};var yp={backgroundColor:e.extend("--ft-combobox-multi-select-background-color","",a.colorWhite),labelColor:e.extend("--ft-combobox-multi-select-label-color","",c.contentGlobalSubtle),trailingIconColor:e.extend("--ft-combobox-multi-select-trailing-icon-color","",c.contentGlobalSubtle),defaultBorderColor:e.extend("--ft-combobox-multi-select-default-border-color","",c.borderInputPrimary),defaultHelperTextColor:e.extend("--ft-combobox-multi-select-default-helper-text-color","",c.contentGlobalSubtle),defaultBorderWidth:e.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:e.extend("--ft-combobox-multi-select-error-border-color","",c.borderErrorPrimary),errorHelperTextColor:e.extend("--ft-combobox-multi-select-error-helper-text-color","",c.contentErrorPrimary),errorHelperIcon:e.extend("--ft-combobox-multi-select-error-helper-icon","",c.contentErrorIconOnly),errorBorderWidth:e.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:e.extend("--ft-combobox-multi-select-warning-border-color","",c.borderWarningPrimary),warningHelperTextColor:e.extend("--ft-combobox-multi-select-warning-helper-text-color","",c.contentWarningPrimary),warningHelperIconColor:e.extend("--ft-combobox-multi-select-warning-helper-icon-color","",c.contentWarningIconOnly),warningBorderWidth:e.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-combobox-multi-select-focus-focus-ring-color","",c.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","",a.opacity40),helperHorizontalPadding:e.extend("--ft-combobox-multi-select-helper-horizontal-padding","",a.spacing4),helperHorizontalGap:e.extend("--ft-combobox-multi-select-helper-horizontal-gap","",a.spacing1),helperVerticalGap:e.extend("--ft-combobox-multi-select-helper-vertical-gap","",a.spacing1),helperIconSize:e.extend("--ft-combobox-multi-select-helper-icon-size","",a.iconSize2),fieldHorizontalPadding:e.extend("--ft-combobox-multi-select-field-horizontal-padding","",a.spacing4),fieldHorizontalGap:e.extend("--ft-combobox-multi-select-field-horizontal-gap","",a.spacing3),fieldVerticalGap:e.extend("--ft-combobox-multi-select-field-vertical-gap","",a.spacing05),fieldIconSize:e.extend("--ft-combobox-multi-select-field-icon-size","",a.iconSize3),fieldMaxHeight:e.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:e.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",a.spacing1),contentValuesVerticalGap:e.extend("--ft-combobox-multi-select-content-values-vertical-gap","",a.spacing1),borderRadius:e.extend("--ft-combobox-multi-select-border-radius","",a.borderRadiusS)};var vp={backgroundColor:e.extend("--ft-popover-background-color","",c.backgroundGlobalOnSurface),horizontalPadding:e.extend("--ft-popover-horizontal-padding","",a.spacing6),verticalPadding:e.extend("--ft-popover-vertical-padding","",a.spacing6),titleColor:e.extend("--ft-popover-title-color","",c.contentGlobalPrimary),bodyColor:e.extend("--ft-popover-body-color","",c.contentGlobalSecondary),gap:e.extend("--ft-popover-gap","",a.spacing2),borderRadius:e.extend("--ft-popover-border-radius","",a.borderRadiusM),shadow:e.extend("--ft-popover-shadow","",a.shadowElevation02),maxWidth:e.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:e.extend("--ft-popover-content-section-vertical-gap","",a.spacing2),multiSectionVerticalGap:e.extend("--ft-popover-multi-section-vertical-gap","",a.spacing6)};var Ap={hoverStateLayerOpacity:e.extend("--ft-collapsible-hover-state-layer-opacity","",a.opacity8),focusStateLayerOpacity:e.extend("--ft-collapsible-focus-state-layer-opacity","",a.opacity8),focusOutlineWidth:e.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:e.extend("--ft-collapsible-focus-focus-ring-color","",c.borderActionFocusRing),activeStateLayerOpacity:e.extend("--ft-collapsible-active-state-layer-opacity","",a.opacity16),disabledComponentOpacity:e.extend("--ft-collapsible-disabled-component-opacity","",a.opacity40),horizontalPadding:e.extend("--ft-collapsible-horizontal-padding","",a.spacing4),verticalPadding:e.extend("--ft-collapsible-vertical-padding","",a.spacing3),color:e.extend("--ft-collapsible-color","",c.contentGlobalPrimary),stateLayerColor:e.extend("--ft-collapsible-state-layer-color","",c.contentGlobalPrimary),backgroundColor:e.extend("--ft-collapsible-background-color","",c.backgroundGlobalOnSurface),borderColor:e.extend("--ft-collapsible-border-color","",c.borderGlobalSubtle),iconSize:e.extend("--ft-collapsible-icon-size","",a.iconSize3)};var _p={groupHorizontalPadding:e.extend("--ft-switch-group-horizontal-padding","",a.spacing1),groupVerticalPadding:e.extend("--ft-switch-group-vertical-padding","",a.spacing1),groupGap:e.extend("--ft-switch-group-gap","",a.spacing1),groupBackgroundColor:e.extend("--ft-switch-group-background-color","",c.backgroundGlobalSurface),groupBorderColor:e.extend("--ft-switch-group-border-color","",c.borderGlobalSubtle),groupBorderRadius:e.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:e.extend("--ft-switch-label-horizontal-padding","",a.spacing2),labelVerticalPadding:e.extend("--ft-switch-label-vertical-padding","",a.spacing1),offHoverStateLayerOpacity:e.extend("--ft-switch-off-hover-state-layer-opacity","",a.opacity8),offFocusStateLayerOpacity:e.extend("--ft-switch-off-focus-state-layer-opacity","",a.opacity8),offActiveStateLayerOpacity:e.extend("--ft-switch-off-active-state-layer-opacity","",a.opacity16),offDisabledComponentOpacity:e.extend("--ft-switch-off-disabled-component-opacity","",a.opacity40),offColor:e.extend("--ft-switch-off-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-switch-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-switch-on-hover-state-layer-opacity","",a.opacity8),onFocusStateLayerOpacity:e.extend("--ft-switch-on-focus-state-layer-opacity","",a.opacity8),onActiveStateLayerOpacity:e.extend("--ft-switch-on-active-state-layer-opacity","",a.opacity16),onDisabledComponentOpacity:e.extend("--ft-switch-on-disabled-component-opacity","",a.opacity40),onColor:e.extend("--ft-switch-on-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-switch-on-state-layer-color","",c.contentActionPrimary),iconHorizontalPadding:e.extend("--ft-switch-icon-horizontal-padding","",a.spacing1),iconVerticalPadding:e.extend("--ft-switch-icon-vertical-padding","",a.spacing1),focusOutlineWidth:e.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:e.extend("--ft-switch-focus-focus-ring-color","",c.borderActionFocusRing),optionBorderRadius:e.extend("--ft-switch-option-border-radius","",a.borderRadiusS)};var kp={color1Light:e.extend("--ft-chart-1-light","for area color charts",a.colorBrand40),color1Base:e.extend("--ft-chart-1-base","for line charts",a.colorBrand0),color2Light:e.extend("--ft-chart-2-light","for area color charts",a.colorYellow60),color2Base:e.extend("--ft-chart-2-base","for line charts",a.colorYellow100),color3Light:e.extend("--ft-chart-3-light","",a.colorUltramarine40),color3Base:e.extend("--ft-chart-3-base","",a.colorUltramarine70),color4Light:e.extend("--ft-chart-4-light","",a.colorCyan50),color4Base:e.extend("--ft-chart-4-base","",a.colorCyan100),color5Light:e.extend("--ft-chart-5-light","",a.colorRed40),color5Base:e.extend("--ft-chart-5-base","",a.colorRed60),color6Light:e.extend("--ft-chart-6-light","",a.colorGreen40),color6Base:e.extend("--ft-chart-6-base","",a.colorGreen70),color7Light:e.extend("--ft-chart-7-light","",a.colorOrange70),color7Base:e.extend("--ft-chart-7-base","",a.colorOrange100),color8Light:e.extend("--ft-chart-8-light","",a.colorAvocado70),color8Base:e.extend("--ft-chart-8-base","",a.colorAvocado200),color9Light:e.extend("--ft-chart-9-light","",a.colorBrown50),color9Base:e.extend("--ft-chart-9-base","",a.colorBrown200),color10Light:e.extend("--ft-chart-10-light","",a.colorGray50),color10Base:e.extend("--ft-chart-10-base","",a.colorGray80),monochrome10:e.extend("--ft-chart-monochrome-10","",a.colorBrand10),monochrome20:e.extend("--ft-chart-monochrome-20","",a.colorBrand20),monochrome30:e.extend("--ft-chart-monochrome-30","",a.colorBrand40),monochrome40:e.extend("--ft-chart-monochrome-40","",a.colorBrand60),monochrome50:e.extend("--ft-chart-monochrome-50","",a.colorBrand0),monochrome60:e.extend("--ft-chart-monochrome-60","",a.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",a.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",a.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",a.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:e.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",a.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",a.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",a.opacity48),scatterplotDatapointInitialHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",a.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",a.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",a.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",a.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:e.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",a.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:e.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",a.colorGray70),scatterplotDatapointHoverHoverRingColor:e.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",a.colorCyan200)};var Mp={color1IconColor:e.extend("--ft-page-designer-1-icon-color","for area color charts",a.colorCyan0),color1ToolbarColor:e.extend("--ft-page-designer-1-toolbar-color","for area color charts",a.colorCyan0),color2IconColor:e.extend("--ft-page-designer-2-icon-color","for area color charts",a.colorBrand0),color2ToolbarColor:e.extend("--ft-page-designer-2-toolbar-color","for area color charts",a.colorBrand0),color3IconColor:e.extend("--ft-page-designer-3-icon-color","for area color charts",a.colorYellow200),color3ToolbarColor:e.extend("--ft-page-designer-3-toolbar-color","for area color charts",a.colorYellow200),color4IconColor:e.extend("--ft-page-designer-4-icon-color","for area color charts",a.colorUltramarine50),color4ToolbarColor:e.extend("--ft-page-designer-4-toolbar-color","for area color charts",a.colorUltramarine50),color5IconColor:e.extend("--ft-page-designer-5-icon-color","for area color charts",a.colorGreen0),color5ToolbarColor:e.extend("--ft-page-designer-5-toolbar-color","for area color charts",a.colorGreen0),color6IconColor:e.extend("--ft-page-designer-6-icon-color","for area color charts",a.colorOrange0),color6ToolbarColor:e.extend("--ft-page-designer-6-toolbar-color","for area color charts",a.colorOrange0),color7IconColor:e.extend("--ft-page-designer-7-icon-color","for area color charts",a.colorAvocado200),color7ToolbarColor:e.extend("--ft-page-designer-7-toolbar-color","for area color charts",a.colorAvocado200),color8IconColor:e.extend("--ft-page-designer-8-icon-color","for area color charts",a.colorBrown0),color8ToolbarColor:e.extend("--ft-page-designer-8-toolbar-color","for area color charts",a.colorBrown0)};var $p={borderWidth:e.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:e.extend("--ft-notice-horizontal-padding","",a.spacing3),verticalPadding:e.extend("--ft-notice-vertical-padding","",a.spacing2),borderRadius:e.extend("--ft-notice-border-radius","",a.borderRadiusS),gap:e.extend("--ft-notice-gap","",a.spacing2),iconSize:e.extend("--ft-notice-icon-size","",a.iconSize3),infoBackgroundColor:e.extend("--ft-notice-info-background-color","",c.backgroundInfoSubtle),infoBorderColor:e.extend("--ft-notice-info-border-color","",c.borderInfoSubtle),infoColor:e.extend("--ft-notice-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notice-info-icon-color","",c.contentInfoIconOnly),warningBackgroundColor:e.extend("--ft-notice-warning-background-color","",c.backgroundWarningSubtle),warningBorderColor:e.extend("--ft-notice-warning-border-color","",c.borderWarningSubtle),warningColor:e.extend("--ft-notice-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notice-warning-icon-color","",c.contentWarningIconOnly),errorBackgroundColor:e.extend("--ft-notice-error-background-color","",c.backgroundErrorSubtle),errorBorderColor:e.extend("--ft-notice-error-border-color","",c.borderErrorSubtle),errorColor:e.extend("--ft-notice-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notice-error-icon-color","",c.contentErrorIconOnly),successBackgroundColor:e.extend("--ft-notice-success-background-color","",c.backgroundSuccessSubtle),successBorderColor:e.extend("--ft-notice-success-border-color","",c.borderSuccessSubtle),successColor:e.extend("--ft-notice-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notice-success-icon-color","",c.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","",a.spacing1),denseIconSize:e.extend("--ft-notice-dense-icon-size","",a.iconSize2),denseBorderWidth:e.create("--ft-notice-dense-border-width","","SIZE","0")};var Zp={offHoverStateLayerOpacity:e.extend("--ft-toggle-off-hover-state-layer-opacity","",a.opacity16),offFocusStateLayerOpacity:e.extend("--ft-toggle-off-focus-state-layer-opacity","",a.opacity16),offActiveStateLayerOpacity:e.extend("--ft-toggle-off-active-state-layer-opacity","",a.opacity24),offDisabledComponentOpacity:e.extend("--ft-toggle-off-disabled-component-opacity","",a.opacity40),offBackgroundColor:e.extend("--ft-toggle-off-background-color","",c.contentGlobalSubtle),offIconColor:e.extend("--ft-toggle-off-icon-color","",c.contentGlobalSubtle),offStateLayerColor:e.extend("--ft-toggle-off-state-layer-color","",c.contentGlobalSubtle),onHoverStateLayerOpacity:e.extend("--ft-toggle-on-hover-state-layer-opacity","",a.opacity16),onFocusStateLayerOpacity:e.extend("--ft-toggle-on-focus-state-layer-opacity","",a.opacity16),onActiveStateLayerOpacity:e.extend("--ft-toggle-on-active-state-layer-opacity","",a.opacity24),onDisabledComponentOpacity:e.extend("--ft-toggle-on-disabled-component-opacity","",a.opacity40),onBackgroundColor:e.extend("--ft-toggle-on-background-color","",c.contentActionPrimary),onStateLayerColor:e.extend("--ft-toggle-on-state-layer-color","",c.contentActionPrimary),onIconColor:e.extend("--ft-toggle-on-icon-color","",c.contentActionPrimary),color:e.extend("--ft-toggle-color","",c.contentGlobalPrimary),focusFocusRingColor:e.extend("--ft-toggle-focus-focus-ring-color","",c.borderActionFocusRing),gap:e.extend("--ft-toggle-gap","",a.spacing3)};var Jp={iconSize:e.extend("--ft-notification-icon-size","",a.iconSize4),leftPadding:e.extend("--ft-notification-left-padding","",a.spacing5),rightPadding:e.extend("--ft-notification-right-padding","",a.spacing4),verticalPadding:e.extend("--ft-notification-vertical-padding","",a.spacing3),infoBackgroundColor:e.extend("--ft-notification-info-background-color","",c.backgroundInfoSubtle),infoColor:e.extend("--ft-notification-info-color","",c.contentInfoPrimary),infoIconColor:e.extend("--ft-notification-info-icon-color","",c.contentInfoIconOnly),infoBorderColor:e.extend("--ft-notification-info-border-color","",c.borderInfoSubtle),successBackgroundColor:e.extend("--ft-notification-success-background-color","",c.backgroundSuccessSubtle),successColor:e.extend("--ft-notification-success-color","",c.contentSuccessPrimary),successIconColor:e.extend("--ft-notification-success-icon-color","",c.contentSuccessIconOnly),successBorderColor:e.extend("--ft-notification-success-border-color","",c.borderSuccessSubtle),warningBackgroundColor:e.extend("--ft-notification-warning-background-color","",c.backgroundWarningSubtle),warningColor:e.extend("--ft-notification-warning-color","",c.contentWarningPrimary),warningIconColor:e.extend("--ft-notification-warning-icon-color","",c.contentWarningIconOnly),warningBorderColor:e.extend("--ft-notification-warning-border-color","",c.borderWarningSubtle),errorBackgroundColor:e.extend("--ft-notification-error-background-color","",c.backgroundErrorSubtle),errorColor:e.extend("--ft-notification-error-color","",c.contentErrorPrimary),errorIconColor:e.extend("--ft-notification-error-icon-color","",c.contentErrorIconOnly),errorBorderColor:e.extend("--ft-notification-error-border-color","",c.borderErrorSubtle),borderRadius:e.extend("--ft-notification-border-radius","",a.borderRadiusPill),borderWidth:e.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:e.extend("--ft-notification-leading-gap","",a.spacing2),trailingGap:e.extend("--ft-notification-trailing-gap","",a.spacing8)};var nu={horizontalPadding:e.extend("--ft-tooltip-horizontal-padding","",a.spacing2),verticalPadding:e.extend("--ft-tooltip-vertical-padding","",a.spacing2),borderRadius:e.extend("--ft-tooltip-border-radius","",a.borderRadiusS),color:e.extend("--ft-tooltip-color","",c.contentGlobalOnColor),backgroundColor:e.extend("--ft-tooltip-background-color","",c.contentGlobalPrimary),backgroundOpacity:e.extend("--ft-tooltip-background-opacity","",a.opacity80),shadow:e.extend("--ft-tooltip-shadow","",a.shadowElevation02),maxWidth:e.create("--ft-tooltip-max-width","","SIZE","256px"),gap:e.extend("--ft-tooltip-gap","",a.spacing05)};var cu={verticalPadding:e.extend("--ft-reorderable-list-vertical-padding","",a.spacing4),gap:e.extend("--ft-reorderable-list-gap","",a.spacing1),borderRadius:e.extend("--ft-reorderable-list-border-radius","",a.borderRadiusM),reorderableItemTitleMarginRight:e.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",a.spacing6),reorderableItemTitleColor:e.extend("--ft-reorderable-list-reorderable-item-title-color","",c.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",a.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",a.spacing2),reorderableItemRightButtonsGroupHorizontalGap:e.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",a.spacing2),reorderableItemUsersCountColor:e.extend("--ft-reorderable-list-reorderable-item-users-count-color","",c.contentGlobalPrimary),reorderableItemUsersCountMarginRight:e.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",a.spacing6),reorderableItemBackgroundColor:e.extend("--ft-reorderable-list-reorderable-item-background-color","",c.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:e.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",a.spacing1),reorderableItemWarningMessageColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",c.contentWarningPrimary),reorderableItemWarningMessageIconColor:e.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",c.contentWarningIconOnly),reorderableItemGripColor:e.extend("--ft-reorderable-list-reorderable-item-grip-color","",c.contentGlobalSecondary),reorderableItemGripOpacity:e.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",a.opacity48),boxShadow:e.extend("--ft-reorderable-list-box-shadow","",a.shadowElevation01),borderWidth:e.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:e.extend("--ft-reorderable-list-reorderable-items-gap","",a.spacing2),leftPadding:e.extend("--ft-reorderable-list-left-padding","",a.spacing2),rightPadding:e.extend("--ft-reorderable-list-right-padding","",a.spacing6),borderColor:e.extend("--ft-reorderable-list-border-color","",c.borderGlobalPrimary),backgroundColor:e.extend("--ft-reorderable-list-background-color","",c.backgroundGlobalOnSurfaceDark)};var fu={menuHorizontalPadding:e.extend("--ft-date-range-picker-menu-horizontal-padding","",a.spacing4),menuVerticalPadding:e.extend("--ft-date-range-picker-menu-vertical-padding","",a.spacing4),menuVerticalGap:e.extend("--ft-date-range-picker-menu-vertical-gap","",a.spacing4),menuButtonsVerticalGap:e.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",a.spacing2)};var $n;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})($n||($n={}));var Gn;(function(t){t.large="large",t.medium="medium",t.small="small"})(Gn||(Gn={}));var ht=b(K());function jn(t,r){let o=nr[t];return ht.css`
|
|
7
|
+
${r?(0,ht.unsafeCSS)(r):ht.css`.ft-typography--${(0,ht.unsafeCSS)(t)}`} {
|
|
8
8
|
font-family: ${o.fontFamily};
|
|
9
9
|
font-size: ${o.fontSize};
|
|
10
10
|
font-weight: ${o.fontWeight};
|
|
@@ -13,26 +13,8 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
13
13
|
text-decoration: ${o.textDecoration};
|
|
14
14
|
text-transform: ${o.textCase};
|
|
15
15
|
}
|
|
16
|
-
`}var
|
|
16
|
+
`}var Kn=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),Ne=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),A={fontFamily:Ne,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Kn),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},gt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Kn),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},mt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},bt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},Re={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},xt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Q={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},vt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},St={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Ot={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ne),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},Vn=de.css`
|
|
17
17
|
.ft-typography--title {
|
|
18
|
-
font-family: ${ft.fontFamily};
|
|
19
|
-
font-size: ${ft.fontSize};
|
|
20
|
-
font-weight: ${ft.fontWeight};
|
|
21
|
-
letter-spacing: ${ft.letterSpacing};
|
|
22
|
-
line-height: ${ft.lineHeight};
|
|
23
|
-
text-transform: ${ft.textTransform};
|
|
24
|
-
}
|
|
25
|
-
`,Kn=de.css`
|
|
26
|
-
.ft-typography--title-dense {
|
|
27
|
-
font-family: ${ht.fontFamily};
|
|
28
|
-
font-size: ${ht.fontSize};
|
|
29
|
-
font-weight: ${ht.fontWeight};
|
|
30
|
-
letter-spacing: ${ht.letterSpacing};
|
|
31
|
-
line-height: ${ht.lineHeight};
|
|
32
|
-
text-transform: ${ht.textTransform};
|
|
33
|
-
}
|
|
34
|
-
`,Vn=de.css`
|
|
35
|
-
.ft-typography--subtitle1 {
|
|
36
18
|
font-family: ${yt.fontFamily};
|
|
37
19
|
font-size: ${yt.fontSize};
|
|
38
20
|
font-weight: ${yt.fontWeight};
|
|
@@ -41,7 +23,7 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
41
23
|
text-transform: ${yt.textTransform};
|
|
42
24
|
}
|
|
43
25
|
`,Zn=de.css`
|
|
44
|
-
.ft-typography--
|
|
26
|
+
.ft-typography--title-dense {
|
|
45
27
|
font-family: ${gt.fontFamily};
|
|
46
28
|
font-size: ${gt.fontSize};
|
|
47
29
|
font-weight: ${gt.fontWeight};
|
|
@@ -49,18 +31,8 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
49
31
|
line-height: ${gt.lineHeight};
|
|
50
32
|
text-transform: ${gt.textTransform};
|
|
51
33
|
}
|
|
52
|
-
|
|
53
34
|
`,qn=de.css`
|
|
54
|
-
.ft-typography--
|
|
55
|
-
font-family: ${Re.fontFamily};
|
|
56
|
-
font-size: ${Re.fontSize};
|
|
57
|
-
font-weight: ${Re.fontWeight};
|
|
58
|
-
letter-spacing: ${Re.letterSpacing};
|
|
59
|
-
line-height: ${Re.lineHeight};
|
|
60
|
-
text-transform: ${Re.textTransform};
|
|
61
|
-
}
|
|
62
|
-
`,or=de.css`
|
|
63
|
-
.ft-typography--body2 {
|
|
35
|
+
.ft-typography--subtitle1 {
|
|
64
36
|
font-family: ${mt.fontFamily};
|
|
65
37
|
font-size: ${mt.fontSize};
|
|
66
38
|
font-weight: ${mt.fontWeight};
|
|
@@ -68,17 +40,8 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
68
40
|
line-height: ${mt.lineHeight};
|
|
69
41
|
text-transform: ${mt.textTransform};
|
|
70
42
|
}
|
|
71
|
-
`,De=de.css`
|
|
72
|
-
.ft-typography--caption {
|
|
73
|
-
font-family: ${Q.fontFamily};
|
|
74
|
-
font-size: ${Q.fontSize};
|
|
75
|
-
font-weight: ${Q.fontWeight};
|
|
76
|
-
letter-spacing: ${Q.letterSpacing};
|
|
77
|
-
line-height: ${Q.lineHeight};
|
|
78
|
-
text-transform: ${Q.textTransform};
|
|
79
|
-
}
|
|
80
43
|
`,Yn=de.css`
|
|
81
|
-
.ft-typography--
|
|
44
|
+
.ft-typography--subtitle2 {
|
|
82
45
|
font-family: ${bt.fontFamily};
|
|
83
46
|
font-size: ${bt.fontSize};
|
|
84
47
|
font-weight: ${bt.fontWeight};
|
|
@@ -86,8 +49,18 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
86
49
|
line-height: ${bt.lineHeight};
|
|
87
50
|
text-transform: ${bt.textTransform};
|
|
88
51
|
}
|
|
52
|
+
|
|
89
53
|
`,Xn=de.css`
|
|
90
|
-
.ft-typography--
|
|
54
|
+
.ft-typography--body1 {
|
|
55
|
+
font-family: ${Re.fontFamily};
|
|
56
|
+
font-size: ${Re.fontSize};
|
|
57
|
+
font-weight: ${Re.fontWeight};
|
|
58
|
+
letter-spacing: ${Re.letterSpacing};
|
|
59
|
+
line-height: ${Re.lineHeight};
|
|
60
|
+
text-transform: ${Re.textTransform};
|
|
61
|
+
}
|
|
62
|
+
`,ar=de.css`
|
|
63
|
+
.ft-typography--body2 {
|
|
91
64
|
font-family: ${xt.fontFamily};
|
|
92
65
|
font-size: ${xt.fontSize};
|
|
93
66
|
font-weight: ${xt.fontWeight};
|
|
@@ -95,8 +68,17 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
95
68
|
line-height: ${xt.lineHeight};
|
|
96
69
|
text-transform: ${xt.textTransform};
|
|
97
70
|
}
|
|
71
|
+
`,De=de.css`
|
|
72
|
+
.ft-typography--caption {
|
|
73
|
+
font-family: ${Q.fontFamily};
|
|
74
|
+
font-size: ${Q.fontSize};
|
|
75
|
+
font-weight: ${Q.fontWeight};
|
|
76
|
+
letter-spacing: ${Q.letterSpacing};
|
|
77
|
+
line-height: ${Q.lineHeight};
|
|
78
|
+
text-transform: ${Q.textTransform};
|
|
79
|
+
}
|
|
98
80
|
`,Qn=de.css`
|
|
99
|
-
.ft-typography--
|
|
81
|
+
.ft-typography--breadcrumb {
|
|
100
82
|
font-family: ${vt.fontFamily};
|
|
101
83
|
font-size: ${vt.fontSize};
|
|
102
84
|
font-weight: ${vt.fontWeight};
|
|
@@ -105,18 +87,36 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
105
87
|
text-transform: ${vt.textTransform};
|
|
106
88
|
}
|
|
107
89
|
`,Jn=de.css`
|
|
90
|
+
.ft-typography--overline {
|
|
91
|
+
font-family: ${St.fontFamily};
|
|
92
|
+
font-size: ${St.fontSize};
|
|
93
|
+
font-weight: ${St.fontWeight};
|
|
94
|
+
letter-spacing: ${St.letterSpacing};
|
|
95
|
+
line-height: ${St.lineHeight};
|
|
96
|
+
text-transform: ${St.textTransform};
|
|
97
|
+
}
|
|
98
|
+
`,ea=de.css`
|
|
99
|
+
.ft-typography--button {
|
|
100
|
+
font-family: ${Ot.fontFamily};
|
|
101
|
+
font-size: ${Ot.fontSize};
|
|
102
|
+
font-weight: ${Ot.fontWeight};
|
|
103
|
+
letter-spacing: ${Ot.letterSpacing};
|
|
104
|
+
line-height: ${Ot.lineHeight};
|
|
105
|
+
text-transform: ${Ot.textTransform};
|
|
106
|
+
}
|
|
107
|
+
`,ta=de.css`
|
|
108
108
|
.ft-typography {
|
|
109
109
|
vertical-align: inherit;
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
112
|
-
<${
|
|
111
|
+
`,ra=[Object.keys(nr).map(t=>jn(t))];var oa=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ie=class extends na.FtLitElement{constructor(){super(...arguments),this.variant=Je.body1}render(){return this.element?ro`
|
|
112
|
+
<${eo(this.element)}
|
|
113
113
|
part="text"
|
|
114
114
|
class="ft-typography ft-typography--${this.variant}">
|
|
115
115
|
<slot></slot>
|
|
116
|
-
</${
|
|
117
|
-
`:
|
|
116
|
+
</${eo(this.element)}>
|
|
117
|
+
`:ro`
|
|
118
118
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
119
|
-
`}};
|
|
119
|
+
`}};Ie.styles=[Vn,Zn,qn,Yn,Xn,ar,De,Qn,Jn,ea,ta,...ra];oa([(0,oo.property)()],Ie.prototype,"element",void 0);oa([(0,oo.property)()],Ie.prototype,"variant",void 0);(0,aa.customElement)("ft-typography")(Ie);var so=b(T());var ir=b(oe());var ia=b(K()),z=b(T());var N={fontSize:z.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:z.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:z.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:z.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:z.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:z.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:z.FtCssVariableFactory.extend("--ft-input-label-border-color","",z.designSystemVariables.colorOutline),textColor:z.FtCssVariableFactory.extend("--ft-input-label-text-color","",z.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:z.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",z.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:z.FtCssVariableFactory.extend("--ft-input-label-background-color","",z.designSystemVariables.colorSurface),borderRadius:z.FtCssVariableFactory.extend("--ft-input-label-border-radius","",z.designSystemVariables.borderRadiusS),colorError:z.FtCssVariableFactory.external(z.designSystemVariables.colorError,"Design system")},sa=ia.css`
|
|
120
120
|
.ft-input-label {
|
|
121
121
|
position: absolute;
|
|
122
122
|
inset: 0;
|
|
@@ -238,24 +238,24 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
238
238
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
239
239
|
border-top: none;
|
|
240
240
|
}
|
|
241
|
-
`;var
|
|
242
|
-
<div class="${(0,
|
|
243
|
-
${
|
|
241
|
+
`;var no=b(K()),ao=b(oe());var ca=b(Jt()),da=b(T()),la=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},_e=class extends da.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return no.html`
|
|
242
|
+
<div class="${(0,ca.classMap)(this.inputLabelClasses)}">
|
|
243
|
+
${er(this.text,()=>no.html`
|
|
244
244
|
<div class="ft-input-label--text ft-typography--caption">
|
|
245
245
|
<label class="ft-input-label--floating-text">${this.text}</label>
|
|
246
246
|
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
247
247
|
</div>
|
|
248
248
|
`)}
|
|
249
249
|
</div>
|
|
250
|
-
`}};
|
|
250
|
+
`}};_e.elementDefinitions={};la([(0,ao.property)({type:String})],_e.prototype,"text",void 0);la([(0,ao.property)({type:Boolean})],_e.prototype,"raised",void 0);var io=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},ge=class extends _e{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};ge.elementDefinitions={};ge.styles=[De,sa];io([(0,ir.property)({type:Boolean})],ge.prototype,"outlined",void 0);io([(0,ir.property)({type:Boolean})],ge.prototype,"error",void 0);io([(0,ir.property)({type:Boolean})],ge.prototype,"disabled",void 0);var fa=b(T());var pa=b(K());var Z=b(T()),ne={fontSize:Z.FtCssVariableFactory.extend("--ft-input-label-font-size","",ft.fontSize),fontSizeRaised:Z.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",et.fontSize),lineHeight:Z.FtCssVariableFactory.extend("--ft-input-label-line-height","",et.lineHeight),color:Z.FtCssVariableFactory.extend("--ft-input-label-color","",Z.semantic.contentGlobalSubtle),largeFieldHeight:Z.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:Z.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",a.spacing05),largeFieldHorizontalPadding:Z.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",a.spacing4),mediumFieldHeight:Z.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:Z.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:Z.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",a.spacing4),additionalPaddingLeft:Z.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:Z.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ua=[pa.css`
|
|
251
251
|
|
|
252
252
|
:root {
|
|
253
253
|
--field-height: ${ne.largeFieldHeight};
|
|
254
254
|
--field-vertical-gap: ${ne.largeFieldVerticalGap};
|
|
255
255
|
--field-horizontal-padding: ${ne.largeFieldHorizontalPadding};
|
|
256
256
|
|
|
257
|
-
--typo-caption-height: calc(${
|
|
258
|
-
--typo-body-height: calc(${
|
|
257
|
+
--typo-caption-height: calc(${et.lineHeight} * ${et.fontSize});
|
|
258
|
+
--typo-body-height: calc(${ft.lineHeight} * ${ft.fontSize});
|
|
259
259
|
--caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
|
|
260
260
|
--input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
|
|
261
261
|
}
|
|
@@ -289,8 +289,8 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
289
289
|
z-index: 10;
|
|
290
290
|
width: 100%;
|
|
291
291
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
292
|
-
${(0,
|
|
293
|
-
${(0,
|
|
292
|
+
${(0,Z.setVariable)(Q.fontSize,ne.fontSize)};
|
|
293
|
+
${(0,Z.setVariable)(Q.lineHeight,ne.lineHeight)};
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
.ft-input-label--hidden-text {
|
|
@@ -321,15 +321,15 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.ft-input-label--raised .ft-input-label--text {
|
|
324
|
-
${(0,
|
|
325
|
-
${(0,
|
|
324
|
+
${(0,Z.setVariable)(Q.fontSize,ne.fontSizeRaised)};
|
|
325
|
+
${(0,Z.setVariable)(Q.lineHeight,ne.lineHeight)};
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
329
329
|
top: var(--input-content-vertical-padding);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
`];var
|
|
332
|
+
`];var Ut=class extends(0,fa.toFtdsBase)(_e){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Ut.styles=[De,ua];(0,so.customElement)("ft-input-label")(ge);(0,so.customElement)("ftds-input-label")(Ut);var Ca=b(T());var Sa=b(K()),te=b(oe()),Oa=b(Jt()),Bt=b(T());var xa=b(K()),q=b(T()),ha=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorContent),me={color:ha,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",ha),opacityContentOnSurfacePressed:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:q.FtCssVariableFactory.external(q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ya=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorPrimary),ga={color:ya,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",ya)},ma=q.FtCssVariableFactory.extend("--ft-ripple-color","",q.designSystemVariables.colorSecondary),ba={color:ma,backgroundColor:q.FtCssVariableFactory.extend("--ft-ripple-background-color","",ma)},va=xa.css`
|
|
333
333
|
:host {
|
|
334
334
|
display: contents;
|
|
335
335
|
}
|
|
@@ -384,19 +384,19 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
387
|
-
background-color: ${
|
|
387
|
+
background-color: ${ba.backgroundColor};
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
391
|
-
background-color: ${
|
|
391
|
+
background-color: ${ba.color};
|
|
392
392
|
}
|
|
393
393
|
|
|
394
394
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
395
|
-
background-color: ${
|
|
395
|
+
background-color: ${ga.backgroundColor};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
399
|
-
background-color: ${
|
|
399
|
+
background-color: ${ga.color};
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-ripple .ft-ripple--background {
|
|
@@ -441,18 +441,18 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
441
441
|
opacity: ${me.opacityContentOnSurfacePressed};
|
|
442
442
|
transform: translate(-50%, -50%) scale(1);
|
|
443
443
|
}
|
|
444
|
-
`;var se=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},j=class extends
|
|
444
|
+
`;var se=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},j=class extends Bt.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 Bt.Debouncer(1e3),this.onTransitionStart=r=>{r.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=r=>{r.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Bt.Debouncer(10),this.moveRipple=r=>{var o,n;let{x:i,y:s}=this.getCoordinates(r),l=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(s!=null?s-l.y:l.height/2)},this.startPress=r=>{this.moveRipple(r),this.pressed=!this.isIgnored(r)},this.endPress=()=>{this.pressed=!1},this.startHover=r=>{this.hovered=!this.isIgnored(r)},this.endHover=()=>{this.hovered=!1},this.startFocus=r=>{this.focused=this.isFocusVisible(r?.target)&&!this.isIgnored(r)},this.endFocus=()=>{this.focused=!1}}render(){let r={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Sa.html`
|
|
445
445
|
<style>
|
|
446
446
|
.ft-ripple .ft-ripple--effect {
|
|
447
447
|
left: ${this.originX}px;
|
|
448
448
|
top: ${this.originY}px;
|
|
449
449
|
}
|
|
450
450
|
</style>
|
|
451
|
-
<div class="${(0,
|
|
451
|
+
<div class="${(0,Oa.classMap)(r)}">
|
|
452
452
|
<div class="ft-ripple--background"></div>
|
|
453
453
|
<div class="ft-ripple--effect"></div>
|
|
454
454
|
</div>
|
|
455
|
-
`}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var r;!((r=this.target)===null||r===void 0)&&r.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},l={passive:!0};r.addEventListener("mouseover",this.startHover,l),r.addEventListener("mousemove",this.moveRipple,l),r.addEventListener("mouseleave",this.endHover,l),r.addEventListener("mousedown",n,l),r.addEventListener("touchstart",i,l),r.addEventListener("touchmove",this.moveRipple,l),r.addEventListener("keydown",s,l),r.addEventListener("focus",this.startFocus,l),r.addEventListener("blur",this.endFocus,l),r.addEventListener("focusin",this.startFocus,l),r.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,l),r.removeEventListener("mousemove",this.moveRipple,l),r.removeEventListener("mouseleave",this.endHover,l),r.removeEventListener("mousedown",n,l),r.removeEventListener("touchstart",i,l),r.removeEventListener("touchmove",this.moveRipple,l),r.removeEventListener("keydown",s,l),r.removeEventListener("focus",this.startFocus,l),r.removeEventListener("blur",this.endFocus,l),r.removeEventListener("focusin",this.startFocus,l),r.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,i,s;return o.x!=null?{x:i,y:s}=o:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};j.elementDefinitions={};j.styles=xa;se([(0,te.property)({type:Boolean})],j.prototype,"primary",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"secondary",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"unbounded",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"activated",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"selected",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"disabled",void 0);se([(0,te.state)()],j.prototype,"hovered",void 0);se([(0,te.state)()],j.prototype,"focused",void 0);se([(0,te.state)()],j.prototype,"pressed",void 0);se([(0,te.state)()],j.prototype,"rippling",void 0);se([(0,te.state)()],j.prototype,"originX",void 0);se([(0,te.state)()],j.prototype,"originY",void 0);se([(0,te.query)(".ft-ripple")],j.prototype,"ripple",void 0);se([(0,te.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);(0,Oa.customElement)("ft-ripple")(j);var _a=b(T());var Ut=b(K()),Be=b(oe()),Ra=b(T()),Na=b(Ea());var ar;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK=""})(ar||(ar={}));var v;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(v||(v={}));var mh=new Map([...["abw"].map(t=>[t,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var bh={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Aa=b(K()),xe=b(T()),be={size:xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},wa=[Aa.css`
|
|
455
|
+
`}contentAvailableCallback(r){super.contentAvailableCallback(r),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(r){var o,n;super.update(r),r.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var r,o;let n=(r=this.shadowRoot)===null||r===void 0?void 0:r.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var r;!((r=this.target)===null||r===void 0)&&r.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(r){if(this.setupDebouncer.cancel(),this.target===r)return;this.onDisconnect&&this.onDisconnect(),this.target=r,r.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>p=>{d.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},l={passive:!0};r.addEventListener("mouseover",this.startHover,l),r.addEventListener("mousemove",this.moveRipple,l),r.addEventListener("mouseleave",this.endHover,l),r.addEventListener("mousedown",n,l),r.addEventListener("touchstart",i,l),r.addEventListener("touchmove",this.moveRipple,l),r.addEventListener("keydown",s,l),r.addEventListener("focus",this.startFocus,l),r.addEventListener("blur",this.endFocus,l),r.addEventListener("focusin",this.startFocus,l),r.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{r.removeAttribute("data-is-ft-ripple-target"),r.removeEventListener("mouseover",this.startHover,l),r.removeEventListener("mousemove",this.moveRipple,l),r.removeEventListener("mouseleave",this.endHover,l),r.removeEventListener("mousedown",n,l),r.removeEventListener("touchstart",i,l),r.removeEventListener("touchmove",this.moveRipple,l),r.removeEventListener("keydown",s,l),r.removeEventListener("focus",this.startFocus,l),r.removeEventListener("blur",this.endFocus,l),r.removeEventListener("focusin",this.startFocus,l),r.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(r){let o=r,n=r,i,s;return o.x!=null?{x:i,y:s}=o:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(r){return r instanceof HTMLElement?r.matches(":focus-visible"):!0}isIgnored(r){if(this.disabled)return!0;if(r!=null)for(let o of r.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};j.elementDefinitions={};j.styles=va;se([(0,te.property)({type:Boolean})],j.prototype,"primary",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"secondary",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"unbounded",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"activated",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"selected",void 0);se([(0,te.property)({type:Boolean})],j.prototype,"disabled",void 0);se([(0,te.state)()],j.prototype,"hovered",void 0);se([(0,te.state)()],j.prototype,"focused",void 0);se([(0,te.state)()],j.prototype,"pressed",void 0);se([(0,te.state)()],j.prototype,"rippling",void 0);se([(0,te.state)()],j.prototype,"originX",void 0);se([(0,te.state)()],j.prototype,"originY",void 0);se([(0,te.query)(".ft-ripple")],j.prototype,"ripple",void 0);se([(0,te.query)(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);(0,Ca.customElement)("ft-ripple")(j);var _a=b(T());var Mt=b(K()),Be=b(oe()),Na=b(T()),Ia=b(Aa());var tt;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR="",t.LANGUAGE_SLASH="",t.MAGNIFYING_GLASS_FLOPPY_DISK="",t.CABINET_FILING_FLOPPY_DISK=""})(tt||(tt={}));var v;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(v||(v={}));var Oh=new Map([...["abw"].map(t=>[t,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,v.AUDIO]),...["avi"].map(t=>[t,v.AVI]),...["chm","xhs"].map(t=>[t,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,v.CODE]),...["csv"].map(t=>[t,v.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,v.DITA]),...["epub"].map(t=>[t,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,v.EXCEL]),...["flac"].map(t=>[t,v.FLAC]),...["gif"].map(t=>[t,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,v.GZIP]),...["html","htm","xhtml"].map(t=>[t,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,v.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,v.JPEG]),...["json"].map(t=>[t,v.JSON]),...["m4a","m4p"].map(t=>[t,v.M4A]),...["mov","qt"].map(t=>[t,v.MOV]),...["mp3"].map(t=>[t,v.MP3]),...["mp4","m4v"].map(t=>[t,v.MP4]),...["ogg","oga"].map(t=>[t,v.OGG]),...["pdf","ps"].map(t=>[t,v.PDF]),...["png"].map(t=>[t,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,v.POWERPOINT]),...["rar"].map(t=>[t,v.RAR]),...["stp"].map(t=>[t,v.STP]),...["txt","rtf","md","mdown"].map(t=>[t,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,v.VIDEO]),...["wav"].map(t=>[t,v.WAV]),...["wma"].map(t=>[t,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,v.WORD]),...["xml","xsl","rdf"].map(t=>[t,v.XML]),...["yaml","yml","x-yaml"].map(t=>[t,v.YAML]),...["zip"].map(t=>[t,v.ZIP])]);var Ch={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var wa=b(K()),xe=b(T()),be={size:xe.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.FtCssVariableFactory.extend("--ft-icon-material-font-family","",xe.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ra=[wa.css`
|
|
456
456
|
:host, i.ft-icon {
|
|
457
457
|
display: inline-flex;
|
|
458
458
|
align-items: center;
|
|
@@ -500,12 +500,12 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
500
500
|
.ft-icon--material {
|
|
501
501
|
font-family: ${be.materialFontFamily}, "Material Icons", sans-serif;
|
|
502
502
|
}
|
|
503
|
-
`,xe.noTextSelect];var Ue;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}));var
|
|
503
|
+
`,xe.noTextSelect];var Ue;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ue||(Ue={}));var Ft=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},le=class extends Na.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Mt.nothing}render(){let r=this.variant&&Object.values(Ue).includes(this.variant)?this.variant:Ue.fluid_topics,o=r!==Ue.material||!!this.value;return Mt.html`
|
|
504
504
|
<i class="ft-icon ft-icon--${r} ft-no-text-select" part="icon icon-${r}">
|
|
505
|
-
${(0,
|
|
505
|
+
${(0,Ia.unsafeHTML)(this.resolvedIcon)}
|
|
506
506
|
<slot ?hidden=${o}></slot>
|
|
507
507
|
</i>
|
|
508
|
-
`}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(r=v[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Ue.material:this.resolvedIcon=this.value||
|
|
508
|
+
`}get textContent(){var r,o;return(o=(r=this.slottedContent)===null||r===void 0?void 0:r.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(r){super.update(r),["value","variant"].some(o=>r.has(o))&&this.resolveIcon()}resolveIcon(){var r,o;let n=this.value||this.textContent;switch(this.variant){case Ue.file_format:this.resolvedIcon=(r=v[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break;case Ue.material:this.resolvedIcon=this.value||Mt.nothing;break;default:this.resolvedIcon=(o=tt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(r){super.firstUpdated(r),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=Ra;Ft([(0,Be.property)()],le.prototype,"variant",void 0);Ft([(0,Be.property)()],le.prototype,"value",void 0);Ft([(0,Be.property)({reflect:!0,attribute:"aria-hidden"})],le.prototype,"ariaHidden",void 0);Ft([(0,Be.state)()],le.prototype,"resolvedIcon",void 0);Ft([(0,Be.query)("slot")],le.prototype,"slottedContent",void 0);(0,_a.customElement)("ft-icon")(le);var Ta=b(K()),R=b(T());var L={labelSize:R.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:R.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:R.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:R.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:R.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:R.FtCssVariableFactory.extend("--ft-select-selected-option-color","",R.designSystemVariables.colorOnSurface),helperColor:R.FtCssVariableFactory.extend("--ft-select-helper-color","",R.designSystemVariables.colorOnSurfaceMedium),optionsColor:R.FtCssVariableFactory.extend("--ft-select-options-color","",R.designSystemVariables.colorOnSurface),optionsZIndex:R.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:R.FtCssVariableFactory.extend("--ft-select-background-color","",R.designSystemVariables.colorSurface),colorOnSurfaceDisabled:R.FtCssVariableFactory.external(R.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:R.FtCssVariableFactory.external(R.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:R.FtCssVariableFactory.external(R.designSystemVariables.borderRadiusS,"Design system"),elevation02:R.FtCssVariableFactory.external(R.designSystemVariables.elevation02,"Design system"),colorError:R.FtCssVariableFactory.external(R.designSystemVariables.colorError,"Design system")},La=Ta.css`
|
|
509
509
|
*:focus {
|
|
510
510
|
outline: none;
|
|
511
511
|
}
|
|
@@ -638,6 +638,10 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
638
638
|
align-items: center;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
+
.ft-select--option:hover {
|
|
642
|
+
border-left: 2px ${L.colorPrimary} solid;
|
|
643
|
+
}
|
|
644
|
+
|
|
641
645
|
.ft-select--option span {
|
|
642
646
|
text-overflow: ellipsis;
|
|
643
647
|
overflow: hidden;
|
|
@@ -651,14 +655,15 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
651
655
|
.ft-select--in-error .ft-select--helper-text {
|
|
652
656
|
color: ${L.colorError};
|
|
653
657
|
}
|
|
654
|
-
`;var W=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ee=class extends
|
|
655
|
-
<div class="${(0,
|
|
658
|
+
`;var W=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ee=class extends Me.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return rt.html``}update(r){super.update(r),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ee.elementDefinitions={};W([(0,M.property)({type:String})],Ee.prototype,"label",void 0);W([(0,M.property)({type:Object,converter:t=>t})],Ee.prototype,"value",void 0);W([(0,M.property)({type:Boolean,reflect:!0})],Ee.prototype,"selected",void 0);var D=class t extends Me.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=r=>this.optionsDisplayed=this.optionsDisplayed&&r.composedPath().includes(this.container)}render(){var r,o,n,i,s;let l=this.hasOptionsMenuOpen,d=this.disabled||!this.hasOptions,p=((r=this.selectedOption)===null||r===void 0?void 0:r.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":d,"ft-select--options-displayed":l,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return rt.html`
|
|
659
|
+
<div class="${(0,lo.classMap)(u)}" part="container">
|
|
656
660
|
<div class="ft-select--main-panel" part="main-panel">
|
|
657
661
|
<ft-input-label text="${this.label}"
|
|
658
662
|
part="label"
|
|
663
|
+
id="label"
|
|
659
664
|
?disabled=${d}
|
|
660
665
|
?outlined=${this.outlined}
|
|
661
|
-
?raised=${
|
|
666
|
+
?raised=${p||l}
|
|
662
667
|
?error=${this.error}
|
|
663
668
|
></ft-input-label>
|
|
664
669
|
<div class="ft-select--input-panel"
|
|
@@ -666,68 +671,78 @@ Also for action icons.`,a.colorGray200),contentGlobalSubtle:e.extend("--ft-conte
|
|
|
666
671
|
tabindex="${d?"-1":"0"}"
|
|
667
672
|
@click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
|
|
668
673
|
@keydown=${this.onMainPanelKeyDown}
|
|
669
|
-
aria-label="${this.ariaLabel}"
|
|
674
|
+
aria-label="${Jr(this.ariaLabel)}"
|
|
675
|
+
aria-labelledby="${er(!this.ariaLabel,()=>"label")}"
|
|
670
676
|
aria-haspopup="listbox"
|
|
671
677
|
aria-expanded="${l}"
|
|
678
|
+
aria-activedescendant="${Jr(this.getOptionId(this.selectedOption))}"
|
|
672
679
|
role="combobox">
|
|
673
680
|
<ft-ripple ?disabled=${d} ?activated=${!this.outlined}></ft-ripple>
|
|
674
|
-
<ft-typography variant="body1" class="ft-select--selected-option">
|
|
681
|
+
<ft-typography variant="${Je.body1}" class="ft-select--selected-option">
|
|
675
682
|
${(s=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&s!==void 0?s:""}
|
|
676
683
|
</ft-typography>
|
|
677
|
-
<ft-icon
|
|
684
|
+
<ft-icon aria-hidden="true" .value=${l?tt.THIN_ARROW_UP:tt.THIN_ARROW}></ft-icon>
|
|
678
685
|
</div>
|
|
679
686
|
<div class="ft-select--options"
|
|
680
687
|
part="options"
|
|
681
688
|
@keydown=${this.onOptionsKeyDown}
|
|
682
|
-
|
|
683
|
-
${(0,
|
|
689
|
+
role="listbox">
|
|
690
|
+
${(0,Pa.repeat)(this.options,h=>h.value,(h,y)=>this.renderOption(h,y))}
|
|
684
691
|
</div>
|
|
685
692
|
</div>
|
|
686
693
|
<slot name="helper" part="helper">
|
|
687
|
-
${this.helper?
|
|
688
|
-
<ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
|
|
689
|
-
</ft-typography>`:
|
|
694
|
+
${this.helper?rt.html`
|
|
695
|
+
<ft-typography class="ft-select--helper-text" variant="${Je.caption}">${this.helper}
|
|
696
|
+
</ft-typography>`:rt.nothing}
|
|
690
697
|
</slot>
|
|
691
698
|
</div>
|
|
692
699
|
<slot @slotchange=${this.updateOptionsFromSlot}
|
|
693
700
|
@option-change=${this.updateOptionsFromSlot}
|
|
694
701
|
></slot>
|
|
695
|
-
`}renderOption(r){let
|
|
696
|
-
<div class="${(0,
|
|
702
|
+
`}renderOption(r,o){let n=this.selectedOption===r;return rt.html`
|
|
703
|
+
<div class="${(0,lo.classMap)({"ft-select--option":!0,"ft-select--option-selected":n,"ft-typography--body2":!0})}"
|
|
697
704
|
part="option"
|
|
698
705
|
tabindex="0"
|
|
699
706
|
aria-label="${r.label}"
|
|
700
707
|
data-value="${r.value}"
|
|
701
|
-
|
|
708
|
+
id="${"option-"+o}"
|
|
709
|
+
@keydown=${s=>this.onOptionKeyDown(s,r)}
|
|
702
710
|
@click=${()=>this.selectOption(r)}>
|
|
703
|
-
<ft-ripple ?primary=${
|
|
711
|
+
<ft-ripple ?primary=${n} ?activated=${n}></ft-ripple>
|
|
704
712
|
<span>${r.label}</span>
|
|
705
713
|
</div>
|
|
706
|
-
`}
|
|
707
|
-
`;var
|
|
708
|
-
`;var ir=b(T()),Fs="ft-app-info",tt=class t extends CustomEvent{constructor(r){super(t.eventName,{detail:r})}};tt.eventName="authentication-change";var zs={session:(t,r)=>{(0,ir.deepEqual)(t.session,r.payload)||(t.session=r.payload,setTimeout(()=>E.dispatchEvent(new tt(r.payload)),0))}},E=ir.FtReduxStore.get({name:Fs,reducers:zs,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],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,authenticationRequired:!1}});var lo=b(T());var rt=class t{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=E.getState(),i=r??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(r){return new Promise(o=>{let n=t.get(r);if(n)o(n);else{let i=E.subscribe(()=>{n=t.get(r),n&&(i(),o(n))})}})}};var sr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:rt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rt.await()}};var ue=class extends sr{constructor(r=!0,o){var n;super(o),this.sortObjectFields=(s,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([d],[u])=>d.localeCompare(u)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new lo.CacheRegistry,this.cache=r?i.commonCache:new lo.CacheRegistry}clearCache(){this.cache.clearAll()}hash(r){return String(Array.from(JSON.stringify(r,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var lr=class extends ue{async listMyBookmarks(){let r=E.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var co=class{addCommand(r,o=!1){E.commands.add(r,o)}consumeCommand(r){return E.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new co;var pe=b(T());var Ba,St=class extends CustomEvent{constructor(r){super("ft-i18n-context-loaded",{detail:r})}},Hs=Symbol("clearAfterUnitTest"),cr=class extends(0,pe.withEventBus)(ue){constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ba]=()=>{this.defaultMessages={},this.cache=new pe.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=E.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,pe.deepEqual)(this.defaultMessages[r],i)||(this.defaultMessages[r]=i,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var i;let s=r.toLowerCase(),l=this.resolveContext(s);return new pe.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},l).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r)),o&&await this.notify(r)}catch(i){!(i instanceof pe.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var i;return(i=this.listeners[r])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let r=Object.keys(this.listeners);document.body.dispatchEvent(new St({loadedContexts:r})),this.dispatchEvent(new St({loadedContexts:r})),await Promise.all(r.map(o=>this.notify(o,!1)))}async notify(r,o=!0){o&&(document.body.dispatchEvent(new St({loadedContexts:[r]})),this.dispatchEvent(new St({loadedContexts:[r]}))),this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(n=>(0,pe.delay)(0).then(()=>n()).catch(()=>null)))}};Ba=Hs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends cr{constructor(){super(async(t,r)=>(await this.awaitApi).getFluidTopicsMessageContext(t,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends cr{constructor(){super(async(t,r)=>(await this.awaitApi).getCustomMessageContext(t,r))}});var Ot=window.FluidTopicsI18nService,dr=window.FluidTopicsCustomI18nService;var Ma=b(T()),uo=class{highlightHtml(r,o,n){(0,Ma.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new uo;var $s=b(za(),1);var Ha;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ha||(Ha={}));var Wa;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Wa||(Wa={}));var $a;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})($a||($a={}));var Ga;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Ga||(Ga={}));var ja;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ja||(ja={}));var Ka;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ka||(Ka={}));var Va;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Va||(Va={}));var Za;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Za||(Za={}));var qa;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(qa||(qa={}));var Ya;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ya||(Ya={}));var Xa;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Xa||(Xa={}));var Qa;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Qa||(Qa={}));var Ja;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ja||(Ja={}));var ei;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ei||(ei={}));var ti;(function(t){t.ASC="ASC",t.DESC="DESC"})(ti||(ti={}));var ri;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ri||(ri={}));var po;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(po||(po={}));var oi;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(oi||(oi={}));var ni;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ni||(ni={}));var ai;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ai||(ai={}));var ii;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ii||(ii={}));var si;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(si||(si={}));var fo;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(fo||(fo={}));var li;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(li||(li={}));var q;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(q||(q={}));var ot;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(ot||(ot={}));var ci;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(ci||(ci={}));var di;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(di||(di={}));var ui;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ui||(ui={}));var Ws={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN],[q.GENERATIVE_AI_EXPORT_USER]:[q.GENERATIVE_AI_USER]};function pi(t,r){return t===r||(Ws[t]??[]).some(o=>pi(o,r))}function fi(t,r){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>pi(n,r))}var fr=class extends ue{async listMySearches(){let{session:r}=E.getState();return fi(r,q.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var hi=b(T());var ho=class{isDate(r){var o,n,i,s;return(s=(i=((n=(o=E.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(r,o){var n,i,s;return hi.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:E.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new ho;var yi=b(T());var Mt=class{static get(r,o){var n,i;let s=E.getState(),{lang:l,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new yi.SearchPlaceConverter(s.baseUrl,r??20,s.searchInAllLanguagesAllowed,o??`${l}-${d}`)}};var yo=class{urlToSearchRequest(r){return Mt.get().parse(r)}searchRequestToUrl(r){return Mt.get().serialize(r)}};window.FluidTopicsUrlService=new yo;var Fe=b(T());var nt=class t extends CustomEvent{constructor(r){super(t.eventName,{detail:{currentItem:r}})}};nt.eventName="change";var go=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},gi=new go;var hr=class t extends Fe.WithEventBus{static build(){return new t(window.history,gi,()=>window.location,!1)}constructor(r,o,n,i){var s,l;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(l=(s=r.state)===null||s===void 0?void 0:s.index)!==null&&l!==void 0?l:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Fe.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new nt(this.currentItem())),0)}installProxies(){let r=o=>(n,i,[s,l,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[p,l,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r){var o;let n={...this.buildCurrentState(),...r,index:this.currentIndex,title:(o=r?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(r){this.addEventListener(nt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(nt.eventName,r)}currentItem(){return(0,Fe.deepCopy)(this.currentState)}back(){let r=this.previousDifferentMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Fe.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let r=this.currentIndex>0?this.currentIndex-1:0;for(;r>0&&!this.isDifferentMajorState(r);)r--;return r}forward(){let r=this.nextMajorPosition();r&&r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){let r=this.nextMajorPosition();if(r)return(0,Fe.deepCopy)(this.states[r])}nextMajorPosition(){let r=this.currentIndex;if(!(r>=this.states.length)){do r++;while(r<this.states.length&&!this.isDifferentMajorState(r));return this.getHigherPositionInTheSameState(r)}}getHigherPositionInTheSameState(r){var o;let n=(o=this.states[r])===null||o===void 0?void 0:o.majorStateId;if(!n)return r;let i=r,s=r+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isDifferentMajorState(r,o){var n;if(!this.hasState(r))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=hr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var mi=E;function bi(t,r){var o;return mi.getState().authenticationRequired&&!(!((o=mi.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(r):t()}var Y=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},H=class extends ve.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>rt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ve.CacheRegistry,this.cleanSessionDebouncer=new ve.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return xi.html`
|
|
714
|
+
`}willUpdate(r){super.willUpdate(r),r.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),r.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(r){var o,n;if(super.contentAvailableCallback(r),r.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),r.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];(0,Me.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",L.optionsHeight,0).then(({x:s,y:l})=>{this.optionsMenu.style.left=`${s}px`,this.optionsMenu.style.top=`${l}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(r){var o;r.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(r){switch(r.key){case" ":r.preventDefault(),r.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":r.preventDefault(),r.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(r){var o,n,i,s,l;let d;switch(r.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":r.preventDefault(),r.stopPropagation(),d=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":r.preventDefault(),r.stopPropagation(),d=(l=(s=this.focusedOption)===null||s===void 0?void 0:s.nextElementSibling)!==null&&l!==void 0?l:this.firstOption;break;default:if(r.key.length!=1)break;this.isKeyAlphanumeric(r.key)&&(d=this.handleAlphanumericPress(r.key));break}d?.focus()}isKeyAlphanumeric(r){let o=r.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(r){var o,n;let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=r.toLowerCase();let s=this.options.find(d=>{var p;return((p=d.label)===null||p===void 0?void 0:p.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(s===void 0){this.lastSearchInputDate=i;return}let l=(n=(o=this.optionsMenu)===null||o===void 0?void 0:o.querySelector(`[data-value="${s.value}"]`))!==null&&n!==void 0?n:void 0;return this.lastSearchInputDate=i,l}onOptionKeyDown(r,o){var n;(r.key==="Enter"||r.key===" ")&&(r.preventDefault(),r.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}getOptionId(r){if(!r)return;let o=this.options.findIndex(n=>(0,Me.deepEqual)(n.value,r.value));if(o!==-1)return`option-${o}`}selectOption(r){var o,n;if(!(0,Me.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,r.value)){this.selectedOption=r;for(let i of this.options)i.selected=i===r;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};D.elementDefinitions={"ft-input-label":ge,"ft-typography":Ie,"ft-ripple":j,"ft-icon":le};D.searchTimeoutMilliseconds=2e3;D.styles=[ar,De,La];W([(0,M.property)({type:String})],D.prototype,"label",void 0);W([(0,M.property)({type:String})],D.prototype,"ariaLabel",void 0);W([(0,M.property)({type:String})],D.prototype,"helper",void 0);W([(0,M.property)({type:Boolean})],D.prototype,"outlined",void 0);W([(0,M.property)({type:Boolean})],D.prototype,"disabled",void 0);W([(0,M.property)({type:Boolean})],D.prototype,"error",void 0);W([(0,M.property)({type:Boolean})],D.prototype,"fixedMenuPosition",void 0);W([(0,M.property)({type:Array})],D.prototype,"options",void 0);W([(0,M.state)()],D.prototype,"selectedOption",void 0);W([(0,M.state)()],D.prototype,"optionsDisplayed",void 0);W([(0,M.state)()],D.prototype,"focusOptions",void 0);W([(0,M.state)()],D.prototype,"currentSearch",void 0);W([(0,M.state)()],D.prototype,"lastSearchInputDate",void 0);W([(0,M.query)(".ft-select")],D.prototype,"container",void 0);W([(0,M.query)(".ft-select--options")],D.prototype,"optionsMenu",void 0);W([(0,M.query)(".ft-select--input-panel")],D.prototype,"mainPanel",void 0);W([(0,M.query)(".ft-select--option:first-child")],D.prototype,"firstOption",void 0);W([(0,M.query)(".ft-select--option:focus")],D.prototype,"focusedOption",void 0);W([(0,M.query)(".ft-select--option.ft-select--option-selected")],D.prototype,"selectedOptionElement",void 0);W([(0,M.query)(".ft-select--option:last-child")],D.prototype,"lastOption",void 0);W([(0,M.query)("slot:not([name])")],D.prototype,"optionsSlot",void 0);(0,co.customElement)("ft-select")(D);(0,co.customElement)("ft-select-option")(Ee);var ws=b($r());var bs=b(T());var Dr=b(K()),Ur=b(oe()),Br=b(T());var ka=b(K());var Da=ka.css`
|
|
715
|
+
`;var Pr=b(T());var ps=b(T());var vi=b(K()),re=b(oe()),ve=b(T());var Ua=b(K());var Ba=Ua.css`
|
|
716
|
+
`;var sr=b(T()),zs="ft-app-info",ot=class t extends CustomEvent{constructor(r){super(t.eventName,{detail:r})}};ot.eventName="authentication-change";var Hs={session:(t,r)=>{(0,sr.deepEqual)(t.session,r.payload)||(t.session=r.payload,setTimeout(()=>E.dispatchEvent(new ot(r.payload)),0))}},E=sr.FtReduxStore.get({name:zs,reducers:Hs,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],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,authenticationRequired:!1}});var po=b(T());var nt=class t{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=E.getState(),i=r??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(r){return new Promise(o=>{let n=t.get(r);if(n)o(n);else{let i=E.subscribe(()=>{n=t.get(r),n&&(i(),o(n))})}})}};var lr=class{constructor(r){this.overrideApi=r}get api(){var r;return(r=this.overrideApi)!==null&&r!==void 0?r:nt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):nt.await()}};var pe=class extends lr{constructor(r=!0,o){var n;super(o),this.sortObjectFields=(s,l)=>typeof l!="object"||l==null||Array.isArray(l)?l:Object.fromEntries(Object.entries(l).sort(([d],[p])=>d.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new po.CacheRegistry,this.cache=r?i.commonCache:new po.CacheRegistry}clearCache(){this.cache.clearAll()}hash(r){return String(Array.from(JSON.stringify(r,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var cr=class extends pe{async listMyBookmarks(){let r=E.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var uo=class{addCommand(r,o=!1){E.commands.add(r,o)}consumeCommand(r){return E.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new uo;var ue=b(T());var Ma,Ct=class extends CustomEvent{constructor(r){super("ft-i18n-context-loaded",{detail:r})}},Ws=Symbol("clearAfterUnitTest"),dr=class extends(0,ue.withEventBus)(pe){constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ma]=()=>{this.defaultMessages={},this.cache=new ue.CacheRegistry,this.listeners={}},this.currentUiLocale=E.getState().uiLocale,E.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=E.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,ue.deepEqual)(this.defaultMessages[r],i)||(this.defaultMessages[r]=i,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var i;let s=r.toLowerCase(),l=this.resolveContext(s);return new ue.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},l).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r)),o&&await this.notify(r)}catch(i){!(i instanceof ue.CanceledPromiseError)&&o&&console.error(i)}return n}subscribe(r,o){var n;return r=r.toLowerCase(),this.listeners[r]=(n=this.listeners[r])!==null&&n!==void 0?n:new Set,this.listeners[r].add(o),()=>{var i;return(i=this.listeners[r])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let r=Object.keys(this.listeners);document.body.dispatchEvent(new Ct({loadedContexts:r})),this.dispatchEvent(new Ct({loadedContexts:r})),await Promise.all(r.map(o=>this.notify(o,!1)))}async notify(r,o=!0){o&&(document.body.dispatchEvent(new Ct({loadedContexts:[r]})),this.dispatchEvent(new Ct({loadedContexts:[r]}))),this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(n=>(0,ue.delay)(0).then(()=>n()).catch(()=>null)))}};Ma=Ws;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends dr{constructor(){super(async(t,r)=>(await this.awaitApi).getFluidTopicsMessageContext(t,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends dr{constructor(){super(async(t,r)=>(await this.awaitApi).getCustomMessageContext(t,r))}});var Et=window.FluidTopicsI18nService,pr=window.FluidTopicsCustomI18nService;var Fa=b(T()),fo=class{highlightHtml(r,o,n){(0,Fa.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new fo;var Gs=b(Ha(),1);var Wa;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Wa||(Wa={}));var $a;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})($a||($a={}));var Ga;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Ga||(Ga={}));var ja;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(ja||(ja={}));var Ka;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ka||(Ka={}));var Va;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Va||(Va={}));var Za;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Za||(Za={}));var qa;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(qa||(qa={}));var Ya;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Ya||(Ya={}));var Xa;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Xa||(Xa={}));var Qa;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Qa||(Qa={}));var Ja;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ja||(Ja={}));var ei;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ei||(ei={}));var ti;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(ti||(ti={}));var ri;(function(t){t.ASC="ASC",t.DESC="DESC"})(ri||(ri={}));var oi;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(oi||(oi={}));var ho;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ho||(ho={}));var ni;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ni||(ni={}));var ai;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ai||(ai={}));var ii;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ii||(ii={}));var si;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(si||(si={}));var li;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(li||(li={}));var yo;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(yo||(yo={}));var ci;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ci||(ci={}));var Y;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(Y||(Y={}));var at;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(at||(at={}));var di;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(di||(di={}));var pi;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(pi||(pi={}));var ui;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ui||(ui={}));var $s={[Y.PERSONAL_BOOK_SHARE_USER]:[Y.PERSONAL_BOOK_USER],[Y.HTML_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.PDF_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.KHUB_ADMIN]:[Y.CONTENT_PUBLISHER],[Y.ADMIN]:[Y.KHUB_ADMIN,Y.USERS_ADMIN,Y.PORTAL_ADMIN],[Y.GENERATIVE_AI_EXPORT_USER]:[Y.GENERATIVE_AI_USER]};function fi(t,r){return t===r||($s[t]??[]).some(o=>fi(o,r))}function hi(t,r){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>fi(n,r))}var hr=class extends pe{async listMySearches(){let{session:r}=E.getState();return hi(r,Y.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var yi=b(T());var go=class{isDate(r){var o,n,i,s;return(s=(i=((n=(o=E.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(r,o){var n,i,s;return yi.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:E.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new go;var gi=b(T());var zt=class{static get(r,o){var n,i;let s=E.getState(),{lang:l,region:d}=(i=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new gi.SearchPlaceConverter(s.baseUrl,r??20,s.searchInAllLanguagesAllowed,o??`${l}-${d}`)}};var mo=class{urlToSearchRequest(r){return zt.get().parse(r)}searchRequestToUrl(r){return zt.get().serialize(r)}};window.FluidTopicsUrlService=new mo;var ze=b(T());var it=class t extends CustomEvent{constructor(r){super(t.eventName,{detail:{currentItem:r}})}};it.eventName="change";var bo=class{itemName(r){return`fluid-topics-history-item-${r}`}get(r){let o=sessionStorage.getItem(this.itemName(r));return o?JSON.parse(o):void 0}set(r,o){sessionStorage.setItem(this.itemName(r),JSON.stringify(o))}},mi=new bo;var yr=class t extends ze.WithEventBus{static build(){return new t(window.history,mi,()=>window.location,!1)}constructor(r,o,n,i){var s,l;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(l=(s=r.state)===null||s===void 0?void 0:s.index)!==null&&l!==void 0?l:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(r,o=!1){let n=o&&this.currentIndex===r.index-1;this.currentState={...this.buildCurrentState(),...r},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ze.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new it(this.currentItem())),0)}installProxies(){let r=o=>(n,i,[s,l,d])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(i,[u,l,d]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:r(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:r(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",r=>this.setCurrentState(r.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(r){for(let o=this.history.length-1;o>=0;o--)r?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(r){var o;let n={...this.buildCurrentState(),...r,index:this.currentIndex,title:(o=r?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(r){this.addEventListener(it.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(it.eventName,r)}currentItem(){return(0,ze.deepCopy)(this.currentState)}back(){let r=this.previousDifferentMajorPosition();r>=0?this.history.go(r-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,ze.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let r=this.currentIndex>0?this.currentIndex-1:0;for(;r>0&&!this.isDifferentMajorState(r);)r--;return r}forward(){let r=this.nextMajorPosition();r&&r<this.states.length?this.history.go(r-this.currentIndex):this.history.forward()}forwardItem(){let r=this.nextMajorPosition();if(r)return(0,ze.deepCopy)(this.states[r])}nextMajorPosition(){let r=this.currentIndex;if(!(r>=this.states.length)){do r++;while(r<this.states.length&&!this.isDifferentMajorState(r));return this.getHigherPositionInTheSameState(r)}}getHigherPositionInTheSameState(r){var o;let n=(o=this.states[r])===null||o===void 0?void 0:o.majorStateId;if(!n)return r;let i=r,s=r+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var r,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(r=this.history.state)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:document.title}}hasState(r){return this.states[r]!=null}isDifferentMajorState(r,o){var n;if(!this.hasState(r))return!1;let i=o??this.currentState.majorStateId,s=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=yr.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var bi=E;function xi(t,r){var o;return bi.getState().authenticationRequired&&!(!((o=bi.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(r):t()}var X=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},H=class extends ve.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>nt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ve.CacheRegistry,this.cleanSessionDebouncer=new ve.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return vi.html`
|
|
709
717
|
<slot></slot>
|
|
710
|
-
`}connectedCallback(){super.connectedCallback(),E.addEventListener(tt.eventName,this.reloadConfiguration)}disconnectedCallback(){E.addEventListener(tt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(r){var o,n,i,s,l,d,u;super.update(r),r.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("apiIntegrationAppVersion")&&E.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),r.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&E.actions.noCustom(this.noCustom),r.has("editorMode")&&E.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&E.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Ot.addContext(p)),r.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&E.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&E.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(E.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),E.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),E.actions.searchInAllLanguagesAllowed((l=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),r.has("authenticationRequired")&&E.actions.authenticationRequired(this.authenticationRequired),r.has("availableContentLocales")&&E.actions.availableContentLocales((u=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>bi(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};H.elementDefinitions={};H.styles=Ua;Y([(0,re.property)()],H.prototype,"baseUrl",void 0);Y([(0,re.property)()],H.prototype,"apiIntegrationIdentifier",void 0);Y([(0,re.property)()],H.prototype,"apiIntegrationAppVersion",void 0);Y([(0,re.property)()],H.prototype,"uiLocale",void 0);Y([(0,ve.jsonProperty)(null)],H.prototype,"availableUiLocales",void 0);Y([(0,ve.jsonProperty)(null)],H.prototype,"metadataConfiguration",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"editorMode",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"noCustom",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);Y([(0,re.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],H.prototype,"noCustomComponent",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"withManualResources",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"navigatorOnline",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"forcedOffline",void 0);Y([(0,re.property)({type:Object})],H.prototype,"apiProvider",void 0);Y([(0,re.property)({type:Boolean})],H.prototype,"authenticationRequired",void 0);Y([(0,ve.jsonProperty)([])],H.prototype,"messageContexts",void 0);Y([(0,ve.jsonProperty)(void 0)],H.prototype,"session",void 0);Y([(0,re.state)()],H.prototype,"localesConfiguration",void 0);Y([(0,re.state)()],H.prototype,"availableContentLocales",void 0);var Tl=b(oe());function Gs(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!yr(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!yr(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();let s=l=>Object.keys(l).filter(d=>l[d]!=null);if(i=s(t),o=i.length,o!==s(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=o;n--!==0;){let l=i[n];if(!yr(t[l],r[l]))return!1}return!0}return t!==t&&r!==r||t==null&&r==null}function yr(t,r){try{return Gs(t,r)}catch{return!1}}function gr(t,r){return!yr(t,r)}var js=b(oe(),1);var mr=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var Et=b(oe(),1);var vi=b(oe(),1);function Si(t,r){let o=()=>JSON.parse(JSON.stringify(t));return(0,vi.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:gr,...r??{}})}var br=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let i=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ci=b(K(),1);var xr=globalThis,Ks=xr.ShadowRoot&&(xr.ShadyCSS===void 0||xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Og=Symbol();var Oi=(t,r)=>{if(Ks)t.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),i=xr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var vr=class extends Ci.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([i,s])=>r.registry.define(i,s)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Oi(n,r.elementStyles),n}};function Ei(t,r,...o){var n;let i=t.querySelector(r);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var Ft=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ni,Ai=Symbol("constructorPrototype"),wi=Symbol("constructorName"),_i=Symbol("exportpartsDebouncer"),Ri=Symbol("dynamicDependenciesLoaded"),Te=class extends vr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ni]=new br(5),this[wi]=this.constructor.name,this[Ai]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[wi]&&Object.setPrototypeOf(this,this[Ai])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Ri]||(r[Ri]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Ei(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[_i].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,i,s,l,d;let u=g=>g!=null&&g.trim().length>0,p=r.filter(u).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],x=(d=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...O,...x).filter(u).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(g=>p.map(O=>`${g}:${O}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Ni=_i;Ft([(0,Et.property)()],Te.prototype,"exportpartsPrefix",void 0);Ft([Si([])],Te.prototype,"exportpartsPrefixes",void 0);Ft([(0,Et.property)()],Te.prototype,"customStylesheet",void 0);Ft([(0,Et.property)()],Te.prototype,"elementToFocus",void 0);Ft([(0,Et.state)()],Te.prototype,"useAdoptedStyleSheets",void 0);function Sr(t){var r;return(r=t?.isFtReduxStore)!==null&&r!==void 0?r:!1}var zt=Symbol("internalReduxEventsUnsubscribers"),ze=Symbol("internalStoresUnsubscribers"),at=Symbol("internalStores");function Vs(t){var r,o,n;class i extends t{constructor(){super(...arguments),this[r]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(d=>l.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[at].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[at].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[at].get(l)}addStore(l,d){var u;d=(u=d??l.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[at].set(d,l),this.subscribeToStore(d,l),this.updateFromStores()}removeStore(l){let d=typeof l=="string"?l:l.name;this.unsubscribeFromStore(d),this[at].delete(d)}setupStores(){this.unsubscribeFromStores(),this[at].forEach((l,d)=>this.subscribeToStore(d,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(l.store);p&&(l.store?this[ze].has(l.store):this[ze].size>0)&&(this[d]=l.selector(p.getState(),this))}})}subscribeToStore(l,d){var u;this[ze].set(l,d.subscribe(()=>this.updateFromStores())),this[zt].set(l,[]),Sr(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||d.name===p.store)){let y=g=>this[h](g);d.addEventListener(p.eventName,y),this[zt].get(l).push(()=>d.removeEventListener(p.eventName,y))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[ze].forEach((l,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(l){var d;this[ze].has(l)&&this[ze].get(l)(),this[ze].delete(l),(d=this[zt].get(l))===null||d===void 0||d.forEach(u=>u()),this[zt].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return r=ze,o=at,n=zt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}var Ii=class extends Vs(Te){};function fe(t){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Le(t){return!!t&&!!t[$]}function Se(t){var r;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===tl}(t)||Array.isArray(t)||!!t[Bi]||!!(!((r=t.constructor)===null||r===void 0)&&r[Bi])||Ao(t)||wo(t))}function it(t,r,o){o===void 0&&(o=!1),Rt(t)===0?(o?Object.keys:wt)(t).forEach(function(n){o&&typeof n=="symbol"||r(n,t[n],t)}):t.forEach(function(n,i){return r(i,n,t)})}function Rt(t){var r=t[$];return r?r.i>3?r.i-4:r.i:Array.isArray(t)?1:Ao(t)?2:wo(t)?3:0}function At(t,r){return Rt(t)===2?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function Zs(t,r){return Rt(t)===2?t.get(r):t[r]}function Mi(t,r,o){var n=Rt(t);n===2?t.set(r,o):n===3?t.add(o):t[r]=o}function Fi(t,r){return t===r?t!==0||1/t==1/r:t!=t&&r!=r}function Ao(t){return Js&&t instanceof Map}function wo(t){return el&&t instanceof Set}function He(t){return t.o||t.t}function Ro(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var r=Wi(t);delete r[$];for(var o=wt(r),n=0;n<o.length;n++){var i=o[n],s=r[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),r)}function No(t,r){return r===void 0&&(r=!1),_o(t)||Le(t)||!Se(t)||(Rt(t)>1&&(t.set=t.add=t.clear=t.delete=qs),Object.freeze(t),r&&it(t,function(o,n){return No(n,!0)},!0)),t}function qs(){fe(2)}function _o(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ae(t){var r=Eo[t];return r||fe(18,t),r}function Ys(t,r){Eo[t]||(Eo[t]=r)}function So(){return Wt}function mo(t,r){r&&(Ae("Patches"),t.u=[],t.s=[],t.v=r)}function Or(t){Oo(t),t.p.forEach(Xs),t.p=null}function Oo(t){t===Wt&&(Wt=t.l)}function Ti(t){return Wt={p:[],l:Wt,h:t,m:!0,_:0}}function Xs(t){var r=t[$];r.i===0||r.i===1?r.j():r.g=!0}function bo(t,r){r._=r.p.length;var o=r.p[0],n=t!==void 0&&t!==o;return r.h.O||Ae("ES5").S(r,t,n),n?(o[$].P&&(Or(r),fe(4)),Se(t)&&(t=Cr(r,t),r.l||Er(r,t)),r.u&&Ae("Patches").M(o[$].t,t,r.u,r.s)):t=Cr(r,o,[]),Or(r),r.u&&r.v(r.u,r.s),t!==Hi?t:void 0}function Cr(t,r,o){if(_o(r))return r;var n=r[$];if(!n)return it(r,function(d,u){return Li(t,n,r,d,u,o)},!0),r;if(n.A!==t)return r;if(!n.P)return Er(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ro(n.k):n.o,s=i,l=!1;n.i===3&&(s=new Set(i),i.clear(),l=!0),it(s,function(d,u){return Li(t,n,i,d,u,o,l)}),Er(t,i,!1),o&&t.u&&Ae("Patches").N(n,o,t.u,t.s)}return n.o}function Li(t,r,o,n,i,s,l){if(Le(i)){var d=Cr(t,i,s&&r&&r.i!==3&&!At(r.R,n)?s.concat(n):void 0);if(Mi(o,n,d),!Le(d))return;t.m=!1}else l&&o.add(i);if(Se(i)&&!_o(i)){if(!t.h.D&&t._<1)return;Cr(t,i),r&&r.A.l||Er(t,i)}}function Er(t,r,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&No(r,o)}function xo(t,r){var o=t[$];return(o?He(o):t)[r]}function Pi(t,r){if(r in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function We(t){t.P||(t.P=!0,t.l&&We(t.l))}function vo(t){t.o||(t.o=Ro(t.t))}function Co(t,r,o){var n=Ao(r)?Ae("MapSet").F(r,o):wo(r)?Ae("MapSet").T(r,o):t.O?function(i,s){var l=Array.isArray(i),d={i:l?1:0,A:s?s.A:So(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},u=d,p=$t;l&&(u=[d],p=Ht);var h=Proxy.revocable(u,p),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(r,o):Ae("ES5").J(r,o);return(o?o.A:So()).p.push(n),n}function Qs(t){return Le(t)||fe(22,t),function r(o){if(!Se(o))return o;var n,i=o[$],s=Rt(o);if(i){if(!i.P&&(i.i<4||!Ae("ES5").K(i)))return i.t;i.I=!0,n=ki(o,s),i.I=!1}else n=ki(o,s);return it(n,function(l,d){i&&Zs(i.t,l)===d||Mi(n,l,r(d))}),s===3?new Set(n):n}(t)}function ki(t,r){switch(r){case 2:return new Map(t);case 3:return Array.from(t)}return Ro(t)}function zi(){function t(l,d){var u=s[l];return u?u.enumerable=d:s[l]=u={configurable:!0,enumerable:d,get:function(){var p=this[$];return $t.get(p,l)},set:function(p){var h=this[$];$t.set(h,l,p)}},u}function r(l){for(var d=l.length-1;d>=0;d--){var u=l[d][$];if(!u.P)switch(u.i){case 5:n(u)&&We(u);break;case 4:o(u)&&We(u)}}}function o(l){for(var d=l.t,u=l.k,p=wt(u),h=p.length-1;h>=0;h--){var y=p[h];if(y!==$){var g=d[y];if(g===void 0&&!At(d,y))return!0;var O=u[y],x=O&&O[$];if(x?x.t!==g:!Fi(O,g))return!0}}var C=!!d[$];return p.length!==wt(d).length+(C?0:1)}function n(l){var d=l.k;if(d.length!==l.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function i(l){l.g&&fe(3,JSON.stringify(He(l)))}var s={};Ys("ES5",{J:function(l,d){var u=Array.isArray(l),p=function(y,g){if(y){for(var O=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(O,""+x,t(x,!0));return O}var C=Wi(g);delete C[$];for(var k=wt(C),_=0;_<k.length;_++){var I=k[_];C[I]=t(I,y||!!C[I].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(u,l),h={i:u?5:4,A:d?d.A:So(),P:!1,I:!1,R:{},l:d,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,$,{value:h,writable:!0}),p},S:function(l,d,u){u?Le(d)&&d[$].A===l&&r(l.p):(l.u&&function p(h){if(h&&typeof h=="object"){var y=h[$];if(y){var g=y.t,O=y.k,x=y.R,C=y.i;if(C===4)it(O,function(U){U!==$&&(g[U]!==void 0||At(g,U)?x[U]||p(O[U]):(x[U]=!0,We(y)))}),it(g,function(U){O[U]!==void 0||At(O,U)||(x[U]=!1,We(y))});else if(C===5){if(n(y)&&(We(y),x.length=!0),O.length<g.length)for(var k=O.length;k<g.length;k++)x[k]=!1;else for(var _=g.length;_<O.length;_++)x[_]=!0;for(var I=Math.min(O.length,g.length),F=0;F<I;F++)O.hasOwnProperty(F)||(x[F]=!0),x[F]===void 0&&p(O[F])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Di,Wt,Io=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Js=typeof Map<"u",el=typeof Set<"u",Ui=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Hi=Io?Symbol.for("immer-nothing"):((Di={})["immer-nothing"]=!0,Di),Bi=Io?Symbol.for("immer-draftable"):"__$immer_draftable",$=Io?Symbol.for("immer-state"):"__$immer_state";var tl=""+Object.prototype.constructor,wt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Wi=Object.getOwnPropertyDescriptors||function(t){var r={};return wt(t).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(t,o)}),r},Eo={},$t={get:function(t,r){if(r===$)return t;var o=He(t);if(!At(o,r))return function(i,s,l){var d,u=Pi(s,l);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(i.k):void 0}(t,o,r);var n=o[r];return t.I||!Se(n)?n:n===xo(t.t,r)?(vo(t),t.o[r]=Co(t.A.h,n,t)):n},has:function(t,r){return r in He(t)},ownKeys:function(t){return Reflect.ownKeys(He(t))},set:function(t,r,o){var n=Pi(He(t),r);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=xo(He(t),r),s=i?.[$];if(s&&s.t===o)return t.o[r]=o,t.R[r]=!1,!0;if(Fi(o,i)&&(o!==void 0||At(t.t,r)))return!0;vo(t),We(t)}return t.o[r]===o&&(o!==void 0||r in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[r])||(t.o[r]=o,t.R[r]=!0),!0},deleteProperty:function(t,r){return xo(t.t,r)!==void 0||r in t.t?(t.R[r]=!1,vo(t),We(t)):delete t.R[r],t.o&&delete t.o[r],!0},getOwnPropertyDescriptor:function(t,r){var o=He(t),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:t.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){fe(12)}},Ht={};it($t,function(t,r){Ht[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Ht.deleteProperty=function(t,r){return Ht.set.call(this,t,r,void 0)},Ht.set=function(t,r,o){return $t.set.call(this,t[0],r,o,t[0])};var rl=function(){function t(o){var n=this;this.O=Ui,this.D=!0,this.produce=function(i,s,l){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var u=n;return function(C){var k=this;C===void 0&&(C=d);for(var _=arguments.length,I=Array(_>1?_-1:0),F=1;F<_;F++)I[F-1]=arguments[F];return u.produce(C,function(U){var J;return(J=s).call.apply(J,[k,U].concat(I))})}}var p;if(typeof s!="function"&&fe(6),l!==void 0&&typeof l!="function"&&fe(7),Se(i)){var h=Ti(n),y=Co(n,i,void 0),g=!0;try{p=s(y),g=!1}finally{g?Or(h):Oo(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return mo(h,l),bo(C,h)},function(C){throw Or(h),C}):(mo(h,l),bo(p,h))}if(!i||typeof i!="object"){if((p=s(i))===void 0&&(p=i),p===Hi&&(p=void 0),n.D&&No(p,!0),l){var O=[],x=[];Ae("Patches").M(i,p,O,x),l(O,x)}return p}fe(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(p){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(p,function(O){return i.apply(void 0,[O].concat(y))})};var l,d,u=n.produce(i,s,function(p,h){l=p,d=h});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,l,d]}):[u,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=t.prototype;return r.createDraft=function(o){Se(o)||fe(8),Le(o)&&(o=Qs(o));var n=Ti(this),i=Co(this,o,void 0);return i[$].C=!0,Oo(n),i},r.finishDraft=function(o,n){var i=o&&o[$],s=i.A;return mo(s,n),bo(void 0,s)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Ui&&fe(20),this.O=o},r.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var l=Ae("Patches").$;return Le(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},t}(),ce=new rl,ol=ce.produce,Ug=ce.produceWithPatches.bind(ce),Bg=ce.setAutoFreeze.bind(ce),Mg=ce.setUseProxies.bind(ce),Fg=ce.applyPatches.bind(ce),zg=ce.createDraft.bind(ce),Hg=ce.finishDraft.bind(ce),Ar=ol;function st(t){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},st(t)}function $i(t,r){if(st(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,r||"default");if(st(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function Gi(t){var r=$i(t,"string");return st(r)=="symbol"?r:r+""}function ji(t,r,o){return(r=Gi(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t}function Ki(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function To(t){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Ki(Object(o),!0).forEach(function(n){ji(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ki(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function ae(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Vi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Lo=function(){return Math.random().toString(36).substring(7).split("").join(".")},wr={INIT:"@@redux/INIT"+Lo(),REPLACE:"@@redux/REPLACE"+Lo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Lo()}};function nl(t){if(typeof t!="object"||t===null)return!1;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}function Po(t,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ae(1));return o(Po)(t,r)}if(typeof t!="function")throw new Error(ae(2));var i=t,s=r,l=[],d=l,u=!1;function p(){d===l&&(d=l.slice())}function h(){if(u)throw new Error(ae(3));return s}function y(C){if(typeof C!="function")throw new Error(ae(4));if(u)throw new Error(ae(5));var k=!0;return p(),d.push(C),function(){if(k){if(u)throw new Error(ae(6));k=!1,p();var I=d.indexOf(C);d.splice(I,1),l=null}}}function g(C){if(!nl(C))throw new Error(ae(7));if(typeof C.type>"u")throw new Error(ae(8));if(u)throw new Error(ae(9));try{u=!0,s=i(s,C)}finally{u=!1}for(var k=l=d,_=0;_<k.length;_++){var I=k[_];I()}return C}function O(C){if(typeof C!="function")throw new Error(ae(10));i=C,g({type:wr.REPLACE})}function x(){var C,k=y;return C={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(ae(11));function F(){I.next&&I.next(h())}F();var U=k(F);return{unsubscribe:U}}},C[Vi]=function(){return this},C}return g({type:wr.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:O},n[Vi]=x,n}function al(t){Object.keys(t).forEach(function(r){var o=t[r],n=o(void 0,{type:wr.INIT});if(typeof n>"u")throw new Error(ae(12));if(typeof o(void 0,{type:wr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function Zi(t){for(var r=Object.keys(t),o={},n=0;n<r.length;n++){var i=r[n];typeof t[i]=="function"&&(o[i]=t[i])}var s=Object.keys(o),l,d;try{al(o)}catch(u){d=u}return function(p,h){if(p===void 0&&(p={}),d)throw d;if(0)var y;for(var g=!1,O={},x=0;x<s.length;x++){var C=s[x],k=o[C],_=p[C],I=k(_,h);if(typeof I>"u"){var F=h&&h.type;throw new Error(ae(14))}O[C]=I,g=g||I!==_}return g=g||s.length!==Object.keys(p).length,g?O:p}}function Nt(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function qi(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(ae(15))},l={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=r.map(function(u){return u(l)});return s=Nt.apply(void 0,d)(i.dispatch),To(To({},i),{},{dispatch:s})}}}function Yi(t){var r=function(n){var i=n.dispatch,s=n.getState;return function(l){return function(d){return typeof d=="function"?d(i,s,t):l(d)}}};return r}var Xi=Yi();Xi.withExtraArgument=Yi;var ko=Xi;var rs=function(){var t=function(r,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),il=function(t,r){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(p){return function(h){return u([p,h])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=p[0]&2?i.return:p[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,p[1])).done)return s;switch(i=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=r.call(t,o)}catch(h){p=[6,h],i=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},_t=function(t,r){for(var o=0,n=r.length,i=t.length;o<n;o++,i++)t[i]=r[o];return t},sl=Object.defineProperty,ll=Object.defineProperties,cl=Object.getOwnPropertyDescriptors,Qi=Object.getOwnPropertySymbols,dl=Object.prototype.hasOwnProperty,ul=Object.prototype.propertyIsEnumerable,Ji=function(t,r,o){return r in t?sl(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o},$e=function(t,r){for(var o in r||(r={}))dl.call(r,o)&&Ji(t,o,r[o]);if(Qi)for(var n=0,i=Qi(r);n<i.length;n++){var o=i[n];ul.call(r,o)&&Ji(t,o,r[o])}return t},Do=function(t,r){return ll(t,cl(r))},pl=function(t,r,o){return new Promise(function(n,i){var s=function(u){try{d(o.next(u))}catch(p){i(p)}},l=function(u){try{d(o.throw(u))}catch(p){i(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,l)};d((o=o.apply(t,r)).next())})};var fl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nt:Nt.apply(null,arguments)},am=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function hl(t){if(typeof t!="object"||t===null)return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var yl=function(t){rs(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,r.prototype),i}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,_t([void 0],o[0].concat(this)))):new(r.bind.apply(r,_t([void 0],o.concat(this))))},r}(Array),gl=function(t){rs(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,r.prototype),i}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,_t([void 0],o[0].concat(this)))):new(r.bind.apply(r,_t([void 0],o.concat(this))))},r}(Array);function Mo(t){return Se(t)?Ar(t,function(){}):t}function ml(t){return typeof t=="boolean"}function bl(){return function(r){return xl(r)}}function xl(t){t===void 0&&(t={});var r=t.thunk,o=r===void 0?!0:r,n=t.immutableCheck,i=n===void 0?!0:n,s=t.serializableCheck,l=s===void 0?!0:s,d=new yl;if(o&&(ml(o)?d.push(ko):d.push(ko.withExtraArgument(o.extraArgument))),0){if(i)var u;if(l)var p}return d}var Uo=!0;function os(t){var r=bl(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,l=s===void 0?r():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,h=p===void 0?void 0:p,y=o.enhancers,g=y===void 0?void 0:y,O;if(typeof i=="function")O=i;else if(hl(i))O=Zi(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=l;if(typeof x=="function"&&(x=x(r),!Uo&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Uo&&x.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=qi.apply(void 0,x),k=Nt;u&&(k=fl($e({trace:!Uo},typeof u=="object"&&u)));var _=new gl(C),I=_;Array.isArray(g)?I=_t([C],g):typeof g=="function"&&(I=g(_));var F=k.apply(void 0,I);return Po(O,h,F)}function Ge(t,r){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r){var s=r.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return $e($e({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function ns(t){var r={},o=[],n,i={addCase:function(s,l){var d=typeof s=="string"?s:s.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,i},addMatcher:function(s,l){return o.push({matcher:s,reducer:l}),i},addDefaultCase:function(s){return n=s,i}};return t(i),[r,o,n]}function vl(t){return typeof t=="function"}function Sl(t,r,o,n){o===void 0&&(o=[]);var i=typeof r=="function"?ns(r):[r,o,n],s=i[0],l=i[1],d=i[2],u;if(vl(t))u=function(){return Mo(t())};else{var p=Mo(t);u=function(){return p}}function h(y,g){y===void 0&&(y=u());var O=_t([s[g.type]],l.filter(function(x){var C=x.matcher;return C(g)}).map(function(x){var C=x.reducer;return C}));return O.filter(function(x){return!!x}).length===0&&(O=[d]),O.reduce(function(x,C){if(C)if(Le(x)){var k=x,_=C(k,g);return _===void 0?x:_}else{if(Se(x))return Ar(x,function(I){return C(I,g)});var _=C(x,g);if(_===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return x},y)}return h.getInitialState=u,h}function Ol(t,r){return t+"/"+r}function as(t){var r=t.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Mo(t.initialState),n=t.reducers||{},i=Object.keys(n),s={},l={},d={};i.forEach(function(h){var y=n[h],g=Ol(r,h),O,x;"reducer"in y?(O=y.reducer,x=y.prepare):O=y,s[h]=O,l[g]=O,d[h]=x?Ge(g,x):Ge(g)});function u(){var h=typeof t.extraReducers=="function"?ns(t.extraReducers):[t.extraReducers],y=h[0],g=y===void 0?{}:y,O=h[1],x=O===void 0?[]:O,C=h[2],k=C===void 0?void 0:C,_=$e($e({},g),l);return Sl(o,function(I){for(var F in _)I.addCase(F,_[F]);for(var U=0,J=x;U<J.length;U++){var ye=J[U];I.addMatcher(ye.matcher,ye.reducer)}k&&I.addDefaultCase(k)})}var p;return{name:r,reducer:function(h,y){return p||(p=u()),p(h,y)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Cl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",El=function(t){t===void 0&&(t=21);for(var r="",o=t;o--;)r+=Cl[Math.random()*64|0];return r},Al=["name","message","stack","code"],Bo=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),es=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),wl=function(t){if(typeof t=="object"&&t!==null){for(var r={},o=0,n=Al;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(r[i]=t[i])}return r}return{message:String(t)}},cm=function(){function t(r,o,n){var i=Ge(r+"/fulfilled",function(h,y,g,O){return{payload:h,meta:Do($e({},O||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=Ge(r+"/pending",function(h,y,g){return{payload:void 0,meta:Do($e({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=Ge(r+"/rejected",function(h,y,g,O,x){return{payload:O,error:(n&&n.serializeError||wl)(h||"Rejected"),meta:Do($e({},x||{}),{arg:g,requestId:y,rejectedWithValue:!!O,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(y,g,O){var x=n?.idGenerator?n.idGenerator(h):El(),C=new u,k,_=!1;function I(U){k=U,C.abort()}var F=function(){return pl(this,null,function(){var U,J,ye,je,ie,Ke,lt;return il(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),je=(U=n?.condition)==null?void 0:U.call(n,h,{getState:g,extra:O}),Nl(je)?[4,je]:[3,2];case 1:je=f.sent(),f.label=2;case 2:if(je===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,ie=new Promise(function(m,w){return C.signal.addEventListener("abort",function(){return w({name:"AbortError",message:k||"Aborted"})})}),y(s(x,h,(J=n?.getPendingMeta)==null?void 0:J.call(n,{requestId:x,arg:h},{getState:g,extra:O}))),[4,Promise.race([ie,Promise.resolve(o(h,{dispatch:y,getState:g,extra:O,requestId:x,signal:C.signal,abort:I,rejectWithValue:function(m,w){return new Bo(m,w)},fulfillWithValue:function(m,w){return new es(m,w)}})).then(function(m){if(m instanceof Bo)throw m;return m instanceof es?i(m.payload,x,h,m.meta):i(m,x,h)})])];case 3:return ye=f.sent(),[3,5];case 4:return Ke=f.sent(),ye=Ke instanceof Bo?l(null,x,h,Ke.payload,Ke.meta):l(Ke,x,h),[3,5];case 5:return lt=n&&!n.dispatchConditionRejection&&l.match(ye)&&ye.meta.condition,lt||y(ye),[2,ye]}})})}();return Object.assign(F,{abort:I,requestId:x,arg:h,unwrap:function(){return F.then(Rl)}})}}return Object.assign(p,{pending:s,rejected:l,fulfilled:i,typePrefix:r})}return t.withTypes=function(){return t},t}();function Rl(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Nl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var is="listener",ss="completed",ls="cancelled",dm="task-"+ls,um="task-"+ss,pm=is+"-"+ls,fm=is+"-"+ss;var Fo="listenerMiddleware";var hm=Ge(Fo+"/add"),ym=Ge(Fo+"/removeAll"),gm=Ge(Fo+"/remove");var ts,mm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ts||(ts=Promise.resolve())).then(t).catch(function(r){return setTimeout(function(){throw r},0)})},_l=function(t){return function(r){setTimeout(r,t)}},bm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:_l(10);zi();function Il(t,r){return class extends t{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Rr=class extends Il(Object){};window.ftReduxStores||(window.ftReduxStores={});var cs=class t extends Rr{static get(r){var o;let n=typeof r=="string"?r:r.name,i=typeof r=="string"?void 0:r,s=window.ftReduxStores[n];if(Sr(s))return s;if(i==null)return;let l=as({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=os({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:l.reducer(u,p)});return window.ftReduxStores[i.name]=new t(l,d,i.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new mr;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let u=l,p=s[u];return p?(...h)=>{let y=p(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[u]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var _r=b(T());var Nr=class extends ue{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(r){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${r}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${r}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(r){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${r}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${r}`),this.CACHE_DURATION)}isAuthenticated(){let r=E.getState().session;return!!r?.sessionAuthenticated}};var Ll="ft-user-assets",Pl={setAssetCount:(t,r)=>{let{userAssetType:o,count:n}=r.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(ot).forEach(r=>{t.assetCounts.allAsset[r]=void 0})},setBookmarkCountByMap:(t,r)=>{let o=r.payload.mapId;t.assetCounts.bookmarkByMap[o]=r.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}}},he=_r.FtReduxStore.get({name:Ll,reducers:Pl,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ot).map(t=>[t,void 0])),bookmarkByMap:{}}}}),zo=class{constructor(r=new Nr){this.assetCountsService=r,this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new lr,this.savedSearchesService=new fr,E.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=E.getState();(0,_r.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){he.actions.clearAssetCount(),he.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),he.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),he.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();he.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(r){let o=await this.assetCountsService.getUserAssetCount(r);o&&he.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(r){let o=await this.assetCountsService.getUserBookmarkCountByMap(r);o&&he.actions.setBookmarkCountByMap({count:o.count,mapId:r})}async reloadAssetCount(r){this.assetCountsService.clearCache();let o=Object.keys(he.getState().assetCounts.bookmarkByMap).length!==0;r===ot.BOOKMARKS&&o&&he.actions.clearBookmarkCountByMap(),he.getState().assetCounts.allAsset[r]!==void 0&&await this.loadAssetCount(r)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;he.actions.bookmarks(o)}}},kl=new zo;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=kl);(0,ds.customElement)("ft-app-context")(H);var ys=b(oe());var us=b(T());function Ho(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Dl=t=>{if(Ho(t)){let[r,o]=t.split(".");return{context:r,key:o,message:""}}else return{message:t}};var ps=(t,r)=>(o,n)=>{var i;o.constructor.createProperty(n,{type:Object,hasChanged:us.hasChanged,converter:s=>{if(!s)return[];try{let l=JSON.parse(s);return Array.isArray(l)?l.filter(d=>typeof d=="string").map(Dl):[]}catch{return[]}},...r}),o[Gt]=(i=o[Gt])!==null&&i!==void 0?i:new Map,o[Gt].set(n,{...t??{}})};var Ul=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},fs=Symbol("i18nAttributes"),Gt=Symbol("i18nListAttributes"),gs=Symbol("i18nProperties"),Ir=Symbol("i18nContexts"),jt=Symbol("i18nUnsubs");function Pr(t){var r,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?dr:Ot}i18n(s){let{context:l,key:d,message:u}=s,{custom:p,args:h,argsProvider:y}=s;if(l&&d){this.hasI18nContext(l)||this.addI18nContext(l,void 0,p);let g=h??(y?y(this):[]);return this.getI18nService(p).resolveMessage(l,d,...g)}return u}customI18n(s,l){if(Ho(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...l})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((l,d,u)=>s.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((l,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(l=>l.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var l,d;let u=this,p=(h,y,g)=>g?.context&&g.key&&s(h,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(l=this[fs])===null||l===void 0||l.forEach((h,y)=>u[y]=p(h,y,u[y])),(d=this[Gt])===null||d===void 0||d.forEach((h,y)=>{var g;return u[y]=(g=u[y])===null||g===void 0?void 0:g.map(O=>p(h,y,O))})}updateI18nProperties(s){var l;(l=this[gs])===null||l===void 0||l.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,l,d)}addI18nContext(s,l,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Ir].set(u,{isCustomContext:d}),this[jt].has(u)||this[jt].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,l)}hasI18nContext(s){return this[Ir].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ir].forEach((s,l)=>this.addI18nContext(l,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[jt].forEach(s=>s()),this[jt].clear()}}return r=Ir,o=jt,Ul([(0,ys.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var hs=class extends Pr(Lr.FtLitElement){},Tr=class extends Pr(Lr.FtLitElementRedux){};var Kt=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Oe=class extends Tr{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":kr.nothing:kr.html`
|
|
718
|
+
`}connectedCallback(){super.connectedCallback(),E.addEventListener(ot.eventName,this.reloadConfiguration)}disconnectedCallback(){E.addEventListener(ot.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(r){var o,n,i,s,l,d,p;super.update(r),r.has("baseUrl")&&(E.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&E.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("apiIntegrationAppVersion")&&E.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),r.has("uiLocale")&&E.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&E.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&E.actions.noCustom(this.noCustom),r.has("editorMode")&&E.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&E.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&E.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Et.addContext(u)),r.has("openExternalDocumentInNewTab")&&E.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&E.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&E.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(E.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),E.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),E.actions.searchInAllLanguagesAllowed((l=(s=this.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed)!==null&&l!==void 0?l:!1)),r.has("authenticationRequired")&&E.actions.authenticationRequired(this.authenticationRequired),r.has("availableContentLocales")&&E.actions.availableContentLocales((p=(d=this.availableContentLocales)===null||d===void 0?void 0:d.contentLocales)!==null&&p!==void 0?p:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},r.idleTimeoutInMillis),r})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>xi(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};H.elementDefinitions={};H.styles=Ba;X([(0,re.property)()],H.prototype,"baseUrl",void 0);X([(0,re.property)()],H.prototype,"apiIntegrationIdentifier",void 0);X([(0,re.property)()],H.prototype,"apiIntegrationAppVersion",void 0);X([(0,re.property)()],H.prototype,"uiLocale",void 0);X([(0,ve.jsonProperty)(null)],H.prototype,"availableUiLocales",void 0);X([(0,ve.jsonProperty)(null)],H.prototype,"metadataConfiguration",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"editorMode",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"noCustom",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);X([(0,re.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],H.prototype,"noCustomComponent",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"withManualResources",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"navigatorOnline",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"forcedOffline",void 0);X([(0,re.property)({type:Object})],H.prototype,"apiProvider",void 0);X([(0,re.property)({type:Boolean})],H.prototype,"authenticationRequired",void 0);X([(0,ve.jsonProperty)([])],H.prototype,"messageContexts",void 0);X([(0,ve.jsonProperty)(void 0)],H.prototype,"session",void 0);X([(0,re.state)()],H.prototype,"localesConfiguration",void 0);X([(0,re.state)()],H.prototype,"availableContentLocales",void 0);var Ll=b(oe());function js(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!gr(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!gr(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();let s=l=>Object.keys(l).filter(d=>l[d]!=null);if(i=s(t),o=i.length,o!==s(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=o;n--!==0;){let l=i[n];if(!gr(t[l],r[l]))return!1}return!0}return t!==t&&r!==r||t==null&&r==null}function gr(t,r){try{return js(t,r)}catch{return!1}}function mr(t,r){return!gr(t,r)}var Ks=b(oe(),1);var br=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var wt=b(oe(),1);var Si=b(oe(),1);function Oi(t,r){let o=()=>JSON.parse(JSON.stringify(t));return(0,Si.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:mr,...r??{}})}var xr=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let i=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,s=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(d){i(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ei=b(K(),1);var vr=globalThis,Vs=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ig=Symbol();var Ci=(t,r)=>{if(Vs)t.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),i=vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var Sr=class extends Ei.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([i,s])=>r.registry.define(i,s)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ci(n,r.elementStyles),n}};function Ai(t,r,...o){var n;let i=t.querySelector(r);for(let s of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var Ht=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ii,wi=Symbol("constructorPrototype"),Ri=Symbol("constructorName"),_i=Symbol("exportpartsDebouncer"),Ni=Symbol("dynamicDependenciesLoaded"),Te=class extends Sr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ii]=new xr(5),this[Ri]=this.constructor.name,this[wi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ri]&&Object.setPrototypeOf(this,this[wi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[Ni]||(r[Ni]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(r){super.updated(r),this.updateComplete.then(()=>{this.contentAvailableCallback(r),this.focusElementToFocus(r),this.applyCustomStylesheet(r),this.scheduleExportpartsUpdate()})}contentAvailableCallback(r){}focusElementToFocus(r){if(r.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];o=Ai(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[_i].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,i,s,l,d;let p=g=>g!=null&&g.trim().length>0,u=r.filter(p).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(s=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],x=(d=(l=g.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...O,...x).filter(p).map(C=>C.trim()).forEach(C=>h.add(C))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(g=>u.map(O=>`${g}:${O}--${g}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Ii=_i;Ht([(0,wt.property)()],Te.prototype,"exportpartsPrefix",void 0);Ht([Oi([])],Te.prototype,"exportpartsPrefixes",void 0);Ht([(0,wt.property)()],Te.prototype,"customStylesheet",void 0);Ht([(0,wt.property)()],Te.prototype,"elementToFocus",void 0);Ht([(0,wt.state)()],Te.prototype,"useAdoptedStyleSheets",void 0);function Or(t){var r;return(r=t?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Wt=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores");function Zs(t){var r,o,n;class i extends t{constructor(){super(...arguments),this[r]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(l){super.willUpdate(l),[...this.reduxConstructor.reduxReactiveProperties].some(d=>l.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(l){return l==null?this.getUnnamedStore():this[st].get(l)}addStore(l,d){var p;d=(p=d??l.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(d),this[st].set(d,l),this.subscribeToStore(d,l),this.updateFromStores()}removeStore(l){let d=typeof l=="string"?l:l.name;this.unsubscribeFromStore(d),this[st].delete(d)}setupStores(){this.unsubscribeFromStores(),this[st].forEach((l,d)=>this.subscribeToStore(d,l)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((l,d)=>{let p=this.constructor.getPropertyOptions(d);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:d)){let u=this.getStore(l.store);u&&(l.store?this[He].has(l.store):this[He].size>0)&&(this[d]=l.selector(u.getState(),this))}})}subscribeToStore(l,d){var p;this[He].set(l,d.subscribe(()=>this.updateFromStores())),this[Wt].set(l,[]),Or(d)&&d.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||d.name===u.store)){let y=g=>this[h](g);d.addEventListener(u.eventName,y),this[Wt].get(l).push(()=>d.removeEventListener(u.eventName,y))}})),this.onStoreAvailable(l)}unsubscribeFromStores(){this[He].forEach((l,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(l){var d;this[He].has(l)&&this[He].get(l)(),this[He].delete(l),(d=this[Wt].get(l))===null||d===void 0||d.forEach(p=>p()),this[Wt].delete(l)}onStoreAvailable(l){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return r=He,o=st,n=Wt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}var Ti=class extends Zs(Te){};function fe(t){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Le(t){return!!t&&!!t[$]}function Se(t){var r;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===rl}(t)||Array.isArray(t)||!!t[Mi]||!!(!((r=t.constructor)===null||r===void 0)&&r[Mi])||Ro(t)||No(t))}function lt(t,r,o){o===void 0&&(o=!1),It(t)===0?(o?Object.keys:Nt)(t).forEach(function(n){o&&typeof n=="symbol"||r(n,t[n],t)}):t.forEach(function(n,i){return r(i,n,t)})}function It(t){var r=t[$];return r?r.i>3?r.i-4:r.i:Array.isArray(t)?1:Ro(t)?2:No(t)?3:0}function Rt(t,r){return It(t)===2?t.has(r):Object.prototype.hasOwnProperty.call(t,r)}function qs(t,r){return It(t)===2?t.get(r):t[r]}function Fi(t,r,o){var n=It(t);n===2?t.set(r,o):n===3?t.add(o):t[r]=o}function zi(t,r){return t===r?t!==0||1/t==1/r:t!=t&&r!=r}function Ro(t){return el&&t instanceof Map}function No(t){return tl&&t instanceof Set}function We(t){return t.o||t.t}function Io(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var r=$i(t);delete r[$];for(var o=Nt(r),n=0;n<o.length;n++){var i=o[n],s=r[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(r[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),r)}function _o(t,r){return r===void 0&&(r=!1),To(t)||Le(t)||!Se(t)||(It(t)>1&&(t.set=t.add=t.clear=t.delete=Ys),Object.freeze(t),r&<(t,function(o,n){return _o(n,!0)},!0)),t}function Ys(){fe(2)}function To(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ae(t){var r=wo[t];return r||fe(18,t),r}function Xs(t,r){wo[t]||(wo[t]=r)}function Co(){return Gt}function xo(t,r){r&&(Ae("Patches"),t.u=[],t.s=[],t.v=r)}function Cr(t){Eo(t),t.p.forEach(Qs),t.p=null}function Eo(t){t===Gt&&(Gt=t.l)}function Li(t){return Gt={p:[],l:Gt,h:t,m:!0,_:0}}function Qs(t){var r=t[$];r.i===0||r.i===1?r.j():r.g=!0}function vo(t,r){r._=r.p.length;var o=r.p[0],n=t!==void 0&&t!==o;return r.h.O||Ae("ES5").S(r,t,n),n?(o[$].P&&(Cr(r),fe(4)),Se(t)&&(t=Er(r,t),r.l||Ar(r,t)),r.u&&Ae("Patches").M(o[$].t,t,r.u,r.s)):t=Er(r,o,[]),Cr(r),r.u&&r.v(r.u,r.s),t!==Wi?t:void 0}function Er(t,r,o){if(To(r))return r;var n=r[$];if(!n)return lt(r,function(d,p){return Pi(t,n,r,d,p,o)},!0),r;if(n.A!==t)return r;if(!n.P)return Ar(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Io(n.k):n.o,s=i,l=!1;n.i===3&&(s=new Set(i),i.clear(),l=!0),lt(s,function(d,p){return Pi(t,n,i,d,p,o,l)}),Ar(t,i,!1),o&&t.u&&Ae("Patches").N(n,o,t.u,t.s)}return n.o}function Pi(t,r,o,n,i,s,l){if(Le(i)){var d=Er(t,i,s&&r&&r.i!==3&&!Rt(r.R,n)?s.concat(n):void 0);if(Fi(o,n,d),!Le(d))return;t.m=!1}else l&&o.add(i);if(Se(i)&&!To(i)){if(!t.h.D&&t._<1)return;Er(t,i),r&&r.A.l||Ar(t,i)}}function Ar(t,r,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&_o(r,o)}function So(t,r){var o=t[$];return(o?We(o):t)[r]}function ki(t,r){if(r in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function $e(t){t.P||(t.P=!0,t.l&&$e(t.l))}function Oo(t){t.o||(t.o=Io(t.t))}function Ao(t,r,o){var n=Ro(r)?Ae("MapSet").F(r,o):No(r)?Ae("MapSet").T(r,o):t.O?function(i,s){var l=Array.isArray(i),d={i:l?1:0,A:s?s.A:Co(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},p=d,u=jt;l&&(p=[d],u=$t);var h=Proxy.revocable(p,u),y=h.revoke,g=h.proxy;return d.k=g,d.j=y,g}(r,o):Ae("ES5").J(r,o);return(o?o.A:Co()).p.push(n),n}function Js(t){return Le(t)||fe(22,t),function r(o){if(!Se(o))return o;var n,i=o[$],s=It(o);if(i){if(!i.P&&(i.i<4||!Ae("ES5").K(i)))return i.t;i.I=!0,n=Di(o,s),i.I=!1}else n=Di(o,s);return lt(n,function(l,d){i&&qs(i.t,l)===d||Fi(n,l,r(d))}),s===3?new Set(n):n}(t)}function Di(t,r){switch(r){case 2:return new Map(t);case 3:return Array.from(t)}return Io(t)}function Hi(){function t(l,d){var p=s[l];return p?p.enumerable=d:s[l]=p={configurable:!0,enumerable:d,get:function(){var u=this[$];return jt.get(u,l)},set:function(u){var h=this[$];jt.set(h,l,u)}},p}function r(l){for(var d=l.length-1;d>=0;d--){var p=l[d][$];if(!p.P)switch(p.i){case 5:n(p)&&$e(p);break;case 4:o(p)&&$e(p)}}}function o(l){for(var d=l.t,p=l.k,u=Nt(p),h=u.length-1;h>=0;h--){var y=u[h];if(y!==$){var g=d[y];if(g===void 0&&!Rt(d,y))return!0;var O=p[y],x=O&&O[$];if(x?x.t!==g:!zi(O,g))return!0}}var C=!!d[$];return u.length!==Nt(d).length+(C?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 u=0;u<d.length;u++)if(!d.hasOwnProperty(u))return!0;return!1}function i(l){l.g&&fe(3,JSON.stringify(We(l)))}var s={};Xs("ES5",{J:function(l,d){var p=Array.isArray(l),u=function(y,g){if(y){for(var O=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(O,""+x,t(x,!0));return O}var C=$i(g);delete C[$];for(var k=Nt(C),I=0;I<k.length;I++){var _=k[I];C[_]=t(_,y||!!C[_].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(p,l),h={i:p?5:4,A:d?d.A:Co(),P:!1,I:!1,R:{},l:d,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,$,{value:h,writable:!0}),u},S:function(l,d,p){p?Le(d)&&d[$].A===l&&r(l.p):(l.u&&function u(h){if(h&&typeof h=="object"){var y=h[$];if(y){var g=y.t,O=y.k,x=y.R,C=y.i;if(C===4)lt(O,function(U){U!==$&&(g[U]!==void 0||Rt(g,U)?x[U]||u(O[U]):(x[U]=!0,$e(y)))}),lt(g,function(U){O[U]!==void 0||Rt(O,U)||(x[U]=!1,$e(y))});else if(C===5){if(n(y)&&($e(y),x.length=!0),O.length<g.length)for(var k=O.length;k<g.length;k++)x[k]=!1;else for(var I=g.length;I<O.length;I++)x[I]=!0;for(var _=Math.min(O.length,g.length),F=0;F<_;F++)O.hasOwnProperty(F)||(x[F]=!0),x[F]===void 0&&u(O[F])}}}}(l.p[0]),r(l.p))},K:function(l){return l.i===4?o(l):n(l)}})}var Ui,Gt,Lo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",el=typeof Map<"u",tl=typeof Set<"u",Bi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wi=Lo?Symbol.for("immer-nothing"):((Ui={})["immer-nothing"]=!0,Ui),Mi=Lo?Symbol.for("immer-draftable"):"__$immer_draftable",$=Lo?Symbol.for("immer-state"):"__$immer_state";var rl=""+Object.prototype.constructor,Nt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,$i=Object.getOwnPropertyDescriptors||function(t){var r={};return Nt(t).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(t,o)}),r},wo={},jt={get:function(t,r){if(r===$)return t;var o=We(t);if(!Rt(o,r))return function(i,s,l){var d,p=ki(s,l);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(i.k):void 0}(t,o,r);var n=o[r];return t.I||!Se(n)?n:n===So(t.t,r)?(Oo(t),t.o[r]=Ao(t.A.h,n,t)):n},has:function(t,r){return r in We(t)},ownKeys:function(t){return Reflect.ownKeys(We(t))},set:function(t,r,o){var n=ki(We(t),r);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=So(We(t),r),s=i?.[$];if(s&&s.t===o)return t.o[r]=o,t.R[r]=!1,!0;if(zi(o,i)&&(o!==void 0||Rt(t.t,r)))return!0;Oo(t),$e(t)}return t.o[r]===o&&(o!==void 0||r in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[r])||(t.o[r]=o,t.R[r]=!0),!0},deleteProperty:function(t,r){return So(t.t,r)!==void 0||r in t.t?(t.R[r]=!1,Oo(t),$e(t)):delete t.R[r],t.o&&delete t.o[r],!0},getOwnPropertyDescriptor:function(t,r){var o=We(t),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:t.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){fe(12)}},$t={};lt(jt,function(t,r){$t[t]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),$t.deleteProperty=function(t,r){return $t.set.call(this,t,r,void 0)},$t.set=function(t,r,o){return jt.set.call(this,t[0],r,o,t[0])};var ol=function(){function t(o){var n=this;this.O=Bi,this.D=!0,this.produce=function(i,s,l){if(typeof i=="function"&&typeof s!="function"){var d=s;s=i;var p=n;return function(C){var k=this;C===void 0&&(C=d);for(var I=arguments.length,_=Array(I>1?I-1:0),F=1;F<I;F++)_[F-1]=arguments[F];return p.produce(C,function(U){var J;return(J=s).call.apply(J,[k,U].concat(_))})}}var u;if(typeof s!="function"&&fe(6),l!==void 0&&typeof l!="function"&&fe(7),Se(i)){var h=Li(n),y=Ao(n,i,void 0),g=!0;try{u=s(y),g=!1}finally{g?Cr(h):Eo(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return xo(h,l),vo(C,h)},function(C){throw Cr(h),C}):(xo(h,l),vo(u,h))}if(!i||typeof i!="object"){if((u=s(i))===void 0&&(u=i),u===Wi&&(u=void 0),n.D&&_o(u,!0),l){var O=[],x=[];Ae("Patches").M(i,u,O,x),l(O,x)}return u}fe(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(u){for(var h=arguments.length,y=Array(h>1?h-1:0),g=1;g<h;g++)y[g-1]=arguments[g];return n.produceWithPatches(u,function(O){return i.apply(void 0,[O].concat(y))})};var l,d,p=n.produce(i,s,function(u,h){l=u,d=h});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,l,d]}):[p,l,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=t.prototype;return r.createDraft=function(o){Se(o)||fe(8),Le(o)&&(o=Js(o));var n=Li(this),i=Ao(this,o,void 0);return i[$].C=!0,Eo(n),i},r.finishDraft=function(o,n){var i=o&&o[$],s=i.A;return xo(s,n),vo(void 0,s)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Bi&&fe(20),this.O=o},r.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}i>-1&&(n=n.slice(i+1));var l=Ae("Patches").$;return Le(o)?l(o,n):this.produce(o,function(d){return l(d,n)})},t}(),ce=new ol,nl=ce.produce,$g=ce.produceWithPatches.bind(ce),Gg=ce.setAutoFreeze.bind(ce),jg=ce.setUseProxies.bind(ce),Kg=ce.applyPatches.bind(ce),Vg=ce.createDraft.bind(ce),Zg=ce.finishDraft.bind(ce),wr=nl;function ct(t){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},ct(t)}function Gi(t,r){if(ct(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,r||"default");if(ct(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(t)}function ji(t){var r=Gi(t,"string");return ct(r)=="symbol"?r:r+""}function Ki(t,r,o){return(r=ji(r))in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t}function Vi(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function Po(t){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Vi(Object(o),!0).forEach(function(n){Ki(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Vi(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function ae(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Zi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ko=function(){return Math.random().toString(36).substring(7).split("").join(".")},Rr={INIT:"@@redux/INIT"+ko(),REPLACE:"@@redux/REPLACE"+ko(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ko()}};function al(t){if(typeof t!="object"||t===null)return!1;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}function Do(t,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ae(1));return o(Do)(t,r)}if(typeof t!="function")throw new Error(ae(2));var i=t,s=r,l=[],d=l,p=!1;function u(){d===l&&(d=l.slice())}function h(){if(p)throw new Error(ae(3));return s}function y(C){if(typeof C!="function")throw new Error(ae(4));if(p)throw new Error(ae(5));var k=!0;return u(),d.push(C),function(){if(k){if(p)throw new Error(ae(6));k=!1,u();var _=d.indexOf(C);d.splice(_,1),l=null}}}function g(C){if(!al(C))throw new Error(ae(7));if(typeof C.type>"u")throw new Error(ae(8));if(p)throw new Error(ae(9));try{p=!0,s=i(s,C)}finally{p=!1}for(var k=l=d,I=0;I<k.length;I++){var _=k[I];_()}return C}function O(C){if(typeof C!="function")throw new Error(ae(10));i=C,g({type:Rr.REPLACE})}function x(){var C,k=y;return C={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(ae(11));function F(){_.next&&_.next(h())}F();var U=k(F);return{unsubscribe:U}}},C[Zi]=function(){return this},C}return g({type:Rr.INIT}),n={dispatch:g,subscribe:y,getState:h,replaceReducer:O},n[Zi]=x,n}function il(t){Object.keys(t).forEach(function(r){var o=t[r],n=o(void 0,{type:Rr.INIT});if(typeof n>"u")throw new Error(ae(12));if(typeof o(void 0,{type:Rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function qi(t){for(var r=Object.keys(t),o={},n=0;n<r.length;n++){var i=r[n];typeof t[i]=="function"&&(o[i]=t[i])}var s=Object.keys(o),l,d;try{il(o)}catch(p){d=p}return function(u,h){if(u===void 0&&(u={}),d)throw d;if(0)var y;for(var g=!1,O={},x=0;x<s.length;x++){var C=s[x],k=o[C],I=u[C],_=k(I,h);if(typeof _>"u"){var F=h&&h.type;throw new Error(ae(14))}O[C]=_,g=g||_!==I}return g=g||s.length!==Object.keys(u).length,g?O:u}}function _t(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Yi(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(ae(15))},l={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=r.map(function(p){return p(l)});return s=_t.apply(void 0,d)(i.dispatch),Po(Po({},i),{},{dispatch:s})}}}function Xi(t){var r=function(n){var i=n.dispatch,s=n.getState;return function(l){return function(d){return typeof d=="function"?d(i,s,t):l(d)}}};return r}var Qi=Xi();Qi.withExtraArgument=Xi;var Uo=Qi;var os=function(){var t=function(r,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),sl=function(t,r){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,l;return l={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function d(u){return function(h){return p([u,h])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){o.label=u[1];break}if(u[0]===6&&o.label<s[1]){o.label=s[1],s=u;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(u);break}s[2]&&o.ops.pop(),o.trys.pop();continue}u=r.call(t,o)}catch(h){u=[6,h],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Tt=function(t,r){for(var o=0,n=r.length,i=t.length;o<n;o++,i++)t[i]=r[o];return t},ll=Object.defineProperty,cl=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,Ji=Object.getOwnPropertySymbols,pl=Object.prototype.hasOwnProperty,ul=Object.prototype.propertyIsEnumerable,es=function(t,r,o){return r in t?ll(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o},Ge=function(t,r){for(var o in r||(r={}))pl.call(r,o)&&es(t,o,r[o]);if(Ji)for(var n=0,i=Ji(r);n<i.length;n++){var o=i[n];ul.call(r,o)&&es(t,o,r[o])}return t},Bo=function(t,r){return cl(t,dl(r))},fl=function(t,r,o){return new Promise(function(n,i){var s=function(p){try{d(o.next(p))}catch(u){i(u)}},l=function(p){try{d(o.throw(p))}catch(u){i(u)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(s,l)};d((o=o.apply(t,r)).next())})};var hl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_t:_t.apply(null,arguments)},um=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function yl(t){if(typeof t!="object"||t===null)return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var gl=function(t){os(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,r.prototype),i}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,Tt([void 0],o[0].concat(this)))):new(r.bind.apply(r,Tt([void 0],o.concat(this))))},r}(Array),ml=function(t){os(r,t);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,r.prototype),i}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,Tt([void 0],o[0].concat(this)))):new(r.bind.apply(r,Tt([void 0],o.concat(this))))},r}(Array);function zo(t){return Se(t)?wr(t,function(){}):t}function bl(t){return typeof t=="boolean"}function xl(){return function(r){return vl(r)}}function vl(t){t===void 0&&(t={});var r=t.thunk,o=r===void 0?!0:r,n=t.immutableCheck,i=n===void 0?!0:n,s=t.serializableCheck,l=s===void 0?!0:s,d=new gl;if(o&&(bl(o)?d.push(Uo):d.push(Uo.withExtraArgument(o.extraArgument))),0){if(i)var p;if(l)var u}return d}var Mo=!0;function ns(t){var r=xl(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,s=o.middleware,l=s===void 0?r():s,d=o.devTools,p=d===void 0?!0:d,u=o.preloadedState,h=u===void 0?void 0:u,y=o.enhancers,g=y===void 0?void 0:y,O;if(typeof i=="function")O=i;else if(yl(i))O=qi(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=l;if(typeof x=="function"&&(x=x(r),!Mo&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Mo&&x.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Yi.apply(void 0,x),k=_t;p&&(k=hl(Ge({trace:!Mo},typeof p=="object"&&p)));var I=new ml(C),_=I;Array.isArray(g)?_=Tt([C],g):typeof g=="function"&&(_=g(I));var F=k.apply(void 0,_);return Do(O,h,F)}function je(t,r){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r){var s=r.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Ge(Ge({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function as(t){var r={},o=[],n,i={addCase:function(s,l){var d=typeof s=="string"?s:s.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=l,i},addMatcher:function(s,l){return o.push({matcher:s,reducer:l}),i},addDefaultCase:function(s){return n=s,i}};return t(i),[r,o,n]}function Sl(t){return typeof t=="function"}function Ol(t,r,o,n){o===void 0&&(o=[]);var i=typeof r=="function"?as(r):[r,o,n],s=i[0],l=i[1],d=i[2],p;if(Sl(t))p=function(){return zo(t())};else{var u=zo(t);p=function(){return u}}function h(y,g){y===void 0&&(y=p());var O=Tt([s[g.type]],l.filter(function(x){var C=x.matcher;return C(g)}).map(function(x){var C=x.reducer;return C}));return O.filter(function(x){return!!x}).length===0&&(O=[d]),O.reduce(function(x,C){if(C)if(Le(x)){var k=x,I=C(k,g);return I===void 0?x:I}else{if(Se(x))return wr(x,function(_){return C(_,g)});var I=C(x,g);if(I===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return x},y)}return h.getInitialState=p,h}function Cl(t,r){return t+"/"+r}function is(t){var r=t.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:zo(t.initialState),n=t.reducers||{},i=Object.keys(n),s={},l={},d={};i.forEach(function(h){var y=n[h],g=Cl(r,h),O,x;"reducer"in y?(O=y.reducer,x=y.prepare):O=y,s[h]=O,l[g]=O,d[h]=x?je(g,x):je(g)});function p(){var h=typeof t.extraReducers=="function"?as(t.extraReducers):[t.extraReducers],y=h[0],g=y===void 0?{}:y,O=h[1],x=O===void 0?[]:O,C=h[2],k=C===void 0?void 0:C,I=Ge(Ge({},g),l);return Ol(o,function(_){for(var F in I)_.addCase(F,I[F]);for(var U=0,J=x;U<J.length;U++){var ye=J[U];_.addMatcher(ye.matcher,ye.reducer)}k&&_.addDefaultCase(k)})}var u;return{name:r,reducer:function(h,y){return u||(u=p()),u(h,y)},actions:d,caseReducers:s,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var El="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(t){t===void 0&&(t=21);for(var r="",o=t;o--;)r+=El[Math.random()*64|0];return r},wl=["name","message","stack","code"],Fo=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),ts=function(){function t(r,o){this.payload=r,this.meta=o}return t}(),Rl=function(t){if(typeof t=="object"&&t!==null){for(var r={},o=0,n=wl;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(r[i]=t[i])}return r}return{message:String(t)}},gm=function(){function t(r,o,n){var i=je(r+"/fulfilled",function(h,y,g,O){return{payload:h,meta:Bo(Ge({},O||{}),{arg:g,requestId:y,requestStatus:"fulfilled"})}}),s=je(r+"/pending",function(h,y,g){return{payload:void 0,meta:Bo(Ge({},g||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),l=je(r+"/rejected",function(h,y,g,O,x){return{payload:O,error:(n&&n.serializeError||Rl)(h||"Rejected"),meta:Bo(Ge({},x||{}),{arg:g,requestId:y,rejectedWithValue:!!O,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 u(h){return function(y,g,O){var x=n?.idGenerator?n.idGenerator(h):Al(),C=new p,k,I=!1;function _(U){k=U,C.abort()}var F=function(){return fl(this,null,function(){var U,J,ye,Ke,ie,Ve,dt;return sl(this,function(f){switch(f.label){case 0:return f.trys.push([0,4,,5]),Ke=(U=n?.condition)==null?void 0:U.call(n,h,{getState:g,extra:O}),Il(Ke)?[4,Ke]:[3,2];case 1:Ke=f.sent(),f.label=2;case 2:if(Ke===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,ie=new Promise(function(m,w){return C.signal.addEventListener("abort",function(){return w({name:"AbortError",message:k||"Aborted"})})}),y(s(x,h,(J=n?.getPendingMeta)==null?void 0:J.call(n,{requestId:x,arg:h},{getState:g,extra:O}))),[4,Promise.race([ie,Promise.resolve(o(h,{dispatch:y,getState:g,extra:O,requestId:x,signal:C.signal,abort:_,rejectWithValue:function(m,w){return new Fo(m,w)},fulfillWithValue:function(m,w){return new ts(m,w)}})).then(function(m){if(m instanceof Fo)throw m;return m instanceof ts?i(m.payload,x,h,m.meta):i(m,x,h)})])];case 3:return ye=f.sent(),[3,5];case 4:return Ve=f.sent(),ye=Ve instanceof Fo?l(null,x,h,Ve.payload,Ve.meta):l(Ve,x,h),[3,5];case 5:return dt=n&&!n.dispatchConditionRejection&&l.match(ye)&&ye.meta.condition,dt||y(ye),[2,ye]}})})}();return Object.assign(F,{abort:_,requestId:x,arg:h,unwrap:function(){return F.then(Nl)}})}}return Object.assign(u,{pending:s,rejected:l,fulfilled:i,typePrefix:r})}return t.withTypes=function(){return t},t}();function Nl(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Il(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ss="listener",ls="completed",cs="cancelled",mm="task-"+cs,bm="task-"+ls,xm=ss+"-"+cs,vm=ss+"-"+ls;var Ho="listenerMiddleware";var Sm=je(Ho+"/add"),Om=je(Ho+"/removeAll"),Cm=je(Ho+"/remove");var rs,Em=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(rs||(rs=Promise.resolve())).then(t).catch(function(r){return setTimeout(function(){throw r},0)})},_l=function(t){return function(r){setTimeout(r,t)}},Am=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:_l(10);Hi();function Tl(t,r){return class extends t{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Nr=class extends Tl(Object){};window.ftReduxStores||(window.ftReduxStores={});var ds=class t extends Nr{static get(r){var o;let n=typeof r=="string"?r:r.name,i=typeof r=="string"?void 0:r,s=window.ftReduxStores[n];if(Or(s))return s;if(i==null)return;let l=is({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),d=ns({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:l.reducer(p,u)});return window.ftReduxStores[i.name]=new t(l,d,i.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new br;let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,l,d)=>{let p=l,u=s[p];return u?(...h)=>{let y=u(...h.map(i));return this.reduxStore.dispatch(y),y}:h=>{this.setState({[p]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var _r=b(T());var Ir=class extends pe{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(r){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${r}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${r}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(r){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${r}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${r}`),this.CACHE_DURATION)}isAuthenticated(){let r=E.getState().session;return!!r?.sessionAuthenticated}};var Pl="ft-user-assets",kl={setAssetCount:(t,r)=>{let{userAssetType:o,count:n}=r.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(at).forEach(r=>{t.assetCounts.allAsset[r]=void 0})},setBookmarkCountByMap:(t,r)=>{let o=r.payload.mapId;t.assetCounts.bookmarkByMap[o]=r.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}}},he=_r.FtReduxStore.get({name:Pl,reducers:kl,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(at).map(t=>[t,void 0])),bookmarkByMap:{}}}}),Wo=class{constructor(r=new Ir){this.assetCountsService=r,this.currentSession=E.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new cr,this.savedSearchesService=new hr,E.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=E.getState();(0,_r.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){he.actions.clearAssetCount(),he.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),he.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),he.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();he.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(r){let o=await this.assetCountsService.getUserAssetCount(r);o&&he.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(r){let o=await this.assetCountsService.getUserBookmarkCountByMap(r);o&&he.actions.setBookmarkCountByMap({count:o.count,mapId:r})}async reloadAssetCount(r){this.assetCountsService.clearCache();let o=Object.keys(he.getState().assetCounts.bookmarkByMap).length!==0;r===at.BOOKMARKS&&o&&he.actions.clearBookmarkCountByMap(),he.getState().assetCounts.allAsset[r]!==void 0&&await this.loadAssetCount(r)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;he.actions.bookmarks(o)}}},Dl=new Wo;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Dl);(0,ps.customElement)("ft-app-context")(H);var gs=b(oe());var us=b(T());function $o(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Ul=t=>{if($o(t)){let[r,o]=t.split(".");return{context:r,key:o,message:""}}else return{message:t}};var fs=(t,r)=>(o,n)=>{var i;o.constructor.createProperty(n,{type:Object,hasChanged:us.hasChanged,converter:s=>{if(!s)return[];try{let l=JSON.parse(s);return Array.isArray(l)?l.filter(d=>typeof d=="string").map(Ul):[]}catch{return[]}},...r}),o[Kt]=(i=o[Kt])!==null&&i!==void 0?i:new Map,o[Kt].set(n,{...t??{}})};var Bl=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},hs=Symbol("i18nAttributes"),Kt=Symbol("i18nListAttributes"),ms=Symbol("i18nProperties"),Tr=Symbol("i18nContexts"),Vt=Symbol("i18nUnsubs");function kr(t){var r,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?pr:Et}i18n(s){let{context:l,key:d,message:p}=s,{custom:u,args:h,argsProvider:y}=s;if(l&&d){this.hasI18nContext(l)||this.addI18nContext(l,void 0,u);let g=h??(y?y(this):[]);return this.getI18nService(u).resolveMessage(l,d,...g)}return p}customI18n(s,l){if($o(s)){let[d,p]=s.split(".");return this.i18n({custom:!0,context:d,key:p,...l})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((l,d,p)=>s.has(d)||typeof l.argsProvider=="function"),this.updateI18nProperties(l=>typeof l.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((l,d,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===s}),this.updateI18nProperties(l=>l.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var l,d;let p=this,u=(h,y,g)=>g?.context&&g.key&&s(h,y,g)?{...g,message:this.i18n({context:g.context,key:g.key,custom:g.custom,...h})}:g;(l=this[hs])===null||l===void 0||l.forEach((h,y)=>p[y]=u(h,y,p[y])),(d=this[Kt])===null||d===void 0||d.forEach((h,y)=>{var g;return p[y]=(g=p[y])===null||g===void 0?void 0:g.map(O=>u(h,y,O))})}updateI18nProperties(s){var l;(l=this[ms])===null||l===void 0||l.forEach((d,p)=>{s(d,p)&&(this[p]=this.i18n(d))})}addI18nMessages(s,l,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,l,d)}addI18nContext(s,l,d){let p=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[Tr].set(p,{isCustomContext:d}),this[Vt].has(p)||this[Vt].set(p,this.getI18nService(d).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(d).prepareContext(p,l)}hasI18nContext(s){return this[Tr].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Tr].forEach((s,l)=>this.addI18nContext(l,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Vt].forEach(s=>s()),this[Vt].clear()}}return r=Tr,o=Vt,Bl([(0,gs.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var ys=class extends kr(Pr.FtLitElement){},Lr=class extends kr(Pr.FtLitElementRedux){};var Zt=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Oe=class extends Lr{constructor(){super(),this.editorMode=!1,this.addStore(E)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Dr.nothing:Dr.html`
|
|
711
719
|
<span class="ft-i18n">
|
|
712
720
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
713
721
|
</span>
|
|
714
|
-
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Oe.elementDefinitions={};Oe.styles=
|
|
722
|
+
`}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Oe.elementDefinitions={};Oe.styles=Da;Zt([(0,Br.redux)()],Oe.prototype,"editorMode",void 0);Zt([(0,Ur.property)()],Oe.prototype,"context",void 0);Zt([(0,Ur.property)()],Oe.prototype,"key",void 0);Zt([(0,Br.jsonProperty)([])],Oe.prototype,"args",void 0);Zt([(0,Ur.property)()],Oe.prototype,"defaultMessage",void 0);var Mr=class t{static build(r){return new t(r)}static buildCustom(r){return new t(r,!0)}static fromGwt(r){return new t(r)}get service(){return this.custom?pr:Et}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return l=>({context:this.name,key:s,custom:this.custom,args:typeof l=="function"?void 0:l,argsProvider:typeof l=="function"?l:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i})}};(0,bs.customElement)("ft-i18n")(Oe);var Ss=b(T()),Os=b(oe());var Fr=b(T());var xs=b(T());var Go=class t extends Event{constructor(){super(t.eventName)}};Go.eventName="search-context-clear-all-filters";var Ml=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ko=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},vs=Symbol("registerInterval"),jo=Symbol("registerAttempts"),Fl=40;function zl(t){class r extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[jo]=0,this[vs]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[jo]>Fl?window.clearInterval(this[vs]):(this[jo]++,this.dispatchEvent(new Ko))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Ml([(0,Os.state)()],r.prototype,"stateManager",void 0),r}var zr=class extends zl(Ss.FtLitElementRedux){};var Vo=class{fromLocalizableLabel(r){return r.type=="PLAIN_TEXT"?{message:r.text}:{key:r.key,custom:r.type=="LOCALIZED_CUSTOM",context:r.context,message:r.key}}},Cs=new Vo;var Hr=Mr.build("designedSearchSortSelector"),Es={label:"Sort by"};var Yt=function(t,r,o,n){var i=arguments.length,s=i<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,r,o,n);else for(var d=t.length-1;d>=0;d--)(l=t[d])&&(s=(i<3?l(s):i>3?l(r,o,s):l(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s},Ce=class extends kr(zr){constructor(){super(),this.labels=[],this.configuredSortOptions=[],this.addI18nContext(Hr,Es)}getDisplayedSortOptions(){var r;return this.configuredSortOptions.length==0?(r=this.sortOptions)!==null&&r!==void 0?r:[]:this.configuredSortOptions.map(o=>{var n;return(n=this.sortOptions)===null||n===void 0?void 0:n.find(i=>i.id==o)}).filter(o=>o!=null).map(o=>o)}render(){let r=this.getDisplayedSortOptions();return r.length<=1?qt.nothing:qt.html`
|
|
715
723
|
<div part="container">
|
|
716
724
|
<ft-select
|
|
717
725
|
outlined
|
|
718
|
-
label="${
|
|
719
|
-
aria-label="${
|
|
726
|
+
label="${Hr.messages.label()}"
|
|
727
|
+
aria-label="${Hr.messages.label()}"
|
|
720
728
|
@change=${o=>this.setSort(o)}>
|
|
721
|
-
${(0,
|
|
729
|
+
${(0,ws.repeat)(r,o=>o.id,(o,n)=>{var i,s;return qt.html`
|
|
722
730
|
<ft-select-option value="${o.id}"
|
|
723
731
|
label="${((s=(i=this.labels)===null||i===void 0?void 0:i[n])===null||s===void 0?void 0:s.message)||o.label.key}"
|
|
724
732
|
?selected=${o.id==this.selectedSort}></ft-select-option>
|
|
725
733
|
`})}
|
|
726
734
|
</ft-select>
|
|
727
735
|
</div>
|
|
728
|
-
`}setSort(r){var o;this.selectedSort=(o=this.stateManager)===null||o===void 0?void 0:o.setSortId(r.detail)}willUpdate(r){var o,n,i,s,l,d;super.willUpdate(r);let
|
|
736
|
+
`}setSort(r){var o;this.selectedSort=(o=this.stateManager)===null||o===void 0?void 0:o.setSortId(r.detail)}willUpdate(r){var o,n,i,s,l,d;super.willUpdate(r);let p=this.getDisplayedSortOptions();["currentSortId","sortOptions"].some(h=>r.has(h))&&p.length>0&&(this.selectedSort=(n=(o=p.find(({id:h})=>h===this.currentSortId))===null||o===void 0?void 0:o.id)!==null&&n!==void 0?n:(i=p[0])===null||i===void 0?void 0:i.id,this.selectedSort&&this.selectedSort!=this.currentSortId&&((s=this.stateManager)===null||s===void 0||s.setSortId(this.selectedSort))),r.has("configuredSortOptions")&&(this.selectedSort=(l=p[0])===null||l===void 0?void 0:l.id,this.selectedSort&&this.selectedSort!=this.currentSortId&&((d=this.stateManager)===null||d===void 0||d.setSortId(this.selectedSort))),(r.has("sortOptions")||r.has("configuredSortOptions"))&&(this.labels=p.map(h=>Cs.fromLocalizableLabel(h.label)))}};Ce.elementDefinitions={"ft-select":D,"ft-select-option":Ee};Ce.styles=en;Yt([fs()],Ce.prototype,"labels",void 0);Yt([(0,Xt.jsonProperty)([])],Ce.prototype,"configuredSortOptions",void 0);Yt([(0,Xt.redux)({store:"search",selector:t=>t.request.sortId})],Ce.prototype,"currentSortId",void 0);Yt([(0,Xt.redux)({store:"search",selector:t=>{var r;return(r=t.configuration)===null||r===void 0?void 0:r.sortOptions}})],Ce.prototype,"sortOptions",void 0);Yt([(0,As.state)()],Ce.prototype,"selectedSort",void 0);(0,Rs.customElement)("ft-search-sort-selector")(Ce);})();
|
|
729
737
|
/*! Bundled license information:
|
|
730
738
|
|
|
739
|
+
lit-html/directives/when.js:
|
|
740
|
+
(**
|
|
741
|
+
* @license
|
|
742
|
+
* Copyright 2021 Google LLC
|
|
743
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
744
|
+
*)
|
|
745
|
+
|
|
731
746
|
lit-html/lit-html.js:
|
|
732
747
|
(**
|
|
733
748
|
* @license
|
|
@@ -735,17 +750,17 @@ lit-html/lit-html.js:
|
|
|
735
750
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
736
751
|
*)
|
|
737
752
|
|
|
738
|
-
lit-html/
|
|
753
|
+
lit-html/directives/if-defined.js:
|
|
739
754
|
(**
|
|
740
755
|
* @license
|
|
741
|
-
* Copyright
|
|
756
|
+
* Copyright 2018 Google LLC
|
|
742
757
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
743
758
|
*)
|
|
744
759
|
|
|
745
|
-
lit-html/
|
|
760
|
+
lit-html/static.js:
|
|
746
761
|
(**
|
|
747
762
|
* @license
|
|
748
|
-
* Copyright
|
|
763
|
+
* Copyright 2020 Google LLC
|
|
749
764
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
750
765
|
*)
|
|
751
766
|
|