@fluid-topics/ft-reader-toc 1.3.5 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-toc.light.js +267 -267
- package/build/ft-reader-toc.min.js +182 -182
- package/package.json +7 -7
|
@@ -1,36 +1,18 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?F.substr(1,F.length):F}).forEach(function(F){var
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Jn=/'/g,Qn=/"/g,oa=/^(?:script|style|textarea|title)$/i,Wo=e=>(r,...o)=>({_$litType$:e,strings:r,values:o}),na=Wo(1),aa=Wo(2),ia=Wo(3),cr=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),ea=new WeakMap,St=Ot.createTreeWalker(Ot,129);function sa(e,r){if(!$o(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return qn!==void 0?qn.createHTML(r):r}var El=(e,r)=>{let o=e.length-1,n=[],a,i=r===2?"<svg>":r===3?"<math>":"",c=ir;for(let d=0;d<o;d++){let p=e[d],u,m,h=-1,g=0;for(;g<p.length&&(c.lastIndex=g,m=c.exec(p),m!==null);)g=c.lastIndex,c===ir?m[1]==="!--"?c=Yn:m[1]!==void 0?c=Xn:m[2]!==void 0?(oa.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=vt):m[3]!==void 0&&(c=vt):c===vt?m[0]===">"?(c=a??ir,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?vt:m[3]==='"'?Qn:Jn):c===Qn||c===Jn?c=vt:c===Yn||c===Xn?c=ir:(c=vt,a=void 0);let S=c===vt&&e[d+1].startsWith("/>")?" ":"";i+=c===ir?p+Ol:h>=0?(n.push(u),p.slice(0,h)+ta+p.slice(h)+rt+S):p+rt+(h===-2?d:S)}return[sa(e,i+(e[o]||"<?>")+(r===2?"</svg>":r===3?"</math>":"")),n]},lr=class e{constructor({strings:r,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=r.length-1,p=this.parts,[u,m]=El(r,o);if(this.el=e.createElement(u,n),St.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=St.nextNode())!==null&&p.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ta)){let g=m[c++],S=a.getAttribute(h).split(rt),x=/([.?@])?(.*)/.exec(g);p.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?ko:x[1]==="?"?Do:x[1]==="@"?Bo:kt}),a.removeAttribute(h)}else h.startsWith(rt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(oa.test(a.tagName)){let h=a.textContent.split(rt),g=h.length-1;if(g>0){a.textContent=Dr?Dr.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Br()),St.nextNode(),p.push({type:2,index:++i});a.append(h[g],Br())}}}else if(a.nodeType===8)if(a.data===ra)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(rt,h+1))!==-1;)p.push({type:7,index:i}),h+=rt.length-1}i++}}static createElement(r,o){let n=Ot.createElement("template");return n.innerHTML=r,n}};function Pt(e,r,o=e,n){if(r===cr)return r;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=sr(r)?void 0:r._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(r=Pt(e,a._$AS(e,r.values),a,n)),r}var Po=class{constructor(r,o){this._$AV=[],this._$AN=void 0,this._$AD=r,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(r){let{el:{content:o},parts:n}=this._$AD,a=(r?.creationScope??Ot).importNode(o,!0);St.currentNode=a;let i=St.nextNode(),c=0,d=0,p=n[0];for(;p!==void 0;){if(c===p.index){let u;p.type===2?u=new Ur(i,i.nextSibling,this,r):p.type===1?u=new p.ctor(i,p.name,p.strings,this,r):p.type===6&&(u=new Uo(i,this,r)),this._$AV.push(u),p=n[++d]}c!==p?.index&&(i=St.nextNode(),c++)}return St.currentNode=Ot,a}p(r){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(r,n,o),o+=n.strings.length-2):n._$AI(r[o])),o++}},Ur=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(r,o,n,a){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=r,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let r=this._$AA.parentNode,o=this._$AM;return o!==void 0&&r?.nodeType===11&&(r=o.parentNode),r}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(r,o=this){r=Pt(this,r,o),sr(r)?r===Q||r==null||r===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):r!==this._$AH&&r!==cr&&this._(r):r._$litType$!==void 0?this.$(r):r.nodeType!==void 0?this.T(r):Cl(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!==Q&&sr(this._$AH)?this._$AA.nextSibling.data=r:this.T(Ot.createTextNode(r)),this._$AH=r}$(r){let{values:o,_$litType$:n}=r,a=typeof n=="number"?this._$AC(r):(n.el===void 0&&(n.el=lr.createElement(sa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Po(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(r){let o=ea.get(r.strings);return o===void 0&&ea.set(r.strings,o=new lr(r)),o}k(r){$o(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of r)a===o.length?o.push(n=new e(this.O(Br()),this.O(Br()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(r=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);r&&r!==this._$AB;){let n=r.nextSibling;r.remove(),r=n}}setConnected(r){this._$AM===void 0&&(this._$Cv=r,this._$AP?.(r))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(r,o,n,a,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=r,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Q}_$AI(r,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)r=Pt(this,r,o,0),c=!sr(r)||r!==this._$AH&&r!==cr,c&&(this._$AH=r);else{let d=r,p,u;for(r=i[0],p=0;p<i.length-1;p++)u=Pt(this,d[n+p],o,p),u===cr&&(u=this._$AH[p]),c||=!sr(u)||u!==this._$AH[p],u===Q?r=Q:r!==Q&&(r+=(u??"")+i[p+1]),this._$AH[p]=u}c&&!a&&this.j(r)}j(r){r===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,r??"")}},ko=class extends kt{constructor(){super(...arguments),this.type=3}j(r){this.element[this.name]=r===Q?void 0:r}},Do=class extends kt{constructor(){super(...arguments),this.type=4}j(r){this.element.toggleAttribute(this.name,!!r&&r!==Q)}},Bo=class extends kt{constructor(r,o,n,a,i){super(r,o,n,a,i),this.type=5}_$AI(r,o=this){if((r=Pt(this,r,o,0)??Q)===cr)return;let n=this._$AH,a=r===Q&&n!==Q||r.capture!==n.capture||r.once!==n.once||r.passive!==n.passive,i=r!==Q&&(n===Q||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,r),this._$AH=r}handleEvent(r){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,r):this._$AH.handleEvent(r)}},Uo=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 wl=Mo.litHtmlPolyfillSupport;wl?.(lr,Ur),(Mo.litHtmlVersions??=[]).push("3.3.0");var ca=e=>e??Q;var G=v(te()),Me=v(L());var ua=v(L()),fa=v(te());var da;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(da||(da={}));var pa;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(pa||(pa={}));var Al=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Fo=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ho=Symbol("registerInterval");function Rl(e){var r;class o extends e{constructor(){super(...arguments),this[r]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Ho]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ho]):this.dispatchEvent(new Fo)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return r=Ho,Al([(0,fa.state)()],o.prototype,"stateManager",void 0),o}var Dt=class extends Rl(ua.FtLitElementRedux){};var ni=v(L());var ya=Symbol.for(""),Nl=e=>{if(e?.r===ya)return e?._$litStatic$},zo=e=>({_$litStatic$:e,r:ya});var ha=new Map,Go=e=>(r,...o)=>{let n=o.length,a,i,c=[],d=[],p,u=0,m=!1;for(;u<n;){for(p=r[u];u<n&&(i=o[u],(a=Nl(i))!==void 0);)p+=a+r[++u],m=!0;u!==n&&d.push(i),c.push(p),u++}if(u===n&&c.push(r[n]),m){let h=c.join("$$lit$$");(r=ha.get(h))===void 0&&(c.raw=c,ha.set(h,r=c)),o=d}return e(r,...o)},jo=Go(na),lp=Go(aa),dp=Go(ia);var Vo=v(te()),oi=v(L());var ot;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ot||(ot={}));var Ne=v(H()),A=v(L());var Ve=v(H(),1),nt=e=>typeof e=="string"?(0,Ve.unsafeCSS)(e):e,t=class{static create(r,o,n,a){let i=d=>nt(d??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>ma(c,d??i(a)),c.get=d=>Ve.css`var(${nt(r)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(r,o,n,a){let i=d=>n.get(d??a),c=Ve.css`var(${nt(r)}, ${i(a)})`;return c.name=r,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>ma(c,d??i(a)),c.get=d=>Ve.css`var(${nt(r)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(r,o){let n=i=>r.defaultCssValue(i),a=Ve.css`var(${nt(r.name)}, ${n(r.defaultValue)})`;return a.name=r.name,a.category=r.category,a.fallbackVariable=r.fallbackVariable,a.defaultValue=r.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>r.set(i),a.get=i=>Ve.css`var(${nt(r.name)}, ${n(i)})`,a.breadcrumb=()=>r.breadcrumb(),a.lastResortDefaultValue=()=>r.lastResortDefaultValue(),a}};function ma(e,r){return nt(`${e.name}: ${r}`)}var s={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:t.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ga={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},ba={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},xa={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},va={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Sa={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Oa={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ca={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ea={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},wa={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Tl={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Aa={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ra={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Na={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ta={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ia={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},La={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_a={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Pa={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ka={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Da={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ba={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ua={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},$a={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Wa={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Mr={display:ga,"title-1":ba,"title-2":xa,"title-3":va,"body-1-regular":Sa,"body-1-medium":Oa,"body-1-semibold":Ca,"body-2-regular":Ea,"body-2-medium":wa,"body-2-medium-underline":Tl,"body-2-semibold":Aa,"label-1-medium":Ra,"label-1-semibold":Na,"label-1-bold":Ta,"label-2-medium":Ia,"label-2-semibold":La,"label-2-bold":_a,"caption-1-medium":Pa,"caption-1-semibold":ka,"caption-1-bold":Da,"caption-2-medium":Ba,"caption-2-semibold":Ua,"caption-2-bold":Ma,"caption-3-medium":$a,"caption-3-semibold":Wa,"caption-3-bold":Ha};var l={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:t.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:t.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Np={iconSize:t.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:t.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:t.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:t.create("--ft-checkbox-border-radius","","SIZE","1px"),color:t.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:t.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:t.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:t.extend("--ft-checkbox-left-padding","",s.spacing2)};var Pp={headerRowBorderWidth:t.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:t.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:t.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:t.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:t.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:t.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:t.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:t.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:t.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:t.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:t.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:t.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:t.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:t.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:t.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:t.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:t.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:t.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:t.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:t.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:t.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:t.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:t.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var Mp={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var zp={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:t.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:t.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var Zp={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var Qp={iconSize:t.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var nu={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:t.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",l.contentActionPrimary)};var lu={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var hu={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var xu={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Cu={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Nu={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:t.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Pu={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:t.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var Mu={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:t.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var zu={largeFieldHorizontalPadding:t.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:t.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:t.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:t.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:t.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:t.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:t.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:t.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Zu={backgroundColor:t.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var Qu={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var nf={largeFieldHorizontalPadding:t.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:t.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:t.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:t.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:t.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:t.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:t.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:t.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:t.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:t.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var df={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var yf={backgroundColor:t.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:t.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:t.extend("--ft-popover-gap","",s.spacing2),borderRadius:t.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:t.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:t.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var vf={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:t.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",s.iconSize3)};var wf={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:t.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:t.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:t.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Tf={color1Light:t.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",s.colorRed40),color5Base:t.extend("--ft-chart-5-base","",s.colorRed60),color6Light:t.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",s.colorGray50),color10Base:t.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Pf={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Mf={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:t.extend("--ft-notice-gap","",s.spacing2),iconSize:t.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:t.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:t.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:t.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:t.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:t.create("--ft-notice-dense-border-width","","SIZE","0")};var zf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:t.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",s.spacing3)};var Zf={color:t.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",s.spacing3)};var Qf={iconSize:t.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",s.spacing8)};var nh={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:t.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:t.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",s.spacing05)};var lh={verticalPadding:t.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:t.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:t.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:t.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:t.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:t.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:t.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:t.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:t.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:t.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:t.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:t.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:t.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:t.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:t.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:t.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:t.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:t.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:t.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:t.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var hh={nodeHeight:t.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:t.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:t.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:t.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:t.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:t.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:t.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:t.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:t.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:t.extend("--ft-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:t.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:t.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:t.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:t.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:t.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:t.extend("--ft-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:t.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:t.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:t.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:t.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:t.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:t.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:t.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:t.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:t.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:t.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:t.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:t.extend("--ft-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:t.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:t.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:t.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),loadMorePaddingLeft:t.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:t.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:t.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:t.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:t.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:t.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:t.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:t.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:t.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:t.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary)};var $r;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})($r||($r={}));var Bt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Bt||(Bt={}));var Wr=v(H());function Fa(e){let r=Mr[e];return Wr.css`
|
|
6
|
-
.ft-typography--${(0,
|
|
7
|
-
font-family: ${
|
|
8
|
-
font-size: ${
|
|
9
|
-
font-weight: ${
|
|
10
|
-
letter-spacing: ${
|
|
11
|
-
line-height: ${
|
|
12
|
-
text-transform: ${
|
|
13
|
-
}
|
|
14
|
-
`}var
|
|
1
|
+
"use strict";(()=>{var xl=Object.create;var zn=Object.defineProperty;var vl=Object.getOwnPropertyDescriptor;var Sl=Object.getOwnPropertyNames;var Cl=Object.getPrototypeOf,Ol=Object.prototype.hasOwnProperty;var ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var El=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Sl(t))!Ol.call(e,a)&&a!==o&&zn(e,a,{get:()=>t[a],enumerable:!(n=vl(t,a))||n.enumerable});return e};var v=(e,t,o)=>(o=e!=null?xl(Cl(e)):{},El(t||!e||!e.__esModule?zn(o,"default",{value:e,enumerable:!0}):o,e));var _=ot((Qd,Gn)=>{Gn.exports=ftGlobals.wcUtils});var H=ot((eu,jn)=>{jn.exports=ftGlobals.lit});var Kn=ot((tu,Vn)=>{Vn.exports=ftGlobals.litRepeat});var sr=ot((ru,Zn)=>{Zn.exports=ftGlobals.litClassMap});var Yn=ot((ou,qn)=>{qn.exports=ftGlobals.litStyleMap});var te=ot((lu,ua)=>{ua.exports=ftGlobals.litDecorators});var fi=ot((tm,pi)=>{pi.exports=ftGlobals.litUnsafeHTML});var ks=ot((pt,Ps)=>{var io=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,so=function(){function e(){this.fetch=!1,this.DOMException=io.DOMException}return e.prototype=io,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(y){return y&&c.indexOf(Object.prototype.toString.call(y))>-1};function u(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function m(y){var b={next:function(){var P=y.shift();return{done:P===void 0,value:P}}};return a.iterable&&(b[Symbol.iterator]=function(){return b}),b}function h(y){this.map={},y instanceof h?y.forEach(function(b,P){this.append(P,b)},this):Array.isArray(y)?y.forEach(function(b){if(b.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+b.length);this.append(b[0],b[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(b){this.append(b,y[b])},this)}h.prototype.append=function(y,b){y=u(y),b=p(b);var P=this.map[y];this.map[y]=P?P+", "+b:b},h.prototype.delete=function(y){delete this.map[u(y)]},h.prototype.get=function(y){return y=u(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(u(y))},h.prototype.set=function(y,b){this.map[u(y)]=p(b)},h.prototype.forEach=function(y,b){for(var P in this.map)this.map.hasOwnProperty(P)&&y.call(b,this.map[P],P,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(b,P){y.push(P)}),m(y)},h.prototype.values=function(){var y=[];return this.forEach(function(b){y.push(b)}),m(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(b,P){y.push([P,b])}),m(y)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function S(y){return new Promise(function(b,P){y.onload=function(){b(y.result)},y.onerror=function(){P(y.error)}})}function x(y){var b=new FileReader,P=S(b);return b.readAsArrayBuffer(y),P}function O(y){var b=new FileReader,P=S(b),F=/charset=([A-Za-z0-9_-]+)/.exec(y.type),Y=F?F[1]:"utf-8";return b.readAsText(y,Y),P}function I(y){for(var b=new Uint8Array(y),P=new Array(b.length),F=0;F<b.length;F++)P[F]=String.fromCharCode(b[F]);return P.join("")}function R(y){if(y.slice)return y.slice(0);var b=new Uint8Array(y.byteLength);return b.set(new Uint8Array(y)),b.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=R(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||d(y))?this._bodyArrayBuffer=R(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=g(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(I(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(me)}),this.json=function(){return this.text().then(JSON.parse)},this}var k=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function B(y){var b=y.toUpperCase();return k.indexOf(b)>-1?b:y}function U(y,b){if(!(this instanceof U))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');b=b||{};var P=b.body;if(y instanceof U){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,b.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!P&&y._bodyInit!=null&&(P=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=b.credentials||this.credentials||"same-origin",(b.headers||!this.headers)&&(this.headers=new h(b.headers)),this.method=B(b.method||this.method||"GET"),this.mode=b.mode||this.mode||null,this.signal=b.signal||this.signal||function(){if("AbortController"in n){var M=new AbortController;return M.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(b.cache==="no-store"||b.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var Y=/\?/;this.url+=(Y.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function me(y){var b=new FormData;return y.trim().split("&").forEach(function(P){if(P){var F=P.split("="),Y=F.shift().replace(/\+/g," "),M=F.join("=").replace(/\+/g," ");b.append(decodeURIComponent(Y),decodeURIComponent(M))}}),b}function He(y){var b=new h,P=y.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(F){return F.indexOf(`
|
|
2
|
+
`)===0?F.substr(1,F.length):F}).forEach(function(F){var Y=F.split(":"),M=Y.shift().trim();if(M){var Dr=Y.join(":").trim();try{b.append(M,Dr)}catch(Po){console.warn("Response "+Po.message)}}}),b}N.call(U.prototype);function fe(y,b){if(!(this instanceof fe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(b||(b={}),this.type="default",this.status=b.status===void 0?200:b.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=b.statusText===void 0?"":""+b.statusText,this.headers=new h(b.headers),this.url=b.url||"",this._initBody(y)}N.call(fe.prototype),fe.prototype.clone=function(){return new fe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},fe.error=function(){var y=new fe(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Fe=[301,302,303,307,308];fe.redirect=function(y,b){if(Fe.indexOf(b)===-1)throw new RangeError("Invalid status code");return new fe(null,{status:b,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(b,P){this.message=b,this.name=P;var F=Error(b);this.stack=F.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function se(y,b){return new Promise(function(P,F){var Y=new U(y,b);if(Y.signal&&Y.signal.aborted)return F(new o.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function Dr(){M.abort()}M.onload=function(){var ce={statusText:M.statusText,headers:He(M.getAllResponseHeaders()||"")};Y.url.indexOf("file://")===0&&(M.status<200||M.status>599)?ce.status=200:ce.status=M.status,ce.url="responseURL"in M?M.responseURL:ce.headers.get("X-Request-URL");var vt="response"in M?M.response:M.responseText;setTimeout(function(){P(new fe(vt,ce))},0)},M.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){F(new o.DOMException("Aborted","AbortError"))},0)};function Po(ce){try{return ce===""&&n.location.href?n.location.href:ce}catch{return ce}}if(M.open(Y.method,Po(Y.url),!0),Y.credentials==="include"?M.withCredentials=!0:Y.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(a.blob?M.responseType="blob":a.arrayBuffer&&(M.responseType="arraybuffer")),b&&typeof b.headers=="object"&&!(b.headers instanceof h||n.Headers&&b.headers instanceof n.Headers)){var Fn=[];Object.getOwnPropertyNames(b.headers).forEach(function(ce){Fn.push(u(ce)),M.setRequestHeader(ce,p(b.headers[ce]))}),Y.headers.forEach(function(ce,vt){Fn.indexOf(vt)===-1&&M.setRequestHeader(vt,ce)})}else Y.headers.forEach(function(ce,vt){M.setRequestHeader(vt,ce)});Y.signal&&(Y.signal.addEventListener("abort",Dr),M.onreadystatechange=function(){M.readyState===4&&Y.signal.removeEventListener("abort",Dr)}),M.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return se.polyfill=!0,n.fetch||(n.fetch=se,n.Headers=h,n.Request=U,n.Response=fe),o.Headers=h,o.Request=U,o.Response=fe,o.fetch=se,o}({})})(so);so.fetch.ponyfill=!0;delete so.fetch.polyfill;var er=io.fetch?io:so;pt=er.fetch;pt.default=er.fetch;pt.fetch=er.fetch;pt.Headers=er.Headers;pt.Request=er.Request;pt.Response=er.Response;Ps.exports=pt});var bl=v(_());var Ce=v(H()),Hn=v(Kn()),ml=v(sr()),gl=v(Yn());var Wo=globalThis,Br=Wo.trustedTypes,Xn=Br?Br.createPolicy("lit-html",{createHTML:e=>e}):void 0,oa="$lit$",nt=`lit$${Math.random().toFixed(9).slice(2)}$`,na="?"+nt,Al=`<${na}>`,Ot=document,Ur=()=>Ot.createComment(""),lr=e=>e===null||typeof e!="object"&&typeof e!="function",Ho=Array.isArray,wl=e=>Ho(e)||typeof e?.[Symbol.iterator]=="function",ko=`[
|
|
3
|
+
\f\r]`,cr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jn=/-->/g,Qn=/>/g,St=RegExp(`>|${ko}(?:([^\\s"'>=/]+)(${ko}*=${ko}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ea=/'/g,ta=/"/g,aa=/^(?:script|style|textarea|title)$/i,Fo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ia=Fo(1),sa=Fo(2),ca=Fo(3),dr=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),ra=new WeakMap,Ct=Ot.createTreeWalker(Ot,129);function la(e,t){if(!Ho(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xn!==void 0?Xn.createHTML(t):t}var Rl=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":t===3?"<math>":"",c=cr;for(let d=0;d<o;d++){let u=e[d],p,m,h=-1,g=0;for(;g<u.length&&(c.lastIndex=g,m=c.exec(u),m!==null);)g=c.lastIndex,c===cr?m[1]==="!--"?c=Jn:m[1]!==void 0?c=Qn:m[2]!==void 0?(aa.test(m[2])&&(a=RegExp("</"+m[2],"g")),c=St):m[3]!==void 0&&(c=St):c===St?m[0]===">"?(c=a??cr,h=-1):m[1]===void 0?h=-2:(h=c.lastIndex-m[2].length,p=m[1],c=m[3]===void 0?St:m[3]==='"'?ta:ea):c===ta||c===ea?c=St:c===Jn||c===Qn?c=cr:(c=St,a=void 0);let S=c===St&&e[d+1].startsWith("/>")?" ":"";i+=c===cr?u+Al:h>=0?(n.push(p),u.slice(0,h)+oa+u.slice(h)+nt+S):u+nt+(h===-2?d:S)}return[la(e,i+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},ur=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=t.length-1,u=this.parts,[p,m]=Rl(t,o);if(this.el=e.createElement(p,n),Ct.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Ct.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(oa)){let g=m[c++],S=a.getAttribute(h).split(nt),x=/([.?@])?(.*)/.exec(g);u.push({type:1,index:i,name:x[2],strings:S,ctor:x[1]==="."?Bo:x[1]==="?"?Uo:x[1]==="@"?Mo:Bt}),a.removeAttribute(h)}else h.startsWith(nt)&&(u.push({type:6,index:i}),a.removeAttribute(h));if(aa.test(a.tagName)){let h=a.textContent.split(nt),g=h.length-1;if(g>0){a.textContent=Br?Br.emptyScript:"";for(let S=0;S<g;S++)a.append(h[S],Ur()),Ct.nextNode(),u.push({type:2,index:++i});a.append(h[g],Ur())}}}else if(a.nodeType===8)if(a.data===na)u.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(nt,h+1))!==-1;)u.push({type:7,index:i}),h+=nt.length-1}i++}}static createElement(t,o){let n=Ot.createElement("template");return n.innerHTML=t,n}};function Dt(e,t,o=e,n){if(t===dr)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=lr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Dt(e,a._$AS(e,t.values),a,n)),t}var Do=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Ot).importNode(o,!0);Ct.currentNode=a;let i=Ct.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Mr(i,i.nextSibling,this,t):u.type===1?p=new u.ctor(i,u.name,u.strings,this,t):u.type===6&&(p=new $o(i,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(i=Ct.nextNode(),c++)}return Ct.currentNode=Ot,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Mr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Dt(this,t,o),lr(t)?t===Q||t==null||t===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==dr&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):wl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==Q&&lr(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ot.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=ur.createElement(la(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Do(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(t){let o=ra.get(t.strings);return o===void 0&&ra.set(t.strings,o=new ur(t)),o}k(t){Ho(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.O(Ur()),this.O(Ur()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Q}_$AI(t,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)t=Dt(this,t,o,0),c=!lr(t)||t!==this._$AH&&t!==dr,c&&(this._$AH=t);else{let d=t,u,p;for(t=i[0],u=0;u<i.length-1;u++)p=Dt(this,d[n+u],o,u),p===dr&&(p=this._$AH[u]),c||=!lr(p)||p!==this._$AH[u],p===Q?t=Q:t!==Q&&(t+=(p??"")+i[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Bo=class extends Bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}},Uo=class extends Bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==Q)}},Mo=class extends Bt{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=Dt(this,t,o,0)??Q)===dr)return;let n=this._$AH,a=t===Q&&n!==Q||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==Q&&(n===Q||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},$o=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Dt(this,t)}};var Nl=Wo.litHtmlPolyfillSupport;Nl?.(ur,Mr),(Wo.litHtmlVersions??=[]).push("3.3.0");var da=e=>e??Q;var j=v(te()),We=v(_());var ha=v(_()),ya=v(te());var pa;(function(e){e.clusteringHelperCreated="clustering-helper-created",e.mapAttachmentsUpdate="map-attachments-update",e.visibleTopicChange="visible-topic-change"})(pa||(pa={}));var fa;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(fa||(fa={}));var Tl=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Go=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},zo=Symbol("registerInterval");function Il(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[zo]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[zo]):this.dispatchEvent(new Go)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=zo,Tl([(0,ya.state)()],o.prototype,"stateManager",void 0),o}var Ut=class extends Il(ha.FtLitElementRedux){};var ii=v(_());var ga=Symbol.for(""),Ll=e=>{if(e?.r===ga)return e?._$litStatic$},jo=e=>({_$litStatic$:e,r:ga});var ma=new Map,Vo=e=>(t,...o)=>{let n=o.length,a,i,c=[],d=[],u,p=0,m=!1;for(;p<n;){for(u=t[p];p<n&&(i=o[p],(a=Ll(i))!==void 0);)u+=a+t[++p],m=!0;p!==n&&d.push(i),c.push(u),p++}if(p===n&&c.push(t[n]),m){let h=c.join("$$lit$$");(t=ma.get(h))===void 0&&(c.raw=c,ma.set(h,t=c)),o=d}return e(t,...o)},Ko=Vo(ia),hu=Vo(sa),yu=Vo(ca);var Zo=v(te()),ai=v(_());var at;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(at||(at={}));var Ne=v(H()),w=v(_());var Ze=v(H(),1),it=e=>typeof e=="string"?(0,Ze.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let i=d=>it(d??a),c=Ze.css`var(${it(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>ba(c,d??i(a)),c.get=d=>Ze.css`var(${it(t)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let i=d=>n.get(d??a),c=Ze.css`var(${it(t)}, ${i(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=d=>ba(c,d??i(a)),c.get=d=>Ze.css`var(${it(t)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=i=>t.defaultCssValue(i),a=Ze.css`var(${it(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>t.set(i),a.get=i=>Ze.css`var(${it(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function ba(e,t){return it(`${e.name}: ${t}`)}var s={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},xa={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},va={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Sa={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Oa={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ea={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Aa={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},wa={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ra={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},_l={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Na={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ta={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ia={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},La={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},_a={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Pa={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ka={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Da={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ba={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ma={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},$a={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Wa={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ha={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Fa={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},za={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},$r={display:xa,"title-1":va,"title-2":Sa,"title-3":Ca,"body-1-regular":Oa,"body-1-medium":Ea,"body-1-semibold":Aa,"body-2-regular":wa,"body-2-medium":Ra,"body-2-medium-underline":_l,"body-2-semibold":Na,"label-1-medium":Ta,"label-1-semibold":Ia,"label-1-bold":La,"label-2-medium":_a,"label-2-semibold":Pa,"label-2-bold":ka,"caption-1-medium":Da,"caption-1-semibold":Ba,"caption-1-bold":Ua,"caption-2-medium":Ma,"caption-2-semibold":$a,"caption-2-bold":Wa,"caption-3-medium":Ha,"caption-3-semibold":Fa,"caption-3-bold":za};var l={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var f={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var Pu={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var Mu={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var zu={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",s.iconSize2)};var Zu={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var Qu={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var np={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var lp={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",l.contentActionPrimary)};var hp={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var xp={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Ep={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var Np={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var Pp={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var Mp={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var zp={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var Zp={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Qp={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var nf={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var df={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var yf={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var vf={backgroundColor:r.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var Af={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var If={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var kf={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Mf={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var zf={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var Zf={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var Qf={color:r.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var nh={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var lh={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var hh={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var xh={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",l.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary)};var Wr;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Wr||(Wr={}));var Mt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Mt||(Mt={}));var Hr=v(H());function Ga(e){let t=$r[e];return Hr.css`
|
|
6
|
+
.ft-typography--${(0,Hr.unsafeCSS)(e)} {
|
|
7
|
+
font-family: ${t.fontFamily};
|
|
8
|
+
font-size: ${t.fontSize};
|
|
9
|
+
font-weight: ${t.fontWeight};
|
|
10
|
+
letter-spacing: ${t.letterSpacing};
|
|
11
|
+
line-height: ${t.lineHeight};
|
|
12
|
+
text-transform: ${t.textCase};
|
|
13
|
+
}
|
|
14
|
+
`}var ja=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),qe=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),T={fontFamily:qe,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},$t={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",ja),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Wt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",ja),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Ht={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Ft={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},zt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},Gt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},Vt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},Kt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},ze={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",qe),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},Va=Ne.css`
|
|
15
15
|
.ft-typography--title {
|
|
16
|
-
font-family: ${Ut.fontFamily};
|
|
17
|
-
font-size: ${Ut.fontSize};
|
|
18
|
-
font-weight: ${Ut.fontWeight};
|
|
19
|
-
letter-spacing: ${Ut.letterSpacing};
|
|
20
|
-
line-height: ${Ut.lineHeight};
|
|
21
|
-
text-transform: ${Ut.textTransform};
|
|
22
|
-
}
|
|
23
|
-
`,ja=Ne.css`
|
|
24
|
-
.ft-typography--title-dense {
|
|
25
|
-
font-family: ${Mt.fontFamily};
|
|
26
|
-
font-size: ${Mt.fontSize};
|
|
27
|
-
font-weight: ${Mt.fontWeight};
|
|
28
|
-
letter-spacing: ${Mt.letterSpacing};
|
|
29
|
-
line-height: ${Mt.lineHeight};
|
|
30
|
-
text-transform: ${Mt.textTransform};
|
|
31
|
-
}
|
|
32
|
-
`,Va=Ne.css`
|
|
33
|
-
.ft-typography--subtitle1 {
|
|
34
16
|
font-family: ${$t.fontFamily};
|
|
35
17
|
font-size: ${$t.fontSize};
|
|
36
18
|
font-weight: ${$t.fontWeight};
|
|
@@ -39,7 +21,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
39
21
|
text-transform: ${$t.textTransform};
|
|
40
22
|
}
|
|
41
23
|
`,Ka=Ne.css`
|
|
42
|
-
.ft-typography--
|
|
24
|
+
.ft-typography--title-dense {
|
|
43
25
|
font-family: ${Wt.fontFamily};
|
|
44
26
|
font-size: ${Wt.fontSize};
|
|
45
27
|
font-weight: ${Wt.fontWeight};
|
|
@@ -47,9 +29,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
47
29
|
line-height: ${Wt.lineHeight};
|
|
48
30
|
text-transform: ${Wt.textTransform};
|
|
49
31
|
}
|
|
50
|
-
|
|
51
32
|
`,Za=Ne.css`
|
|
52
|
-
.ft-typography--
|
|
33
|
+
.ft-typography--subtitle1 {
|
|
53
34
|
font-family: ${Ht.fontFamily};
|
|
54
35
|
font-size: ${Ht.fontSize};
|
|
55
36
|
font-weight: ${Ht.fontWeight};
|
|
@@ -58,7 +39,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
58
39
|
text-transform: ${Ht.textTransform};
|
|
59
40
|
}
|
|
60
41
|
`,qa=Ne.css`
|
|
61
|
-
.ft-typography--
|
|
42
|
+
.ft-typography--subtitle2 {
|
|
62
43
|
font-family: ${Ft.fontFamily};
|
|
63
44
|
font-size: ${Ft.fontSize};
|
|
64
45
|
font-weight: ${Ft.fontWeight};
|
|
@@ -66,8 +47,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
66
47
|
line-height: ${Ft.lineHeight};
|
|
67
48
|
text-transform: ${Ft.textTransform};
|
|
68
49
|
}
|
|
50
|
+
|
|
69
51
|
`,Ya=Ne.css`
|
|
70
|
-
.ft-typography--
|
|
52
|
+
.ft-typography--body1 {
|
|
71
53
|
font-family: ${zt.fontFamily};
|
|
72
54
|
font-size: ${zt.fontSize};
|
|
73
55
|
font-weight: ${zt.fontWeight};
|
|
@@ -76,7 +58,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
76
58
|
text-transform: ${zt.textTransform};
|
|
77
59
|
}
|
|
78
60
|
`,Xa=Ne.css`
|
|
79
|
-
.ft-typography--
|
|
61
|
+
.ft-typography--body2 {
|
|
80
62
|
font-family: ${Gt.fontFamily};
|
|
81
63
|
font-size: ${Gt.fontSize};
|
|
82
64
|
font-weight: ${Gt.fontWeight};
|
|
@@ -85,7 +67,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
85
67
|
text-transform: ${Gt.textTransform};
|
|
86
68
|
}
|
|
87
69
|
`,Ja=Ne.css`
|
|
88
|
-
.ft-typography--
|
|
70
|
+
.ft-typography--caption {
|
|
89
71
|
font-family: ${jt.fontFamily};
|
|
90
72
|
font-size: ${jt.fontSize};
|
|
91
73
|
font-weight: ${jt.fontWeight};
|
|
@@ -94,46 +76,64 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
94
76
|
text-transform: ${jt.textTransform};
|
|
95
77
|
}
|
|
96
78
|
`,Qa=Ne.css`
|
|
97
|
-
.ft-typography--
|
|
98
|
-
font-family: ${
|
|
99
|
-
font-size: ${
|
|
100
|
-
font-weight: ${
|
|
101
|
-
letter-spacing: ${
|
|
102
|
-
line-height: ${
|
|
103
|
-
text-transform: ${
|
|
79
|
+
.ft-typography--breadcrumb {
|
|
80
|
+
font-family: ${Vt.fontFamily};
|
|
81
|
+
font-size: ${Vt.fontSize};
|
|
82
|
+
font-weight: ${Vt.fontWeight};
|
|
83
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
84
|
+
line-height: ${Vt.lineHeight};
|
|
85
|
+
text-transform: ${Vt.textTransform};
|
|
104
86
|
}
|
|
105
87
|
`,ei=Ne.css`
|
|
88
|
+
.ft-typography--overline {
|
|
89
|
+
font-family: ${Kt.fontFamily};
|
|
90
|
+
font-size: ${Kt.fontSize};
|
|
91
|
+
font-weight: ${Kt.fontWeight};
|
|
92
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
93
|
+
line-height: ${Kt.lineHeight};
|
|
94
|
+
text-transform: ${Kt.textTransform};
|
|
95
|
+
}
|
|
96
|
+
`,ti=Ne.css`
|
|
97
|
+
.ft-typography--button {
|
|
98
|
+
font-family: ${ze.fontFamily};
|
|
99
|
+
font-size: ${ze.fontSize};
|
|
100
|
+
font-weight: ${ze.fontWeight};
|
|
101
|
+
letter-spacing: ${ze.letterSpacing};
|
|
102
|
+
line-height: ${ze.lineHeight};
|
|
103
|
+
text-transform: ${ze.textTransform};
|
|
104
|
+
}
|
|
105
|
+
`,ri=Ne.css`
|
|
106
106
|
.ft-typography {
|
|
107
107
|
vertical-align: inherit;
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
110
|
-
<${
|
|
109
|
+
`,oi=[Object.keys($r).map(e=>Ga(e))];var ni=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Oe=class extends ai.FtLitElement{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?Ko`
|
|
110
|
+
<${jo(this.element)}
|
|
111
111
|
part="text"
|
|
112
112
|
class="ft-typography ft-typography--${this.variant}">
|
|
113
113
|
<slot></slot>
|
|
114
|
-
</${
|
|
115
|
-
`:
|
|
114
|
+
</${jo(this.element)}>
|
|
115
|
+
`:Ko`
|
|
116
116
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
117
|
-
`}};
|
|
117
|
+
`}};Oe.styles=[Va,Ka,Za,qa,Ya,Xa,Ja,Qa,ei,ti,ri,...oi];ni([(0,Zo.property)()],Oe.prototype,"element",void 0);ni([(0,Zo.property)()],Oe.prototype,"variant",void 0);(0,ii.customElement)("ft-typography")(Oe);var ui=v(_());var li=v(H()),pr=v(te()),di=v(sr());var Fr=v(_()),si=v(H()),Pl={outlineColor:Fr.FtCssVariableFactory.extend("--ft-reader-internal-link-outline-color","",Fr.designSystemVariables.colorPrimary)},ci=si.css`
|
|
118
118
|
:host {
|
|
119
119
|
display: contents;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
a:focus {
|
|
123
|
-
outline-color: ${
|
|
123
|
+
outline-color: ${Pl.outlineColor};
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.ft-reader-link--remove-style {
|
|
127
127
|
text-decoration: none;
|
|
128
128
|
color: inherit;
|
|
129
129
|
}
|
|
130
|
-
`;var
|
|
130
|
+
`;var zr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Le=class extends Ut{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=(0,di.classMap)({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return li.html`
|
|
131
131
|
<a class=${o}
|
|
132
|
-
href="${(
|
|
132
|
+
href="${(t=this.service)===null||t===void 0?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
133
133
|
@click=${n=>this.onLinkClick(n)}>
|
|
134
134
|
<slot></slot>
|
|
135
135
|
</a>
|
|
136
|
-
`}onLinkClick(
|
|
136
|
+
`}onLinkClick(t){var o,n,a;!t.ctrlKey&&!t.metaKey&&(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),(o=this.stateManager)===null||o===void 0||o.navigateToTopic(this.tocId,this.section,this.pageNumber),(n=this.stateManager)===null||n===void 0||n.store.commands.clear(/^focus-topic-/),(a=this.stateManager)===null||a===void 0||a.store.commands.add({type:`focus-topic-${this.tocId}`}),this.click())}};Le.styles=ci;zr([(0,pr.property)()],Le.prototype,"tocId",void 0);zr([(0,pr.property)()],Le.prototype,"section",void 0);zr([(0,pr.property)({type:Number})],Le.prototype,"pageNumber",void 0);zr([(0,pr.property)({type:Boolean})],Le.prototype,"removeStyle",void 0);(0,ui.customElement)("ft-reader-internal-link")(Le);var bi=v(_());var fr=v(H()),st=v(te()),mi=v(_()),gi=v(fi());var Gr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.EYE="",e.SHARE="󨃱",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR=""})(Gr||(Gr={}));var A;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(A||(A={}));var rm=new Map([...["abw"].map(e=>[e,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var om={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var hi=v(H()),_e=v(_()),he={size:_e.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:_e.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",_e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:_e.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",_e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:_e.FtCssVariableFactory.extend("--ft-icon-material-font-family","",_e.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:_e.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},yi=[hi.css`
|
|
137
137
|
:host, i.ft-icon {
|
|
138
138
|
display: inline-flex;
|
|
139
139
|
align-items: center;
|
|
@@ -142,14 +142,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
:host {
|
|
145
|
-
width: ${
|
|
146
|
-
height: ${
|
|
145
|
+
width: ${he.size};
|
|
146
|
+
height: ${he.size};
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
i.ft-icon {
|
|
150
150
|
width: 100%;
|
|
151
151
|
height: 100%;
|
|
152
|
-
font-size: ${
|
|
152
|
+
font-size: ${he.size};
|
|
153
153
|
line-height: 1;
|
|
154
154
|
font-weight: normal;
|
|
155
155
|
text-transform: none;
|
|
@@ -160,33 +160,33 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
160
160
|
text-rendering: auto;
|
|
161
161
|
-webkit-font-smoothing: antialiased;
|
|
162
162
|
-moz-osx-font-smoothing: grayscale;
|
|
163
|
-
vertical-align: ${
|
|
163
|
+
vertical-align: ${he.verticalAlign};
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
i.ft-icon.ft-icon--fluid-topics {
|
|
167
|
-
font-family: ${
|
|
167
|
+
font-family: ${he.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
168
168
|
|
|
169
169
|
/* Ugly fix because font is broken */
|
|
170
|
-
font-size: calc(0.75 * ${
|
|
171
|
-
line-height: ${
|
|
170
|
+
font-size: calc(0.75 * ${he.size});
|
|
171
|
+
line-height: ${he.size};
|
|
172
172
|
position: relative;
|
|
173
173
|
top: -4%;
|
|
174
174
|
justify-content: center;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.ft-icon--file-format {
|
|
178
|
-
font-family: ${
|
|
178
|
+
font-family: ${he.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.ft-icon--material {
|
|
182
|
-
font-family: ${
|
|
182
|
+
font-family: ${he.materialFontFamily}, "Material Icons", sans-serif;
|
|
183
183
|
}
|
|
184
|
-
`,
|
|
185
|
-
<i class="ft-icon ft-icon--${
|
|
186
|
-
${(0,
|
|
184
|
+
`,_e.noTextSelect];var Ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ee||(Ee={}));var hr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ye=class extends mi.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=fr.nothing}render(){let t=this.variant&&Object.values(Ee).includes(this.variant)?this.variant:Ee.fluid_topics,o=t!==Ee.material||!!this.value;return fr.html`
|
|
185
|
+
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
186
|
+
${(0,gi.unsafeHTML)(this.resolvedIcon)}
|
|
187
187
|
<slot ?hidden=${o}></slot>
|
|
188
188
|
</i>
|
|
189
|
-
`}get textContent(){var
|
|
189
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Ee.file_format:this.resolvedIcon=(t=A[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ee.material:this.resolvedIcon=this.value||fr.nothing;break;default:this.resolvedIcon=(o=Gr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ye.elementDefinitions={};ye.styles=yi;hr([(0,st.property)()],ye.prototype,"variant",void 0);hr([(0,st.property)()],ye.prototype,"value",void 0);hr([(0,st.property)({reflect:!0,attribute:"aria-hidden"})],ye.prototype,"ariaHidden",void 0);hr([(0,st.state)()],ye.prototype,"resolvedIcon",void 0);hr([(0,st.query)("slot")],ye.prototype,"slottedContent",void 0);(0,bi.customElement)("ft-icon")(ye);var ln=v(_());var Cr=v(te()),fs=v(_());var Ii=v(H()),D=v(_());var Ei=v(H()),ee=v(_()),xi=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorContent),E={color:xi,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",xi),opacityContentOnSurfacePressed:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ee.FtCssVariableFactory.external(ee.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ee.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},vi=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorPrimary),Si={color:vi,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",vi)},Ci=ee.FtCssVariableFactory.extend("--ft-ripple-color","",ee.designSystemVariables.colorSecondary),Oi={color:Ci,backgroundColor:ee.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ci)},Ai=Ei.css`
|
|
190
190
|
:host {
|
|
191
191
|
display: contents;
|
|
192
192
|
}
|
|
@@ -241,19 +241,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
244
|
-
background-color: ${
|
|
244
|
+
background-color: ${Oi.backgroundColor};
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
248
|
-
background-color: ${
|
|
248
|
+
background-color: ${Oi.color};
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
252
|
-
background-color: ${
|
|
252
|
+
background-color: ${Si.backgroundColor};
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
256
|
-
background-color: ${
|
|
256
|
+
background-color: ${Si.color};
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
.ft-ripple .ft-ripple--background {
|
|
@@ -298,7 +298,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
298
298
|
opacity: ${E.opacityContentOnSurfacePressed};
|
|
299
299
|
transform: translate(-50%, -50%) scale(1);
|
|
300
300
|
}
|
|
301
|
-
`;var
|
|
301
|
+
`;var wi=v(H()),yr=v(_()),V={color:yr.FtCssVariableFactory.extend("--ft-loader-color","",yr.designSystemVariables.colorPrimary),size:yr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ri=wi.css`
|
|
302
302
|
:host {
|
|
303
303
|
line-height: 0;
|
|
304
304
|
}
|
|
@@ -307,8 +307,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
307
307
|
display: inline-block;
|
|
308
308
|
position: relative;
|
|
309
309
|
|
|
310
|
-
width: ${
|
|
311
|
-
height: ${
|
|
310
|
+
width: ${V.size};
|
|
311
|
+
height: ${V.size};
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
.ft-loader div {
|
|
@@ -317,7 +317,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
317
317
|
width: 25%;
|
|
318
318
|
height: 25%;
|
|
319
319
|
border-radius: 50%;
|
|
320
|
-
background: ${
|
|
320
|
+
background: ${V.color};
|
|
321
321
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
322
322
|
}
|
|
323
323
|
|
|
@@ -364,10 +364,10 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
364
364
|
transform: translate(0, 0);
|
|
365
365
|
}
|
|
366
366
|
100% {
|
|
367
|
-
transform: translate(calc(0.35 * ${
|
|
367
|
+
transform: translate(calc(0.35 * ${V.size}), 0);
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
`;var
|
|
370
|
+
`;var Ni=D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorPrimary),K={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorSurface),borderRadius:D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusL),color:Ni,fontSize:D.FtCssVariableFactory.extend("--ft-button-font-size","",ze.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:D.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ni),verticalPadding:D.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Ti=D.FtCssVariableFactory.extend("--ft-button-primary-color","",D.FtCssVariableFactory.extend("--ft-button-color","",D.designSystemVariables.colorOnPrimary)),qo={backgroundColor:D.FtCssVariableFactory.extend("--ft-button-primary-background-color","",D.FtCssVariableFactory.extend("--ft-button-background-color","",D.designSystemVariables.colorPrimary)),color:Ti,rippleColor:D.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ti)},Ge={borderRadius:D.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",D.FtCssVariableFactory.extend("--ft-button-border-radius","",D.designSystemVariables.borderRadiusM)),verticalPadding:D.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:D.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:D.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Li=[Ii.css`
|
|
371
371
|
:host {
|
|
372
372
|
display: inline-block;
|
|
373
373
|
max-width: 100%;
|
|
@@ -378,7 +378,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
378
378
|
box-shadow: 0px 0px 0px transparent;
|
|
379
379
|
border: 0px solid transparent;
|
|
380
380
|
text-shadow: 0px 0px 0px transparent;
|
|
381
|
-
font-size: ${
|
|
381
|
+
font-size: ${K.fontSize};
|
|
382
382
|
text-decoration: none;
|
|
383
383
|
}
|
|
384
384
|
|
|
@@ -408,31 +408,31 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
408
408
|
border: none;
|
|
409
409
|
pointer-events: auto;
|
|
410
410
|
|
|
411
|
-
--ft-button-internal-line-height: max(calc(${
|
|
412
|
-
--ft-button-internal-color: ${
|
|
413
|
-
${(0,D.setVariable)(
|
|
414
|
-
${(0,D.setVariable)(E.color,
|
|
411
|
+
--ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
|
|
412
|
+
--ft-button-internal-color: ${K.color};
|
|
413
|
+
${(0,D.setVariable)(he.size,K.iconSize)};
|
|
414
|
+
${(0,D.setVariable)(E.color,K.rippleColor)};
|
|
415
415
|
|
|
416
|
-
border-radius: ${
|
|
417
|
-
padding: ${
|
|
418
|
-
background-color: ${
|
|
416
|
+
border-radius: ${K.borderRadius};
|
|
417
|
+
padding: ${K.verticalPadding} ${K.horizontalPadding};
|
|
418
|
+
background-color: ${K.backgroundColor};
|
|
419
419
|
color: var(--ft-button-internal-color);
|
|
420
420
|
-webkit-mask-image: radial-gradient(white, black);
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
.ft-button.ft-button--outlined {
|
|
424
424
|
border: 1px solid var(--ft-button-internal-color);
|
|
425
|
-
padding: calc(${
|
|
425
|
+
padding: calc(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
428
|
.ft-button.ft-button--dense {
|
|
429
|
-
padding: ${
|
|
430
|
-
border-radius: ${
|
|
431
|
-
gap: ${
|
|
429
|
+
padding: ${Ge.verticalPadding} ${Ge.horizontalPadding};
|
|
430
|
+
border-radius: ${Ge.borderRadius};
|
|
431
|
+
gap: ${Ge.iconPadding};
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
435
|
-
padding: calc(${
|
|
435
|
+
padding: calc(${Ge.verticalPadding} - 1px) calc(${Ge.horizontalPadding} - 1px);
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-button:not([disabled]):hover {
|
|
@@ -440,22 +440,22 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.ft-button--round {
|
|
443
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
443
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${K.verticalPadding});
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
.ft-button--round.ft-button--dense {
|
|
447
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ge.verticalPadding});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.ft-button[disabled] {
|
|
451
451
|
filter: grayscale(1);
|
|
452
|
-
opacity: ${
|
|
452
|
+
opacity: ${K.opacityDisabled};
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
.ft-button.ft-button--primary {
|
|
456
|
-
background-color: ${
|
|
457
|
-
--ft-button-internal-color: ${
|
|
458
|
-
${(0,D.setVariable)(E.color,
|
|
456
|
+
background-color: ${qo.backgroundColor};
|
|
457
|
+
--ft-button-internal-color: ${qo.color};
|
|
458
|
+
${(0,D.setVariable)(E.color,qo.rippleColor)};
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
.ft-button:focus {
|
|
@@ -468,13 +468,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
468
468
|
white-space: nowrap;
|
|
469
469
|
text-overflow: ellipsis;
|
|
470
470
|
display: block;
|
|
471
|
-
margin: 0 ${
|
|
472
|
-
${(0,D.setVariable)(
|
|
473
|
-
${(0,D.setVariable)(
|
|
471
|
+
margin: 0 ${K.iconPadding};
|
|
472
|
+
${(0,D.setVariable)(ze.fontSize,"1em")};
|
|
473
|
+
${(0,D.setVariable)(ze.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.ft-button--dense .ft-button--label {
|
|
477
|
-
margin: 0 ${
|
|
477
|
+
margin: 0 ${Ge.iconPadding};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button--label[hidden] {
|
|
@@ -487,13 +487,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
.ft-button--label[hidden] + [part="icon"] {
|
|
490
|
-
margin: 0 calc(${
|
|
491
|
-
padding: 0 ${
|
|
490
|
+
margin: 0 calc(${K.horizontalPadding} * -1);
|
|
491
|
+
padding: 0 ${K.verticalPadding};
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
495
|
-
margin: 0 calc(${
|
|
496
|
-
padding: 0 ${
|
|
495
|
+
margin: 0 calc(${Ge.horizontalPadding} * -1);
|
|
496
|
+
padding: 0 ${Ge.verticalPadding};
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -501,21 +501,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
ft-loader {
|
|
504
|
-
${(0,D.setVariable)(
|
|
505
|
-
${(0,D.setVariable)(
|
|
504
|
+
${(0,D.setVariable)(V.size,K.iconSize)};
|
|
505
|
+
${(0,D.setVariable)(V.color,"var(--ft-button-internal-color)")};
|
|
506
506
|
}
|
|
507
|
-
`,D.noTextSelect];var
|
|
507
|
+
`,D.noTextSelect];var dt=v(_());var ki=v(_());var _i=v(H()),le=v(te()),Pi=v(sr()),mr=v(_());var ge=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},X=class extends mr.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 mr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new mr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:i}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(i!=null?i-c.y:c.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return _i.html`
|
|
508
508
|
<style>
|
|
509
509
|
.ft-ripple .ft-ripple--effect {
|
|
510
510
|
left: ${this.originX}px;
|
|
511
511
|
top: ${this.originY}px;
|
|
512
512
|
}
|
|
513
513
|
</style>
|
|
514
|
-
<div class="${(0,
|
|
514
|
+
<div class="${(0,Pi.classMap)(t)}">
|
|
515
515
|
<div class="ft-ripple--background"></div>
|
|
516
516
|
<div class="ft-ripple--effect"></div>
|
|
517
517
|
</div>
|
|
518
|
-
`}contentAvailableCallback(
|
|
518
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.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 t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",i,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",i,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.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()}};X.elementDefinitions={};X.styles=Ai;ge([(0,le.property)({type:Boolean})],X.prototype,"primary",void 0);ge([(0,le.property)({type:Boolean})],X.prototype,"secondary",void 0);ge([(0,le.property)({type:Boolean})],X.prototype,"unbounded",void 0);ge([(0,le.property)({type:Boolean})],X.prototype,"activated",void 0);ge([(0,le.property)({type:Boolean})],X.prototype,"selected",void 0);ge([(0,le.property)({type:Boolean})],X.prototype,"disabled",void 0);ge([(0,le.state)()],X.prototype,"hovered",void 0);ge([(0,le.state)()],X.prototype,"focused",void 0);ge([(0,le.state)()],X.prototype,"pressed",void 0);ge([(0,le.state)()],X.prototype,"rippling",void 0);ge([(0,le.state)()],X.prototype,"originX",void 0);ge([(0,le.state)()],X.prototype,"originY",void 0);ge([(0,le.query)(".ft-ripple")],X.prototype,"ripple",void 0);ge([(0,le.query)(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0);(0,ki.customElement)("ft-ripple")(X);var ls=v(_());var cs=v(H()),re=v(te()),Sr=v(_());var Di=v(H()),Ye=v(_()),Zt={distance:Ye.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ye.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ye.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ye.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ye.FtCssVariableFactory.external(Ye.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ye.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Bi=Di.css`
|
|
519
519
|
.ft-tooltip--container {
|
|
520
520
|
display: block;
|
|
521
521
|
}
|
|
@@ -530,21 +530,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
530
530
|
box-sizing: border-box;
|
|
531
531
|
overflow: hidden;
|
|
532
532
|
width: max-content;
|
|
533
|
-
max-width: ${
|
|
533
|
+
max-width: ${Zt.maxWidth};
|
|
534
534
|
text-align: center;
|
|
535
|
-
padding: ${
|
|
536
|
-
z-index: ${
|
|
535
|
+
padding: ${Zt.distance};
|
|
536
|
+
z-index: ${Zt.zIndex};
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
.ft-tooltip--content {
|
|
540
540
|
padding: 4px 8px;
|
|
541
|
-
border-radius: ${
|
|
542
|
-
background-color: ${
|
|
543
|
-
color: ${
|
|
541
|
+
border-radius: ${Zt.borderRadiusS};
|
|
542
|
+
background-color: ${Zt.backgroundColor};
|
|
543
|
+
color: ${Zt.color};
|
|
544
544
|
position: relative;
|
|
545
545
|
word-break: break-word;
|
|
546
546
|
}
|
|
547
|
-
`;var Bi=["top","right","bottom","left"],Di=["start","end"],qo=Bi.reduce((e,r)=>e.concat(r,r+"-"+Di[0],r+"-"+Di[1]),[]),Ui=Math.min,Mi=Math.max;var Ll={left:"right",right:"left",bottom:"top",top:"bottom"},_l={start:"end",end:"start"};function Yo(e,r,o){return Mi(e,Ui(r,o))}function Gr(e,r){return typeof e=="function"?e(r):e}function Kt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Xo(e){return e==="x"?"y":"x"}function Jo(e){return e==="y"?"height":"width"}function jr(e){return["top","bottom"].includes(Kt(e))?"y":"x"}function Qo(e){return Xo(jr(e))}function $i(e,r,o){o===void 0&&(o=!1);let n=it(e),a=Qo(e),i=Jo(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(c=Zo(c)),[c,Zo(c)]}function Wi(e){return e.replace(/start|end/g,r=>_l[r])}function Zo(e){return e.replace(/left|right|bottom|top/g,r=>Ll[r])}function Pl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hi(e){return typeof e!="number"?Pl(e):{top:e,right:e,bottom:e,left:e}}function Ct(e){let{x:r,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:r,right:r+n,bottom:o+a,x:r,y:o}}function Fi(e,r,o){let{reference:n,floating:a}=e,i=jr(r),c=Qo(r),d=Jo(c),p=Kt(r),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,S;switch(p){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-a.width,y:h};break;default:S={x:n.x,y:n.y}}switch(it(r)){case"start":S[c]-=g*(o&&u?-1:1);break;case"end":S[c]+=g*(o&&u?-1:1);break}return S}var zi=async(e,r,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,d=i.filter(Boolean),p=await(c.isRTL==null?void 0:c.isRTL(r)),u=await c.getElementRects({reference:e,floating:r,strategy:a}),{x:m,y:h}=Fi(u,n,p),g=n,S={},x=0;for(let C=0;C<d.length;C++){let{name:I,fn:R}=d[C],{x:N,y:k,data:B,reset:U}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:u,platform:c,elements:{reference:e,floating:r}});m=N??m,h=k??h,S={...S,[I]:{...S[I],...B}},U&&x<=50&&(x++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(u=U.rects===!0?await c.getElementRects({reference:e,floating:r,strategy:a}):U.rects),{x:m,y:h}=Fi(u,g,p)),C=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function en(e,r){var o;r===void 0&&(r={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=Gr(r,e),x=Hi(S),I=d[g?h==="floating"?"reference":"floating":h],R=Ct(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(I)))==null||o?I:I.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:u,rootBoundary:m,strategy:p})),N=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),B=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},U=Ct(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:k,strategy:p}):N);return{top:(R.top-U.top+x.top)/B.y,bottom:(U.bottom-R.bottom+x.bottom)/B.y,left:(R.left-U.left+x.left)/B.x,right:(U.right-R.right+x.right)/B.x}}function kl(e,r,o){return(e?[...o.filter(a=>it(a)===e),...o.filter(a=>it(a)!==e)]:o.filter(a=>Kt(a)===a)).filter(a=>e?it(a)===e||(r?Wi(a)!==a:!1):!0)}var tn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(r){var o,n,a;let{rects:i,middlewareData:c,placement:d,platform:p,elements:u}=r,{crossAxis:m=!1,alignment:h,allowedPlacements:g=qo,autoAlignment:S=!0,...x}=Gr(e,r),C=h!==void 0||g===qo?kl(h||null,S,g):g,I=await en(r,x),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=C[R];if(N==null)return{};let k=$i(N,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(d!==N)return{reset:{placement:C[0]}};let B=[I[Kt(N)],I[k[0]],I[k[1]]],U=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:B}],me=C[R+1];if(me)return{data:{index:R+1,overflows:U},reset:{placement:me}};let $e=U.map(ie=>{let y=it(ie.placement);return[ie.placement,y&&m?ie.overflows.slice(0,2).reduce((b,_)=>b+_,0):ie.overflows[0],ie.overflows]}).sort((ie,y)=>ie[1]-y[1]),We=((a=$e.filter(ie=>ie[2].slice(0,it(ie[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||$e[0][0];return We!==d?{data:{index:R+1,overflows:U},reset:{placement:We}}:{}}}};var rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(r){let{x:o,y:n,placement:a}=r,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:I=>{let{x:R,y:N}=I;return{x:R,y:N}}},...p}=Gr(e,r),u={x:o,y:n},m=await en(r,p),h=jr(Kt(a)),g=Xo(h),S=u[g],x=u[h];if(i){let I=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[I],k=S-m[R];S=Yo(N,S,k)}if(c){let I=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=x+m[I],k=x-m[R];x=Yo(N,x,k)}let C=d.fn({...r,[g]:S,[h]:x});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[g]:i,[h]:c}}}}}};var on=Math.min,Zt=Math.max,yr=Math.round;var qe=e=>({x:e,y:e});function Ye(e){return ji(e)?(e.nodeName||"").toLowerCase():"#document"}function be(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function Xe(e){var r;return(r=(ji(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function ji(e){return e instanceof Node||e instanceof be(e).Node}function ze(e){return e instanceof Element||e instanceof be(e).Element}function _e(e){return e instanceof HTMLElement||e instanceof be(e).HTMLElement}function Gi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof be(e).ShadowRoot}function qt(e){let{overflow:r,overflowX:o,overflowY:n,display:a}=we(e);return/auto|scroll|overlay|hidden|clip/.test(r+n+o)&&!["inline","contents"].includes(a)}function Vi(e){return["table","td","th"].includes(Ye(e))}function Kr(e){let r=Zr(),o=we(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ki(e){let r=Et(e);for(;_e(r)&&!mr(r);){if(Kr(r))return r;r=Et(r)}return null}function Zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function mr(e){return["html","body","#document"].includes(Ye(e))}function we(e){return be(e).getComputedStyle(e)}function gr(e){return ze(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Et(e){if(Ye(e)==="html")return e;let r=e.assignedSlot||e.parentNode||Gi(e)&&e.host||Xe(e);return Gi(r)?r.host:r}function Zi(e){let r=Et(e);return mr(r)?e.ownerDocument?e.ownerDocument.body:e.body:_e(r)&&qt(r)?r:Zi(r)}function Vr(e,r,o){var n;r===void 0&&(r=[]),o===void 0&&(o=!0);let a=Zi(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=be(a);return i?r.concat(c,c.visualViewport||[],qt(a)?a:[],c.frameElement&&o?Vr(c.frameElement):[]):r.concat(a,Vr(a,[],o))}function Xi(e){let r=we(e),o=parseFloat(r.width)||0,n=parseFloat(r.height)||0,a=_e(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=yr(o)!==i||yr(n)!==c;return d&&(o=i,n=c),{width:o,height:n,$:d}}function Ji(e){return ze(e)?e:e.contextElement}function Yt(e){let r=Ji(e);if(!_e(r))return qe(1);let o=r.getBoundingClientRect(),{width:n,height:a,$:i}=Xi(r),c=(i?yr(o.width):o.width)/n,d=(i?yr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Ul=qe(0);function Qi(e){let r=be(e);return!Zr()||!r.visualViewport?Ul:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function Ml(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==be(e)?!1:r}function br(e,r,o,n){r===void 0&&(r=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Ji(e),c=qe(1);r&&(n?ze(n)&&(c=Yt(n)):c=Yt(e));let d=Ml(i,o,n)?Qi(i):qe(0),p=(a.left+d.x)/c.x,u=(a.top+d.y)/c.y,m=a.width/c.x,h=a.height/c.y;if(i){let g=be(i),S=n&&ze(n)?be(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let C=Yt(x),I=x.getBoundingClientRect(),R=we(x),N=I.left+(x.clientLeft+parseFloat(R.paddingLeft))*C.x,k=I.top+(x.clientTop+parseFloat(R.paddingTop))*C.y;p*=C.x,u*=C.y,m*=C.x,h*=C.y,p+=N,u+=k,x=be(x).frameElement}}return Ct({width:m,height:h,x:p,y:u})}function $l(e){let{rect:r,offsetParent:o,strategy:n}=e,a=_e(o),i=Xe(o);if(o===i)return r;let c={scrollLeft:0,scrollTop:0},d=qe(1),p=qe(0);if((a||!a&&n!=="fixed")&&((Ye(o)!=="body"||qt(i))&&(c=gr(o)),_e(o))){let u=br(o);d=Yt(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+p.x,y:r.y*d.y-c.scrollTop*d.y+p.y}}function Wl(e){return Array.from(e.getClientRects())}function es(e){return br(Xe(e)).left+gr(e).scrollLeft}function Hl(e){let r=Xe(e),o=gr(e),n=e.ownerDocument.body,a=Zt(r.scrollWidth,r.clientWidth,n.scrollWidth,n.clientWidth),i=Zt(r.scrollHeight,r.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+es(e),d=-o.scrollTop;return we(n).direction==="rtl"&&(c+=Zt(r.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function Fl(e,r){let o=be(e),n=Xe(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,p=0;if(a){i=a.width,c=a.height;let u=Zr();(!u||u&&r==="fixed")&&(d=a.offsetLeft,p=a.offsetTop)}return{width:i,height:c,x:d,y:p}}function zl(e,r){let o=br(e,!0,r==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=_e(e)?Yt(e):qe(1),c=e.clientWidth*i.x,d=e.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:c,height:d,x:p,y:u}}function qi(e,r,o){let n;if(r==="viewport")n=Fl(e,o);else if(r==="document")n=Hl(Xe(e));else if(ze(r))n=zl(r,o);else{let a=Qi(e);n={...r,x:r.x-a.x,y:r.y-a.y}}return Ct(n)}function ts(e,r){let o=Et(e);return o===r||!ze(o)||mr(o)?!1:we(o).position==="fixed"||ts(o,r)}function Gl(e,r){let o=r.get(e);if(o)return o;let n=Vr(e,[],!1).filter(d=>ze(d)&&Ye(d)!=="body"),a=null,i=we(e).position==="fixed",c=i?Et(e):e;for(;ze(c)&&!mr(c);){let d=we(c),p=Kr(c);!p&&d.position==="fixed"&&(a=null),(i?!p&&!a:!p&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||qt(c)&&!p&&ts(e,c))?n=n.filter(m=>m!==c):a=d,c=Et(c)}return r.set(e,n),n}function jl(e){let{element:r,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Gl(r,this._c):[].concat(o),n],d=c[0],p=c.reduce((u,m)=>{let h=qi(r,m,a);return u.top=Zt(h.top,u.top),u.right=on(h.right,u.right),u.bottom=on(h.bottom,u.bottom),u.left=Zt(h.left,u.left),u},qi(r,d,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Vl(e){return Xi(e)}function Kl(e,r,o){let n=_e(r),a=Xe(r),i=o==="fixed",c=br(e,!0,i,r),d={scrollLeft:0,scrollTop:0},p=qe(0);if(n||!n&&!i)if((Ye(r)!=="body"||qt(a))&&(d=gr(r)),n){let u=br(r,!0,i,r);p.x=u.x+r.clientLeft,p.y=u.y+r.clientTop}else a&&(p.x=es(a));return{x:c.left+d.scrollLeft-p.x,y:c.top+d.scrollTop-p.y,width:c.width,height:c.height}}function Yi(e,r){return!_e(e)||we(e).position==="fixed"?null:r?r(e):e.offsetParent}function rs(e,r){let o=be(e);if(!_e(e))return o;let n=Yi(e,r);for(;n&&Vi(n)&&we(n).position==="static";)n=Yi(n,r);return n&&(Ye(n)==="html"||Ye(n)==="body"&&we(n).position==="static"&&!Kr(n))?o:n||Ki(e)||o}var Zl=async function(e){let{reference:r,floating:o,strategy:n}=e,a=this.getOffsetParent||rs,i=this.getDimensions;return{reference:Kl(r,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function ql(e){return we(e).direction==="rtl"}var qr={convertOffsetParentRelativeRectToViewportRelativeRect:$l,getDocumentElement:Xe,getClippingRect:jl,getOffsetParent:rs,getElementRects:Zl,getClientRects:Wl,getDimensions:Vl,getScale:Yt,isElement:ze,isRTL:ql};var os=(e,r,o)=>{let n=new Map,a={platform:qr,...o},i={...a.platform,_c:n};return zi(e,r,{...a,platform:i})};function ns(e){return Yl(e)}function nn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Yl(e){for(let r=e;r;r=nn(r))if(r instanceof Element&&getComputedStyle(r).display==="none")return null;for(let r=nn(e);r;r=nn(r)){if(!(r instanceof Element))continue;let o=getComputedStyle(r);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||r.tagName==="BODY"))return r}return null}async function as(e,r,o){return os(e,r,{platform:{...qr,getOffsetParent:n=>qr.getOffsetParent(n,ns)},middleware:[rn({crossAxis:!0}),tn({allowedPlacements:[o]})]})}var xe=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},J=class extends xr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new xr.Debouncer,this.revealDebouncer=new xr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return is.html`
|
|
547
|
+
`;var Mi=["top","right","bottom","left"],Ui=["start","end"],Xo=Mi.reduce((e,t)=>e.concat(t,t+"-"+Ui[0],t+"-"+Ui[1]),[]),$i=Math.min,Wi=Math.max;var kl={left:"right",right:"left",bottom:"top",top:"bottom"},Dl={start:"end",end:"start"};function Jo(e,t,o){return Wi(e,$i(t,o))}function jr(e,t){return typeof e=="function"?e(t):e}function qt(e){return e.split("-")[0]}function ct(e){return e.split("-")[1]}function Qo(e){return e==="x"?"y":"x"}function en(e){return e==="y"?"height":"width"}function Vr(e){return["top","bottom"].includes(qt(e))?"y":"x"}function tn(e){return Qo(Vr(e))}function Hi(e,t,o){o===void 0&&(o=!1);let n=ct(e),a=tn(e),i=en(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=Yo(c)),[c,Yo(c)]}function Fi(e){return e.replace(/start|end/g,t=>Dl[t])}function Yo(e){return e.replace(/left|right|bottom|top/g,t=>kl[t])}function Bl(e){return{top:0,right:0,bottom:0,left:0,...e}}function zi(e){return typeof e!="number"?Bl(e):{top:e,right:e,bottom:e,left:e}}function Et(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function Gi(e,t,o){let{reference:n,floating:a}=e,i=Vr(t),c=tn(t),d=en(c),u=qt(t),p=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[d]/2-a[d]/2,S;switch(u){case"top":S={x:m,y:n.y-a.height};break;case"bottom":S={x:m,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:h};break;case"left":S={x:n.x-a.width,y:h};break;default:S={x:n.x,y:n.y}}switch(ct(t)){case"start":S[c]-=g*(o&&p?-1:1);break;case"end":S[c]+=g*(o&&p?-1:1);break}return S}var ji=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,d=i.filter(Boolean),u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:m,y:h}=Gi(p,n,u),g=n,S={},x=0;for(let O=0;O<d.length;O++){let{name:I,fn:R}=d[O],{x:N,y:k,data:B,reset:U}=await R({x:m,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:S,rects:p,platform:c,elements:{reference:e,floating:t}});m=N??m,h=k??h,S={...S,[I]:{...S[I],...B}},U&&x<=50&&(x++,typeof U=="object"&&(U.placement&&(g=U.placement),U.rects&&(p=U.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):U.rects),{x:m,y:h}=Gi(p,g,u)),O=-1)}return{x:m,y:h,placement:g,strategy:a,middlewareData:S}};async function rn(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:g=!1,padding:S=0}=jr(t,e),x=zi(S),I=d[g?h==="floating"?"reference":"floating":h],R=Et(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(I)))==null||o?I:I.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:p,rootBoundary:m,strategy:u})),N=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),B=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},U=Et(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:N,offsetParent:k,strategy:u}):N);return{top:(R.top-U.top+x.top)/B.y,bottom:(U.bottom-R.bottom+x.bottom)/B.y,left:(R.left-U.left+x.left)/B.x,right:(U.right-R.right+x.right)/B.x}}function Ul(e,t,o){return(e?[...o.filter(a=>ct(a)===e),...o.filter(a=>ct(a)!==e)]:o.filter(a=>qt(a)===a)).filter(a=>e?ct(a)===e||(t?Fi(a)!==a:!1):!0)}var on=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:m=!1,alignment:h,allowedPlacements:g=Xo,autoAlignment:S=!0,...x}=jr(e,t),O=h!==void 0||g===Xo?Ul(h||null,S,g):g,I=await rn(t,x),R=((o=c.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let k=Hi(N,i,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==N)return{reset:{placement:O[0]}};let B=[I[qt(N)],I[k[0]],I[k[1]]],U=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:B}],me=O[R+1];if(me)return{data:{index:R+1,overflows:U},reset:{placement:me}};let He=U.map(se=>{let y=ct(se.placement);return[se.placement,y&&m?se.overflows.slice(0,2).reduce((b,P)=>b+P,0):se.overflows[0],se.overflows]}).sort((se,y)=>se[1]-y[1]),Fe=((a=He.filter(se=>se[2].slice(0,ct(se[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||He[0][0];return Fe!==d?{data:{index:R+1,overflows:U},reset:{placement:Fe}}:{}}}};var nn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:I=>{let{x:R,y:N}=I;return{x:R,y:N}}},...u}=jr(e,t),p={x:o,y:n},m=await rn(t,u),h=Vr(qt(a)),g=Qo(h),S=p[g],x=p[h];if(i){let I=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=S+m[I],k=S-m[R];S=Jo(N,S,k)}if(c){let I=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=x+m[I],k=x-m[R];x=Jo(N,x,k)}let O=d.fn({...t,[g]:S,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[g]:i,[h]:c}}}}}};var an=Math.min,Yt=Math.max,gr=Math.round;var Xe=e=>({x:e,y:e});function Je(e){return Ki(e)?(e.nodeName||"").toLowerCase():"#document"}function be(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Qe(e){var t;return(t=(Ki(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ki(e){return e instanceof Node||e instanceof be(e).Node}function je(e){return e instanceof Element||e instanceof be(e).Element}function Pe(e){return e instanceof HTMLElement||e instanceof be(e).HTMLElement}function Vi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof be(e).ShadowRoot}function Xt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=Ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Zi(e){return["table","td","th"].includes(Je(e))}function Zr(e){let t=qr(),o=Ae(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function qi(e){let t=At(e);for(;Pe(t)&&!br(t);){if(Zr(t))return t;t=At(t)}return null}function qr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function br(e){return["html","body","#document"].includes(Je(e))}function Ae(e){return be(e).getComputedStyle(e)}function xr(e){return je(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function At(e){if(Je(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Vi(e)&&e.host||Qe(e);return Vi(t)?t.host:t}function Yi(e){let t=At(e);return br(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pe(t)&&Xt(t)?t:Yi(t)}function Kr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Yi(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),c=be(a);return i?t.concat(c,c.visualViewport||[],Xt(a)?a:[],c.frameElement&&o?Kr(c.frameElement):[]):t.concat(a,Kr(a,[],o))}function Qi(e){let t=Ae(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Pe(e),i=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=gr(o)!==i||gr(n)!==c;return d&&(o=i,n=c),{width:o,height:n,$:d}}function es(e){return je(e)?e:e.contextElement}function Jt(e){let t=es(e);if(!Pe(t))return Xe(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Qi(t),c=(i?gr(o.width):o.width)/n,d=(i?gr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Wl=Xe(0);function ts(e){let t=be(e);return!qr()||!t.visualViewport?Wl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Hl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==be(e)?!1:t}function vr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=es(e),c=Xe(1);t&&(n?je(n)&&(c=Jt(n)):c=Jt(e));let d=Hl(i,o,n)?ts(i):Xe(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,m=a.width/c.x,h=a.height/c.y;if(i){let g=be(i),S=n&&je(n)?be(n):n,x=g.frameElement;for(;x&&n&&S!==g;){let O=Jt(x),I=x.getBoundingClientRect(),R=Ae(x),N=I.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,k=I.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;u*=O.x,p*=O.y,m*=O.x,h*=O.y,u+=N,p+=k,x=be(x).frameElement}}return Et({width:m,height:h,x:u,y:p})}function Fl(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Pe(o),i=Qe(o);if(o===i)return t;let c={scrollLeft:0,scrollTop:0},d=Xe(1),u=Xe(0);if((a||!a&&n!=="fixed")&&((Je(o)!=="body"||Xt(i))&&(c=xr(o)),Pe(o))){let p=vr(o);d=Jt(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-c.scrollLeft*d.x+u.x,y:t.y*d.y-c.scrollTop*d.y+u.y}}function zl(e){return Array.from(e.getClientRects())}function rs(e){return vr(Qe(e)).left+xr(e).scrollLeft}function Gl(e){let t=Qe(e),o=xr(e),n=e.ownerDocument.body,a=Yt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Yt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+rs(e),d=-o.scrollTop;return Ae(n).direction==="rtl"&&(c+=Yt(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function jl(e,t){let o=be(e),n=Qe(e),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){i=a.width,c=a.height;let p=qr();(!p||p&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:i,height:c,x:d,y:u}}function Vl(e,t){let o=vr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Pe(e)?Jt(e):Xe(1),c=e.clientWidth*i.x,d=e.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:c,height:d,x:u,y:p}}function Xi(e,t,o){let n;if(t==="viewport")n=jl(e,o);else if(t==="document")n=Gl(Qe(e));else if(je(t))n=Vl(t,o);else{let a=ts(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Et(n)}function os(e,t){let o=At(e);return o===t||!je(o)||br(o)?!1:Ae(o).position==="fixed"||os(o,t)}function Kl(e,t){let o=t.get(e);if(o)return o;let n=Kr(e,[],!1).filter(d=>je(d)&&Je(d)!=="body"),a=null,i=Ae(e).position==="fixed",c=i?At(e):e;for(;je(c)&&!br(c);){let d=Ae(c),u=Zr(c);!u&&d.position==="fixed"&&(a=null),(i?!u&&!a:!u&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Xt(c)&&!u&&os(e,c))?n=n.filter(m=>m!==c):a=d,c=At(c)}return t.set(e,n),n}function Zl(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?Kl(t,this._c):[].concat(o),n],d=c[0],u=c.reduce((p,m)=>{let h=Xi(t,m,a);return p.top=Yt(h.top,p.top),p.right=an(h.right,p.right),p.bottom=an(h.bottom,p.bottom),p.left=Yt(h.left,p.left),p},Xi(t,d,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ql(e){return Qi(e)}function Yl(e,t,o){let n=Pe(t),a=Qe(t),i=o==="fixed",c=vr(e,!0,i,t),d={scrollLeft:0,scrollTop:0},u=Xe(0);if(n||!n&&!i)if((Je(t)!=="body"||Xt(a))&&(d=xr(t)),n){let p=vr(t,!0,i,t);u.x=p.x+t.clientLeft,u.y=p.y+t.clientTop}else a&&(u.x=rs(a));return{x:c.left+d.scrollLeft-u.x,y:c.top+d.scrollTop-u.y,width:c.width,height:c.height}}function Ji(e,t){return!Pe(e)||Ae(e).position==="fixed"?null:t?t(e):e.offsetParent}function ns(e,t){let o=be(e);if(!Pe(e))return o;let n=Ji(e,t);for(;n&&Zi(n)&&Ae(n).position==="static";)n=Ji(n,t);return n&&(Je(n)==="html"||Je(n)==="body"&&Ae(n).position==="static"&&!Zr(n))?o:n||qi(e)||o}var Xl=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||ns,i=this.getDimensions;return{reference:Yl(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Jl(e){return Ae(e).direction==="rtl"}var Yr={convertOffsetParentRelativeRectToViewportRelativeRect:Fl,getDocumentElement:Qe,getClippingRect:Zl,getOffsetParent:ns,getElementRects:Xl,getClientRects:zl,getDimensions:ql,getScale:Jt,isElement:je,isRTL:Jl};var as=(e,t,o)=>{let n=new Map,a={platform:Yr,...o},i={...a.platform,_c:n};return ji(e,t,{...a,platform:i})};function is(e){return Ql(e)}function sn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ql(e){for(let t=e;t;t=sn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=sn(e);t;t=sn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function ss(e,t,o){return as(e,t,{platform:{...Yr,getOffsetParent:n=>Yr.getOffsetParent(n,is)},middleware:[nn({crossAxis:!0}),on({allowedPlacements:[o]})]})}var xe=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},J=class extends Sr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Sr.Debouncer,this.revealDebouncer=new Sr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return cs.html`
|
|
548
548
|
<div part="container"
|
|
549
549
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
550
550
|
@mouseenter=${this.onHover}
|
|
@@ -562,14 +562,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
562
562
|
</div>
|
|
563
563
|
</div>
|
|
564
564
|
</div>
|
|
565
|
-
`}updated(
|
|
565
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=t,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ss(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};J.elementDefinitions={"ft-typography":Oe};J.styles=Bi;xe([(0,re.property)()],J.prototype,"text",void 0);xe([(0,re.property)({type:Boolean})],J.prototype,"manual",void 0);xe([(0,re.property)({type:Boolean})],J.prototype,"inline",void 0);xe([(0,re.property)({type:Number})],J.prototype,"delay",void 0);xe([(0,re.property)()],J.prototype,"position",void 0);xe([(0,re.queryAssignedNodes)()],J.prototype,"slotNodes",void 0);xe([(0,re.query)(".ft-tooltip--container")],J.prototype,"container",void 0);xe([(0,re.query)(".ft-tooltip")],J.prototype,"tooltip",void 0);xe([(0,re.query)(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);xe([(0,re.state)()],J.prototype,"visible",void 0);xe([(0,re.eventOptions)({passive:!0})],J.prototype,"onTouch",null);xe([(0,re.eventOptions)({passive:!0})],J.prototype,"onHover",null);xe([(0,re.eventOptions)({passive:!0})],J.prototype,"onOut",null);xe([(0,re.eventOptions)({passive:!0})],J.prototype,"onClick",null);(0,ls.customElement)("ft-tooltip")(J);var ps=v(_());var ds=v(H()),us=v(_());var wt=class extends us.FtLitElement{render(){return ds.html`
|
|
566
566
|
<div class="ft-loader">
|
|
567
567
|
<div></div>
|
|
568
568
|
<div></div>
|
|
569
569
|
<div></div>
|
|
570
570
|
<div></div>
|
|
571
571
|
</div>
|
|
572
|
-
`}};wt.styles=
|
|
572
|
+
`}};wt.styles=Ri;(0,ps.customElement)("ft-loader")(wt);var lt=v(H()),cn=v(sr()),oe=v(te()),de=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Z=class extends(0,dt.toFtFormComponent)(dt.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=lt.html`
|
|
573
573
|
<ft-ripple part="ripple"
|
|
574
574
|
?disabled=${this.isDisabled()}
|
|
575
575
|
?activated=${this.activated}
|
|
@@ -577,39 +577,39 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
577
577
|
<ft-typography part="label"
|
|
578
578
|
variant=${this.typographyVariant}
|
|
579
579
|
element="span"
|
|
580
|
-
class="ft-button--label ${
|
|
580
|
+
class="ft-button--label ${dt.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
581
581
|
?hidden=${!this.hasTextContent()}>
|
|
582
582
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
583
583
|
</ft-typography>
|
|
584
584
|
${this.resolveIcon()}
|
|
585
|
-
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?
|
|
585
|
+
`,i=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(i?lt.html`
|
|
586
586
|
<a href="${i}"
|
|
587
|
-
target="${(
|
|
587
|
+
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
588
588
|
part="button"
|
|
589
|
-
class="${(0,
|
|
589
|
+
class="${(0,cn.classMap)(this.buttonClasses)}"
|
|
590
590
|
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
591
591
|
?disabled=${this.isDisabled()}>
|
|
592
592
|
${a}
|
|
593
593
|
</a>
|
|
594
|
-
`:
|
|
594
|
+
`:lt.html`
|
|
595
595
|
<button part="button"
|
|
596
|
-
class="${(0,
|
|
596
|
+
class="${(0,cn.classMap)(this.buttonClasses)}"
|
|
597
597
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
598
598
|
?disabled=${this.isDisabled()}>
|
|
599
599
|
${a}
|
|
600
600
|
</button>
|
|
601
|
-
`)}addTooltipIfNeeded(
|
|
601
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?lt.html`
|
|
602
602
|
<ft-tooltip part="tooltip"
|
|
603
603
|
text="${this.getLabel()}"
|
|
604
604
|
position="${this.tooltipPosition}">
|
|
605
|
-
${
|
|
605
|
+
${t}
|
|
606
606
|
</ft-tooltip>
|
|
607
|
-
`:
|
|
608
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
607
|
+
`:t}resolveIcon(){return this.loading?lt.html`
|
|
608
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?lt.html`
|
|
609
609
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
610
|
-
`:
|
|
610
|
+
`:lt.html`
|
|
611
611
|
<slot part="icon" name="icon"></slot>
|
|
612
|
-
`}focus(){var
|
|
612
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}focusWithoutTooltip(){var t;this.setTooltipManual(!0),(t=this.button)===null||t===void 0||t.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(t,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,dt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Z.elementDefinitions={"ft-ripple":X,"ft-tooltip":J,"ft-typography":Oe,"ft-icon":ye,"ft-loader":wt};de([(0,oe.property)()],Z.prototype,"href",void 0);de([(0,oe.property)()],Z.prototype,"target",void 0);de([(0,oe.property)()],Z.prototype,"type",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"disabled",void 0);de([(0,oe.property)()],Z.prototype,"label",void 0);de([(0,oe.property)()],Z.prototype,"icon",void 0);de([(0,oe.property)()],Z.prototype,"iconVariant",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"trailingIcon",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"loading",void 0);de([(0,oe.property)({attribute:"aria-label"})],Z.prototype,"ariaLabel",void 0);de([(0,oe.property)()],Z.prototype,"tooltipPosition",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"hideTooltip",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"forceTooltip",void 0);de([(0,oe.property)({type:Boolean})],Z.prototype,"activated",void 0);de([(0,oe.query)(".ft-button")],Z.prototype,"button",void 0);de([(0,oe.query)(".ft-button--label slot")],Z.prototype,"slottedContent",void 0);de([(0,oe.query)("[part=tooltip]")],Z.prototype,"tooltip",void 0);var Xr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ke=class extends Z{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ke.styles=[fs.safariEllipsisFix,Li];Xr([(0,Cr.property)({type:Boolean})],ke.prototype,"primary",void 0);Xr([(0,Cr.property)({type:Boolean})],ke.prototype,"outlined",void 0);Xr([(0,Cr.property)({type:Boolean})],ke.prototype,"dense",void 0);Xr([(0,Cr.property)({type:Boolean})],ke.prototype,"round",void 0);var Or=v(te());var Qr=v(_());var hs=v(H()),C=v(_());var ed={...f,iconOnlyScale:C.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},ys=[hs.css`
|
|
613
613
|
:host {
|
|
614
614
|
display: inline-block;
|
|
615
615
|
max-width: 100%;
|
|
@@ -692,19 +692,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
.ft-button.ft-button--icon-only ft-icon {
|
|
695
|
-
transform: scale(${
|
|
695
|
+
transform: scale(${ed.iconOnlyScale});
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
/** Brand Primary styles **/
|
|
699
699
|
|
|
700
700
|
.ftds--family-brand.ft-button--primary {
|
|
701
|
-
${(0,
|
|
701
|
+
${(0,C.setVariable)(V.color,f.primaryBrandIconColor)};
|
|
702
702
|
|
|
703
|
-
${(0,
|
|
704
|
-
${(0,
|
|
705
|
-
${(0,
|
|
706
|
-
${(0,
|
|
707
|
-
${(0,
|
|
703
|
+
${(0,C.setVariable)(E.color,f.primaryBrandStateLayerColor)};
|
|
704
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.primaryBrandHoverStateLayerOpacity)};
|
|
705
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.primaryBrandFocusStateLayerOpacity)};
|
|
706
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.primaryBrandActiveStateLayerOpacity)};
|
|
707
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.primaryBrandActiveStateLayerOpacity)};
|
|
708
708
|
|
|
709
709
|
background-color: ${f.primaryBrandBackgroundColor};
|
|
710
710
|
color: ${f.primaryBrandColor};
|
|
@@ -722,13 +722,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
722
722
|
/** Brand Secondary styles **/
|
|
723
723
|
|
|
724
724
|
.ftds--family-brand.ft-button--secondary {
|
|
725
|
-
${(0,
|
|
725
|
+
${(0,C.setVariable)(V.color,f.secondaryBrandIconColor)};
|
|
726
726
|
|
|
727
|
-
${(0,
|
|
728
|
-
${(0,
|
|
729
|
-
${(0,
|
|
730
|
-
${(0,
|
|
731
|
-
${(0,
|
|
727
|
+
${(0,C.setVariable)(E.color,f.secondaryBrandStateLayerColor)};
|
|
728
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryBrandHoverStateLayerOpacity)};
|
|
729
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryBrandFocusStateLayerOpacity)};
|
|
730
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryBrandActiveStateLayerOpacity)};
|
|
731
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryBrandActiveStateLayerOpacity)};
|
|
732
732
|
|
|
733
733
|
background-color: ${f.secondaryBrandBackgroundColor};
|
|
734
734
|
color: ${f.secondaryBrandColor};
|
|
@@ -747,13 +747,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
747
747
|
/** Brand Tertiary styles **/
|
|
748
748
|
|
|
749
749
|
.ftds--family-brand.ft-button--tertiary {
|
|
750
|
-
${(0,
|
|
750
|
+
${(0,C.setVariable)(V.color,f.tertiaryBrandIconColor)};
|
|
751
751
|
|
|
752
|
-
${(0,
|
|
753
|
-
${(0,
|
|
754
|
-
${(0,
|
|
755
|
-
${(0,
|
|
756
|
-
${(0,
|
|
752
|
+
${(0,C.setVariable)(E.color,f.tertiaryBrandStateLayerColor)};
|
|
753
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryBrandHoverStateLayerOpacity)};
|
|
754
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryBrandFocusStateLayerOpacity)};
|
|
755
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
756
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryBrandActiveStateLayerOpacity)};
|
|
757
757
|
|
|
758
758
|
background-color: ${f.tertiaryBrandBackgroundColor};
|
|
759
759
|
color: ${f.tertiaryBrandColor};
|
|
@@ -771,13 +771,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
771
771
|
/** Neutral Secondary styles **/
|
|
772
772
|
|
|
773
773
|
.ftds--family-neutral.ft-button--secondary {
|
|
774
|
-
${(0,
|
|
774
|
+
${(0,C.setVariable)(V.color,f.secondaryNeutralIconColor)};
|
|
775
775
|
|
|
776
|
-
${(0,
|
|
777
|
-
${(0,
|
|
778
|
-
${(0,
|
|
779
|
-
${(0,
|
|
780
|
-
${(0,
|
|
776
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryNeutralStateLayerColor)};
|
|
777
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryNeutralHoverStateLayerOpacity)};
|
|
778
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryNeutralFocusStateLayerOpacity)};
|
|
779
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
780
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryNeutralActiveStateLayerOpacity)};
|
|
781
781
|
|
|
782
782
|
background-color: ${f.secondaryNeutralBackgroundColor};
|
|
783
783
|
color: ${f.secondaryNeutralColor};
|
|
@@ -796,13 +796,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
796
796
|
/** Neutral Tertiary styles **/
|
|
797
797
|
|
|
798
798
|
.ftds--family-neutral.ft-button--tertiary {
|
|
799
|
-
${(0,
|
|
799
|
+
${(0,C.setVariable)(V.color,f.tertiaryNeutralIconColor)};
|
|
800
800
|
|
|
801
|
-
${(0,
|
|
802
|
-
${(0,
|
|
803
|
-
${(0,
|
|
804
|
-
${(0,
|
|
805
|
-
${(0,
|
|
801
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryNeutralStateLayerColor)};
|
|
802
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryNeutralHoverStateLayerOpacity)};
|
|
803
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryNeutralFocusStateLayerOpacity)};
|
|
804
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
805
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryNeutralActiveStateLayerOpacity)};
|
|
806
806
|
|
|
807
807
|
background-color: ${f.tertiaryNeutralBackgroundColor};
|
|
808
808
|
color: ${f.tertiaryNeutralColor};
|
|
@@ -820,13 +820,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
820
820
|
/** Info Secondary styles **/
|
|
821
821
|
|
|
822
822
|
.ftds--family-info.ft-button--secondary {
|
|
823
|
-
${(0,
|
|
823
|
+
${(0,C.setVariable)(V.color,f.secondaryInfoIconColor)};
|
|
824
824
|
|
|
825
|
-
${(0,
|
|
826
|
-
${(0,
|
|
827
|
-
${(0,
|
|
828
|
-
${(0,
|
|
829
|
-
${(0,
|
|
825
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryInfoStateLayerColor)};
|
|
826
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryInfoHoverStateLayerOpacity)};
|
|
827
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryInfoFocusStateLayerOpacity)};
|
|
828
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryInfoActiveStateLayerOpacity)};
|
|
829
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryInfoActiveStateLayerOpacity)};
|
|
830
830
|
|
|
831
831
|
background-color: ${f.secondaryInfoBackgroundColor};
|
|
832
832
|
color: ${f.secondaryInfoColor};
|
|
@@ -845,13 +845,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
845
845
|
/** Info Tertiary styles **/
|
|
846
846
|
|
|
847
847
|
.ftds--family-info.ft-button--tertiary {
|
|
848
|
-
${(0,
|
|
848
|
+
${(0,C.setVariable)(V.color,f.tertiaryInfoIconColor)};
|
|
849
849
|
|
|
850
|
-
${(0,
|
|
851
|
-
${(0,
|
|
852
|
-
${(0,
|
|
853
|
-
${(0,
|
|
854
|
-
${(0,
|
|
850
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryInfoStateLayerColor)};
|
|
851
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryInfoHoverStateLayerOpacity)};
|
|
852
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryInfoFocusStateLayerOpacity)};
|
|
853
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
854
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryInfoActiveStateLayerOpacity)};
|
|
855
855
|
|
|
856
856
|
background-color: ${f.tertiaryInfoBackgroundColor};
|
|
857
857
|
color: ${f.tertiaryInfoColor};
|
|
@@ -869,13 +869,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
869
869
|
/** Success Secondary styles **/
|
|
870
870
|
|
|
871
871
|
.ftds--family-success.ft-button--secondary {
|
|
872
|
-
${(0,
|
|
872
|
+
${(0,C.setVariable)(V.color,f.secondarySuccessIconColor)};
|
|
873
873
|
|
|
874
|
-
${(0,
|
|
875
|
-
${(0,
|
|
876
|
-
${(0,
|
|
877
|
-
${(0,
|
|
878
|
-
${(0,
|
|
874
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondarySuccessStateLayerColor)};
|
|
875
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondarySuccessHoverStateLayerOpacity)};
|
|
876
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondarySuccessFocusStateLayerOpacity)};
|
|
877
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondarySuccessActiveStateLayerOpacity)};
|
|
878
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondarySuccessActiveStateLayerOpacity)};
|
|
879
879
|
|
|
880
880
|
background-color: ${f.secondarySuccessBackgroundColor};
|
|
881
881
|
color: ${f.secondarySuccessColor};
|
|
@@ -894,13 +894,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
894
894
|
/** Success Tertiary styles **/
|
|
895
895
|
|
|
896
896
|
.ftds--family-success.ft-button--tertiary {
|
|
897
|
-
${(0,
|
|
897
|
+
${(0,C.setVariable)(V.color,f.tertiarySuccessIconColor)};
|
|
898
898
|
|
|
899
|
-
${(0,
|
|
900
|
-
${(0,
|
|
901
|
-
${(0,
|
|
902
|
-
${(0,
|
|
903
|
-
${(0,
|
|
899
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiarySuccessStateLayerColor)};
|
|
900
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiarySuccessHoverStateLayerOpacity)};
|
|
901
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiarySuccessFocusStateLayerOpacity)};
|
|
902
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
903
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiarySuccessActiveStateLayerOpacity)};
|
|
904
904
|
|
|
905
905
|
background-color: ${f.tertiarySuccessBackgroundColor};
|
|
906
906
|
color: ${f.tertiarySuccessColor};
|
|
@@ -918,13 +918,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
918
918
|
/** Warning Secondary styles **/
|
|
919
919
|
|
|
920
920
|
.ftds--family-warning.ft-button--secondary {
|
|
921
|
-
${(0,
|
|
921
|
+
${(0,C.setVariable)(V.color,f.secondaryWarningIconColor)};
|
|
922
922
|
|
|
923
|
-
${(0,
|
|
924
|
-
${(0,
|
|
925
|
-
${(0,
|
|
926
|
-
${(0,
|
|
927
|
-
${(0,
|
|
923
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryWarningStateLayerColor)};
|
|
924
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryWarningHoverStateLayerOpacity)};
|
|
925
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryWarningFocusStateLayerOpacity)};
|
|
926
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryWarningActiveStateLayerOpacity)};
|
|
927
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryWarningActiveStateLayerOpacity)};
|
|
928
928
|
|
|
929
929
|
background-color: ${f.secondaryWarningBackgroundColor};
|
|
930
930
|
color: ${f.secondaryWarningColor};
|
|
@@ -943,13 +943,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
943
943
|
/** Warning Tertiary styles **/
|
|
944
944
|
|
|
945
945
|
.ftds--family-warning.ft-button--tertiary {
|
|
946
|
-
${(0,
|
|
946
|
+
${(0,C.setVariable)(V.color,f.tertiaryWarningIconColor)};
|
|
947
947
|
|
|
948
|
-
${(0,
|
|
949
|
-
${(0,
|
|
950
|
-
${(0,
|
|
951
|
-
${(0,
|
|
952
|
-
${(0,
|
|
948
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryWarningStateLayerColor)};
|
|
949
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryWarningHoverStateLayerOpacity)};
|
|
950
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryWarningFocusStateLayerOpacity)};
|
|
951
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
952
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryWarningActiveStateLayerOpacity)};
|
|
953
953
|
|
|
954
954
|
background-color: ${f.tertiaryWarningBackgroundColor};
|
|
955
955
|
color: ${f.tertiaryWarningColor};
|
|
@@ -967,13 +967,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
967
967
|
/** Error Secondary styles **/
|
|
968
968
|
|
|
969
969
|
.ftds--family-error.ft-button--secondary {
|
|
970
|
-
${(0,
|
|
970
|
+
${(0,C.setVariable)(V.color,f.secondaryErrorIconColor)};
|
|
971
971
|
|
|
972
|
-
${(0,
|
|
973
|
-
${(0,
|
|
974
|
-
${(0,
|
|
975
|
-
${(0,
|
|
976
|
-
${(0,
|
|
972
|
+
${(0,C.setVariable)(E.backgroundColor,f.secondaryErrorStateLayerColor)};
|
|
973
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.secondaryErrorHoverStateLayerOpacity)};
|
|
974
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.secondaryErrorFocusStateLayerOpacity)};
|
|
975
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.secondaryErrorActiveStateLayerOpacity)};
|
|
976
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.secondaryErrorActiveStateLayerOpacity)};
|
|
977
977
|
|
|
978
978
|
background-color: ${f.secondaryErrorBackgroundColor};
|
|
979
979
|
color: ${f.secondaryErrorColor};
|
|
@@ -992,13 +992,13 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
992
992
|
/** Error Tertiary styles **/
|
|
993
993
|
|
|
994
994
|
.ftds--family-error.ft-button--tertiary {
|
|
995
|
-
${(0,
|
|
995
|
+
${(0,C.setVariable)(V.color,f.tertiaryErrorIconColor)};
|
|
996
996
|
|
|
997
|
-
${(0,
|
|
998
|
-
${(0,
|
|
999
|
-
${(0,
|
|
1000
|
-
${(0,
|
|
1001
|
-
${(0,
|
|
997
|
+
${(0,C.setVariable)(E.backgroundColor,f.tertiaryErrorStateLayerColor)};
|
|
998
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceHover,f.tertiaryErrorHoverStateLayerOpacity)};
|
|
999
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceFocused,f.tertiaryErrorFocusStateLayerOpacity)};
|
|
1000
|
+
${(0,C.setVariable)(E.opacityContentOnSurfaceSelected,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1001
|
+
${(0,C.setVariable)(E.opacityContentOnSurfacePressed,f.tertiaryErrorActiveStateLayerOpacity)};
|
|
1002
1002
|
|
|
1003
1003
|
background-color: ${f.tertiaryErrorBackgroundColor};
|
|
1004
1004
|
color: ${f.tertiaryErrorColor};
|
|
@@ -1016,8 +1016,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1016
1016
|
/** Large styles **/
|
|
1017
1017
|
|
|
1018
1018
|
.ftds--size-large {
|
|
1019
|
-
${(0,
|
|
1020
|
-
${(0,
|
|
1019
|
+
${(0,C.setVariable)(he.size,f.largeIconSize)};
|
|
1020
|
+
${(0,C.setVariable)(V.size,f.largeIconSize)};
|
|
1021
1021
|
|
|
1022
1022
|
height: ${f.largeHeight};
|
|
1023
1023
|
padding: 0 ${f.largeHorizontalPadding};
|
|
@@ -1038,8 +1038,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1038
1038
|
/** Small styles **/
|
|
1039
1039
|
|
|
1040
1040
|
.ftds--size-medium {
|
|
1041
|
-
${(0,
|
|
1042
|
-
${(0,
|
|
1041
|
+
${(0,C.setVariable)(he.size,f.mediumIconSize)};
|
|
1042
|
+
${(0,C.setVariable)(V.size,f.mediumIconSize)};
|
|
1043
1043
|
|
|
1044
1044
|
height: ${f.mediumHeight};
|
|
1045
1045
|
padding: 0 ${f.mediumHorizontalPadding};
|
|
@@ -1061,8 +1061,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1061
1061
|
/** Small styles **/
|
|
1062
1062
|
|
|
1063
1063
|
.ftds--size-small {
|
|
1064
|
-
${(0,
|
|
1065
|
-
${(0,
|
|
1064
|
+
${(0,C.setVariable)(he.size,f.smallIconSize)};
|
|
1065
|
+
${(0,C.setVariable)(V.size,f.smallIconSize)};
|
|
1066
1066
|
|
|
1067
1067
|
height: ${f.smallHeight};
|
|
1068
1068
|
padding: 0 ${f.smallHorizontalPadding};
|
|
@@ -1079,7 +1079,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1079
1079
|
.ftds--size-small.ft-button--icon-only {
|
|
1080
1080
|
width: ${f.smallIconOnlyWidth};
|
|
1081
1081
|
}
|
|
1082
|
-
`,
|
|
1082
|
+
`,C.noTextSelect];var Jr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},et=class extends(0,Qr.toFtdsBase)(Z){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Wr.brand,this.iconVariant=Ee.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Mt.large:return at.body2medium;case Mt.medium:return at.caption1medium;case Mt.small:return at.caption2medium}}};et.styles=[Qr.safariEllipsisFix,ys];Jr([(0,Or.property)({type:Boolean})],et.prototype,"primary",void 0);Jr([(0,Or.property)({type:Boolean})],et.prototype,"secondary",void 0);Jr([(0,Or.property)({type:Boolean})],et.prototype,"tertiary",void 0);Jr([(0,Or.property)({type:Boolean})],et.prototype,"round",void 0);(0,ln.customElement)("ft-button")(ke);(0,ln.customElement)("ftds-button")(et);var xs=v(_());var bs=v(H()),Rt=v(te()),eo=v(_());var ve;(function(e){e.S="S",e.M="M",e.L="L",e.XL="XL",e.XXL="XXL"})(ve||(ve={}));var ms=v(H());var gs=ms.css`
|
|
1083
1083
|
.ft-size-watcher--pixel {
|
|
1084
1084
|
width: 0;
|
|
1085
1085
|
height: 0;
|
|
@@ -1098,25 +1098,25 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1098
1098
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
1099
1099
|
width: 100%;
|
|
1100
1100
|
}
|
|
1101
|
-
`;var
|
|
1101
|
+
`;var Er=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},dn=class extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}},we=class extends eo.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=ve.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new eo.Debouncer}render(){return bs.html`
|
|
1102
1102
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
1103
1103
|
<div class="ft-size-watcher--watcher"></div>
|
|
1104
1104
|
</div>
|
|
1105
|
-
`}contentAvailableCallback(
|
|
1105
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=ve.S:this.size<976?this.category=ve.M:this.size<1024?this.category=ve.L:this.size<1440?this.category=ve.XL:this.category=ve.XXL,this.dispatchEvent(new dn(this.size,this.category)))},this.debounceTimeout)}};we.elementDefinitions={};we.styles=gs;Er([(0,Rt.property)({type:Number})],we.prototype,"debounceTimeout",void 0);Er([(0,Rt.property)({type:Boolean})],we.prototype,"local",void 0);Er([(0,Rt.property)({type:Number,reflect:!0})],we.prototype,"size",void 0);Er([(0,Rt.property)({type:String,reflect:!0})],we.prototype,"category",void 0);Er([(0,Rt.query)(".ft-size-watcher--watcher")],we.prototype,"watcher",void 0);(0,xs.customElement)("ft-size-watcher")(we);var vs=v(H()),W=v(_());var ie={tabulationSize:W.FtCssVariableFactory.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:W.FtCssVariableFactory.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:W.FtCssVariableFactory.extend("--ft-reader-toc-text-color","",W.designSystemVariables.colorOnSurface),hoverColor:W.FtCssVariableFactory.extend("--ft-reader-toc-hover-color","",W.designSystemVariables.colorPrimary),highlightedTextColor:W.FtCssVariableFactory.extend("--ft-reader-toc-highlighted-text-color","",W.designSystemVariables.colorPrimary),highlightedFontWeight:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:W.FtCssVariableFactory.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-tree-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),leafNodeIconColor:W.FtCssVariableFactory.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",W.designSystemVariables.colorPrimary),nodeButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-node-button-background-color","","COLOR",W.designSystemVariables.colorSurface),expandCollapseAllButtonColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",W.designSystemVariables.colorPrimary),expandCollapseAllButtonBackgroundColor:W.FtCssVariableFactory.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",W.designSystemVariables.colorSurface)},Ss=vs.css`
|
|
1106
1106
|
.ft-reader-toc {
|
|
1107
|
-
color: ${
|
|
1107
|
+
color: ${ie.textColor};
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
1110
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
1111
|
-
background-color: ${
|
|
1112
|
-
color: ${
|
|
1113
|
-
${(0,W.setVariable)(T.fontWeight,
|
|
1111
|
+
background-color: ${ie.highlightedBackgroundColor};
|
|
1112
|
+
color: ${ie.highlightedTextColor};
|
|
1113
|
+
${(0,W.setVariable)(T.fontWeight,ie.highlightedFontWeight)}
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
1116
|
.ft-reader-toc--link-container {
|
|
1117
1117
|
display: flex;
|
|
1118
1118
|
gap: 4px;
|
|
1119
|
-
padding: ${
|
|
1119
|
+
padding: ${ie.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
1120
1120
|
align-items: center;
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
@@ -1124,26 +1124,26 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1124
1124
|
display: flex;
|
|
1125
1125
|
|
|
1126
1126
|
&:hover {
|
|
1127
|
-
color: ${
|
|
1127
|
+
color: ${ie.hoverColor};
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
ft-button {
|
|
1132
|
-
${(0,W.setVariable)(
|
|
1132
|
+
${(0,W.setVariable)(K.iconSize,ie.iconFontSize)};
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
1135
|
[part="leaf-node-icon"] {
|
|
1136
|
-
color: ${
|
|
1136
|
+
color: ${ie.leafNodeIconColor};
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
1139
|
.ft-reader-toc--tree-node-button {
|
|
1140
|
-
${(0,W.setVariable)(
|
|
1141
|
-
${(0,W.setVariable)(
|
|
1140
|
+
${(0,W.setVariable)(K.color,ie.treeNodeIconColor)};
|
|
1141
|
+
${(0,W.setVariable)(K.backgroundColor,ie.nodeButtonBackgroundColor)};
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
1144
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1145
|
-
${(0,W.setVariable)(
|
|
1146
|
-
${(0,W.setVariable)(
|
|
1145
|
+
${(0,W.setVariable)(K.color,ie.expandCollapseAllButtonColor)};
|
|
1146
|
+
${(0,W.setVariable)(K.backgroundColor,ie.expandCollapseAllButtonBackgroundColor)};
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
1149
|
.ft-reader-toc--toggle-container {
|
|
@@ -1151,11 +1151,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
1154
|
-
width: calc(${
|
|
1154
|
+
width: calc(${ie.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
1157
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
1158
|
-
width: calc(${
|
|
1158
|
+
width: calc(${ie.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -1163,11 +1163,11 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
1165
|
.ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
|
|
1166
|
-
width: calc(${
|
|
1166
|
+
width: calc(${ie.iconFontSize} + 12px);
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
1169
|
.ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
|
|
1170
|
-
width: calc(${
|
|
1170
|
+
width: calc(${ie.iconFontSize} + 4px);
|
|
1171
1171
|
}
|
|
1172
1172
|
|
|
1173
1173
|
.ft-reader-toc-expand-collapse-all-container {
|
|
@@ -1186,7 +1186,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1186
1186
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1187
1187
|
flex-grow: 1;
|
|
1188
1188
|
}
|
|
1189
|
-
`;var
|
|
1189
|
+
`;var ws=v(_());var Es=v(H()),As=v(_());var Cs=v(H()),De=v(_()),Se={display:De.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:De.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:De.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:De.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:De.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:De.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:De.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:De.FtCssVariableFactory.external(De.designSystemVariables.borderRadiusM,"Design system")},Os=Cs.css`
|
|
1190
1190
|
:host {
|
|
1191
1191
|
width: ${Se.width};
|
|
1192
1192
|
height: ${Se.height};
|
|
@@ -1213,80 +1213,80 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1213
1213
|
background-position: calc(100vw + ${Se.glareWidth}) 0, calc(${Se.glareWidth} * -1) 0;
|
|
1214
1214
|
}
|
|
1215
1215
|
}
|
|
1216
|
-
`;var
|
|
1217
|
-
`}};
|
|
1218
|
-
`;var
|
|
1219
|
-
`;var eo=v(L()),Jl="ft-app-info",Rt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:r})}};Rt.eventName="authentication-change";var Ql={session:(e,r)=>{(0,eo.deepEqual)(e.session,r.payload)||(e.session=r.payload,setTimeout(()=>P.dispatchEvent(new Rt(r.payload)),0))}},P=eo.FtReduxStore.get({name:Jl,reducers:Ql,initialState:{baseUrl:void 0,apiIntegrationIdentifier: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}});var ln=v(L());var Nt=class e{static get(r){let{baseUrl:o,apiIntegrationIdentifier:n}=P.getState(),a=r??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(r){return new Promise(o=>{let n=e.get(r);if(n)o(n);else{let a=P.subscribe(()=>{n=e.get(r),n&&(a(),o(n))})}})}};var Cr=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 dt=class extends Cr{constructor(r=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ln.CacheRegistry,this.cache=r?a.commonCache:new ln.CacheRegistry}clearCache(){this.cache.clearAll()}};var to=class extends dt{async listMyBookmarks(){let r=P.getState().session;return r?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(r.profile.userId),5*60*1e3):[]}};var dn=class{addCommand(r,o=!1){P.commands.add(r,o)}consumeCommand(r){return P.commands.consume(r)}};window.FluidTopicsAppInfoStoreService=new dn;var Ge=v(L());var Ts,ed=Symbol("clearAfterUnitTest"),ro=class extends dt{constructor(r){super(),this.messageContextProvider=r,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ts]=()=>{this.defaultMessages={},this.cache=new Ge.CacheRegistry,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:r}=P.getState();this.currentUiLocale!==r&&(this.currentUiLocale=r,this.cache.clearAll(),this.notifyAll())}addContext(r){let o=r.name.toLowerCase();this.cache.setFinal(o,r),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(r,o){var n;if(r=r.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[r])!==null&&n!==void 0?n:{},...o};(0,Ge.deepEqual)(this.defaultMessages[r],a)||(this.defaultMessages[r]=a,await this.notify(r))}return this.fetchContext(r)}resolveContext(r){var o,n;return this.fetchContext(r),(n=(o=this.cache.getNow(r))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(r,o){let n=r.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(r,o,...n){var a;let i=r.toLowerCase(),c=this.resolveContext(i);return new Ge.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(r){let o=!this.cache.has(r),n;try{n=await this.cache.get(r,()=>this.messageContextProvider(this.currentUiLocale,r)),o&&await this.notify(r)}catch(a){!(a instanceof Ge.CanceledPromiseError)&&o&&console.error(a)}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 a;return(a=this.listeners[r])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(r=>this.notify(r)))}async notify(r){this.listeners[r]!=null&&await Promise.all([...this.listeners[r].values()].map(o=>(0,Ge.delay)(0).then(()=>o()).catch(()=>null)))}};Ts=ed;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends ro{constructor(){super(async(e,r)=>(await this.awaitApi).getFluidTopicsMessageContext(e,r))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends ro{constructor(){super(async(e,r)=>(await this.awaitApi).getCustomMessageContext(e,r))}});var Xt=window.FluidTopicsI18nService,oo=window.FluidTopicsCustomI18nService;var Is=v(L()),pn=class{highlightHtml(r,o,n){(0,Is.highlightHtml)(r,o,n)}};window.FluidTopicsHighlightHtmlService=new pn;var rd=v(_s(),1);var Ps;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ps||(Ps={}));var ks;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ks||(ks={}));var Ds;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Ds||(Ds={}));var Bs;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Bs||(Bs={}));var Us;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Us||(Us={}));var Ms;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ms||(Ms={}));var $s;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})($s||($s={}));var Ws;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ws||(Ws={}));var Hs;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Hs||(Hs={}));var Fs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Fs||(Fs={}));var zs;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(zs||(zs={}));var Gs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Gs||(Gs={}));var js;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(js||(js={}));var Vs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Vs||(Vs={}));var Ks;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ks||(Ks={}));var Zs;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Zs||(Zs={}));var qs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(qs||(qs={}));var Ys;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ys||(Ys={}));var Xs;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Xs||(Xs={}));var Js;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Js||(Js={}));var Qs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Qs||(Qs={}));var ec;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(ec||(ec={}));var tc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(tc||(tc={}));var ne;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ne||(ne={}));var rc;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(rc||(rc={}));var oc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(oc||(oc={}));var nc;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(nc||(nc={}));var ac;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ac||(ac={}));var td={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN],[ne.GENERATIVE_AI_EXPORT_USER]:[ne.GENERATIVE_AI_USER]};function ic(e,r){return e===r||(td[e]??[]).some(o=>ic(o,r))}function sc(e,r){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>ic(n,r))}var io=class extends dt{async listMySearches(){let{session:r}=P.getState();return sc(r,ne.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(r.profile.userId),5*60*1e3):[]}};var cc=v(L());var un=class{isDate(r){var o,n,a,i;return(i=(a=((n=(o=P.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===r))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(r,o){var n,a,i;return cc.DateFormatter.format(r,(n=o?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new un;var lc=v(L());var Er=class{static get(r,o){var n,a,i,c;let d=P.getState(),{lang:p,region:u}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new lc.SearchPlaceConverter(d.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},r??20,d.searchInAllLanguagesAllowed,o??`${p}-${u}`)}};var fn=class{urlToSearchRequest(r){return Er.get().parse(r)}searchRequestToUrl(r){return Er.get().serialize(r)}};window.FluidTopicsUrlService=new fn;var ut=v(L());var Tt=class e extends CustomEvent{constructor(r){super(e.eventName,{detail:{currentItem:r}})}};Tt.eventName="change";var hn=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))}},dc=new hn;var so=class e extends ut.WithEventBus{static build(){return new e(window.history,dc,()=>window.location,!1)}constructor(r,o,n,a){var i,c;super(),this.history=r,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=r.pushState,this.realReplaceState=r.replaceState,this.initialIndex=(c=(i=r.state)===null||i===void 0?void 0:i.index)!==null&&c!==void 0?c:r.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}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,ut.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Tt(this.currentItem())),0)}installProxies(){let r=o=>(n,a,[i,c,d])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...i,index:p,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[u,c,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(Tt.eventName,r)}removeHistoryChangeListener(r){this.removeEventListener(Tt.eventName,r)}currentItem(){return(0,ut.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,ut.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,ut.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 a=r,i=r+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}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 a=o??this.currentState.majorStateId,i=(n=this.states[r])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=so.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var de=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Y=class extends De.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Nt.get(),this.messageContexts=[],this.cache=new De.CacheRegistry,this.cleanSessionDebouncer=new De.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return pc.html`
|
|
1216
|
+
`;var ut=class extends As.FtLitElement{render(){return Es.html`
|
|
1217
|
+
`}};ut.elementDefinitions={};ut.styles=Os;(0,ws.customElement)("ft-skeleton")(ut);var hl=v(_());var To=v(H()),Io=v(te()),Lo=v(_());var Rs=v(H());var Ns=Rs.css`
|
|
1218
|
+
`;var Ro=v(_());var sl=v(_());var hc=v(H()),ue=v(te()),Ue=v(_());var Ts=v(H());var Is=Ts.css`
|
|
1219
|
+
`;var to=v(_()),td="ft-app-info",Nt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Nt.eventName="authentication-change";var rd={session:(e,t)=>{(0,to.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>L.dispatchEvent(new Nt(t.payload)),0))}},L=to.FtReduxStore.get({name:td,reducers:rd,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 un=v(_());var Tt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=L.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var ro=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Tt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Tt.await()}};var Be=class extends ro{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(i,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new un.CacheRegistry,this.cache=t?a.commonCache:new un.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var oo=class extends Be{async listMyBookmarks(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var pn=class{addCommand(t,o=!1){L.commands.add(t,o)}consumeCommand(t){return L.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new pn;var Ve=v(_());var Ls,od=Symbol("clearAfterUnitTest"),no=class extends Be{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ls]=()=>{this.defaultMessages={},this.cache=new Ve.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=L.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,Ve.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let i=t.toLowerCase(),c=this.resolveContext(i);return new Ve.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof Ve.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,Ve.delay)(0).then(()=>o()).catch(()=>null)))}};Ls=od;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends no{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends no{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Qt=window.FluidTopicsI18nService,ao=window.FluidTopicsCustomI18nService;var _s=v(_()),fn=class{highlightHtml(t,o,n){(0,_s.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new fn;var ad=v(ks(),1);var Ds;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ds||(Ds={}));var Bs;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Bs||(Bs={}));var Us;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Us||(Us={}));var Ms;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.MAP_ATTACHMENT="MAP_ATTACHMENT",e.RESOURCE="RESOURCE"})(Ms||(Ms={}));var $s;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})($s||($s={}));var Ws;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ws||(Ws={}));var Hs;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",e.GEN_AI__RATE="GEN_AI__RATE",e.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",e.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__DISPLAY="TOPIC__DISPLAY",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Hs||(Hs={}));var Fs;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Fs||(Fs={}));var zs;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(zs||(zs={}));var Gs;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Gs||(Gs={}));var js;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(js||(js={}));var Vs;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Vs||(Vs={}));var Ks;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ks||(Ks={}));var Zs;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Zs||(Zs={}));var qs;(function(e){e.ASC="ASC",e.DESC="DESC"})(qs||(qs={}));var Ys;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ys||(Ys={}));var Xs;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Xs||(Xs={}));var Js;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Js||(Js={}));var Qs;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Qs||(Qs={}));var ec;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(ec||(ec={}));var tc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(tc||(tc={}));var rc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(rc||(rc={}));var oc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(oc||(oc={}));var ne;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(ne||(ne={}));var It;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(It||(It={}));var nc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(nc||(nc={}));var ac;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ac||(ac={}));var ic;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ic||(ic={}));var nd={[ne.PERSONAL_BOOK_SHARE_USER]:[ne.PERSONAL_BOOK_USER],[ne.HTML_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.PDF_EXPORT_USER]:[ne.PERSONAL_BOOK_USER],[ne.KHUB_ADMIN]:[ne.CONTENT_PUBLISHER],[ne.ADMIN]:[ne.KHUB_ADMIN,ne.USERS_ADMIN,ne.PORTAL_ADMIN],[ne.GENERATIVE_AI_EXPORT_USER]:[ne.GENERATIVE_AI_USER]};function sc(e,t){return e===t||(nd[e]??[]).some(o=>sc(o,t))}function cc(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>sc(n,t))}var co=class extends Be{async listMySearches(){let{session:t}=L.getState();return cc(t,ne.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var lc=v(_());var hn=class{isDate(t){var o,n,a,i;return(i=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(t,o){var n,a,i;return lc.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new hn;var dc=v(_());var Ar=class{static get(t,o){var n,a,i,c;let d=L.getState(),{lang:u,region:p}=(a=(n=d.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new dc.SearchPlaceConverter(d.baseUrl,(c=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&c!==void 0?c:{},t??20,d.searchInAllLanguagesAllowed,o??`${u}-${p}`)}};var yn=class{urlToSearchRequest(t){return Ar.get().parse(t)}searchRequestToUrl(t){return Ar.get().serialize(t)}};window.FluidTopicsUrlService=new yn;var ft=v(_());var Lt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};Lt.eventName="change";var mn=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},uc=new mn;var lo=class e extends ft.WithEventBus{static build(){return new e(window.history,uc,()=>window.location,!1)}constructor(t,o,n,a){var i,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(i=t.state)===null||i===void 0?void 0:i.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},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,ft.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Lt(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[i,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...i,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.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(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(t){this.addEventListener(Lt.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(Lt.eventName,t)}currentItem(){return(0,ft.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,ft.deepCopy)(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,ft.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,i=t+1;for(;this.states.length>i&&!this.isDifferentMajorState(i,n);)this.hasState(i)&&(a=i),i++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,i=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return i==null||i!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=lo.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e)});var pc=L;function fc(e,t){var o;return pc.getState().authenticationRequired&&!(!((o=pc.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(t):e()}var ae=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},G=class extends Ue.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=()=>Tt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new Ue.CacheRegistry,this.cleanSessionDebouncer=new Ue.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return hc.html`
|
|
1220
1220
|
<slot></slot>
|
|
1221
|
-
`}connectedCallback(){super.connectedCallback(),P.addEventListener(Rt.eventName,this.reloadConfiguration)}disconnectedCallback(){P.addEventListener(Rt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(r){var o,n,a,i,c,d,p;super.update(r),r.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),r.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),r.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),r.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),r.has("noCustom")&&P.actions.noCustom(this.noCustom),r.has("editorMode")&&P.actions.editorMode(this.editorMode),r.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),r.has("session")&&P.actions.session(this.session),r.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Xt.addContext(u)),r.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),r.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),r.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),r.has("localesConfiguration")&&(P.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),P.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),P.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),r.has("availableContentLocales")&&P.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",()=>this.apiProvider().getAvailableSearchLocales())}};Y.elementDefinitions={};Y.styles=Ns;de([(0,ye.property)()],Y.prototype,"baseUrl",void 0);de([(0,ye.property)()],Y.prototype,"apiIntegrationIdentifier",void 0);de([(0,ye.property)()],Y.prototype,"uiLocale",void 0);de([(0,De.jsonProperty)(null)],Y.prototype,"availableUiLocales",void 0);de([(0,De.jsonProperty)(null)],Y.prototype,"metadataConfiguration",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"editorMode",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"noCustom",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"openExternalDocumentInNewTab",void 0);de([(0,ye.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Y.prototype,"noCustomComponent",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"withManualResources",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"navigatorOnline",void 0);de([(0,ye.property)({type:Boolean})],Y.prototype,"forcedOffline",void 0);de([(0,ye.property)({type:Object})],Y.prototype,"apiProvider",void 0);de([(0,De.jsonProperty)([])],Y.prototype,"messageContexts",void 0);de([(0,De.jsonProperty)(void 0)],Y.prototype,"session",void 0);de([(0,ye.state)()],Y.prototype,"localesConfiguration",void 0);de([(0,ye.state)()],Y.prototype,"availableContentLocales",void 0);var zd=v(te());function od(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=r.length)return!1;for(n=o;n--!==0;)if(!co(e[n],r[n]))return!1;return!0}if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;for(n of e.entries())if(!co(n[1],r.get(n[0])))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(n of e.entries())if(!r.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();let i=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=i(e),o=a.length,o!==i(r).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!co(e[c],r[c]))return!1}return!0}return e!==e&&r!==r||e==null&&r==null}function co(e,r){try{return od(e,r)}catch{return!1}}function lo(e,r){return!co(e,r)}var nd=v(te(),1);var po=class{constructor(){this.queue=[]}add(r,o=!1){o&&this.clear(r.type),this.queue.push(r)}consume(r){let o=this.queue.find(n=>n.type===r);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(r){typeof r=="string"?this.queue=this.queue.filter(o=>o.type!==r):this.queue=this.queue.filter(o=>!r.test(o.type))}};var Qt=v(te(),1);var uc=v(te(),1);function fc(e,r){let o=()=>JSON.parse(JSON.stringify(e));return(0,uc.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:lo,...r??{}})}var uo=class{constructor(r=0){this.timeout=r,this.callbacks=[]}run(r,o){return this.callbacks=[r],this.debounce(o)}queue(r,o){return this.callbacks.push(r),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(r){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),r??this.timeout),this.promise}async runCallbacks(){var r,o;let n=[...this.callbacks];this.callbacks=[];let a=(r=this.rejectPromise)!==null&&r!==void 0?r:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var yc=v(H(),1);var fo=globalThis,ad=fo.ShadowRoot&&(fo.ShadyCSS===void 0||fo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ix=Symbol();var hc=(e,r)=>{if(ad)e.adoptedStyleSheets=r.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of r){let n=document.createElement("style"),a=fo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var ho=class extends yc.LitElement{createRenderRoot(){let r=this.constructor;r.elementDefinitions&&!r.registry&&(r.registry=new CustomElementRegistry,Object.entries(r.elementDefinitions).forEach(([a,i])=>r.registry.define(a,i)));let o={...r.shadowRootOptions,customElements:r.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return hc(n,r.elementStyles),n}};function mc(e,r,...o){var n;let a=e.querySelector(r);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var wr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},vc,gc=Symbol("constructorPrototype"),bc=Symbol("constructorName"),Sc=Symbol("exportpartsDebouncer"),xc=Symbol("dynamicDependenciesLoaded"),Qe=class extends ho{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[vc]=new uo(5),this[bc]=this.constructor.name,this[gc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bc]&&Object.setPrototypeOf(this,this[gc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let r=this.constructor;r[xc]||(r[xc]=!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:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=mc(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(r){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(r.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var r,o,n;(!((r=this.exportpartsPrefix)===null||r===void 0)&&r.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Sc].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(r){var o,n,a,i,c,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 m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...x).filter(p).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>u.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};vc=Sc;wr([(0,Qt.property)()],Qe.prototype,"exportpartsPrefix",void 0);wr([fc([])],Qe.prototype,"exportpartsPrefixes",void 0);wr([(0,Qt.property)()],Qe.prototype,"customStylesheet",void 0);wr([(0,Qt.property)()],Qe.prototype,"elementToFocus",void 0);wr([(0,Qt.state)()],Qe.prototype,"useAdoptedStyleSheets",void 0);function Ar(e){var r;return(r=e?.isFtReduxStore)!==null&&r!==void 0?r:!1}var Oc,Cc,Ec,Rr=Symbol("internalReduxEventsUnsubscribers"),ft=Symbol("internalStoresUnsubscribers"),It=Symbol("internalStores"),Nr=class extends Qe{constructor(){super(...arguments),this[Oc]=new Map,this[Cc]=new Map,this[Ec]=new Map}get reduxConstructor(){return this.constructor}update(r){super.update(r),[...this.reduxConstructor.reduxReactiveProperties].some(o=>r.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[It].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[It].values()][0]}getStore(r){return r==null?this.getUnnamedStore():this[It].get(r)}addStore(r,o){var n;o=(n=o??(Ar(r)?r.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[It].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}removeStore(r){let o=typeof r=="string"?r:r.name;this.unsubscribeFromStore(o),this[It].delete(o)}setupStores(){this.unsubscribeFromStores(),this[It].forEach((r,o)=>this.subscribeToStore(o,r)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((r,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(r.store);a&&(r.store?this[ft].has(r.store):this[ft].size>0)&&(this[o]=r.selector(a.getState(),this))}})}subscribeToStore(r,o){var n;this[ft].set(r,o.subscribe(()=>this.updateFromStores())),this[Rr].set(r,[]),Ar(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.addEventListener(a.eventName,c),this[Rr].get(r).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(r)}unsubscribeFromStores(){this[ft].forEach((r,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(r){var o;this[ft].has(r)&&this[ft].get(r)(),this[ft].delete(r),(o=this[Rr].get(r))===null||o===void 0||o.forEach(n=>n()),this[Rr].delete(r)}onStoreAvailable(r){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Oc=ft,Cc=It,Ec=Rr;Nr.reduxProperties=new Map;Nr.reduxReactiveProperties=new Set;Nr.reduxEventListeners=new Map;function Te(e){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function et(e){return!!e&&!!e[Z]}function Be(e){var r;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===fd}(e)||Array.isArray(e)||!!e[Lc]||!!(!((r=e.constructor)===null||r===void 0)&&r[Lc])||Cn(e)||En(e))}function Lt(e,r,o){o===void 0&&(o=!1),rr(e)===0?(o?Object.keys:tr)(e).forEach(function(n){o&&typeof n=="symbol"||r(n,e[n],e)}):e.forEach(function(n,a){return r(a,n,e)})}function rr(e){var r=e[Z];return r?r.i>3?r.i-4:r.i:Array.isArray(e)?1:Cn(e)?2:En(e)?3:0}function er(e,r){return rr(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function id(e,r){return rr(e)===2?e.get(r):e[r]}function _c(e,r,o){var n=rr(e);n===2?e.set(r,o):n===3?e.add(o):e[r]=o}function Pc(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r}function Cn(e){return pd&&e instanceof Map}function En(e){return ud&&e instanceof Set}function ht(e){return e.o||e.t}function wn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var r=Bc(e);delete r[Z];for(var o=tr(r),n=0;n<o.length;n++){var a=o[n],i=r[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),r)}function An(e,r){return r===void 0&&(r=!1),Rn(e)||et(e)||!Be(e)||(rr(e)>1&&(e.set=e.add=e.clear=e.delete=sd),Object.freeze(e),r&&Lt(e,function(o,n){return An(n,!0)},!0)),e}function sd(){Te(2)}function Rn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function je(e){var r=On[e];return r||Te(18,e),r}function cd(e,r){On[e]||(On[e]=r)}function xn(){return Ir}function yn(e,r){r&&(je("Patches"),e.u=[],e.s=[],e.v=r)}function yo(e){vn(e),e.p.forEach(ld),e.p=null}function vn(e){e===Ir&&(Ir=e.l)}function wc(e){return Ir={p:[],l:Ir,h:e,m:!0,_:0}}function ld(e){var r=e[Z];r.i===0||r.i===1?r.j():r.g=!0}function mn(e,r){r._=r.p.length;var o=r.p[0],n=e!==void 0&&e!==o;return r.h.O||je("ES5").S(r,e,n),n?(o[Z].P&&(yo(r),Te(4)),Be(e)&&(e=mo(r,e),r.l||go(r,e)),r.u&&je("Patches").M(o[Z].t,e,r.u,r.s)):e=mo(r,o,[]),yo(r),r.u&&r.v(r.u,r.s),e!==Dc?e:void 0}function mo(e,r,o){if(Rn(r))return r;var n=r[Z];if(!n)return Lt(r,function(d,p){return Ac(e,n,r,d,p,o)},!0),r;if(n.A!==e)return r;if(!n.P)return go(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=wn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Lt(i,function(d,p){return Ac(e,n,a,d,p,o,c)}),go(e,a,!1),o&&e.u&&je("Patches").N(n,o,e.u,e.s)}return n.o}function Ac(e,r,o,n,a,i,c){if(et(a)){var d=mo(e,a,i&&r&&r.i!==3&&!er(r.R,n)?i.concat(n):void 0);if(_c(o,n,d),!et(d))return;e.m=!1}else c&&o.add(a);if(Be(a)&&!Rn(a)){if(!e.h.D&&e._<1)return;mo(e,a),r&&r.A.l||go(e,a)}}function go(e,r,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&An(r,o)}function gn(e,r){var o=e[Z];return(o?ht(o):e)[r]}function Rc(e,r){if(r in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,r);if(n)return n;o=Object.getPrototypeOf(o)}}function yt(e){e.P||(e.P=!0,e.l&&yt(e.l))}function bn(e){e.o||(e.o=wn(e.t))}function Sn(e,r,o){var n=Cn(r)?je("MapSet").F(r,o):En(r)?je("MapSet").T(r,o):e.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:xn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=d,u=Lr;c&&(p=[d],u=Tr);var m=Proxy.revocable(p,u),h=m.revoke,g=m.proxy;return d.k=g,d.j=h,g}(r,o):je("ES5").J(r,o);return(o?o.A:xn()).p.push(n),n}function dd(e){return et(e)||Te(22,e),function r(o){if(!Be(o))return o;var n,a=o[Z],i=rr(o);if(a){if(!a.P&&(a.i<4||!je("ES5").K(a)))return a.t;a.I=!0,n=Nc(o,i),a.I=!1}else n=Nc(o,i);return Lt(n,function(c,d){a&&id(a.t,c)===d||_c(n,c,r(d))}),i===3?new Set(n):n}(e)}function Nc(e,r){switch(r){case 2:return new Map(e);case 3:return Array.from(e)}return wn(e)}function kc(){function e(c,d){var p=i[c];return p?p.enumerable=d:i[c]=p={configurable:!0,enumerable:d,get:function(){var u=this[Z];return Lr.get(u,c)},set:function(u){var m=this[Z];Lr.set(m,c,u)}},p}function r(c){for(var d=c.length-1;d>=0;d--){var p=c[d][Z];if(!p.P)switch(p.i){case 5:n(p)&&yt(p);break;case 4:o(p)&&yt(p)}}}function o(c){for(var d=c.t,p=c.k,u=tr(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==Z){var g=d[h];if(g===void 0&&!er(d,h))return!0;var S=p[h],x=S&&S[Z];if(x?x.t!==g:!Pc(S,g))return!0}}var C=!!d[Z];return u.length!==tr(d).length+(C?0:1)}function n(c){var d=c.k;if(d.length!==c.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 a(c){c.g&&Te(3,JSON.stringify(ht(c)))}var i={};cd("ES5",{J:function(c,d){var p=Array.isArray(c),u=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var C=Bc(g);delete C[Z];for(var I=tr(C),R=0;R<I.length;R++){var N=I[R];C[N]=e(N,h||!!C[N].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(p,c),m={i:p?5:4,A:d?d.A:xn(),P:!1,I:!1,R:{},l:d,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,Z,{value:m,writable:!0}),u},S:function(c,d,p){p?et(d)&&d[Z].A===c&&r(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var h=m[Z];if(h){var g=h.t,S=h.k,x=h.R,C=h.i;if(C===4)Lt(S,function(B){B!==Z&&(g[B]!==void 0||er(g,B)?x[B]||u(S[B]):(x[B]=!0,yt(h)))}),Lt(g,function(B){S[B]!==void 0||er(S,B)||(x[B]=!1,yt(h))});else if(C===5){if(n(h)&&(yt(h),x.length=!0),S.length<g.length)for(var I=S.length;I<g.length;I++)x[I]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),k=0;k<N;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&u(S[k])}}}}(c.p[0]),r(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Tc,Ir,Nn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pd=typeof Map<"u",ud=typeof Set<"u",Ic=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Dc=Nn?Symbol.for("immer-nothing"):((Tc={})["immer-nothing"]=!0,Tc),Lc=Nn?Symbol.for("immer-draftable"):"__$immer_draftable",Z=Nn?Symbol.for("immer-state"):"__$immer_state";var fd=""+Object.prototype.constructor,tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Bc=Object.getOwnPropertyDescriptors||function(e){var r={};return tr(e).forEach(function(o){r[o]=Object.getOwnPropertyDescriptor(e,o)}),r},On={},Lr={get:function(e,r){if(r===Z)return e;var o=ht(e);if(!er(o,r))return function(a,i,c){var d,p=Rc(i,c);return p?"value"in p?p.value:(d=p.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,r);var n=o[r];return e.I||!Be(n)?n:n===gn(e.t,r)?(bn(e),e.o[r]=Sn(e.A.h,n,e)):n},has:function(e,r){return r in ht(e)},ownKeys:function(e){return Reflect.ownKeys(ht(e))},set:function(e,r,o){var n=Rc(ht(e),r);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=gn(ht(e),r),i=a?.[Z];if(i&&i.t===o)return e.o[r]=o,e.R[r]=!1,!0;if(Pc(o,a)&&(o!==void 0||er(e.t,r)))return!0;bn(e),yt(e)}return e.o[r]===o&&(o!==void 0||r in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[r])||(e.o[r]=o,e.R[r]=!0),!0},deleteProperty:function(e,r){return gn(e.t,r)!==void 0||r in e.t?(e.R[r]=!1,bn(e),yt(e)):delete e.R[r],e.o&&delete e.o[r],!0},getOwnPropertyDescriptor:function(e,r){var o=ht(e),n=Reflect.getOwnPropertyDescriptor(o,r);return n&&{writable:!0,configurable:e.i!==1||r!=="length",enumerable:n.enumerable,value:o[r]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Tr={};Lt(Lr,function(e,r){Tr[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}}),Tr.deleteProperty=function(e,r){return Tr.set.call(this,e,r,void 0)},Tr.set=function(e,r,o){return Lr.set.call(this,e[0],r,o,e[0])};var hd=function(){function e(o){var n=this;this.O=Ic,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var p=n;return function(C){var I=this;C===void 0&&(C=d);for(var R=arguments.length,N=Array(R>1?R-1:0),k=1;k<R;k++)N[k-1]=arguments[k];return p.produce(C,function(B){var U;return(U=i).call.apply(U,[I,B].concat(N))})}}var u;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Be(a)){var m=wc(n),h=Sn(n,a,void 0),g=!0;try{u=i(h),g=!1}finally{g?yo(m):vn(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return yn(m,c),mn(C,m)},function(C){throw yo(m),C}):(yn(m,c),mn(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===Dc&&(u=void 0),n.D&&An(u,!0),c){var S=[],x=[];je("Patches").M(a,u,S,x),c(S,x)}return u}Te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(u,function(S){return a.apply(void 0,[S].concat(h))})};var c,d,p=n.produce(a,i,function(u,m){c=u,d=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,c,d]}):[p,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var r=e.prototype;return r.createDraft=function(o){Be(o)||Te(8),et(o)&&(o=dd(o));var n=wc(this),a=Sn(this,o,void 0);return a[Z].C=!0,vn(n),a},r.finishDraft=function(o,n){var a=o&&o[Z],i=a.A;return yn(i,n),mn(void 0,i)},r.setAutoFreeze=function(o){this.D=o},r.setUseProxies=function(o){o&&!Ic&&Te(20),this.O=o},r.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=je("Patches").$;return et(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},e}(),Re=new hd,yd=Re.produce,Gx=Re.produceWithPatches.bind(Re),jx=Re.setAutoFreeze.bind(Re),Vx=Re.setUseProxies.bind(Re),Kx=Re.applyPatches.bind(Re),Zx=Re.createDraft.bind(Re),qx=Re.finishDraft.bind(Re),bo=yd;function _t(e){"@babel/helpers - typeof";return _t=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},_t(e)}function Uc(e,r){if(_t(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,r||"default");if(_t(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Mc(e){var r=Uc(e,"string");return _t(r)=="symbol"?r:r+""}function $c(e,r,o){return(r=Mc(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Wc(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Tn(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Wc(Object(o),!0).forEach(function(n){$c(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Hc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),In=function(){return Math.random().toString(36).substring(7).split("").join(".")},xo={INIT:"@@redux/INIT"+In(),REPLACE:"@@redux/REPLACE"+In(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+In()}};function md(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function Ln(e,r,o){var n;if(typeof r=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof r=="function"&&typeof o>"u"&&(o=r,r=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(Ln)(e,r)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=r,c=[],d=c,p=!1;function u(){d===c&&(d=c.slice())}function m(){if(p)throw new Error(pe(3));return i}function h(C){if(typeof C!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var I=!0;return u(),d.push(C),function(){if(I){if(p)throw new Error(pe(6));I=!1,u();var N=d.indexOf(C);d.splice(N,1),c=null}}}function g(C){if(!md(C))throw new Error(pe(7));if(typeof C.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var I=c=d,R=0;R<I.length;R++){var N=I[R];N()}return C}function S(C){if(typeof C!="function")throw new Error(pe(10));a=C,g({type:xo.REPLACE})}function x(){var C,I=h;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function k(){N.next&&N.next(m())}k();var B=I(k);return{unsubscribe:B}}},C[Hc]=function(){return this},C}return g({type:xo.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[Hc]=x,n}function gd(e){Object.keys(e).forEach(function(r){var o=e[r],n=o(void 0,{type:xo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:xo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function Fc(e){for(var r=Object.keys(e),o={},n=0;n<r.length;n++){var a=r[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,d;try{gd(o)}catch(p){d=p}return function(u,m){if(u===void 0&&(u={}),d)throw d;if(0)var h;for(var g=!1,S={},x=0;x<i.length;x++){var C=i[x],I=o[C],R=u[C],N=I(R,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(pe(14))}S[C]=N,g=g||N!==R}return g=g||i.length!==Object.keys(u).length,g?S:u}}function or(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return r.length===0?function(n){return n}:r.length===1?r[0]:r.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function zc(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=r.map(function(p){return p(c)});return i=or.apply(void 0,d)(a.dispatch),Tn(Tn({},a),{},{dispatch:i})}}}function Gc(e){var r=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,e):c(d)}}};return r}var jc=Gc();jc.withExtraArgument=Gc;var _n=jc;var Yc=function(){var e=function(r,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(r,o)};return function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(r,o);function n(){this.constructor=r}r.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),bd=function(e,r){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=r.call(e,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},nr=function(e,r){for(var o=0,n=r.length,a=e.length;o<n;o++,a++)e[a]=r[o];return e},xd=Object.defineProperty,vd=Object.defineProperties,Sd=Object.getOwnPropertyDescriptors,Vc=Object.getOwnPropertySymbols,Od=Object.prototype.hasOwnProperty,Cd=Object.prototype.propertyIsEnumerable,Kc=function(e,r,o){return r in e?xd(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o},mt=function(e,r){for(var o in r||(r={}))Od.call(r,o)&&Kc(e,o,r[o]);if(Vc)for(var n=0,a=Vc(r);n<a.length;n++){var o=a[n];Cd.call(r,o)&&Kc(e,o,r[o])}return e},Pn=function(e,r){return vd(e,Sd(r))},Ed=function(e,r,o){return new Promise(function(n,a){var i=function(p){try{d(o.next(p))}catch(u){a(u)}},c=function(p){try{d(o.throw(p))}catch(u){a(u)}},d=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,c)};d((o=o.apply(e,r)).next())})};var wd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?or:or.apply(null,arguments)},fv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Ad(e){if(typeof e!="object"||e===null)return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(var o=r;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return r===o}var Rd=function(e){Yc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,nr([void 0],o[0].concat(this)))):new(r.bind.apply(r,nr([void 0],o.concat(this))))},r}(Array),Nd=function(e){Yc(r,e);function r(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,r.prototype),a}return Object.defineProperty(r,Symbol.species,{get:function(){return r},enumerable:!1,configurable:!0}),r.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},r.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(r.bind.apply(r,nr([void 0],o[0].concat(this)))):new(r.bind.apply(r,nr([void 0],o.concat(this))))},r}(Array);function Bn(e){return Be(e)?bo(e,function(){}):e}function Td(e){return typeof e=="boolean"}function Id(){return function(r){return Ld(r)}}function Ld(e){e===void 0&&(e={});var r=e.thunk,o=r===void 0?!0:r,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,d=new Rd;if(o&&(Td(o)?d.push(_n):d.push(_n.withExtraArgument(o.extraArgument))),0){if(a)var p;if(c)var u}return d}var kn=!0;function Xc(e){var r=Id(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?r():i,d=o.devTools,p=d===void 0?!0:d,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(Ad(a))S=Fc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=c;if(typeof x=="function"&&(x=x(r),!kn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!kn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=zc.apply(void 0,x),I=or;p&&(I=wd(mt({trace:!kn},typeof p=="object"&&p)));var R=new Nd(C),N=R;Array.isArray(g)?N=nr([C],g):typeof g=="function"&&(N=g(R));var k=I.apply(void 0,N);return Ln(S,m,k)}function gt(e,r){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(r){var i=r.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return mt(mt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Jc(e){var r={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[r,o,n]}function _d(e){return typeof e=="function"}function Pd(e,r,o,n){o===void 0&&(o=[]);var a=typeof r=="function"?Jc(r):[r,o,n],i=a[0],c=a[1],d=a[2],p;if(_d(e))p=function(){return Bn(e())};else{var u=Bn(e);p=function(){return u}}function m(h,g){h===void 0&&(h=p());var S=nr([i[g.type]],c.filter(function(x){var C=x.matcher;return C(g)}).map(function(x){var C=x.reducer;return C}));return S.filter(function(x){return!!x}).length===0&&(S=[d]),S.reduce(function(x,C){if(C)if(et(x)){var I=x,R=C(I,g);return R===void 0?x:R}else{if(Be(x))return bo(x,function(N){return C(N,g)});var R=C(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=p,m}function kd(e,r){return e+"/"+r}function Qc(e){var r=e.name;if(!r)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Bn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(m){var h=n[m],g=kd(r,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,d[m]=x?gt(g,x):gt(g)});function p(){var m=typeof e.extraReducers=="function"?Jc(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,C=m[2],I=C===void 0?void 0:C,R=mt(mt({},g),c);return Pd(o,function(N){for(var k in R)N.addCase(k,R[k]);for(var B=0,U=x;B<U.length;B++){var me=U[B];N.addMatcher(me.matcher,me.reducer)}I&&N.addDefaultCase(I)})}var u;return{name:r,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:d,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Dd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bd=function(e){e===void 0&&(e=21);for(var r="",o=e;o--;)r+=Dd[Math.random()*64|0];return r},Ud=["name","message","stack","code"],Dn=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Zc=function(){function e(r,o){this.payload=r,this.meta=o}return e}(),Md=function(e){if(typeof e=="object"&&e!==null){for(var r={},o=0,n=Ud;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(r[a]=e[a])}return r}return{message:String(e)}},gv=function(){function e(r,o,n){var a=gt(r+"/fulfilled",function(m,h,g,S){return{payload:m,meta:Pn(mt({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=gt(r+"/pending",function(m,h,g){return{payload:void 0,meta:Pn(mt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=gt(r+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||Md)(m||"Rejected"),meta:Pn(mt({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,g,S){var x=n?.idGenerator?n.idGenerator(m):Bd(),C=new p,I,R=!1;function N(B){I=B,C.abort()}var k=function(){return Ed(this,null,function(){var B,U,me,$e,ue,We,ie;return bd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),$e=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),Wd($e)?[4,$e]:[3,2];case 1:$e=y.sent(),y.label=2;case 2:if($e===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,ue=new Promise(function(b,_){return C.signal.addEventListener("abort",function(){return _({name:"AbortError",message:I||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([ue,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:C.signal,abort:N,rejectWithValue:function(b,_){return new Dn(b,_)},fulfillWithValue:function(b,_){return new Zc(b,_)}})).then(function(b){if(b instanceof Dn)throw b;return b instanceof Zc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return me=y.sent(),[3,5];case 4:return We=y.sent(),me=We instanceof Dn?c(null,x,m,We.payload,We.meta):c(We,x,m),[3,5];case 5:return ie=n&&!n.dispatchConditionRejection&&c.match(me)&&me.meta.condition,ie||h(me),[2,me]}})})}();return Object.assign(k,{abort:N,requestId:x,arg:m,unwrap:function(){return k.then($d)}})}}return Object.assign(u,{pending:i,rejected:c,fulfilled:a,typePrefix:r})}return e.withTypes=function(){return e},e}();function $d(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Wd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var el="listener",tl="completed",rl="cancelled",bv="task-"+rl,xv="task-"+tl,vv=el+"-"+rl,Sv=el+"-"+tl;var Un="listenerMiddleware";var Ov=gt(Un+"/add"),Cv=gt(Un+"/removeAll"),Ev=gt(Un+"/remove");var qc,wv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(qc||(qc=Promise.resolve())).then(e).catch(function(r){return setTimeout(function(){throw r},0)})},Hd=function(e){return function(r){setTimeout(r,e)}},Av=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hd(10);kc();function Fd(e,r){return class extends e{constructor(){super(...arguments),this.eventBus=r??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var vo=class extends Fd(Object){};window.ftReduxStores||(window.ftReduxStores={});var ol=class e extends vo{static get(r){var o;let n=typeof r=="string"?r:r.name,a=typeof r=="string"?void 0:r,i=window.ftReduxStores[n];if(Ar(i))return i;if(a==null)return;let c=Qc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Xc({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:c.reducer(p,u)});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus)}constructor(r,o,n){super(),this.reduxSlice=r,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new po;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,d)=>{let p=c,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(r){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(r).join("_"),overwrites:r})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(r){throw new Error("Not implemented yet.")}subscribe(r){return this.reduxStore.subscribe(r)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Oo=v(L());var Gd="ft-user-assets",So=Oo.FtReduxStore.get({name:Gd,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new to,this.savedSearchesService=new io,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var r;let{session:o}=P.getState();(0,Oo.deepEqual)((r=this.currentSession)===null||r===void 0?void 0:r.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),So.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),So.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let r=await this.savedSearchesService.listMySearches();So.actions.savedSearches(r)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var r;if(this.bookmarksAreUsed){let o=!((r=this.currentSession)===null||r===void 0)&&r.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;So.actions.bookmarks(o)}}},t0=new Mn;(0,nl.customElement)("ft-app-context")(Y);var ll=v(te());var jd=v(L());function al(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Vd=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},il=Symbol("i18nAttributes"),sl=Symbol("i18nListAttributes"),dl=Symbol("i18nProperties"),Co=Symbol("i18nContexts"),_r=Symbol("i18nUnsubs");function Ao(e){var r,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[r]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?oo:Xt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...d)}customI18n(i,c){if(al(i)){let[d,p]=i.split(".");return this.i18n({custom:!0,context:d,key:p,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,d,p)=>i.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,d,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,d;let p=this,u=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(c=this[il])===null||c===void 0||c.forEach((m,h)=>p[h]=u(m,h,p[h])),(d=this[sl])===null||d===void 0||d.forEach((m,h)=>{var g;return p[h]=(g=p[h])===null||g===void 0?void 0:g.map(S=>u(m,h,S))})}updateI18nProperties(i){var c;(c=this[dl])===null||c===void 0||c.forEach((d,p)=>{i(d,p)&&(this[p]=this.i18n(d))})}addI18nMessages(i,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,d)}addI18nContext(i,c,d){let p=(typeof i=="string"?i:i.name).toLowerCase();d=typeof i=="string"?d:i.custom,this[Co].set(p,{isCustomContext:d}),this[_r].has(p)||this[_r].set(p,this.getI18nService(d).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(d).prepareContext(p,c)}hasI18nContext(i){return this[Co].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Co].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[_r].forEach(i=>i()),this[_r].clear()}}return r=Co,o=_r,Vd([(0,ll.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var cl=class extends Ao(wo.FtLitElement){},Eo=class extends Ao(wo.FtLitElementRedux){};var Pr=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Ue=class extends Eo{constructor(){super(),this.editorMode=!1,this.addStore(P)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ro.nothing:Ro.html`
|
|
1221
|
+
`}connectedCallback(){super.connectedCallback(),L.addEventListener(Nt.eventName,this.reloadConfiguration)}disconnectedCallback(){L.addEventListener(Nt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(t){var o,n,a,i,c,d,u;super.update(t),t.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&L.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&L.actions.noCustom(this.noCustom),t.has("editorMode")&&L.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&L.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>Qt.addContext(p)),t.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),L.actions.searchInAllLanguagesAllowed((c=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&c!==void 0?c:!1)),t.has("authenticationRequired")&&L.actions.authenticationRequired(this.authenticationRequired),t.has("availableContentLocales")&&L.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>fc(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};G.elementDefinitions={};G.styles=Is;ae([(0,ue.property)()],G.prototype,"baseUrl",void 0);ae([(0,ue.property)()],G.prototype,"apiIntegrationIdentifier",void 0);ae([(0,ue.property)()],G.prototype,"apiIntegrationAppVersion",void 0);ae([(0,ue.property)()],G.prototype,"uiLocale",void 0);ae([(0,Ue.jsonProperty)(null)],G.prototype,"availableUiLocales",void 0);ae([(0,Ue.jsonProperty)(null)],G.prototype,"metadataConfiguration",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"editorMode",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"noCustom",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"openExternalDocumentInNewTab",void 0);ae([(0,ue.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],G.prototype,"noCustomComponent",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"withManualResources",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"navigatorOnline",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"forcedOffline",void 0);ae([(0,ue.property)({type:Object})],G.prototype,"apiProvider",void 0);ae([(0,ue.property)({type:Boolean})],G.prototype,"authenticationRequired",void 0);ae([(0,Ue.jsonProperty)([])],G.prototype,"messageContexts",void 0);ae([(0,Ue.jsonProperty)(void 0)],G.prototype,"session",void 0);ae([(0,ue.state)()],G.prototype,"localesConfiguration",void 0);ae([(0,ue.state)()],G.prototype,"availableContentLocales",void 0);var Vd=v(te());function id(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!uo(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!uo(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=c=>Object.keys(c).filter(d=>c[d]!=null);if(a=i(e),o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!uo(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function uo(e,t){try{return id(e,t)}catch{return!1}}function po(e,t){return!uo(e,t)}var sd=v(te(),1);var fo=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var tr=v(te(),1);var yc=v(te(),1);function mc(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,yc.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:po,...t??{}})}var ho=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var bc=v(H(),1);var yo=globalThis,cd=yo.ShadowRoot&&(yo.ShadyCSS===void 0||yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Mx=Symbol();var gc=(e,t)=>{if(cd)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=yo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var mo=class extends bc.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return gc(n,t.elementStyles),n}};function xc(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var wr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Oc,vc=Symbol("constructorPrototype"),Sc=Symbol("constructorName"),Ec=Symbol("exportpartsDebouncer"),Cc=Symbol("dynamicDependenciesLoaded"),tt=class extends mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Oc]=new ho(5),this[Sc]=this.constructor.name,this[vc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Sc]&&Object.setPrototypeOf(this,this[vc])}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 t=this.constructor;t[Cc]||(t[Cc]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=xc(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ec].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,c,d;let u=g=>g!=null&&g.trim().length>0,p=t.filter(u).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(d=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(O=>O.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...S,...x).filter(u).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(g=>p.map(S=>`${g}:${S}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Oc=Ec;wr([(0,tr.property)()],tt.prototype,"exportpartsPrefix",void 0);wr([mc([])],tt.prototype,"exportpartsPrefixes",void 0);wr([(0,tr.property)()],tt.prototype,"customStylesheet",void 0);wr([(0,tr.property)()],tt.prototype,"elementToFocus",void 0);wr([(0,tr.state)()],tt.prototype,"useAdoptedStyleSheets",void 0);function Rr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Ac,wc,Rc,Nr=Symbol("internalReduxEventsUnsubscribers"),ht=Symbol("internalStoresUnsubscribers"),_t=Symbol("internalStores"),Tr=class extends tt{constructor(){super(...arguments),this[Ac]=new Map,this[wc]=new Map,this[Rc]=new Map}get reduxConstructor(){return this.constructor}willUpdate(t){super.willUpdate(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[_t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_t].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[_t].get(t)}addStore(t,o){var n;o=(n=o??(Rr(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[_t].set(o,t),this.subscribeToStore(o,t),this.updateFromStores()}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[_t].delete(o)}setupStores(){this.unsubscribeFromStores(),this[_t].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[ht].has(t.store):this[ht].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[ht].set(t,o.subscribe(()=>this.updateFromStores())),this[Nr].set(t,[]),Rr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.addEventListener(a.eventName,c),this[Nr].get(t).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ht].forEach((t,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(t){var o;this[ht].has(t)&&this[ht].get(t)(),this[ht].delete(t),(o=this[Nr].get(t))===null||o===void 0||o.forEach(n=>n()),this[Nr].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ac=ht,wc=_t,Rc=Nr;Tr.reduxProperties=new Map;Tr.reduxReactiveProperties=new Set;Tr.reduxEventListeners=new Map;function Te(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function rt(e){return!!e&&!!e[q]}function Me(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===md}(e)||Array.isArray(e)||!!e[kc]||!!(!((t=e.constructor)===null||t===void 0)&&t[kc])||An(e)||wn(e))}function Pt(e,t,o){o===void 0&&(o=!1),nr(e)===0?(o?Object.keys:or)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function nr(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:An(e)?2:wn(e)?3:0}function rr(e,t){return nr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ld(e,t){return nr(e)===2?e.get(t):e[t]}function Dc(e,t,o){var n=nr(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Bc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function An(e){return hd&&e instanceof Map}function wn(e){return yd&&e instanceof Set}function yt(e){return e.o||e.t}function Rn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$c(e);delete t[q];for(var o=or(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Nn(e,t){return t===void 0&&(t=!1),Tn(e)||rt(e)||!Me(e)||(nr(e)>1&&(e.set=e.add=e.clear=e.delete=dd),Object.freeze(e),t&&Pt(e,function(o,n){return Nn(n,!0)},!0)),e}function dd(){Te(2)}function Tn(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ke(e){var t=En[e];return t||Te(18,e),t}function ud(e,t){En[e]||(En[e]=t)}function Sn(){return Lr}function gn(e,t){t&&(Ke("Patches"),e.u=[],e.s=[],e.v=t)}function go(e){Cn(e),e.p.forEach(pd),e.p=null}function Cn(e){e===Lr&&(Lr=e.l)}function Nc(e){return Lr={p:[],l:Lr,h:e,m:!0,_:0}}function pd(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function bn(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ke("ES5").S(t,e,n),n?(o[q].P&&(go(t),Te(4)),Me(e)&&(e=bo(t,e),t.l||xo(t,e)),t.u&&Ke("Patches").M(o[q].t,e,t.u,t.s)):e=bo(t,o,[]),go(t),t.u&&t.v(t.u,t.s),e!==Mc?e:void 0}function bo(e,t,o){if(Tn(t))return t;var n=t[q];if(!n)return Pt(t,function(d,u){return Tc(e,n,t,d,u,o)},!0),t;if(n.A!==e)return t;if(!n.P)return xo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Rn(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Pt(i,function(d,u){return Tc(e,n,a,d,u,o,c)}),xo(e,a,!1),o&&e.u&&Ke("Patches").N(n,o,e.u,e.s)}return n.o}function Tc(e,t,o,n,a,i,c){if(rt(a)){var d=bo(e,a,i&&t&&t.i!==3&&!rr(t.R,n)?i.concat(n):void 0);if(Dc(o,n,d),!rt(d))return;e.m=!1}else c&&o.add(a);if(Me(a)&&!Tn(a)){if(!e.h.D&&e._<1)return;bo(e,a),t&&t.A.l||xo(e,a)}}function xo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Nn(t,o)}function xn(e,t){var o=e[q];return(o?yt(o):e)[t]}function Ic(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function mt(e){e.P||(e.P=!0,e.l&&mt(e.l))}function vn(e){e.o||(e.o=Rn(e.t))}function On(e,t,o){var n=An(t)?Ke("MapSet").F(t,o):wn(t)?Ke("MapSet").T(t,o):e.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:Sn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=d,p=_r;c&&(u=[d],p=Ir);var m=Proxy.revocable(u,p),h=m.revoke,g=m.proxy;return d.k=g,d.j=h,g}(t,o):Ke("ES5").J(t,o);return(o?o.A:Sn()).p.push(n),n}function fd(e){return rt(e)||Te(22,e),function t(o){if(!Me(o))return o;var n,a=o[q],i=nr(o);if(a){if(!a.P&&(a.i<4||!Ke("ES5").K(a)))return a.t;a.I=!0,n=Lc(o,i),a.I=!1}else n=Lc(o,i);return Pt(n,function(c,d){a&&ld(a.t,c)===d||Dc(n,c,t(d))}),i===3?new Set(n):n}(e)}function Lc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Rn(e)}function Uc(){function e(c,d){var u=i[c];return u?u.enumerable=d:i[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[q];return _r.get(p,c)},set:function(p){var m=this[q];_r.set(m,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][q];if(!u.P)switch(u.i){case 5:n(u)&&mt(u);break;case 4:o(u)&&mt(u)}}}function o(c){for(var d=c.t,u=c.k,p=or(u),m=p.length-1;m>=0;m--){var h=p[m];if(h!==q){var g=d[h];if(g===void 0&&!rr(d,h))return!0;var S=u[h],x=S&&S[q];if(x?x.t!==g:!Bc(S,g))return!0}}var O=!!d[q];return p.length!==or(d).length+(O?0:1)}function n(c){var d=c.k;if(d.length!==c.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 a(c){c.g&&Te(3,JSON.stringify(yt(c)))}var i={};ud("ES5",{J:function(c,d){var u=Array.isArray(c),p=function(h,g){if(h){for(var S=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(S,""+x,e(x,!0));return S}var O=$c(g);delete O[q];for(var I=or(O),R=0;R<I.length;R++){var N=I[R];O[N]=e(N,h||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(u,c),m={i:u?5:4,A:d?d.A:Sn(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,q,{value:m,writable:!0}),p},S:function(c,d,u){u?rt(d)&&d[q].A===c&&t(c.p):(c.u&&function p(m){if(m&&typeof m=="object"){var h=m[q];if(h){var g=h.t,S=h.k,x=h.R,O=h.i;if(O===4)Pt(S,function(B){B!==q&&(g[B]!==void 0||rr(g,B)?x[B]||p(S[B]):(x[B]=!0,mt(h)))}),Pt(g,function(B){S[B]!==void 0||rr(S,B)||(x[B]=!1,mt(h))});else if(O===5){if(n(h)&&(mt(h),x.length=!0),S.length<g.length)for(var I=S.length;I<g.length;I++)x[I]=!1;else for(var R=g.length;R<S.length;R++)x[R]=!0;for(var N=Math.min(S.length,g.length),k=0;k<N;k++)S.hasOwnProperty(k)||(x[k]=!0),x[k]===void 0&&p(S[k])}}}}(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var _c,Lr,In=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",hd=typeof Map<"u",yd=typeof Set<"u",Pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Mc=In?Symbol.for("immer-nothing"):((_c={})["immer-nothing"]=!0,_c),kc=In?Symbol.for("immer-draftable"):"__$immer_draftable",q=In?Symbol.for("immer-state"):"__$immer_state";var md=""+Object.prototype.constructor,or=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,$c=Object.getOwnPropertyDescriptors||function(e){var t={};return or(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},En={},_r={get:function(e,t){if(t===q)return e;var o=yt(e);if(!rr(o,t))return function(a,i,c){var d,u=Ic(i,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!Me(n)?n:n===xn(e.t,t)?(vn(e),e.o[t]=On(e.A.h,n,e)):n},has:function(e,t){return t in yt(e)},ownKeys:function(e){return Reflect.ownKeys(yt(e))},set:function(e,t,o){var n=Ic(yt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=xn(yt(e),t),i=a?.[q];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Bc(o,a)&&(o!==void 0||rr(e.t,t)))return!0;vn(e),mt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return xn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,vn(e),mt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=yt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){Te(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Te(12)}},Ir={};Pt(_r,function(e,t){Ir[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Ir.deleteProperty=function(e,t){return Ir.set.call(this,e,t,void 0)},Ir.set=function(e,t,o){return _r.set.call(this,e[0],t,o,e[0])};var gd=function(){function e(o){var n=this;this.O=Pc,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var u=n;return function(O){var I=this;O===void 0&&(O=d);for(var R=arguments.length,N=Array(R>1?R-1:0),k=1;k<R;k++)N[k-1]=arguments[k];return u.produce(O,function(B){var U;return(U=i).call.apply(U,[I,B].concat(N))})}}var p;if(typeof i!="function"&&Te(6),c!==void 0&&typeof c!="function"&&Te(7),Me(a)){var m=Nc(n),h=On(n,a,void 0),g=!0;try{p=i(h),g=!1}finally{g?go(m):Cn(m)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return gn(m,c),bn(O,m)},function(O){throw go(m),O}):(gn(m,c),bn(p,m))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Mc&&(p=void 0),n.D&&Nn(p,!0),c){var S=[],x=[];Ke("Patches").M(a,p,S,x),c(S,x)}return p}Te(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var m=arguments.length,h=Array(m>1?m-1:0),g=1;g<m;g++)h[g-1]=arguments[g];return n.produceWithPatches(p,function(S){return a.apply(void 0,[S].concat(h))})};var c,d,u=n.produce(a,i,function(p,m){c=p,d=m});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,c,d]}):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){Me(o)||Te(8),rt(o)&&(o=fd(o));var n=Nc(this),a=On(this,o,void 0);return a[q].C=!0,Cn(n),a},t.finishDraft=function(o,n){var a=o&&o[q],i=a.A;return gn(i,n),bn(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Pc&&Te(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=Ke("Patches").$;return rt(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},e}(),Re=new gd,bd=Re.produce,Jx=Re.produceWithPatches.bind(Re),Qx=Re.setAutoFreeze.bind(Re),ev=Re.setUseProxies.bind(Re),tv=Re.applyPatches.bind(Re),rv=Re.createDraft.bind(Re),ov=Re.finishDraft.bind(Re),vo=bd;function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(e)}function Wc(e,t){if(kt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(kt(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hc(e){var t=Wc(e,"string");return kt(t)=="symbol"?t:t+""}function Fc(e,t,o){return(t=Hc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function zc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ln(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?zc(Object(o),!0).forEach(function(n){Fc(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Gc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),_n=function(){return Math.random().toString(36).substring(7).split("").join(".")},So={INIT:"@@redux/INIT"+_n(),REPLACE:"@@redux/REPLACE"+_n(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_n()}};function xd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Pn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(Pn)(e,t)}if(typeof e!="function")throw new Error(pe(2));var a=e,i=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function m(){if(u)throw new Error(pe(3));return i}function h(O){if(typeof O!="function")throw new Error(pe(4));if(u)throw new Error(pe(5));var I=!0;return p(),d.push(O),function(){if(I){if(u)throw new Error(pe(6));I=!1,p();var N=d.indexOf(O);d.splice(N,1),c=null}}}function g(O){if(!xd(O))throw new Error(pe(7));if(typeof O.type>"u")throw new Error(pe(8));if(u)throw new Error(pe(9));try{u=!0,i=a(i,O)}finally{u=!1}for(var I=c=d,R=0;R<I.length;R++){var N=I[R];N()}return O}function S(O){if(typeof O!="function")throw new Error(pe(10));a=O,g({type:So.REPLACE})}function x(){var O,I=h;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(pe(11));function k(){N.next&&N.next(m())}k();var B=I(k);return{unsubscribe:B}}},O[Gc]=function(){return this},O}return g({type:So.INIT}),n={dispatch:g,subscribe:h,getState:m,replaceReducer:S},n[Gc]=x,n}function vd(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:So.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:So.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function jc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),c,d;try{vd(o)}catch(u){d=u}return function(p,m){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var g=!1,S={},x=0;x<i.length;x++){var O=i[x],I=o[O],R=p[O],N=I(R,m);if(typeof N>"u"){var k=m&&m.type;throw new Error(pe(14))}S[O]=N,g=g||N!==R}return g=g||i.length!==Object.keys(p).length,g?S:p}}function ar(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Vc(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(pe(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return i=ar.apply(void 0,d)(a.dispatch),Ln(Ln({},a),{},{dispatch:i})}}}function Kc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,e):c(d)}}};return t}var Zc=Kc();Zc.withExtraArgument=Kc;var kn=Zc;var Qc=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Sd=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(m){return u([p,m])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(m){p=[6,m],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},ir=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Cd=Object.defineProperty,Od=Object.defineProperties,Ed=Object.getOwnPropertyDescriptors,qc=Object.getOwnPropertySymbols,Ad=Object.prototype.hasOwnProperty,wd=Object.prototype.propertyIsEnumerable,Yc=function(e,t,o){return t in e?Cd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},gt=function(e,t){for(var o in t||(t={}))Ad.call(t,o)&&Yc(e,o,t[o]);if(qc)for(var n=0,a=qc(t);n<a.length;n++){var o=a[n];wd.call(t,o)&&Yc(e,o,t[o])}return e},Dn=function(e,t){return Od(e,Ed(t))},Rd=function(e,t,o){return new Promise(function(n,a){var i=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,c)};d((o=o.apply(e,t)).next())})};var Nd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ar:ar.apply(null,arguments)},Sv=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Td(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Id=function(e){Qc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,ir([void 0],o[0].concat(this)))):new(t.bind.apply(t,ir([void 0],o.concat(this))))},t}(Array),Ld=function(e){Qc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.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(t.bind.apply(t,ir([void 0],o[0].concat(this)))):new(t.bind.apply(t,ir([void 0],o.concat(this))))},t}(Array);function Mn(e){return Me(e)?vo(e,function(){}):e}function _d(e){return typeof e=="boolean"}function Pd(){return function(t){return kd(t)}}function kd(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,c=i===void 0?!0:i,d=new Id;if(o&&(_d(o)?d.push(kn):d.push(kn.withExtraArgument(o.extraArgument))),0){if(a)var u;if(c)var p}return d}var Bn=!0;function el(e){var t=Pd(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?t():i,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,m=p===void 0?void 0:p,h=o.enhancers,g=h===void 0?void 0:h,S;if(typeof a=="function")S=a;else if(Td(a))S=jc(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=c;if(typeof x=="function"&&(x=x(t),!Bn&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bn&&x.some(function(B){return typeof B!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Vc.apply(void 0,x),I=ar;u&&(I=Nd(gt({trace:!Bn},typeof u=="object"&&u)));var R=new Ld(O),N=R;Array.isArray(g)?N=ir([O],g):typeof g=="function"&&(N=g(R));var k=I.apply(void 0,N);return Pn(S,m,k)}function bt(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return gt(gt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function tl(e){var t={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function Dd(e){return typeof e=="function"}function Bd(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?tl(t):[t,o,n],i=a[0],c=a[1],d=a[2],u;if(Dd(e))u=function(){return Mn(e())};else{var p=Mn(e);u=function(){return p}}function m(h,g){h===void 0&&(h=u());var S=ir([i[g.type]],c.filter(function(x){var O=x.matcher;return O(g)}).map(function(x){var O=x.reducer;return O}));return S.filter(function(x){return!!x}).length===0&&(S=[d]),S.reduce(function(x,O){if(O)if(rt(x)){var I=x,R=O(I,g);return R===void 0?x:R}else{if(Me(x))return vo(x,function(N){return O(N,g)});var R=O(x,g);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},h)}return m.getInitialState=u,m}function Ud(e,t){return e+"/"+t}function rl(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Mn(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(m){var h=n[m],g=Ud(t,m),S,x;"reducer"in h?(S=h.reducer,x=h.prepare):S=h,i[m]=S,c[g]=S,d[m]=x?bt(g,x):bt(g)});function u(){var m=typeof e.extraReducers=="function"?tl(e.extraReducers):[e.extraReducers],h=m[0],g=h===void 0?{}:h,S=m[1],x=S===void 0?[]:S,O=m[2],I=O===void 0?void 0:O,R=gt(gt({},g),c);return Bd(o,function(N){for(var k in R)N.addCase(k,R[k]);for(var B=0,U=x;B<U.length;B++){var me=U[B];N.addMatcher(me.matcher,me.reducer)}I&&N.addDefaultCase(I)})}var p;return{name:t,reducer:function(m,h){return p||(p=u()),p(m,h)},actions:d,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var Md="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",$d=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Md[Math.random()*64|0];return t},Wd=["name","message","stack","code"],Un=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Xc=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Hd=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=Wd;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Av=function(){function e(t,o,n){var a=bt(t+"/fulfilled",function(m,h,g,S){return{payload:m,meta:Dn(gt({},S||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=bt(t+"/pending",function(m,h,g){return{payload:void 0,meta:Dn(gt({},g||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),c=bt(t+"/rejected",function(m,h,g,S,x){return{payload:S,error:(n&&n.serializeError||Hd)(m||"Rejected"),meta:Dn(gt({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!S,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function p(m){return function(h,g,S){var x=n?.idGenerator?n.idGenerator(m):$d(),O=new u,I,R=!1;function N(B){I=B,O.abort()}var k=function(){return Rd(this,null,function(){var B,U,me,He,fe,Fe,se;return Sd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),He=(B=n?.condition)==null?void 0:B.call(n,m,{getState:g,extra:S}),zd(He)?[4,He]:[3,2];case 1:He=y.sent(),y.label=2;case 2:if(He===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,fe=new Promise(function(b,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:I||"Aborted"})})}),h(i(x,m,(U=n?.getPendingMeta)==null?void 0:U.call(n,{requestId:x,arg:m},{getState:g,extra:S}))),[4,Promise.race([fe,Promise.resolve(o(m,{dispatch:h,getState:g,extra:S,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(b,P){return new Un(b,P)},fulfillWithValue:function(b,P){return new Xc(b,P)}})).then(function(b){if(b instanceof Un)throw b;return b instanceof Xc?a(b.payload,x,m,b.meta):a(b,x,m)})])];case 3:return me=y.sent(),[3,5];case 4:return Fe=y.sent(),me=Fe instanceof Un?c(null,x,m,Fe.payload,Fe.meta):c(Fe,x,m),[3,5];case 5:return se=n&&!n.dispatchConditionRejection&&c.match(me)&&me.meta.condition,se||h(me),[2,me]}})})}();return Object.assign(k,{abort:N,requestId:x,arg:m,unwrap:function(){return k.then(Fd)}})}}return Object.assign(p,{pending:i,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function Fd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function zd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var ol="listener",nl="completed",al="cancelled",wv="task-"+al,Rv="task-"+nl,Nv=ol+"-"+al,Tv=ol+"-"+nl;var $n="listenerMiddleware";var Iv=bt($n+"/add"),Lv=bt($n+"/removeAll"),_v=bt($n+"/remove");var Jc,Pv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Jc||(Jc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Gd=function(e){return function(t){setTimeout(t,e)}},kv=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Gd(10);Uc();function jd(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Co=class extends jd(Object){};window.ftReduxStores||(window.ftReduxStores={});var il=class e extends Co{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Rr(i))return i;if(a==null)return;let c=rl({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=el({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:c.reducer(u,p)});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new fo;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,d)=>{let u=c,p=i[u];return p?(...m)=>{let h=p(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[u]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Eo=v(_());var Oo=class extends Be{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=L.getState().session;return!!t?.sessionAuthenticated}};var Kd="ft-user-assets",Zd={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(It).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}}},Ie=Eo.FtReduxStore.get({name:Kd,reducers:Zd,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(It).map(e=>[e,void 0])),bookmarkByMap:{}}}}),Wn=class{constructor(t=new Oo){this.assetCountsService=t,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new oo,this.savedSearchesService=new co,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=L.getState();(0,Eo.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Ie.actions.clearAssetCount(),Ie.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ie.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ie.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Ie.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Ie.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Ie.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Ie.getState().assetCounts.bookmarkByMap).length!==0;t===It.BOOKMARKS&&o&&Ie.actions.clearBookmarkCountByMap(),Ie.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ie.actions.bookmarks(o)}}},qd=new Wn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=qd);(0,sl.customElement)("ft-app-context")(G);var pl=v(te());var Yd=v(_());function cl(e){return e.match(/^[\w-]+\.[\w-]+$/)}var Xd=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},ll=Symbol("i18nAttributes"),dl=Symbol("i18nListAttributes"),fl=Symbol("i18nProperties"),Ao=Symbol("i18nContexts"),Pr=Symbol("i18nUnsubs");function No(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?ao:Qt}i18n(i){var c;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...d)}customI18n(i,c){if(cl(i)){let[d,u]=i.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((c,d,u)=>i.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(c=>c.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var c,d;let u=this,p=(m,h,g)=>g?.context&&g.key&&i(m,h,g)?{...g,message:this.i18n({context:g.context,key:g.key,...m})}:g;(c=this[ll])===null||c===void 0||c.forEach((m,h)=>u[h]=p(m,h,u[h])),(d=this[dl])===null||d===void 0||d.forEach((m,h)=>{var g;return u[h]=(g=u[h])===null||g===void 0?void 0:g.map(S=>p(m,h,S))})}updateI18nProperties(i){var c;(c=this[fl])===null||c===void 0||c.forEach((d,u)=>{i(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(i,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,c,d)}addI18nContext(i,c,d){let u=(typeof i=="string"?i:i.name).toLowerCase();d=typeof i=="string"?d:i.custom,this[Ao].set(u,{isCustomContext:d}),this[Pr].has(u)||this[Pr].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(i){return this[Ao].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ao].forEach((i,c)=>this.addI18nContext(c,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Pr].forEach(i=>i()),this[Pr].clear()}}return t=Ao,o=Pr,Xd([(0,pl.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var ul=class extends No(Ro.FtLitElement){},wo=class extends No(Ro.FtLitElementRedux){};var kr=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},$e=class extends wo{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":To.nothing:To.html`
|
|
1222
1222
|
<span class="ft-i18n">
|
|
1223
1223
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
1224
1224
|
</span>
|
|
1225
|
-
`}update(
|
|
1226
|
-
<div class=${(0,
|
|
1225
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};$e.elementDefinitions={};$e.styles=Ns;kr([(0,Lo.redux)()],$e.prototype,"editorMode",void 0);kr([(0,Io.property)()],$e.prototype,"context",void 0);kr([(0,Io.property)()],$e.prototype,"key",void 0);kr([(0,Lo.jsonProperty)([])],$e.prototype,"args",void 0);kr([(0,Io.property)()],$e.prototype,"defaultMessage",void 0);var _o=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?ao:Qt}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,hl.customElement)("ft-i18n")($e);var xt=_o.build("designedReaderToc"),yl={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"};var z=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(i=(a<3?c(i):a>3?c(t,o,i):c(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},$=class extends No(Ut){get isCurrentPageToc(){return this.scope==="current-page"}constructor(){super(),this.expanded=!1,this.iconVariant=Ee.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=Ee.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scrollCurrentTopicIntoView=!1,this.scope="pages",this.empty=!0,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=ve.M,this.nodesToExpandExist=!1,this.addI18nContext(xt,yl)}update(t){var o,n,a;super.update(t),t.has("toc")&&(this.nodesToExpandExist=((o=this.toc)!==null&&o!==void 0?o:[]).some(i=>i.children.length>0)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes((n=this.highlightedTocIds)!==null&&n!==void 0?n:[])),this.empty=((a=this.toc)!==null&&a!==void 0?a:[]).length===0}contentAvailableCallback(t){var o,n;if(super.contentAvailableCallback(t),this.scrollCurrentTopicIntoView&&t.has("highlightedTocIds")&&this.highlightedTocIds&&((o=this.highlightedTocIds)===null||o===void 0?void 0:o.length)>0){let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`[tocId="${this.highlightedTocIds[0]}"]`);a&&We.scrollHelper.scrollIntoViewIfPossible(a,{behavior:"instant",position:.25})}}render(){var t;let o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===ve.S,"ft-reader-toc-desktop":this.viewportSize!==ve.S,"ft-reader-toc-loaded":this.currentPage!=null,"ft-reader-toc-expanded":this.expanded};return Ce.html`
|
|
1226
|
+
<div class=${(0,ml.classMap)(o)}>
|
|
1227
1227
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1228
1228
|
${this.renderExpandCollapseAll()}
|
|
1229
|
-
${(0
|
|
1229
|
+
${(0,Hn.repeat)((t=this.toc)!==null&&t!==void 0?t:[],n=>n.tocId,n=>this.renderNode(n))}
|
|
1230
1230
|
</div>
|
|
1231
|
-
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?
|
|
1231
|
+
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?Ce.html`
|
|
1232
1232
|
<div part="expand-collapse-all-container"
|
|
1233
1233
|
class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
|
|
1234
1234
|
<ft-button part="expand-collapse-all"
|
|
1235
1235
|
class="ft-reader-toc--expand-collapse-all-button"
|
|
1236
1236
|
iconVariant="${this.expandCollapseAllIconVariant}"
|
|
1237
1237
|
icon="${this.expandCollapseAllHideIcon?"":this.expandAll?this.collapseAllIcon||"ICON_COLLAPSE":this.expandAllIcon||"ICON_EXPAND"}"
|
|
1238
|
-
label="${this.expandAll?
|
|
1238
|
+
label="${this.expandAll?xt.messages.collapseAllLong():xt.messages.expandAllLong()}"
|
|
1239
1239
|
tooltipPosition="${this.getExpandCollapseAllTooltipPosition()}"
|
|
1240
1240
|
?trailingIcon=${this.expandCollapseAllTrailingIcon}
|
|
1241
1241
|
@click=${()=>this.toggleExpandCollapseAll()}>
|
|
1242
|
-
${this.expandCollapseAllHideLabel?"":this.expandAll?
|
|
1242
|
+
${this.expandCollapseAllHideLabel?"":this.expandAll?xt.messages.collapseAll():xt.messages.expandAll()}
|
|
1243
1243
|
</ft-button>
|
|
1244
1244
|
</div>
|
|
1245
|
-
`:
|
|
1245
|
+
`:Ce.nothing}renderNode(t){var o,n,a;let i=(o=this.highlightedTocIds)===null||o===void 0?void 0:o.includes(t.tocId),c=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),d=t.children.length>0,u=this.isCurrentPageToc?((a=(n=this.currentPage)===null||n===void 0?void 0:n.breadcrumb.length)!==null&&a!==void 0?a:0)+1:0,p=t.depth-1-u,m={"padding-left":`calc( ${ie.tabulationSize} * ${p} + 4px)`};return Ce.html`
|
|
1246
1246
|
<div class="ft-reader-toc--node ${i?"ft-reader-toc--node-highlighted":""}"
|
|
1247
|
-
aria-current="${
|
|
1248
|
-
<div class="ft-reader-toc--link-container" data-depth="${
|
|
1249
|
-
${this.nodesToExpandExist&&!this.expanded?
|
|
1247
|
+
aria-current="${da(i?"true":void 0)}">
|
|
1248
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${(0,gl.styleMap)(m)}>
|
|
1249
|
+
${this.nodesToExpandExist&&!this.expanded?Ce.html`
|
|
1250
1250
|
<div class="ft-reader-toc--toggle-container">
|
|
1251
|
-
${d?
|
|
1251
|
+
${d?Ce.html`
|
|
1252
1252
|
<ft-button part="expand-collapse-node"
|
|
1253
1253
|
class="ft-reader-toc--tree-node-button"
|
|
1254
1254
|
round hideTooltip
|
|
1255
1255
|
?dense=${this.viewportSize!==ve.S}
|
|
1256
|
-
label="${c?
|
|
1256
|
+
label="${c?xt.messages.collapse(t.title):xt.messages.expand(t.title)}"
|
|
1257
1257
|
.iconVariant="${this.iconVariant}"
|
|
1258
1258
|
icon="${c?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
|
|
1259
|
-
@click=${()=>this.manuallyToggle(
|
|
1260
|
-
data-expand-node="${
|
|
1261
|
-
aria-controls="${
|
|
1259
|
+
@click=${()=>this.manuallyToggle(t.tocId,c)}
|
|
1260
|
+
data-expand-node="${t.tocId}"
|
|
1261
|
+
aria-controls="${t.tocId}-children"
|
|
1262
1262
|
aria-expanded="${c}">
|
|
1263
1263
|
</ft-button>
|
|
1264
1264
|
`:this.getLeafNodeIcon()}
|
|
1265
1265
|
</div>
|
|
1266
|
-
`:d?
|
|
1267
|
-
${this.translationLoading?
|
|
1268
|
-
<ft-skeleton></ft-skeleton>`:
|
|
1266
|
+
`:d?Ce.nothing:this.getLeafNodeIcon()}
|
|
1267
|
+
${this.translationLoading?Ce.html`
|
|
1268
|
+
<ft-skeleton></ft-skeleton>`:Ce.html`
|
|
1269
1269
|
<ft-reader-internal-link part="node-link"
|
|
1270
|
-
tocId="${
|
|
1270
|
+
tocId="${t.tocId}"
|
|
1271
1271
|
removeStyle>
|
|
1272
|
-
<ft-typography part="node-label" variant="body2">${
|
|
1272
|
+
<ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
|
|
1273
1273
|
</ft-reader-internal-link>
|
|
1274
1274
|
`}
|
|
1275
1275
|
</div>
|
|
1276
|
-
${d?
|
|
1277
|
-
<div id="${
|
|
1276
|
+
${d?Ce.html`
|
|
1277
|
+
<div id="${t.tocId}-children"
|
|
1278
1278
|
class="ft-reader-toc--node-children"
|
|
1279
1279
|
?hidden=${!c}>
|
|
1280
|
-
${(0
|
|
1280
|
+
${(0,Hn.repeat)(c?t.children:[],h=>h.tocId,h=>this.renderNode(h))}
|
|
1281
1281
|
</div>
|
|
1282
|
-
`:
|
|
1282
|
+
`:Ce.nothing}
|
|
1283
1283
|
</div>
|
|
1284
|
-
`}buildAutomaticallyExpandedNodes(
|
|
1284
|
+
`}buildAutomaticallyExpandedNodes(t){var o,n;let a=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let i of t){let c=i;for(;c&&!a.has(c);)a.add(c),this.manuallyCollapsedNodes.delete(c),c=(n=(o=this.service)===null||o===void 0?void 0:o.getTocNodeNow(c))===null||n===void 0?void 0:n.parentTocId}return a}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return Ce.html`
|
|
1285
1285
|
<ft-icon class="ft-reader-toc--leaf-node-icon"
|
|
1286
1286
|
part="leaf-node-icon"
|
|
1287
1287
|
.variant="${this.leafNodeIconVariant}"
|
|
1288
1288
|
.value="${this.leafNodeIcon}"></ft-icon>
|
|
1289
|
-
`}};$.elementDefinitions={"ft-button":
|
|
1289
|
+
`}};$.elementDefinitions={"ft-button":ke,"ft-icon":ye,"ft-reader-internal-link":Le,"ft-size-watcher":we,"ft-typography":Oe,"ft-skeleton":ut};$.styles=Ss;z([(0,j.property)({type:Boolean})],$.prototype,"expanded",void 0);z([(0,j.property)()],$.prototype,"iconVariant",void 0);z([(0,j.property)()],$.prototype,"collapseIcon",void 0);z([(0,j.property)()],$.prototype,"expandIcon",void 0);z([(0,j.property)()],$.prototype,"leafNodeIconVariant",void 0);z([(0,j.property)()],$.prototype,"leafNodeIcon",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"expandCollapseAll",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"expandCollapseAllHideLabel",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"expandCollapseAllTrailingIcon",void 0);z([(0,j.property)()],$.prototype,"expandCollapseAllAlignment",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"expandCollapseAllHideIcon",void 0);z([(0,j.property)()],$.prototype,"expandCollapseAllIconVariant",void 0);z([(0,j.property)()],$.prototype,"collapseAllIcon",void 0);z([(0,j.property)()],$.prototype,"expandAllIcon",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"autoCollapse",void 0);z([(0,j.property)({type:Boolean})],$.prototype,"scrollCurrentTopicIntoView",void 0);z([(0,j.property)()],$.prototype,"scope",void 0);z([(0,j.property)({type:Boolean,reflect:!0})],$.prototype,"empty",void 0);z([(0,We.redux)({selector:(e,t)=>{var o,n,a;return t.isCurrentPageToc?!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc?(n=e.currentPage)===null||n===void 0?void 0:n.toc:void 0:!((a=e.paginationConfiguration)===null||a===void 0)&&a.splitCurrentPageToc?e.pagesToc:e.toc}})],$.prototype,"toc",void 0);z([(0,We.redux)()],$.prototype,"currentPage",void 0);z([(0,We.redux)({selector:(e,t)=>{var o,n;return!((o=e.paginationConfiguration)===null||o===void 0)&&o.splitCurrentPageToc&&!t.isCurrentPageToc?!((n=e.currentPage)===null||n===void 0)&&n.rootTocId?[e.currentPage.rootTocId]:[]:e.visibleTopics}})],$.prototype,"highlightedTocIds",void 0);z([(0,We.redux)({selector:e=>e.translation.isLoading})],$.prototype,"translationLoading",void 0);z([(0,j.state)({hasChanged:We.hasChanged})],$.prototype,"automaticallyExpandedNodes",void 0);z([(0,j.state)({hasChanged:We.hasChanged})],$.prototype,"manuallyExpandedNodes",void 0);z([(0,j.state)({hasChanged:We.hasChanged})],$.prototype,"manuallyCollapsedNodes",void 0);z([(0,j.state)()],$.prototype,"expandAll",void 0);z([(0,j.state)()],$.prototype,"viewportSize",void 0);(0,bl.customElement)("ft-reader-toc")($);})();
|
|
1290
1290
|
/*! Bundled license information:
|
|
1291
1291
|
|
|
1292
1292
|
lit-html/lit-html.js:
|